OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:programObject
(Results
1 - 18
of
18
) sorted by null
/external/chromium_org/third_party/angle/samples/gles2_book/Common/
esShader.c
100
GLuint
programObject
;
116
programObject
= glCreateProgram ( );
118
if (
programObject
== 0 )
121
glAttachShader (
programObject
, vertexShader );
122
glAttachShader (
programObject
, fragmentShader );
125
glLinkProgram (
programObject
);
128
glGetProgramiv (
programObject
, GL_LINK_STATUS, &linked );
134
glGetProgramiv (
programObject
, GL_INFO_LOG_LENGTH, &infoLen );
140
glGetProgramInfoLog (
programObject
, infoLen, NULL, infoLog );
146
glDeleteProgram (
programObject
);
[
all
...]
/external/chromium_org/third_party/angle/samples/gles2_book/Hello_Triangle/
Hello_Triangle.c
23
GLuint
programObject
;
97
GLuint
programObject
;
105
programObject
= glCreateProgram ( );
107
if (
programObject
== 0 )
110
glAttachShader (
programObject
, vertexShader );
111
glAttachShader (
programObject
, fragmentShader );
114
glBindAttribLocation (
programObject
, 0, "vPosition" );
117
glLinkProgram (
programObject
);
120
glGetProgramiv (
programObject
, GL_LINK_STATUS, &linked );
126
glGetProgramiv (
programObject
, GL_INFO_LOG_LENGTH, &infoLen )
[
all
...]
/external/chromium_org/third_party/angle/samples/gles2_book/Simple_Texture2D/
Simple_Texture2D.c
23
GLuint
programObject
;
101
userData->
programObject
= esLoadProgram ( vShaderStr, fShaderStr );
104
userData->positionLoc = glGetAttribLocation ( userData->
programObject
, "a_position" );
105
userData->texCoordLoc = glGetAttribLocation ( userData->
programObject
, "a_texCoord" );
108
userData->samplerLoc = glGetUniformLocation ( userData->
programObject
, "s_texture" );
141
glUseProgram ( userData->
programObject
);
176
glDeleteProgram ( userData->
programObject
);
/external/chromium_org/third_party/angle/samples/gles2_book/Simple_VertexShader/
Simple_VertexShader.c
22
GLuint
programObject
;
64
userData->
programObject
= esLoadProgram ( vShaderStr, fShaderStr );
67
userData->positionLoc = glGetAttribLocation ( userData->
programObject
, "a_position" );
70
userData->mvpLoc = glGetUniformLocation( userData->
programObject
, "u_mvpMatrix" );
135
glUseProgram ( userData->
programObject
);
171
glDeleteProgram ( userData->
programObject
);
/external/chromium_org/third_party/angle/samples/angle/Simple_Instancing/
Simple_Instancing.c
30
GLuint
programObject
;
122
userData->
programObject
= esLoadProgram ( vShaderStr, fShaderStr );
125
userData->positionLoc = glGetAttribLocation ( userData->
programObject
, "a_position" );
126
userData->texCoordLoc = glGetAttribLocation ( userData->
programObject
, "a_texCoord" );
127
userData->instancePosLoc = glGetAttribLocation ( userData->
programObject
, "a_instancePos" );
130
userData->samplerLoc = glGetUniformLocation ( userData->
programObject
, "s_texture" );
165
glUseProgram ( userData->
programObject
);
208
glDeleteProgram ( userData->
programObject
);
/external/chromium_org/third_party/angle/samples/gles2_book/MultiTexture/
MultiTexture.c
22
GLuint
programObject
;
103
userData->
programObject
= esLoadProgram ( vShaderStr, fShaderStr );
106
userData->positionLoc = glGetAttribLocation ( userData->
programObject
, "a_position" );
107
userData->texCoordLoc = glGetAttribLocation ( userData->
programObject
, "a_texCoord" );
110
userData->baseMapLoc = glGetUniformLocation ( userData->
programObject
, "s_baseMap" );
111
userData->lightMapLoc = glGetUniformLocation ( userData->
programObject
, "s_lightMap" );
148
glUseProgram ( userData->
programObject
);
191
glDeleteProgram ( userData->
programObject
);
/external/chromium_org/third_party/angle/samples/gles2_book/TextureWrap/
TextureWrap.c
22
GLuint
programObject
;
138
userData->
programObject
= esLoadProgram ( vShaderStr, fShaderStr );
141
userData->positionLoc = glGetAttribLocation ( userData->
programObject
, "a_position" );
142
userData->texCoordLoc = glGetAttribLocation ( userData->
programObject
, "a_texCoord" );
145
userData->samplerLoc = glGetUniformLocation ( userData->
programObject
, "s_texture" );
148
userData->offsetLoc = glGetUniformLocation( userData->
programObject
, "u_offset" );
181
glUseProgram ( userData->
programObject
);
232
glDeleteProgram ( userData->
programObject
);
/cts/tests/tests/opengl/src/android/opengl/cts/
RendererOneColorBufferTest.java
148
int
programObject
;
156
programObject
= GLES20.glCreateProgram();
158
if (
programObject
== 0)
161
GLES20.glAttachShader(
programObject
, vertexShader);
162
GLES20.glAttachShader(
programObject
, fragmentShader);
165
GLES20.glBindAttribLocation(
programObject
, 0, "vPosition");
166
GLES20.glBindAttribLocation(
programObject
, 1, "vColor");
169
GLES20.glLinkProgram(
programObject
);
172
GLES20.glGetProgramiv(
programObject
, GLES20.GL_LINK_STATUS, linked, 0);
177
Log.e(TAG, GLES20.glGetProgramInfoLog(
programObject
));
[
all
...]
/external/chromium_org/third_party/angle/samples/gles2_book/ParticleSystem/
ParticleSystem.c
26
GLuint
programObject
;
126
userData->
programObject
= esLoadProgram ( vShaderStr, fShaderStr );
129
userData->lifetimeLoc = glGetAttribLocation ( userData->
programObject
, "a_lifetime" );
130
userData->startPositionLoc = glGetAttribLocation ( userData->
programObject
, "a_startPosition" );
131
userData->endPositionLoc = glGetAttribLocation ( userData->
programObject
, "a_endPosition" );
134
userData->timeLoc = glGetUniformLocation ( userData->
programObject
, "u_time" );
135
userData->centerPositionLoc = glGetUniformLocation ( userData->
programObject
, "u_centerPosition" );
136
userData->colorLoc = glGetUniformLocation ( userData->
programObject
, "u_color" );
137
userData->samplerLoc = glGetUniformLocation ( userData->
programObject
, "s_texture" );
224
glUseProgram ( userData->
programObject
);
[
all
...]
/external/chromium_org/third_party/angle/samples/gles2_book/Simple_TextureCubemap/
Simple_TextureCubemap.c
21
GLuint
programObject
;
129
userData->
programObject
= esLoadProgram ( vShaderStr, fShaderStr );
132
userData->positionLoc = glGetAttribLocation ( userData->
programObject
, "a_position" );
133
userData->normalLoc = glGetAttribLocation ( userData->
programObject
, "a_normal" );
136
userData->samplerLoc = glGetUniformLocation ( userData->
programObject
, "s_texture" );
168
glUseProgram ( userData->
programObject
);
204
glDeleteProgram ( userData->
programObject
);
/sdk/emulator/opengl/tests/translator_tests/GLES_V2/
triangleV2.cpp
194
GLuint
programObject
;
200
programObject
= glCreateProgram();
201
if(
programObject
== 0)
203
glAttachShader(
programObject
, vertexShader);
204
glAttachShader(
programObject
, fragmentShader);
206
glBindAttribLocation(
programObject
, 0, "vPosition");
208
glLinkProgram(
programObject
);
210
glGetProgramiv(
programObject
, GL_LINK_STATUS, &linked);
214
glGetProgramiv(
programObject
, GL_INFO_LOG_LENGTH, &infoLen);
218
glGetProgramInfoLog(
programObject
, infoLen, NULL, infoLog)
[
all
...]
/external/chromium_org/third_party/angle/samples/gles2_book/PostSubBuffer/
PostSubBuffer.c
27
GLuint
programObject
;
69
userData->
programObject
= esLoadProgram ( vShaderStr, fShaderStr );
72
userData->positionLoc = glGetAttribLocation ( userData->
programObject
, "a_position" );
75
userData->mvpLoc = glGetUniformLocation( userData->
programObject
, "u_mvpMatrix" );
145
glUseProgram ( userData->
programObject
);
181
glDeleteProgram ( userData->
programObject
);
/external/chromium_org/third_party/angle/samples/gles2_book/Stencil_Test/
Stencil_Test.c
22
GLuint
programObject
;
54
userData->
programObject
= esLoadProgram ( vShaderStr, fShaderStr );
57
userData->positionLoc = glGetAttribLocation ( userData->
programObject
, "a_position" );
60
userData->colorLoc = glGetUniformLocation ( userData->
programObject
, "u_color" );
144
glUseProgram ( userData->
programObject
);
250
glDeleteProgram ( userData->
programObject
);
/external/chromium_org/third_party/angle/samples/gles2_book/MipMap2D/
MipMap2D.c
22
GLuint
programObject
;
238
userData->
programObject
= esLoadProgram ( vShaderStr, fShaderStr );
241
userData->positionLoc = glGetAttribLocation ( userData->
programObject
, "a_position" );
242
userData->texCoordLoc = glGetAttribLocation ( userData->
programObject
, "a_texCoord" );
245
userData->samplerLoc = glGetUniformLocation ( userData->
programObject
, "s_texture" );
248
userData->offsetLoc = glGetUniformLocation( userData->
programObject
, "u_offset" );
281
glUseProgram ( userData->
programObject
);
324
glDeleteProgram ( userData->
programObject
);
/external/chromium_org/third_party/angle/samples/gles2_book/MultipleRenderTargets/
MultipleRenderTargets.c
29
GLuint
programObject
;
139
userData->
programObject
= esLoadProgram ( (const char*)vShaderStr, (const char*)fShaderStr );
144
userData->positionLoc = glGetAttribLocation ( userData->
programObject
, "a_position" );
145
userData->texCoordLoc = glGetAttribLocation ( userData->
programObject
, "a_texCoord" );
148
userData->samplerLoc = glGetUniformLocation ( userData->
programObject
, "s_texture" );
232
glUseProgram ( userData->
programObject
);
269
glDeleteProgram ( userData->
programObject
);
/external/chromium_org/third_party/angle/src/libGLESv2/
ResourceManager.cpp
159
ProgramMap::iterator
programObject
= mProgramMap.find(program);
161
if (
programObject
!= mProgramMap.end())
163
if (
programObject
->second->getRefCount() == 0)
165
mProgramShaderHandleAllocator.release(
programObject
->first);
166
delete
programObject
->second;
167
mProgramMap.erase(
programObject
);
171
programObject
->second->flagForDeletion();
libGLESv2.cpp
293
gl::Program *
programObject
= context->getProgram(program);
296
if (!
programObject
)
320
if (!
programObject
->attachShader(shaderObject))
380
gl::Program *
programObject
= context->getProgram(program);
382
if (!
programObject
)
399
programObject
->bindAttributeLocation(index, name);
[
all
...]
Context.cpp
188
Program *
programObject
= mResourceManager->getProgram(mState.currentProgram);
189
if (
programObject
)
191
programObject
->release();
940
Program *
programObject
= mResourceManager->getProgram(program);
942
bool linked =
programObject
->link();
948
mCurrentProgramBinary.set(
programObject
->getProgramBinary());
954
Program *
programObject
= mResourceManager->getProgram(program);
956
bool loaded =
programObject
->setProgramBinary(binary, length);
962
mCurrentProgramBinary.set(
programObject
->getProgramBinary());
[
all
...]
Completed in 1117 milliseconds