Home
last modified time | relevance | path

Searched refs:mProgramState (Results 1 – 4 of 4) sorted by relevance

/external/angle/src/libANGLE/
DGLES1Renderer.cpp40 mShaderPrograms->deleteProgram(context, {mProgramState.program}); in onDestroy()
55 Program *programObject = getProgram(mProgramState.program); in prepareForDraw()
64 setUniform1i(context, programObject, mProgramState.enableAlphaTestLoc, in prepareForDraw()
66 setUniform1i(context, programObject, mProgramState.enableLightingLoc, in prepareForDraw()
68 setUniform1i(context, programObject, mProgramState.enableRescaleNormalLoc, in prepareForDraw()
70 setUniform1i(context, programObject, mProgramState.enableNormalizeLoc, in prepareForDraw()
72 setUniform1i(context, programObject, mProgramState.enableColorMaterialLoc, in prepareForDraw()
74 setUniform1i(context, programObject, mProgramState.fogEnableLoc, in prepareForDraw()
84 setUniform1i(context, programObject, mProgramState.enableClipPlanesLoc, enableClipPlanes); in prepareForDraw()
143 setUniform1iv(context, programObject, mProgramState.enableTexture2DLoc, kTexUnitCount, in prepareForDraw()
[all …]
DProgramExecutable.cpp20 : mProgramState(nullptr), in ProgramExecutable()
53 if (mProgramState && in getProgramState()
54 (hasLinkedShaderStage(shaderType) || mProgramState->getAttachedShader(shaderType))) in getProgramState()
56 return mProgramState; in getProgramState()
99 ASSERT(mProgramState || mProgramPipelineState); in hasDefaultUniforms()
100 if (mProgramState) in hasDefaultUniforms()
102 return mProgramState->hasDefaultUniforms(); in hasDefaultUniforms()
110 ASSERT(mProgramState || mProgramPipelineState); in hasTextures()
111 if (mProgramState) in hasTextures()
113 return mProgramState->hasTextures(); in hasTextures()
[all …]
DProgramExecutable.h130 ASSERT(!mProgramState && !mProgramPipelineState); in setProgramState()
131 mProgramState = state; in setProgramState()
135 ASSERT(!mProgramState && !mProgramPipelineState); in setProgramPipelineState()
154 ProgramState *mProgramState; variable
DGLES1Renderer.h265 GLES1ProgramState mProgramState; variable