Searched refs:GLuint (Results 26 - 50 of 145) sorted by relevance

123456

/frameworks/native/services/surfaceflinger/RenderEngine/
H A DGLES20RenderEngine.h40 GLuint mProtectedTexName;
43 GLuint mVpWidth;
44 GLuint mVpHeight;
47 GLuint texture;
48 GLuint fbo;
49 GLuint width;
50 GLuint height;
H A DProgram.cpp30 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 DSkiaShader.h56 GLuint bitmapSampler;
65 GLuint ditherSampler;
73 GLuint gradientSampler;
79 GLuint bitmapSampler;
91 GLuint* textureUnit, ProgramDescription* description,
H A DGlop.h94 GLuint primitiveMode; // GL_TRIANGLES and GL_TRIANGLE_STRIP supported
99 GLuint bufferObject;
106 GLuint bufferObject;
/frameworks/native/opengl/include/GLES3/
H A Dgl3.h74 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 Dgl2.h74 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 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/cmds/flatland/
H A DGLHelper.h56 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 DRenderers.cpp141 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 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;
/frameworks/base/libs/hwui/renderstate/
H A DPixelBufferState.cpp25 bool PixelBufferState::bind(GLuint buffer) {
H A DTextureState.cpp87 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 DRenderState.h65 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 Degl_impl.h34 GLuint index);
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES30.cpp65 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 Dandroid_opengl_GLES31Ext.cpp64 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 Dandroid_opengl_GLES31.cpp63 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 Dandroid_opengl_GLES32.cpp63 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 Dglext.h752 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 DProgram.cpp77 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 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/native/opengl/tools/glgen/stubs/gles11/
H A DglGetActiveUniformBlockName.cpp1 /* 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...]

Completed in 3442 milliseconds

123456