Home | History | Annotate | Download | only in driver

Lines Matching refs:mShaderID

51         if (state->mShaderID) {
52 glDeleteShader(state->mShaderID);
106 return mCurrentState->mShaderID;
114 return mCurrentState->mShaderID;
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, nullptr);
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, nullptr, buf);
260 RSD_CALL_GL(glDeleteShader, mCurrentState->mShaderID);
261 mCurrentState->mShaderID = 0;