Home | History | Annotate | Download | only in GLESv1_enc

Lines Matching refs:m_state

74     assert(ctx->m_state != NULL);
75 GLClientState* state = ctx->m_state;
112 assert(ctx->m_state != NULL);
113 GLClientState* state = ctx->m_state;
151 assert(ctx->m_state != NULL);
152 GLClientState* state = ctx->m_state;
190 assert(ctx->m_state != NULL);
191 GLClientState* state = ctx->m_state;
225 assert(ctx->m_state != NULL);
226 ctx->m_state->getClientStatePointer(param,params);
262 ALOG_ASSERT(ctx->m_state, "GLEncoder::s_glPixelStorei");
263 ctx->m_state->setPixelStore(param, value);
269 assert(ctx->m_state != NULL);
270 ctx->m_state->setVertexAttribState(GLClientState::VERTEX_LOCATION, size, type, false, stride, data);
276 assert(ctx->m_state != NULL);
277 ctx->m_state->setVertexAttribState(GLClientState::NORMAL_LOCATION, 3, type, false, stride, data);
283 assert(ctx->m_state != NULL);
284 ctx->m_state->setVertexAttribState(GLClientState::COLOR_LOCATION, size, type, false, stride, data);
290 assert(ctx->m_state != NULL);
291 ctx->m_state->setVertexAttribState(GLClientState::POINTSIZE_LOCATION, 1, type, false, stride, data);
297 assert(ctx->m_state != NULL);
298 ctx->m_state->setActiveTexture(texture - GL_TEXTURE0);
304 assert(ctx->m_state != NULL);
305 int loc = ctx->m_state->getLocation(GL_TEXTURE_COORD_ARRAY);
306 ctx->m_state->setVertexAttribState(loc, size, type, false, stride, data);
312 assert(ctx->m_state != NULL);
313 int loc = ctx->m_state->getLocation(GL_MATRIX_INDEX_ARRAY_OES);
314 ctx->m_state->setVertexAttribState(loc, size, type, false, stride, data);
320 assert(ctx->m_state != NULL);
321 int loc = ctx->m_state->getLocation(GL_WEIGHT_ARRAY_OES);
322 ctx->m_state->setVertexAttribState(loc, size, type, false, stride, data);
328 assert(ctx->m_state != NULL);
329 int loc = ctx->m_state->getLocation(state);
330 ctx->m_state->enable(loc, 1);
336 assert(ctx->m_state != NULL);
337 int loc = ctx->m_state->getLocation(state);
338 ctx->m_state->enable(loc, 0);
344 assert(ctx->m_state != NULL);
345 int loc = ctx->m_state->getLocation(cap);
346 const GLClientState::VertexAttribState& state = ctx->m_state->getState(loc);
353 assert(ctx->m_state != NULL);
354 ctx->m_state->bindBuffer(target, id);
362 GLuint bufferId = ctx->m_state->getBuffer(target);
373 GLuint bufferId = ctx->m_state->getBuffer(target);
394 assert(m_state != NULL);
395 GLenum prevActiveTexUnit = m_state->getActiveTextureUnit();
398 const GLClientState::VertexAttribState& state = m_state->getStateAndEnableDirty(i, &enableDirty);
441 m_state->setActiveTextureUnit(i - GLClientState::TEXCOORD0_LOCATION + GL_TEXTURE0);
442 if (m_state->getPriorityEnabledTarget(GL_INVALID_ENUM) != GL_INVALID_ENUM) {
500 this->m_glBindBuffer_enc(this, GL_ARRAY_BUFFER, m_state->currentArrayVbo());
505 m_state->setActiveTextureUnit(prevActiveTexUnit);
514 const GLClientState::VertexAttribState& state = ctx->m_state->getState(i);
539 assert(ctx->m_state != NULL);
546 const GLClientState::VertexAttribState& state = ctx->m_state->getState(i);
566 if (ctx->m_state->currentIndexVbo() != 0) {
569 ctx->m_glBindBuffer_enc(self, GL_ELEMENT_ARRAY_BUFFER, ctx->m_state->currentIndexVbo());
574 BufferData * buf = ctx->m_shared->getBufferData(ctx->m_state->currentIndexVbo());
637 GLClientState* state = ctx->m_state;
652 GLClientState* state = ctx->m_state;
693 GLClientState* state = ctx->m_state;
702 GLClientState* state = ctx->m_state;
729 GLClientState* state = ctx->m_state;
755 const GLClientState* state = ctx->m_state;
770 const GLClientState* state = ctx->m_state;
793 const GLClientState* state = ctx->m_state;
827 const GLClientState* state = ctx->m_state;
846 const GLClientState* state = ctx->m_state;
865 const GLClientState* state = ctx->m_state;
884 const GLClientState* state = ctx->m_state;
903 const GLClientState* state = ctx->m_state;
922 const GLClientState* state = ctx->m_state;
940 target != m_state->getPriorityEnabledTarget(GL_TEXTURE_2D)) {
942 m_state->getBoundTexture(target));
948 GLenum priorityTarget = m_state->getPriorityEnabledTarget(GL_TEXTURE_2D);
950 m_state->getBoundTexture(priorityTarget));
956 GLClientState* state = ctx->m_state;
967 GLClientState* state = ctx->m_state;
978 GLClientState* state = ctx->m_state;
992 GLClientState* state = ctx->m_state;
1003 GLClientState* state = ctx->m_state;
1014 const GLClientState* state = ctx->m_state;
1029 m_state = NULL;
1100 assert(m_state != NULL);
1101 return m_state->pixelDataSize(width, height, 1, format, type, pack);