Searched refs:GLuint (Results 1 - 25 of 87) sorted by relevance

1234

/frameworks/base/libs/hwui/
H A DFboCache.h45 GLuint get();
54 bool put(GLuint fbo);
72 SortedVector<GLuint> mCache;
H A DDither.h35 void setupProgram(Program* program, GLuint* textureUnit);
41 GLuint mDitherTexture;
H A DCaches.h162 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 DFboCache.cpp64 const GLuint fbo = mCache.itemAt(i);
70 GLuint FboCache::get() {
71 GLuint fbo;
81 bool FboCache::put(GLuint fbo) {
H A DDither.cpp73 void Dither::setupProgram(Program* program, GLuint* textureUnit) {
74 GLuint textureSlot = (*textureUnit)++;
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES20.spec2 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 DGLES11Ext.spec53 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 DTokenManager.h40 status_t getToken(GLsizei n, GLuint *tokens);
41 void recycleTokens(GLsizei n, const GLuint *tokens);
42 bool isTokenValid(GLuint token) const;
H A DTokenManager.cpp35 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 DTextureObjectManager.h96 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 DBufferObjectManager.h62 gl::buffer_t const* bind(GLuint buffer);
64 void deleteBuffers(GLsizei n, const GLuint* buffers);
69 KeyedVector<GLuint, gl::buffer_t*> mBuffers;
H A DBufferObjectManager.cpp53 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 Dgl_buffer_interface.h30 virtual GLuint GetTextureId() const = 0;
46 virtual GLuint GetTextureTarget() const = 0;
54 virtual GLuint GetFboId() const = 0;
H A Dvertex_frame.h49 GLuint GetVboId() const {
68 GLuint vbo_;
H A Dgl_frame.h80 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 Dshader_program.h341 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 Dgl2ext.h716 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 Dgl2.h32 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 Dgltrace_api.h25 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 Dgltrace_context.h63 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 DNativeWindowRenderer.h70 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 Dglext.h703 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 Dgl_code.cpp37 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 Dgl_code.cpp37 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 Dandroid_opengl_GLES20.cpp121 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...]

Completed in 215 milliseconds

1234