/frameworks/base/libs/hwui/ |
H A D | FboCache.h | 45 GLuint get(); 54 bool put(GLuint fbo); 72 SortedVector<GLuint> mCache;
|
H A D | Dither.h | 35 void setupProgram(Program* program, GLuint* textureUnit); 41 GLuint mDitherTexture;
|
H A D | Caches.h | 162 bool bindMeshBuffer(const GLuint buffer); 169 bool bindIndicesBuffer(const GLuint buffer); 197 void activeTexture(GLuint textureUnit); 213 void startTiling(GLuint x, GLuint y, GLuint width, GLuint height, bool opaque); 240 GLuint meshBuffer; 298 GLuint mCurrentBuffer; 299 GLuint mCurrentIndicesBuffe [all...] |
H A D | FboCache.cpp | 64 const GLuint fbo = mCache.itemAt(i); 70 GLuint FboCache::get() { 71 GLuint fbo; 81 bool FboCache::put(GLuint fbo) {
|
H A D | Dither.cpp | 73 void Dither::setupProgram(Program* program, GLuint* textureUnit) { 74 GLuint textureSlot = (*textureUnit)++;
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
H A D | GLES20.spec | 2 void glAttachShader ( GLuint program, GLuint shader )
3 void glBindAttribLocation ( GLuint program, GLuint index, const char *name )
4 void glBindBuffer ( GLenum target, GLuint buffer )
5 void glBindFramebuffer ( GLenum target, GLuint framebuffer )
6 void glBindRenderbuffer ( GLenum target, GLuint renderbuffer )
7 void glBindTexture ( GLenum target, GLuint texture )
21 void glCompileShader ( GLuint shader )
26 GLuint glCreateProgra [all...] |
H A D | GLES11Ext.spec | 53 GLboolean glIsRenderbufferOES ( GLuint renderbuffer ) 54 void glBindRenderbufferOES ( GLenum target, GLuint renderbuffer ) 55 void glDeleteRenderbuffersOES ( GLsizei n, const GLuint *renderbuffers ) 56 void glGenRenderbuffersOES ( GLsizei n, GLuint *renderbuffers ) 59 GLboolean glIsFramebufferOES ( GLuint framebuffer ) 60 void glBindFramebufferOES ( GLenum target, GLuint framebuffer ) 61 void glDeleteFramebuffersOES ( GLsizei n, const GLuint *framebuffers ) 62 void glGenFramebuffersOES ( GLsizei n, GLuint *framebuffers ) 64 void glFramebufferRenderbufferOES ( GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer ) 65 void glFramebufferTexture2DOES ( GLenum target, GLenum attachment, GLenum textarget, GLuint textur [all...] |
/frameworks/native/opengl/libagl/ |
H A D | TokenManager.h | 40 status_t getToken(GLsizei n, GLuint *tokens); 41 void recycleTokens(GLsizei n, const GLuint *tokens); 42 bool isTokenValid(GLuint token) const;
|
H A D | TokenManager.cpp | 35 status_t TokenManager::getToken(GLsizei n, GLuint *tokens) 43 void TokenManager::recycleTokens(GLsizei n, const GLuint *tokens) 47 const GLuint token = *tokens++; 54 bool TokenManager::isTokenValid(GLuint token) const
|
H A D | TextureObjectManager.h | 96 sp<EGLTextureObject> createTexture(GLuint name); 97 sp<EGLTextureObject> removeTexture(GLuint name); 98 sp<EGLTextureObject> replaceTexture(GLuint name); 99 void deleteTextures(GLsizei n, const GLuint *tokens); 100 sp<EGLTextureObject> texture(GLuint name); 104 KeyedVector< GLuint, sp<EGLTextureObject> > mTextures;
|
H A D | BufferObjectManager.h | 62 gl::buffer_t const* bind(GLuint buffer); 64 void deleteBuffers(GLsizei n, const GLuint* buffers); 69 KeyedVector<GLuint, gl::buffer_t*> mBuffers;
|
H A D | BufferObjectManager.cpp | 53 buffer_t const* EGLBufferObjectManager::bind(GLuint buffer) 85 void EGLBufferObjectManager::deleteBuffers(GLsizei n, const GLuint* buffers) 89 const GLuint t = *buffers++;
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_buffer_interface.h | 30 virtual GLuint GetTextureId() const = 0; 46 virtual GLuint GetTextureTarget() const = 0; 54 virtual GLuint GetFboId() const = 0;
|
H A D | vertex_frame.h | 49 GLuint GetVboId() const { 68 GLuint vbo_;
|
H A D | gl_frame.h | 80 GLuint GetTextureId() const; 84 GLuint GetFboId() const; 87 GLuint GetTextureTarget() const { 196 GLuint texture_id_; 197 GLuint fbo_id_; 200 GLuint texture_target_;
|
H A D | shader_program.h | 341 bool RenderFrame(const std::vector<GLuint>& textures, 392 static GLuint CompileShader(GLenum shader_type, const char* source); 395 static GLuint LinkProgram(GLuint* shaders, GLuint count); 398 GLuint BaseTextureUnit() const { 404 void SetBaseTextureUnit(GLuint texture_unit) { 418 GLuint vbo; 441 GLuint IndexOfUniform(ProgramVar var); 444 bool BindInputTextures(const std::vector<GLuint> [all...] |
/frameworks/native/opengl/include/GLES2/ |
H A D | gl2ext.h | 716 GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); 717 GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length); 719 typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); 720 typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length); 770 GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 777 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOES) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 809 GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array); 810 GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays); 811 GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays); 812 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...] |
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_api.h | 25 void GLTrace_glAttachShader(GLuint program, GLuint shader); 26 void GLTrace_glBindAttribLocation(GLuint program, GLuint index, const GLchar* name); 27 void GLTrace_glBindBuffer(GLenum target, GLuint buffer); 28 void GLTrace_glBindFramebuffer(GLenum target, GLuint framebuffer); 29 void GLTrace_glBindRenderbuffer(GLenum target, GLuint renderbuffer); 30 void GLTrace_glBindTexture(GLenum target, GLuint texture); 44 void GLTrace_glCompileShader(GLuint shader); 49 GLuint GLTrace_glCreateProgra [all...] |
H A D | gltrace_context.h | 63 DefaultKeyedVector<GLuint, ElementArrayBuffer*> mElementArrayBuffers; 78 void bindBuffer(GLuint bufferId, GLvoid *data, GLsizeiptr size); 79 void getBuffer(GLuint bufferId, GLvoid **data, GLsizeiptr *size); 80 void updateBufferSubData(GLuint bufferId, GLintptr offset, GLvoid *data, GLsizeiptr size); 81 void deleteBuffer(GLuint bufferId);
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | NativeWindowRenderer.h | 70 GLuint vertexShader, GLuint fragmentShader, GLuint* outPgm); 72 GLenum shaderType, const char* pSource, GLuint* outShader); 98 GLuint mProgram[NUMBER_OF_EFFECTS]; 114 GLuint mNextTextureId; 136 GLuint mThreadTextureId; 163 RenderInput(NativeWindowRenderer* renderer, GLuint textureId); 166 GLuint mTextureId;
|
/frameworks/native/opengl/include/GLES/ |
H A D | glext.h | 703 GL_API GLboolean GL_APIENTRY glIsRenderbufferOES (GLuint renderbuffer); 704 GL_API void GL_APIENTRY glBindRenderbufferOES (GLenum target, GLuint renderbuffer); 705 GL_API void GL_APIENTRY glDeleteRenderbuffersOES (GLsizei n, const GLuint* renderbuffers); 706 GL_API void GL_APIENTRY glGenRenderbuffersOES (GLsizei n, GLuint* renderbuffers); 709 GL_API GLboolean GL_APIENTRY glIsFramebufferOES (GLuint framebuffer); 710 GL_API void GL_APIENTRY glBindFramebufferOES (GLenum target, GLuint framebuffer); 711 GL_API void GL_APIENTRY glDeleteFramebuffersOES (GLsizei n, const GLuint* framebuffers); 712 GL_API void GL_APIENTRY glGenFramebuffersOES (GLsizei n, GLuint* framebuffers); 714 GL_API void GL_APIENTRY glFramebufferRenderbufferOES (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 715 GL_API void GL_APIENTRY glFramebufferTexture2DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint textur [all...] |
/frameworks/native/opengl/tests/gl2_jni/jni/ |
H A D | gl_code.cpp | 37 GLuint loadShader(GLenum shaderType, const char* pSource) { 38 GLuint shader = glCreateShader(shaderType); 63 GLuint createProgram(const char* pVertexSource, const char* pFragmentSource) { 64 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); 69 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource); 74 GLuint program = glCreateProgram(); 101 GLuint gProgram; 102 GLuint gvPositionHandle;
|
/frameworks/native/opengl/tests/gldual/jni/ |
H A D | gl_code.cpp | 37 GLuint loadShader(GLenum shaderType, const char* pSource) { 38 GLuint shader = glCreateShader(shaderType); 63 GLuint createProgram(const char* pVertexSource, const char* pFragmentSource) { 64 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); 69 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource); 74 GLuint program = glCreateProgram(); 101 GLuint gProgram; 102 GLuint gvPositionHandle;
|
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES20.cpp | 121 static void glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, 136 /* void glAttachShader ( GLuint program, GLuint shader ) */ 141 (GLuint)program, 142 (GLuint)shader 146 /* void glBindAttribLocation ( GLuint program, GLuint index, const char *name ) */ 163 (GLuint)program, 164 (GLuint)index, 178 /* void glBindBuffer ( GLenum target, GLuint buffe [all...] |