/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | GLES20RenderEngine.h | 40 GLuint mProtectedTexName; 43 GLuint mVpWidth; 44 GLuint mVpHeight; 47 GLuint texture; 48 GLuint fbo; 49 GLuint width; 50 GLuint height;
|
H A D | Program.cpp | 30 GLuint vertexId = buildShader(vertex, GL_VERTEX_SHADER); 31 GLuint fragmentId = buildShader(fragment, GL_FRAGMENT_SHADER); 32 GLuint programId = glCreateProgram(); 87 GLuint Program::getAttrib(const char* name) const { 97 GLuint Program::buildShader(const char* source, GLenum type) { 98 GLuint shader = glCreateShader(type); 116 GLuint shader = GL_FRAGMENT_SHADER ? mFragmentShader : mVertexShader;
|
/frameworks/base/libs/hwui/ |
H A D | SkiaShader.h | 56 GLuint bitmapSampler; 65 GLuint ditherSampler; 73 GLuint gradientSampler; 79 GLuint bitmapSampler; 91 GLuint* textureUnit, ProgramDescription* description,
|
H A D | Glop.h | 94 GLuint primitiveMode; // GL_TRIANGLES and GL_TRIANGLE_STRIP supported 99 GLuint bufferObject; 106 GLuint bufferObject;
|
/frameworks/native/opengl/include/GLES3/ |
H A D | gl3.h | 74 typedef unsigned int GLuint; typedef 386 typedef void (GL_APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); 387 typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); 388 typedef void (GL_APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); 389 typedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer); 390 typedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer); 391 typedef void (GL_APIENTRYP PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture); 405 typedef void (GL_APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shade [all...] |
/frameworks/native/opengl/include/GLES2/ |
H A D | gl2.h | 74 typedef unsigned int GLuint; typedef 386 typedef void (GL_APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); 387 typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); 388 typedef void (GL_APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); 389 typedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer); 390 typedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer); 391 typedef void (GL_APIENTRYP PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture); 405 typedef void (GL_APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shade [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
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/cmds/flatland/ |
H A D | GLHelper.h | 56 GLuint* name); 65 bool getShaderProgram(const char* name, GLuint* outPgm); 67 bool getDitherTexture(GLuint* outTexName); 71 bool createNamedSurfaceTexture(GLuint name, uint32_t w, uint32_t h, 88 GLuint* mShaderPrograms; 92 GLuint mDitherTexture;
|
H A D | Renderers.cpp | 141 GLuint mGradPgm; 142 GLuint mDitherTexName; 143 GLuint mPosAttribLoc; 144 GLuint mUVAttribLoc; 145 GLuint mObjToNdcUniformLoc; 146 GLuint mUVToInterpUniformLoc; 147 GLuint mDitherKernelSamplerLoc; 148 GLuint mInvDitherKernelSizeUniformLoc; 149 GLuint mInvDitherKernelSizeSqUniformLoc; 150 GLuint mColor0UniformLo [all...] |
/frameworks/native/opengl/libagl/ |
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;
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | PixelBufferState.cpp | 25 bool PixelBufferState::bind(GLuint buffer) {
|
H A D | TextureState.cpp | 87 void TextureState::activateTexture(GLuint textureUnit) { 101 void TextureState::bindTexture(GLuint texture) { 108 void TextureState::bindTexture(GLenum target, GLuint texture) { 119 void TextureState::deleteTexture(GLuint texture) { 144 void TextureState::unbindTexture(GLuint texture) {
|
H A D | RenderState.h | 65 void bindFramebuffer(GLuint fbo); 66 GLuint getFramebuffer() { return mFramebuffer; } 67 GLuint createFramebuffer(); 68 void deleteFramebuffer(GLuint fbo); 129 GLuint mFramebuffer;
|
/frameworks/native/opengl/libs/ |
H A D | egl_impl.h | 34 GLuint index);
|
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES30.cpp | 65 static void glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, 71 static void glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, 454 /* void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices ) */ 470 (GLuint)start, 471 (GLuint)end, 481 /* void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLsizei offset ) */ 487 (GLuint)start, 488 (GLuint)en [all...] |
H A D | android_opengl_GLES31Ext.cpp | 64 static void glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, 70 static void glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, 451 /* void glDebugMessageControlKHR ( GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled ) */ 458 GLuint *ids_base = (GLuint *) 0; 460 GLuint *ids = (GLuint *) 0; 475 ids_base = (GLuint *) 484 (GLuint *)ids, 498 /* void glDebugMessageControlKHR ( GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *id [all...] |
H A D | android_opengl_GLES31.cpp | 63 static void glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, 69 static void glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, 443 /* void glDispatchCompute ( GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z ) */ 448 (GLuint)num_groups_x, 449 (GLuint)num_groups_y, 450 (GLuint)num_groups_z 570 /* void glGetProgramInterfaceiv ( GLuint program, GLenum programInterface, GLenum pname, GLint *params ) */ 599 (GLuint)progra [all...] |
H A D | android_opengl_GLES32.cpp | 63 static void glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, 69 static void glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, 450 /* void glCopyImageSubData ( GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth ) */ 455 (GLuint)srcName, 461 (GLuint)dstName, 473 /* void glDebugMessageControl ( GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled ) */ 480 GLuint *ids_base = (GLuint *) 0; 482 GLuint *id [all...] |
/frameworks/native/opengl/include/GLES/ |
H A D | glext.h | 752 GL_API GLboolean GL_APIENTRY glIsRenderbufferOES (GLuint renderbuffer); 753 GL_API void GL_APIENTRY glBindRenderbufferOES (GLenum target, GLuint renderbuffer); 754 GL_API void GL_APIENTRY glDeleteRenderbuffersOES (GLsizei n, const GLuint* renderbuffers); 755 GL_API void GL_APIENTRY glGenRenderbuffersOES (GLsizei n, GLuint* renderbuffers); 758 GL_API GLboolean GL_APIENTRY glIsFramebufferOES (GLuint framebuffer); 759 GL_API void GL_APIENTRY glBindFramebufferOES (GLenum target, GLuint framebuffer); 760 GL_API void GL_APIENTRY glDeleteFramebuffersOES (GLsizei n, const GLuint* framebuffers); 761 GL_API void GL_APIENTRY glGenFramebuffersOES (GLsizei n, GLuint* framebuffers); 763 GL_API void GL_APIENTRY glFramebufferRenderbufferOES (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 764 GL_API void GL_APIENTRY glFramebufferTexture2DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint textur [all...] |
/frameworks/av/cmds/screenrecord/ |
H A D | Program.cpp | 77 GLuint program; 112 status_t Program::createProgram(GLuint* outPgm, const char* vertexShader, 114 GLuint vs, fs; 127 GLuint program; 138 GLuint* outShader) { 139 GLuint shader = glCreateShader(shaderType); 169 status_t Program::linkShaderProgram(GLuint vs, GLuint fs, GLuint* outPgm) { 170 GLuint progra [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/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glGetActiveUniformBlockName.cpp | 1 /* void glGetActiveUniformBlockName ( GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName ) */ 46 (GLuint)program, 47 (GLuint)uniformBlockIndex, 67 /* void glGetActiveUniformBlockName ( GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName ) */ 96 (GLuint)program, 97 (GLuint)uniformBlockIndex, 109 /* void glGetActiveUniformBlockName ( GLuint program, GLuint uniformBlockInde [all...] |