Home
last modified time | relevance | path

Searched refs:ScopedGlProgram (Results 1 – 3 of 3) sorted by relevance

/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndTests.h344 class ScopedGlProgram {
348 ScopedGlProgram() = default;
350 ScopedGlProgram(const ScopedGlProgram& rhs) = delete;
351 ScopedGlProgram& operator=(const ScopedGlProgram& rhs) = delete;
353 static GlExpected<ScopedGlProgram> MakeProgram(GlDispatch& dispatch,
357 static GlExpected<ScopedGlProgram> MakeProgram(GlDispatch& dispatch, GLenum programBinaryFormat,
360 ScopedGlProgram(ScopedGlProgram&& rhs) : mGlDispatch(rhs.mGlDispatch), mHandle(rhs.mHandle) { in ScopedGlProgram() function
364 ScopedGlProgram& operator=(ScopedGlProgram&& rhs) {
370 ~ScopedGlProgram() { in ~ScopedGlProgram()
381 ScopedGlProgram(GlDispatch& dispatch, GLuint handle) in ScopedGlProgram() function
[all …]
DGfxstreamEnd2EndTests.cpp395 GlExpected<ScopedGlProgram> ScopedGlProgram::MakeProgram(GlDispatch& dispatch, in MakeProgram()
426 return ScopedGlProgram(dispatch, program); in MakeProgram()
429 GlExpected<ScopedGlProgram> ScopedGlProgram::MakeProgram( in MakeProgram()
455 return ScopedGlProgram(dispatch, program); in MakeProgram()
482 GlExpected<ScopedGlProgram> GfxstreamEnd2EndTest::SetUpProgram(const std::string& vertSource, in SetUpProgram()
488 return ScopedGlProgram::MakeProgram(*mGl, vertSource, fragSource); in SetUpProgram()
491 GlExpected<ScopedGlProgram> GfxstreamEnd2EndTest::SetUpProgram( in SetUpProgram()
497 return ScopedGlProgram::MakeProgram(*mGl, programBinaryFormat, programBinaryData); in SetUpProgram()
DGfxstreamEnd2EndGlTests.cpp400 ScopedGlProgram program = GL_ASSERT(SetUpProgram(vertSource, fragSource)); in TEST_P()
522 ScopedGlProgram program = GL_ASSERT(SetUpProgram(vertSource, fragSource)); in TEST_P()
537 ScopedGlProgram program = GL_ASSERT(SetUpProgram(programBinaryFormat, programBinaryData)); in TEST_P()
660 ScopedGlProgram program = GL_ASSERT(SetUpProgram(vertSource, fragSource)); in TEST_P()
675 ScopedGlProgram program = GL_ASSERT(SetUpProgram(programBinaryFormat, programBinaryData)); in TEST_P()