Searched refs:blitProgram (Results 1 – 2 of 2) sorted by relevance
/external/angle/src/libANGLE/renderer/gl/ |
D | BlitGL.cpp | 238 for (const auto &blitProgram : mBlitPrograms) in ~BlitGL() local 240 mStateManager->deleteProgram(blitProgram.second.program); in ~BlitGL() 307 BlitProgram *blitProgram = nullptr; in copySubImageToLUMAWorkaroundTexture() local 308 ANGLE_TRY(getBlitProgram(context, gl::TextureType::_2D, GL_FLOAT, GL_FLOAT, &blitProgram)); in copySubImageToLUMAWorkaroundTexture() 361 mStateManager->useProgram(blitProgram->program); in copySubImageToLUMAWorkaroundTexture() 362 ANGLE_GL_TRY(context, mFunctions->uniform1i(blitProgram->sourceTextureLocation, 0)); in copySubImageToLUMAWorkaroundTexture() 363 ANGLE_GL_TRY(context, mFunctions->uniform2f(blitProgram->scaleLocation, 1.0, 1.0)); in copySubImageToLUMAWorkaroundTexture() 364 ANGLE_GL_TRY(context, mFunctions->uniform2f(blitProgram->offsetLocation, 0.0, 0.0)); in copySubImageToLUMAWorkaroundTexture() 365 ANGLE_GL_TRY(context, mFunctions->uniform1i(blitProgram->multiplyAlphaLocation, 0)); in copySubImageToLUMAWorkaroundTexture() 366 ANGLE_GL_TRY(context, mFunctions->uniform1i(blitProgram->unMultiplyAlphaLocation, 0)); in copySubImageToLUMAWorkaroundTexture() [all …]
|
/external/angle/src/tests/gl_tests/ |
D | DepthStencilFormatsTest.cpp | 1174 ANGLE_GL_PROGRAM(blitProgram, kBlitVS, kBlitFS); in TEST_P() 1176 GLint blitTextureLocation = glGetUniformLocation(blitProgram.get(), "texture"); in TEST_P() 1237 glUseProgram(blitProgram.get()); in TEST_P() 1241 drawQuad(blitProgram.get(), "vertex", 0.5f); in TEST_P()
|