Home
last modified time | relevance | path

Searched refs:mPrograms (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DUniformsPerf.cpp143 std::array<GLuint, 2> mPrograms; member in __anon45d965380111::UniformsBenchmark
172 UniformsBenchmark::UniformsBenchmark() : ANGLERenderTest("Uniforms", GetParam()), mPrograms({}) in UniformsBenchmark()
251 GLint attribLocation = glGetAttribLocation(mPrograms[0], "pos"); in initializeBenchmark()
253 ASSERT_EQ(attribLocation, glGetAttribLocation(mPrograms[1], "pos")); in initializeBenchmark()
348 mPrograms[0] = CompileProgram(vstrstr.str().c_str(), fstrstr.str().c_str()); in initShaders()
349 ASSERT_NE(0u, mPrograms[0]); in initShaders()
350 mPrograms[1] = CompileProgram(vstrstr.str().c_str(), fstrstr.str().c_str()); in initShaders()
351 ASSERT_NE(0u, mPrograms[1]); in initShaders()
356 GLint location = glGetUniformLocation(mPrograms[0], name.c_str()); in initShaders()
358 ASSERT_EQ(location, glGetUniformLocation(mPrograms[1], name.c_str())); in initShaders()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DProgramPipeline.cpp38 mPrograms[shaderType] = nullptr; in ProgramPipelineState()
62 Program *oldProgram = mPrograms[shaderType]; in useProgramStage()
74 mPrograms[shaderType] = shaderProgram; in useProgramStage()
82 mPrograms[shaderType] = nullptr; in useProgramStage()
85 Program *program = mPrograms[shaderType]; in useProgramStage()
110 for (const Program *program : mPrograms) in usesShaderProgram()
169 for (Program *program : mState.mPrograms) in onDestroy()
219 Program *program = mState.mPrograms[shaderType]; in updateLinkedShaderStages()
526 tfProgram = mState.mPrograms[ShaderType::Vertex]; in link()
589 Program *vertexProgram = mState.mPrograms[ShaderType::Vertex]; in linkVaryings()
[all …]
DResourceManager.cpp141 ASSERT(mPrograms.empty()); in ~ShaderProgramManager()
147 while (!mPrograms.empty()) in reset()
149 deleteProgram(context, {mPrograms.begin()->first}); in reset()
151 mPrograms.clear(); in reset()
182 mPrograms.assign(handle, new Program(factory, this, handle)); in createProgram()
188 deleteObject(context, &mPrograms, program); in deleteProgram()
DProgramPipeline.h57 const Program *getShaderProgram(ShaderType shaderType) const { return mPrograms[shaderType]; } in getShaderProgram()
78 ShaderMap<Program *> mPrograms; variable
124 Program *getShaderProgram(ShaderType shaderType) const { return mState.mPrograms[shaderType]; } in getShaderProgram()
DResourceManager.h164 return mPrograms.query(handle); in getProgram()
171 return mPrograms; in getProgramsForCaptureAndPerf()
186 ResourceMap<Program, ShaderProgramID> mPrograms; variable