Lines Matching refs:sRE
34 sRE = renderengine::gl::GLESRenderEngine::create(static_cast<int32_t>( in SetUpTestSuite()
42 sRE = nullptr; in TearDownTestSuite()
66 sRE->deleteTextures(1, &texName); in ~RenderEngineTest()
123 status_t status = sRE->drawLayers(settings, layers, buffer->getNativeBuffer(), true, in invokeDraw()
135 ASSERT_TRUE(sRE->isFramebufferImageCachedForTesting(buffer->getId())); in invokeDraw()
225 static std::unique_ptr<renderengine::gl::GLESRenderEngine> sRE; member
236 std::unique_ptr<renderengine::gl::GLESRenderEngine> RenderEngineTest::sRE = nullptr; member in android::RenderEngineTest
272 fixture->sRE->genTextures(1, &texName); in fillColor()
624 RenderEngineTest::sRE->genTextures(1, &texName); in fillRedBufferTextureTransform()
673 RenderEngineTest::sRE->genTextures(1, &texName); in fillRedBufferWithPremultiplyAlpha()
712 RenderEngineTest::sRE->genTextures(1, &texName); in fillRedBufferWithoutPremultiplyAlpha()
775 status_t status = sRE->drawLayers(settings, layers, nullptr, true, base::unique_fd(), &fence); in TEST_F()
792 status_t status = sRE->drawLayers(settings, layers, mBuffer->getNativeBuffer(), true, in TEST_F()
811 status_t status = sRE->drawLayers(settings, layers, mBuffer->getNativeBuffer(), false, in TEST_F()
815 ASSERT_FALSE(sRE->isFramebufferImageCachedForTesting(mBuffer->getId())); in TEST_F()
1005 EXPECT_TRUE(sRE->isImageCachedForTesting(bufferId)); in TEST_F()
1007 sRE->unbindExternalTextureBufferForTesting(bufferId); in TEST_F()
1013 EXPECT_FALSE(sRE->isImageCachedForTesting(bufferId)); in TEST_F()
1018 status_t result = sRE->bindExternalTextureBuffer(0, nullptr, nullptr); in TEST_F()
1025 sRE->genTextures(1, &texName); in TEST_F()
1028 sRE->bindExternalTextureBuffer(texName, buf, nullptr); in TEST_F()
1030 EXPECT_TRUE(sRE->isImageCachedForTesting(bufferId)); in TEST_F()
1032 sRE->unbindExternalTextureBufferForTesting(bufferId); in TEST_F()
1039 EXPECT_FALSE(sRE->isImageCachedForTesting(bufferId)); in TEST_F()
1044 sRE->cacheExternalTextureBufferForTesting(nullptr); in TEST_F()
1058 sRE->cacheExternalTextureBufferForTesting(buf); in TEST_F()
1067 EXPECT_TRUE(sRE->isImageCachedForTesting(bufferId)); in TEST_F()
1068 barrier = sRE->unbindExternalTextureBufferForTesting(bufferId); in TEST_F()
1077 EXPECT_FALSE(sRE->isImageCachedForTesting(bufferId)); in TEST_F()