Lines Matching refs:mShaderID
55 if (state->mShaderID) { in ~RsdShader()
56 glDeleteShader(state->mShaderID); in ~RsdShader()
110 return mCurrentState->mShaderID; in getStateBasedShaderID()
118 return mCurrentState->mShaderID; in getStateBasedShaderID()
235 mCurrentState->mShaderID = glCreateShader(mType); in loadShader()
236 rsAssert(mCurrentState->mShaderID); in loadShader()
243 ALOGV("Loading shader type %x, ID %i", mType, mCurrentState->mShaderID); in loadShader()
247 if (mCurrentState->mShaderID) { in loadShader()
249 RSD_CALL_GL(glShaderSource, mCurrentState->mShaderID, 1, &ss, nullptr); in loadShader()
250 RSD_CALL_GL(glCompileShader, mCurrentState->mShaderID); in loadShader()
253 RSD_CALL_GL(glGetShaderiv, mCurrentState->mShaderID, GL_COMPILE_STATUS, &compiled); in loadShader()
256 RSD_CALL_GL(glGetShaderiv, mCurrentState->mShaderID, GL_INFO_LOG_LENGTH, &infoLen); in loadShader()
260 … RSD_CALL_GL(glGetShaderInfoLog, mCurrentState->mShaderID, infoLen, nullptr, buf); in loadShader()
264 RSD_CALL_GL(glDeleteShader, mCurrentState->mShaderID); in loadShader()
265 mCurrentState->mShaderID = 0; in loadShader()