summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsContext.h
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-09-16 18:18:29 -0700
committerJason Sams <rjsams@android.com>2010-09-16 18:18:29 -0700
commitd081fffab58b4cb8a36b7a083ab7793585bc1510 (patch)
tree2d4ea330edfd21499546fc0a9ae9d647d7a1ee0e /libs/rs/rsContext.h
parenta8bf9429b29743b3489817feb21bde2416acc465 (diff)
downloadframeworks_base-d081fffab58b4cb8a36b7a083ab7793585bc1510.zip
frameworks_base-d081fffab58b4cb8a36b7a083ab7793585bc1510.tar.gz
frameworks_base-d081fffab58b4cb8a36b7a083ab7793585bc1510.tar.bz2
Cleanup GL setup code and remove legacy 1.1 paths.
Reset pointers to NULL when allocations are unbound. Change-Id: Ifaba634ecbb154970b7fb47faa8e6475d16d2f66
Diffstat (limited to 'libs/rs/rsContext.h')
-rw-r--r--libs/rs/rsContext.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/rs/rsContext.h b/libs/rs/rsContext.h
index 6d1a41d..e38ba55 100644
--- a/libs/rs/rsContext.h
+++ b/libs/rs/rsContext.h
@@ -153,9 +153,6 @@ public:
void timerPrint();
void timerFrame();
- bool checkVersion1_1() const {return (mGL.mMajorVersion > 1) || (mGL.mMinorVersion >= 1); }
- bool checkVersion2_0() const {return mGL.mMajorVersion >= 2; }
-
struct {
bool mLogTimes;
bool mLogScripts;