OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:programId
(Results
1 - 13
of
13
) sorted by null
/cts/suite/cts/deviceTests/opengl/jni/graphics/
Program.cpp
17
Program::Program(GLuint
programId
) :
18
mProgramId(
programId
) {
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.h
23
Program(GLuint
programId
);
PerspectiveProgram.h
26
PerspectiveProgram(GLuint
programId
);
/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
...]
/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
...]
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;
/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
...]
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;
/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/jmonkeyengine/engine/src/android/com/jme3/renderer/android/
OGLESShaderRenderer.java
[
all
...]
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
LwjglRenderer.java
[
all
...]
Completed in 2215 milliseconds