/development/ndk/sources/android/ndk_helper/ |
H A D | shader.h | 55 bool CompileShader( GLuint *shader, const GLenum type, std::vector<uint8_t>& data ); 68 bool CompileShader( GLuint *shader, 83 bool CompileShader( GLuint *shader, const GLenum type, const char *strFileName ); 97 bool CompileShader( GLuint *shader, 110 bool LinkProgram( const GLuint prog ); 120 bool ValidateProgram( const GLuint prog );
|
H A D | gl3stub.c | 175 GLuint start, 176 GLuint end, 230 GL_APICALL void (* GL_APIENTRY glGenQueries)( GLsizei n, GLuint* ids ); 231 GL_APICALL void (* GL_APIENTRY glDeleteQueries)( GLsizei n, const GLuint* ids ); 232 GL_APICALL GLboolean (* GL_APIENTRY glIsQuery)( GLuint id ); 233 GL_APICALL void (* GL_APIENTRY glBeginQuery)( GLenum target, GLuint id ); 236 GL_APICALL void (* GL_APIENTRY glGetQueryObjectuiv)( GLuint id, 238 GLuint* params ); 285 GLuint texture, 295 GL_APICALL void (* GL_APIENTRY glBindVertexArray)( GLuint arra [all...] |
H A D | gl3stub.h | 393 extern GL_APICALL void (* GL_APIENTRY glDrawRangeElements) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices); 399 extern GL_APICALL void (* GL_APIENTRY glGenQueries) (GLsizei n, GLuint* ids); 400 extern GL_APICALL void (* GL_APIENTRY glDeleteQueries) (GLsizei n, const GLuint* ids); 401 extern GL_APICALL GLboolean (* GL_APIENTRY glIsQuery) (GLuint id); 402 extern GL_APICALL void (* GL_APIENTRY glBeginQuery) (GLenum target, GLuint id); 405 extern GL_APICALL void (* GL_APIENTRY glGetQueryObjectuiv) (GLuint id, GLenum pname, GLuint* params); 417 extern GL_APICALL void (* GL_APIENTRY glFramebufferTextureLayer) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 420 extern GL_APICALL void (* GL_APIENTRY glBindVertexArray) (GLuint arra [all...] |
H A D | shader.cpp | 28 bool shader::CompileShader( GLuint *shader, 79 bool shader::CompileShader( GLuint *shader, 115 bool shader::CompileShader( GLuint *shader, 127 bool shader::CompileShader( GLuint *shader, 142 bool shader::LinkProgram( const GLuint prog ) 170 bool shader::ValidateProgram( const GLuint prog )
|
/development/perftests/panorama/feature_mos/src/mosaic_renderer/ |
H A D | FrameBuffer.h | 19 GLuint GetTextureName() const; 20 GLuint GetFrameBufferName() const; 29 GLuint mFrameBufferName; 30 GLuint mTextureName;
|
H A D | Renderer.h | 26 void SetInputTextureName(GLuint textureName); 34 GLuint loadShader(GLenum shaderType, const char* pSource); 35 GLuint createProgram(const char*, const char* ); 48 GLuint mGlProgram; 49 GLuint mInputTextureName;
|
H A D | WarpRenderer.h | 31 GLuint mTexHandle; // Handle to s_texture. 32 GLuint mTexCoordHandle; // Handle to a_texCoord. 33 GLuint mTriangleVerticesHandle; // Handle to vPosition.
|
H A D | FrameBuffer.cpp | 25 if (mFrameBufferName == (GLuint)-1) { 80 GLuint FrameBuffer::GetTextureName() const { 84 GLuint FrameBuffer::GetFrameBufferName() const {
|
H A D | Renderer.cpp | 38 GLuint Renderer::loadShader(GLenum shaderType, const char* pSource) { 39 GLuint shader = glCreateShader(shaderType); 64 GLuint Renderer::createProgram(const char* pVertexSource, const char* pFragmentSource) 66 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); 72 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource); 78 GLuint program = glCreateProgram(); 212 void Renderer::SetInputTextureName(GLuint textureName)
|
H A D | YVURenderer.cpp | 47 GLuint glProgram;
|
/development/ndk/platforms/android-17/samples/Teapot/jni/ |
H A D | TeapotRenderer.h | 61 GLuint program_; 62 GLuint light0_; 63 GLuint material_diffuse_; 64 GLuint material_ambient_; 65 GLuint material_specular_; 67 GLuint matrix_projection_; 68 GLuint matrix_view_; 82 GLuint ibo_; 83 GLuint vbo_;
|
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/ |
H A D | MoreTeapotsRenderer.h | 61 GLuint program_; 62 GLuint light0_; 63 GLuint material_diffuse_; 64 GLuint material_ambient_; 65 GLuint material_specular_; 67 GLuint matrix_projection_; 68 GLuint matrix_view_; 81 GLuint ibo_; 82 GLuint vbo_; 83 GLuint ubo [all...] |
H A D | MoreTeapotsRenderer.cpp | 156 GLuint bindingPoint = 1; 157 GLuint blockIndex; 169 glGetActiveUniformsiv( shader_param_.program_, iNumIndices, (GLuint*) i, 383 GLuint program; 384 GLuint vertShader, fragShader; 468 GLuint program; 469 GLuint vertShader, fragShader;
|
/development/ndk/platforms/android-5/include/GLES2/ |
H A D | gl2ext.h | 440 GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); 441 GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length); 443 typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); 444 typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length); 494 GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 501 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOES) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 533 GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array); 534 GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays); 535 GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays); 536 GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint arra [all...] |
H A D | gl2.h | 32 typedef unsigned int GLuint; typedef 475 GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); 476 GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar* name); 477 GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); 478 GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); 479 GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); 480 GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); 494 GL_APICALL void GL_APIENTRY glCompileShader (GLuint shade [all...] |
/development/ndk/platforms/android-18/include/GLES3/ |
H A D | gl3.h | 54 typedef unsigned int GLuint; typedef 808 GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); 809 GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar* name); 810 GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); 811 GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); 812 GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); 813 GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); 827 GL_APICALL void GL_APIENTRY glCompileShader (GLuint shade [all...] |
/development/ndk/platforms/android-18/samples/gles3jni/jni/ |
H A D | gl3stub.c | 241 GL_APICALL void (* GL_APIENTRY glDrawRangeElements) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices); 247 GL_APICALL void (* GL_APIENTRY glGenQueries) (GLsizei n, GLuint* ids); 248 GL_APICALL void (* GL_APIENTRY glDeleteQueries) (GLsizei n, const GLuint* ids); 249 GL_APICALL GLboolean (* GL_APIENTRY glIsQuery) (GLuint id); 250 GL_APICALL void (* GL_APIENTRY glBeginQuery) (GLenum target, GLuint id); 253 GL_APICALL void (* GL_APIENTRY glGetQueryObjectuiv) (GLuint id, GLenum pname, GLuint* params); 265 GL_APICALL void (* GL_APIENTRY glFramebufferTextureLayer) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 268 GL_APICALL void (* GL_APIENTRY glBindVertexArray) (GLuint arra [all...] |
H A D | gl3stub.h | 383 extern GL_APICALL void (* GL_APIENTRY glDrawRangeElements) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices); 389 extern GL_APICALL void (* GL_APIENTRY glGenQueries) (GLsizei n, GLuint* ids); 390 extern GL_APICALL void (* GL_APIENTRY glDeleteQueries) (GLsizei n, const GLuint* ids); 391 extern GL_APICALL GLboolean (* GL_APIENTRY glIsQuery) (GLuint id); 392 extern GL_APICALL void (* GL_APIENTRY glBeginQuery) (GLenum target, GLuint id); 395 extern GL_APICALL void (* GL_APIENTRY glGetQueryObjectuiv) (GLuint id, GLenum pname, GLuint* params); 407 extern GL_APICALL void (* GL_APIENTRY glFramebufferTextureLayer) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 410 extern GL_APICALL void (* GL_APIENTRY glBindVertexArray) (GLuint arra [all...] |
H A D | gles3jni.h | 68 extern GLuint createShader(GLenum shaderType, const char* src); 69 extern GLuint createProgram(const char* vtxSrc, const char* fragSrc);
|
H A D | RendererES3.cpp | 66 GLuint mProgram; 67 GLuint mVB[VB_COUNT]; 68 GLuint mVBState;
|
H A D | RendererES2.cpp | 54 GLuint mProgram; 55 GLuint mVB;
|
H A D | gles3jni.cpp | 41 GLuint createShader(GLenum shaderType, const char* src) { 42 GLuint shader = glCreateShader(shaderType); 72 GLuint createProgram(const char* vtxSrc, const char* fragSrc) { 73 GLuint vtxShader = 0; 74 GLuint fragShader = 0; 75 GLuint program = 0;
|
/development/ndk/platforms/android-4/include/GLES/ |
H A D | glext.h | 616 GL_API GLboolean GL_APIENTRY glIsRenderbufferOES (GLuint renderbuffer); 617 GL_API void GL_APIENTRY glBindRenderbufferOES (GLenum target, GLuint renderbuffer); 618 GL_API void GL_APIENTRY glDeleteRenderbuffersOES (GLsizei n, const GLuint* renderbuffers); 619 GL_API void GL_APIENTRY glGenRenderbuffersOES (GLsizei n, GLuint* renderbuffers); 622 GL_API GLboolean GL_APIENTRY glIsFramebufferOES (GLuint framebuffer); 623 GL_API void GL_APIENTRY glBindFramebufferOES (GLenum target, GLuint framebuffer); 624 GL_API void GL_APIENTRY glDeleteFramebuffersOES (GLsizei n, const GLuint* framebuffers); 625 GL_API void GL_APIENTRY glGenFramebuffersOES (GLsizei n, GLuint* framebuffers); 627 GL_API void GL_APIENTRY glFramebufferRenderbufferOES (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 628 GL_API void GL_APIENTRY glFramebufferTexture2DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint textur [all...] |
H A D | gl.h | 28 typedef unsigned int GLuint; typedef 635 GL_API void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); 636 GL_API void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); 655 GL_API void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); 656 GL_API void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); 675 GL_API void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); 676 GL_API void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures); 689 GL_API GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); 691 GL_API GLboolean GL_APIENTRY glIsTexture (GLuint texture); 722 GL_API void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mas [all...] |
/development/ndk/platforms/android-5/samples/hello-gl2/jni/ |
H A D | gl_code.cpp | 57 GLuint loadShader(GLenum shaderType, const char* pSource) { 58 GLuint shader = glCreateShader(shaderType); 83 GLuint createProgram(const char* pVertexSource, const char* pFragmentSource) { 84 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); 89 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource); 94 GLuint program = glCreateProgram(); 121 GLuint gProgram; 122 GLuint gvPositionHandle;
|