/frameworks/native/services/surfaceflinger/RenderEngine/ |
Program.cpp | 32 GLuint programId = glCreateProgram(); 33 glAttachShader(programId, vertexId); 34 glAttachShader(programId, fragmentId); 35 glBindAttribLocation(programId, position, "position"); 36 glBindAttribLocation(programId, texCoords, "texCoords"); 37 glLinkProgram(programId); 40 glGetProgramiv(programId, GL_LINK_STATUS, &status); 44 glGetProgramiv(programId, GL_INFO_LOG_LENGTH, &infoLen); 47 glGetProgramInfoLog(programId, infoLen, 0, &log[0]); 50 glDetachShader(programId, vertexId) [all...] |
/cts/suite/cts/deviceTests/opengl/jni/graphics/ |
PerspectiveProgram.cpp | 21 PerspectiveProgram::PerspectiveProgram(GLuint programId) : 22 Program(programId) { 27 mMVMatrixHandle = glGetUniformLocation(programId, "u_MVMatrix"); 28 mMVPMatrixHandle = glGetUniformLocation(programId, "u_MVPMatrix"); 29 mLightPosHandle = glGetUniformLocation(programId, "u_LightPos");
|
Program.cpp | 17 Program::Program(GLuint programId) : 18 mProgramId(programId) {
|
Program.h | 23 Program(GLuint programId);
|
PerspectiveProgram.h | 26 PerspectiveProgram(GLuint programId);
|
/frameworks/base/libs/hwui/ |
Program.h | 92 typedef uint64_t programid; typedef in namespace:android::uirenderer 229 programid key() const { 230 programid key = 0; 242 key |= programid(gradientType) << PROGRAM_GRADIENT_TYPE_SHIFT; 263 if (modulate) key |= programid(0x1) << PROGRAM_MODULATE_SHIFT; 264 if (isAA) key |= programid(0x1) << PROGRAM_HAS_AA_SHIFT; 265 if (hasExternalTexture) key |= programid(0x1) << PROGRAM_HAS_EXTERNAL_TEXTURE_SHIFT; 266 if (hasTextureTransform) key |= programid(0x1) << PROGRAM_HAS_TEXTURE_TRANSFORM_SHIFT; 267 if (hasGammaCorrection) key |= programid(0x1) << PROGRAM_HAS_GAMMA_CORRECTION; 268 if (isSimpleGradient) key |= programid(0x1) << PROGRAM_IS_SIMPLE_GRADIENT [all...] |
ProgramCache.h | 51 Program* generateProgram(const ProgramDescription& description, programid key); 59 KeyedVector<programid, Program*> mCache;
|
/external/chromium_org/third_party/skia/src/gpu/gl/ |
GrGLShaderBuilder.cpp | 579 GrGLuint programId = 0; 580 GL_CALL_RET(programId, CreateProgram()); 581 if (!programId) { 585 if (!this->compileAndAttachShaders(programId)) { 586 GL_CALL(DeleteProgram(programId)); 590 this->bindProgramLocations(programId); 592 fUniformManager.getUniformLocations(programId, fUniforms); 595 GL_CALL(LinkProgram(programId)); 604 GL_CALL(GetProgramiv(programId, GR_GL_LINK_STATUS, &linked)); 607 GL_CALL(GetProgramiv(programId, GR_GL_INFO_LOG_LENGTH, &infoLen)) [all...] |
GrGpuGL_program.cpp | 258 GrGLuint programID = fCurrentProgram->programID(); 259 if (fHWProgramID != programID) { 260 GL_CALL(UseProgram(programID)); 261 fHWProgramID = programID;
|
GrGLUniformManager.cpp | 252 void GrGLUniformManager::getUniformLocations(GrGLuint programID, const BuilderUniformArray& uniforms) { 263 BindUniformLocation(programID, location, uniforms[i].fVariable.c_str())); 266 GetUniformLocation(programID, uniforms[i].fVariable.c_str()));
|
GrGLShaderBuilder.h | 251 virtual bool compileAndAttachShaders(GrGLuint programId) const; 252 virtual void bindProgramLocations(GrGLuint programId) const; 425 virtual bool compileAndAttachShaders(GrGLuint programId) const SK_OVERRIDE; 426 virtual void bindProgramLocations(GrGLuint programId) const SK_OVERRIDE;
|
GrGLUniformManager.h | 94 void getUniformLocations(GrGLuint programID, const BuilderUniformArray& uniforms);
|
GrGLProgram.h | 63 GrGLuint programID() const { return fProgramID; }
|
/external/skia/src/gpu/gl/ |
GrGLShaderBuilder.cpp | 579 GrGLuint programId = 0; 580 GL_CALL_RET(programId, CreateProgram()); 581 if (!programId) { 585 if (!this->compileAndAttachShaders(programId)) { 586 GL_CALL(DeleteProgram(programId)); 590 this->bindProgramLocations(programId); 592 fUniformManager.getUniformLocations(programId, fUniforms); 595 GL_CALL(LinkProgram(programId)); 604 GL_CALL(GetProgramiv(programId, GR_GL_LINK_STATUS, &linked)); 607 GL_CALL(GetProgramiv(programId, GR_GL_INFO_LOG_LENGTH, &infoLen)) [all...] |
GrGpuGL_program.cpp | 258 GrGLuint programID = fCurrentProgram->programID(); 259 if (fHWProgramID != programID) { 260 GL_CALL(UseProgram(programID)); 261 fHWProgramID = programID;
|
GrGLUniformManager.cpp | 252 void GrGLUniformManager::getUniformLocations(GrGLuint programID, const BuilderUniformArray& uniforms) { 263 BindUniformLocation(programID, location, uniforms[i].fVariable.c_str())); 266 GetUniformLocation(programID, uniforms[i].fVariable.c_str()));
|
GrGLShaderBuilder.h | 251 virtual bool compileAndAttachShaders(GrGLuint programId) const; 252 virtual void bindProgramLocations(GrGLuint programId) const; 425 virtual bool compileAndAttachShaders(GrGLuint programId) const SK_OVERRIDE; 426 virtual void bindProgramLocations(GrGLuint programId) const SK_OVERRIDE;
|
GrGLUniformManager.h | 94 void getUniformLocations(GrGLuint programID, const BuilderUniformArray& uniforms);
|
GrGLProgram.h | 63 GrGLuint programID() const { return fProgramID; }
|
/cts/suite/cts/deviceTests/opengl/jni/reference/scene/flocking/ |
FlockingScene.cpp | 48 GLuint programId = GLUtils::createProgram(&vertex, &fragment); 51 if (programId == 0) { 54 mMainProgram = new PerspectiveProgram(programId); 61 programId = GLUtils::createProgram(&vertex, &fragment); 64 if (programId == 0) { 67 mWaterProgram = new PerspectiveProgram(programId);
|
/cts/suite/cts/deviceTests/opengl/jni/reference/scene/glowing/ |
GlowingScene.cpp | 53 GLuint programId = GLUtils::createProgram(&vertex, &fragment); 56 if (programId == 0) { 59 mMainProgram = new PerspectiveProgram(programId); 66 programId = GLUtils::createProgram(&vertex, &fragment); 69 if (programId == 0) { 72 mBlurProgram = new Program(programId);
|
/external/chromium_org/third_party/skia/src/gpu/gl/debug/ |
GrGLCreateDebugInterface.cpp | 43 GrGLvoid GR_GL_FUNCTION_TYPE debugGLAttachShader(GrGLuint programID, 46 GrProgramObj *program = GR_FIND(programID, GrProgramObj, 199 GrGLvoid GR_GL_FUNCTION_TYPE debugGLUseProgram(GrGLuint programID) { 201 // A programID of 0 is legal 202 GrProgramObj *program = GR_FIND(programID, 488 GrGLvoid GR_GL_FUNCTION_TYPE debugGLDeleteProgram(GrGLuint programID) { 490 GrProgramObj *program = GR_FIND(programID, [all...] |
/external/skia/src/gpu/gl/debug/ |
GrGLCreateDebugInterface.cpp | 43 GrGLvoid GR_GL_FUNCTION_TYPE debugGLAttachShader(GrGLuint programID, 46 GrProgramObj *program = GR_FIND(programID, GrProgramObj, 199 GrGLvoid GR_GL_FUNCTION_TYPE debugGLUseProgram(GrGLuint programID) { 201 // A programID of 0 is legal 202 GrProgramObj *program = GR_FIND(programID, 488 GrGLvoid GR_GL_FUNCTION_TYPE debugGLDeleteProgram(GrGLuint programID) { 490 GrProgramObj *program = GR_FIND(programID, [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
gles2_cmd_copy_texture_chromium.cc | 34 enum ProgramId { 175 ProgramId GetProgram( 191 static ProgramId program_ids[] = {
|
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/ |
OGLESShaderRenderer.java | [all...] |