Searched refs:ScopedGlShader (Results 1 – 2 of 2) sorted by relevance
/hardware/google/gfxstream/common/end2end/ |
D | GfxstreamEnd2EndTests.h | 305 class ScopedGlShader { 309 ScopedGlShader() = default; 311 ScopedGlShader(const ScopedGlShader& rhs) = delete; 312 ScopedGlShader& operator=(const ScopedGlShader& rhs) = delete; 314 static GlExpected<ScopedGlShader> MakeShader(GlDispatch& dispatch, GLenum type, 317 ScopedGlShader(ScopedGlShader&& rhs) : mGlDispatch(rhs.mGlDispatch), mHandle(rhs.mHandle) { in ScopedGlShader() function 321 ScopedGlShader& operator=(ScopedGlShader&& rhs) { 327 ~ScopedGlShader() { in ~ScopedGlShader() 338 ScopedGlShader(GlDispatch& dispatch, GLuint handle) : mGlDispatch(&dispatch), mHandle(handle) {} in ScopedGlShader() function 502 GlExpected<ScopedGlShader> SetUpShader(GLenum type, const std::string& source);
|
D | GfxstreamEnd2EndTests.cpp | 360 GlExpected<ScopedGlShader> ScopedGlShader::MakeShader(GlDispatch& dispatch, GLenum type, in MakeShader() 392 return ScopedGlShader(dispatch, shader); in MakeShader() 398 auto vertShader = GL_EXPECT(ScopedGlShader::MakeShader(dispatch, GL_VERTEX_SHADER, vertSource)); in MakeProgram() 400 GL_EXPECT(ScopedGlShader::MakeShader(dispatch, GL_FRAGMENT_SHADER, fragSource)); in MakeProgram() 473 GlExpected<ScopedGlShader> GfxstreamEnd2EndTest::SetUpShader(GLenum type, in SetUpShader() 479 return ScopedGlShader::MakeShader(*mGl, type, source); in SetUpShader()
|