diff options
Diffstat (limited to 'services/surfaceflinger/GLExtensions.h')
| -rw-r--r-- | services/surfaceflinger/GLExtensions.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/services/surfaceflinger/GLExtensions.h b/services/surfaceflinger/GLExtensions.h index bbb284e..c86c66a 100644 --- a/services/surfaceflinger/GLExtensions.h +++ b/services/surfaceflinger/GLExtensions.h @@ -39,6 +39,7 @@ class GLExtensions : public Singleton<GLExtensions> bool mHaveTextureExternal : 1; bool mHaveNpot : 1; bool mHaveDirectTexture : 1; + bool mHaveFramebufferObject : 1; String8 mVendor; String8 mRenderer; @@ -66,6 +67,10 @@ public: return mHaveDirectTexture; } + inline bool haveFramebufferObject() const { + return mHaveFramebufferObject; + } + void initWithGLStrings( GLubyte const* vendor, GLubyte const* renderer, |
