Home | History | Annotate | Download | only in driver

Lines Matching refs:mCurrentState

70     mCurrentState = NULL;
105 mCurrentState = state;
106 return mCurrentState->mShaderID;
110 mCurrentState = state;
114 return mCurrentState->mShaderID;
202 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_EXTERNAL_OES;
205 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_2D;
209 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_CUBE_MAP;
231 mCurrentState->mShaderID = glCreateShader(mType);
232 rsAssert(mCurrentState->mShaderID);
239 ALOGV("Loading shader type %x, ID %i", mType, mCurrentState->mShaderID);
243 if (mCurrentState->mShaderID) {
245 RSD_CALL_GL(glShaderSource, mCurrentState->mShaderID, 1, &ss, NULL);
246 RSD_CALL_GL(glCompileShader, mCurrentState->mShaderID);
249 RSD_CALL_GL(glGetShaderiv, mCurrentState->mShaderID, GL_COMPILE_STATUS, &compiled);
252 RSD_CALL_GL(glGetShaderiv, mCurrentState->mShaderID, GL_INFO_LOG_LENGTH, &infoLen);
256 RSD_CALL_GL(glGetShaderInfoLog, mCurrentState->mShaderID, infoLen, NULL, buf);
260 RSD_CALL_GL(glDeleteShader, mCurrentState->mShaderID);
261 mCurrentState->mShaderID = 0;
483 RSD_CALL_GL(glBindTexture, mCurrentState->mTextureTargets[ct], 0);
489 if (mCurrentState->mTextureTargets[ct] != GL_TEXTURE_2D &&
490 mCurrentState->mTextureTargets[ct] != GL_TEXTURE_CUBE_MAP &&
491 mCurrentState->mTextureTargets[ct] != GL_TEXTURE_EXTERNAL_OES) {
496 RSD_CALL_GL(glBindTexture, mCurrentState->mTextureTargets[ct], drvTex->textureID);
502 RSD_CALL_GL(glTexParameteri, mCurrentState->mTextureTargets[ct],
504 RSD_CALL_GL(glTexParameteri, mCurrentState->mTextureTargets[ct],
506 RSD_CALL_GL(glTexParameteri, mCurrentState->mTextureTargets[ct],
508 RSD_CALL_GL(glTexParameteri, mCurrentState->mTextureTargets[ct],