Lines Matching refs:RenderEngineTest
32 struct RenderEngineTest : public ::testing::Test { struct
62 RenderEngineTest() { mBuffer = allocateDefaultBuffer(); } in RenderEngineTest() function
64 ~RenderEngineTest() { in ~RenderEngineTest() argument
236 std::unique_ptr<renderengine::gl::GLESRenderEngine> RenderEngineTest::sRE = nullptr;
237 sp<GraphicBuffer> RenderEngineTest::sCurrentBuffer = nullptr;
241 RenderEngineTest* /*fixture*/) { in fillColor()
269 RenderEngineTest* fixture) { in fillColor()
270 sp<GraphicBuffer> buf = RenderEngineTest::allocateSourceBuffer(1, 1); in fillColor()
299 void RenderEngineTest::fillBuffer(half r, half g, half b, half a) { in fillBuffer()
317 void RenderEngineTest::fillRedBuffer() { in fillRedBuffer()
323 void RenderEngineTest::fillGreenBuffer() { in fillGreenBuffer()
329 void RenderEngineTest::fillBlueBuffer() { in fillBlueBuffer()
335 void RenderEngineTest::fillRedTransparentBuffer() { in fillRedTransparentBuffer()
341 void RenderEngineTest::fillRedOffsetBuffer() { in fillRedOffsetBuffer()
358 void RenderEngineTest::fillBufferPhysicalOffset() { in fillBufferPhysicalOffset()
372 void RenderEngineTest::fillBufferCheckers(mat4 transform) { in fillBufferCheckers()
407 void RenderEngineTest::fillBufferCheckersRotate0() { in fillBufferCheckersRotate0()
423 void RenderEngineTest::fillBufferCheckersRotate90() { in fillBufferCheckersRotate90()
440 void RenderEngineTest::fillBufferCheckersRotate180() { in fillBufferCheckersRotate180()
457 void RenderEngineTest::fillBufferCheckersRotate270() { in fillBufferCheckersRotate270()
474 void RenderEngineTest::fillBufferWithLayerTransform() { in fillBufferWithLayerTransform()
496 void RenderEngineTest::fillBufferLayerTransform() { in fillBufferLayerTransform()
506 void RenderEngineTest::fillBufferWithColorTransform() { in fillBufferWithColorTransform()
533 void RenderEngineTest::fillBufferColorTransform() { in fillBufferColorTransform()
539 void RenderEngineTest::fillRedBufferWithRoundedCorners() { in fillRedBufferWithRoundedCorners()
559 void RenderEngineTest::fillBufferWithRoundedCorners() { in fillBufferWithRoundedCorners()
575 void RenderEngineTest::overlayCorners() { in overlayCorners()
612 void RenderEngineTest::fillRedBufferTextureTransform() { in fillRedBufferTextureTransform()
624 RenderEngineTest::sRE->genTextures(1, &texName); in fillRedBufferTextureTransform()
657 void RenderEngineTest::fillBufferTextureTransform() { in fillBufferTextureTransform()
662 void RenderEngineTest::fillRedBufferWithPremultiplyAlpha() { in fillRedBufferWithPremultiplyAlpha()
673 RenderEngineTest::sRE->genTextures(1, &texName); in fillRedBufferWithPremultiplyAlpha()
696 void RenderEngineTest::fillBufferWithPremultiplyAlpha() { in fillBufferWithPremultiplyAlpha()
701 void RenderEngineTest::fillRedBufferWithoutPremultiplyAlpha() { in fillRedBufferWithoutPremultiplyAlpha()
712 RenderEngineTest::sRE->genTextures(1, &texName); in fillRedBufferWithoutPremultiplyAlpha()
735 void RenderEngineTest::fillBufferWithoutPremultiplyAlpha() { in fillBufferWithoutPremultiplyAlpha()
740 void RenderEngineTest::clearLeftRegion() { in clearLeftRegion()
754 void RenderEngineTest::clearRegion() { in clearRegion()
763 TEST_F(RenderEngineTest, drawLayers_noLayersToDraw) { in TEST_F() argument
767 TEST_F(RenderEngineTest, drawLayers_nullOutputBuffer) { in TEST_F() argument
780 TEST_F(RenderEngineTest, drawLayers_nullOutputFence) { in TEST_F() argument
799 TEST_F(RenderEngineTest, drawLayers_doesNotCacheFramebuffer) { in TEST_F() argument
819 TEST_F(RenderEngineTest, drawLayers_fillRedBuffer_colorSource) { in TEST_F() argument
823 TEST_F(RenderEngineTest, drawLayers_fillGreenBuffer_colorSource) { in TEST_F() argument
827 TEST_F(RenderEngineTest, drawLayers_fillBlueBuffer_colorSource) { in TEST_F() argument
831 TEST_F(RenderEngineTest, drawLayers_fillRedTransparentBuffer_colorSource) { in TEST_F() argument
835 TEST_F(RenderEngineTest, drawLayers_fillBufferPhysicalOffset_colorSource) { in TEST_F() argument
839 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate0_colorSource) { in TEST_F() argument
843 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate90_colorSource) { in TEST_F() argument
847 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate180_colorSource) { in TEST_F() argument
851 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate270_colorSource) { in TEST_F() argument
855 TEST_F(RenderEngineTest, drawLayers_fillBufferLayerTransform_colorSource) { in TEST_F() argument
859 TEST_F(RenderEngineTest, drawLayers_fillBufferColorTransform_colorSource) { in TEST_F() argument
863 TEST_F(RenderEngineTest, drawLayers_fillBufferRoundedCorners_colorSource) { in TEST_F() argument
867 TEST_F(RenderEngineTest, drawLayers_overlayCorners_colorSource) { in TEST_F() argument
871 TEST_F(RenderEngineTest, drawLayers_fillRedBuffer_opaqueBufferSource) { in TEST_F() argument
875 TEST_F(RenderEngineTest, drawLayers_fillGreenBuffer_opaqueBufferSource) { in TEST_F() argument
879 TEST_F(RenderEngineTest, drawLayers_fillBlueBuffer_opaqueBufferSource) { in TEST_F() argument
883 TEST_F(RenderEngineTest, drawLayers_fillRedTransparentBuffer_opaqueBufferSource) { in TEST_F() argument
887 TEST_F(RenderEngineTest, drawLayers_fillBufferPhysicalOffset_opaqueBufferSource) { in TEST_F() argument
891 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate0_opaqueBufferSource) { in TEST_F() argument
895 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate90_opaqueBufferSource) { in TEST_F() argument
899 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate180_opaqueBufferSource) { in TEST_F() argument
903 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate270_opaqueBufferSource) { in TEST_F() argument
907 TEST_F(RenderEngineTest, drawLayers_fillBufferLayerTransform_opaqueBufferSource) { in TEST_F() argument
911 TEST_F(RenderEngineTest, drawLayers_fillBufferColorTransform_opaqueBufferSource) { in TEST_F() argument
915 TEST_F(RenderEngineTest, drawLayers_fillBufferRoundedCorners_opaqueBufferSource) { in TEST_F() argument
919 TEST_F(RenderEngineTest, drawLayers_overlayCorners_opaqueBufferSource) { in TEST_F() argument
923 TEST_F(RenderEngineTest, drawLayers_fillRedBuffer_bufferSource) { in TEST_F() argument
927 TEST_F(RenderEngineTest, drawLayers_fillGreenBuffer_bufferSource) { in TEST_F() argument
931 TEST_F(RenderEngineTest, drawLayers_fillBlueBuffer_bufferSource) { in TEST_F() argument
935 TEST_F(RenderEngineTest, drawLayers_fillRedTransparentBuffer_bufferSource) { in TEST_F() argument
939 TEST_F(RenderEngineTest, drawLayers_fillBufferPhysicalOffset_bufferSource) { in TEST_F() argument
943 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate0_bufferSource) { in TEST_F() argument
947 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate90_bufferSource) { in TEST_F() argument
951 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate180_bufferSource) { in TEST_F() argument
955 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate270_bufferSource) { in TEST_F() argument
959 TEST_F(RenderEngineTest, drawLayers_fillBufferLayerTransform_bufferSource) { in TEST_F() argument
963 TEST_F(RenderEngineTest, drawLayers_fillBufferColorTransform_bufferSource) { in TEST_F() argument
967 TEST_F(RenderEngineTest, drawLayers_fillBufferRoundedCorners_bufferSource) { in TEST_F() argument
971 TEST_F(RenderEngineTest, drawLayers_overlayCorners_bufferSource) { in TEST_F() argument
975 TEST_F(RenderEngineTest, drawLayers_fillBufferTextureTransform) { in TEST_F() argument
979 TEST_F(RenderEngineTest, drawLayers_fillBuffer_premultipliesAlpha) { in TEST_F() argument
983 TEST_F(RenderEngineTest, drawLayers_fillBuffer_withoutPremultiplyingAlpha) { in TEST_F() argument
987 TEST_F(RenderEngineTest, drawLayers_clearRegion) { in TEST_F() argument
991 TEST_F(RenderEngineTest, drawLayers_fillsBufferAndCachesImages) { in TEST_F() argument
1017 TEST_F(RenderEngineTest, drawLayers_bindExternalBufferWithNullBuffer) { in TEST_F() argument
1022 TEST_F(RenderEngineTest, drawLayers_bindExternalBufferCachesImages) { in TEST_F() argument
1042 TEST_F(RenderEngineTest, drawLayers_cacheExternalBufferWithNullBuffer) { in TEST_F() argument
1054 TEST_F(RenderEngineTest, drawLayers_cacheExternalBufferCachesImages) { in TEST_F() argument