diff options
author | Jason Sams <rjsams@android.com> | 2011-04-06 17:52:23 -0700 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2011-04-06 17:52:23 -0700 |
commit | 4b3de47071d875faaa7d419d050a464b09538797 (patch) | |
tree | 2ec496ec65bfd88e9916dee5982a73a31dabfd4f /rsContext.h | |
parent | 00237f18a9d31afdca5cca8d621397fbf5b16076 (diff) | |
download | rs-4b3de47071d875faaa7d419d050a464b09538797.tar.gz |
Migrate most GL from context to driver.
Change-Id: I5cba3a6e879d2e9332fc667a1061a5312fcf14ba
Diffstat (limited to 'rsContext.h')
-rw-r--r-- | rsContext.h | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/rsContext.h b/rsContext.h index eacfdf79..4dd186c0 100644 --- a/rsContext.h +++ b/rsContext.h @@ -222,29 +222,10 @@ public: uint32_t getDPI() const {return mDPI;} void setDPI(uint32_t dpi) {mDPI = dpi;} -protected: Device *mDev; +protected: struct { - EGLint mNumConfigs; - EGLint mMajorVersion; - EGLint mMinorVersion; - EGLConfig mConfig; - EGLContext mContext; - EGLSurface mSurface; - EGLSurface mSurfaceDefault; - EGLDisplay mDisplay; - } mEGL; - - struct { - const uint8_t * mVendor; - const uint8_t * mRenderer; - const uint8_t * mVersion; - const uint8_t * mExtensions; - - uint32_t mMajorVersion; - uint32_t mMinorVersion; - int32_t mMaxVaryingVectors; int32_t mMaxTextureImageUnits; |