diff options
author | Tina Zhang <tina.zhang@intel.com> | 2014-12-04 12:37:30 +0800 |
---|---|---|
committer | Tina Zhang <tina.zhang@intel.com> | 2014-12-11 09:44:40 +0800 |
commit | 8a44ff60e60a40d0da5f326c483c12079612f3cc (patch) | |
tree | 029add44d34732c11b15c4a36471ede4a9af3c8c /opengl/shared/OpenglCodecCommon/GLSharedGroup.h | |
parent | 5f23bd4a95e854a2a7f01ddbda17bb858873ad44 (diff) | |
download | android_device_generic_goldfish-8a44ff60e60a40d0da5f326c483c12079612f3cc.tar.gz android_device_generic_goldfish-8a44ff60e60a40d0da5f326c483c12079612f3cc.tar.bz2 android_device_generic_goldfish-8a44ff60e60a40d0da5f326c483c12079612f3cc.zip |
Add parameters validation to glShaderSource() API
According to GLES2.0 Spec., add parameters validataion to
glShaderSource() API.
Change-Id: I5b0e939fd9657ccbb40a13896c8fc74ef02fd085
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Diffstat (limited to 'opengl/shared/OpenglCodecCommon/GLSharedGroup.h')
-rwxr-xr-x[-rw-r--r--] | opengl/shared/OpenglCodecCommon/GLSharedGroup.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/opengl/shared/OpenglCodecCommon/GLSharedGroup.h b/opengl/shared/OpenglCodecCommon/GLSharedGroup.h index 61b8f00..6dfcd8f 100644..100755 --- a/opengl/shared/OpenglCodecCommon/GLSharedGroup.h +++ b/opengl/shared/OpenglCodecCommon/GLSharedGroup.h @@ -110,6 +110,7 @@ private: public: GLSharedGroup(); ~GLSharedGroup(); + bool isObject(GLuint obj); BufferData * getBufferData(GLuint bufferId); void addBufferData(GLuint bufferId, GLsizeiptr size, void * data); void updateBufferData(GLuint bufferId, GLsizeiptr size, void * data); |