Lines Matching refs:RenderEngineTest

39 struct RenderEngineTest : public ::testing::Test {  struct
76 RenderEngineTest() { mBuffer = allocateDefaultBuffer(); } in RenderEngineTest() function
78 ~RenderEngineTest() { in ~RenderEngineTest() argument
376 std::unique_ptr<renderengine::gl::GLESRenderEngine> RenderEngineTest::sRE = nullptr;
377 sp<GraphicBuffer> RenderEngineTest::sCurrentBuffer = nullptr;
381 RenderEngineTest* /*fixture*/) { in fillColor()
409 RenderEngineTest* fixture) { in fillColor()
410 sp<GraphicBuffer> buf = RenderEngineTest::allocateSourceBuffer(1, 1); in fillColor()
439 void RenderEngineTest::fillBuffer(half r, half g, half b, half a) { in fillBuffer()
457 void RenderEngineTest::fillRedBuffer() { in fillRedBuffer()
463 void RenderEngineTest::fillGreenBuffer() { in fillGreenBuffer()
469 void RenderEngineTest::fillBlueBuffer() { in fillBlueBuffer()
475 void RenderEngineTest::fillRedTransparentBuffer() { in fillRedTransparentBuffer()
481 void RenderEngineTest::fillRedOffsetBuffer() { in fillRedOffsetBuffer()
498 void RenderEngineTest::fillBufferPhysicalOffset() { in fillBufferPhysicalOffset()
512 void RenderEngineTest::fillBufferCheckers(uint32_t orientationFlag) { in fillBufferCheckers()
547 void RenderEngineTest::fillBufferCheckersRotate0() { in fillBufferCheckersRotate0()
563 void RenderEngineTest::fillBufferCheckersRotate90() { in fillBufferCheckersRotate90()
579 void RenderEngineTest::fillBufferCheckersRotate180() { in fillBufferCheckersRotate180()
595 void RenderEngineTest::fillBufferCheckersRotate270() { in fillBufferCheckersRotate270()
611 void RenderEngineTest::fillBufferWithLayerTransform() { in fillBufferWithLayerTransform()
633 void RenderEngineTest::fillBufferLayerTransform() { in fillBufferLayerTransform()
643 void RenderEngineTest::fillBufferWithColorTransform() { in fillBufferWithColorTransform()
670 void RenderEngineTest::fillBufferColorTransform() { in fillBufferColorTransform()
676 void RenderEngineTest::fillRedBufferWithRoundedCorners() { in fillRedBufferWithRoundedCorners()
696 void RenderEngineTest::fillBufferWithRoundedCorners() { in fillBufferWithRoundedCorners()
712 void RenderEngineTest::fillBufferAndBlurBackground() { in fillBufferAndBlurBackground()
757 void RenderEngineTest::overlayCorners() { in overlayCorners()
794 void RenderEngineTest::fillRedBufferTextureTransform() { in fillRedBufferTextureTransform()
806 RenderEngineTest::sRE->genTextures(1, &texName); in fillRedBufferTextureTransform()
839 void RenderEngineTest::fillBufferTextureTransform() { in fillBufferTextureTransform()
844 void RenderEngineTest::fillRedBufferWithPremultiplyAlpha() { in fillRedBufferWithPremultiplyAlpha()
855 RenderEngineTest::sRE->genTextures(1, &texName); in fillRedBufferWithPremultiplyAlpha()
878 void RenderEngineTest::fillBufferWithPremultiplyAlpha() { in fillBufferWithPremultiplyAlpha()
883 void RenderEngineTest::fillRedBufferWithoutPremultiplyAlpha() { in fillRedBufferWithoutPremultiplyAlpha()
894 RenderEngineTest::sRE->genTextures(1, &texName); in fillRedBufferWithoutPremultiplyAlpha()
917 void RenderEngineTest::fillBufferWithoutPremultiplyAlpha() { in fillBufferWithoutPremultiplyAlpha()
922 void RenderEngineTest::clearLeftRegion() { in clearLeftRegion()
935 void RenderEngineTest::clearRegion() { in clearRegion()
945 void RenderEngineTest::drawShadow(const renderengine::LayerSettings& castingLayer, in drawShadow()
978 TEST_F(RenderEngineTest, drawLayers_noLayersToDraw) { in TEST_F() argument
982 TEST_F(RenderEngineTest, drawLayers_nullOutputBuffer) { in TEST_F() argument
995 TEST_F(RenderEngineTest, drawLayers_nullOutputFence) { in TEST_F() argument
1014 TEST_F(RenderEngineTest, drawLayers_doesNotCacheFramebuffer) { in TEST_F() argument
1034 TEST_F(RenderEngineTest, drawLayers_fillRedBuffer_colorSource) { in TEST_F() argument
1038 TEST_F(RenderEngineTest, drawLayers_fillGreenBuffer_colorSource) { in TEST_F() argument
1042 TEST_F(RenderEngineTest, drawLayers_fillBlueBuffer_colorSource) { in TEST_F() argument
1046 TEST_F(RenderEngineTest, drawLayers_fillRedTransparentBuffer_colorSource) { in TEST_F() argument
1050 TEST_F(RenderEngineTest, drawLayers_fillBufferPhysicalOffset_colorSource) { in TEST_F() argument
1054 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate0_colorSource) { in TEST_F() argument
1058 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate90_colorSource) { in TEST_F() argument
1062 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate180_colorSource) { in TEST_F() argument
1066 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate270_colorSource) { in TEST_F() argument
1070 TEST_F(RenderEngineTest, drawLayers_fillBufferLayerTransform_colorSource) { in TEST_F() argument
1074 TEST_F(RenderEngineTest, drawLayers_fillBufferColorTransform_colorSource) { in TEST_F() argument
1078 TEST_F(RenderEngineTest, drawLayers_fillBufferRoundedCorners_colorSource) { in TEST_F() argument
1082 TEST_F(RenderEngineTest, drawLayers_fillBufferAndBlurBackground_colorSource) { in TEST_F() argument
1086 TEST_F(RenderEngineTest, drawLayers_overlayCorners_colorSource) { in TEST_F() argument
1090 TEST_F(RenderEngineTest, drawLayers_fillRedBuffer_opaqueBufferSource) { in TEST_F() argument
1094 TEST_F(RenderEngineTest, drawLayers_fillGreenBuffer_opaqueBufferSource) { in TEST_F() argument
1098 TEST_F(RenderEngineTest, drawLayers_fillBlueBuffer_opaqueBufferSource) { in TEST_F() argument
1102 TEST_F(RenderEngineTest, drawLayers_fillRedTransparentBuffer_opaqueBufferSource) { in TEST_F() argument
1106 TEST_F(RenderEngineTest, drawLayers_fillBufferPhysicalOffset_opaqueBufferSource) { in TEST_F() argument
1110 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate0_opaqueBufferSource) { in TEST_F() argument
1114 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate90_opaqueBufferSource) { in TEST_F() argument
1118 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate180_opaqueBufferSource) { in TEST_F() argument
1122 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate270_opaqueBufferSource) { in TEST_F() argument
1126 TEST_F(RenderEngineTest, drawLayers_fillBufferLayerTransform_opaqueBufferSource) { in TEST_F() argument
1130 TEST_F(RenderEngineTest, drawLayers_fillBufferColorTransform_opaqueBufferSource) { in TEST_F() argument
1134 TEST_F(RenderEngineTest, drawLayers_fillBufferRoundedCorners_opaqueBufferSource) { in TEST_F() argument
1138 TEST_F(RenderEngineTest, drawLayers_fillBufferAndBlurBackground_opaqueBufferSource) { in TEST_F() argument
1142 TEST_F(RenderEngineTest, drawLayers_overlayCorners_opaqueBufferSource) { in TEST_F() argument
1146 TEST_F(RenderEngineTest, drawLayers_fillRedBuffer_bufferSource) { in TEST_F() argument
1150 TEST_F(RenderEngineTest, drawLayers_fillGreenBuffer_bufferSource) { in TEST_F() argument
1154 TEST_F(RenderEngineTest, drawLayers_fillBlueBuffer_bufferSource) { in TEST_F() argument
1158 TEST_F(RenderEngineTest, drawLayers_fillRedTransparentBuffer_bufferSource) { in TEST_F() argument
1162 TEST_F(RenderEngineTest, drawLayers_fillBufferPhysicalOffset_bufferSource) { in TEST_F() argument
1166 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate0_bufferSource) { in TEST_F() argument
1170 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate90_bufferSource) { in TEST_F() argument
1174 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate180_bufferSource) { in TEST_F() argument
1178 TEST_F(RenderEngineTest, drawLayers_fillBufferCheckersRotate270_bufferSource) { in TEST_F() argument
1182 TEST_F(RenderEngineTest, drawLayers_fillBufferLayerTransform_bufferSource) { in TEST_F() argument
1186 TEST_F(RenderEngineTest, drawLayers_fillBufferColorTransform_bufferSource) { in TEST_F() argument
1190 TEST_F(RenderEngineTest, drawLayers_fillBufferRoundedCorners_bufferSource) { in TEST_F() argument
1194 TEST_F(RenderEngineTest, drawLayers_fillBufferAndBlurBackground_bufferSource) { in TEST_F() argument
1198 TEST_F(RenderEngineTest, drawLayers_overlayCorners_bufferSource) { in TEST_F() argument
1202 TEST_F(RenderEngineTest, drawLayers_fillBufferTextureTransform) { in TEST_F() argument
1206 TEST_F(RenderEngineTest, drawLayers_fillBuffer_premultipliesAlpha) { in TEST_F() argument
1210 TEST_F(RenderEngineTest, drawLayers_fillBuffer_withoutPremultiplyingAlpha) { in TEST_F() argument
1214 TEST_F(RenderEngineTest, drawLayers_clearRegion) { in TEST_F() argument
1218 TEST_F(RenderEngineTest, drawLayers_fillsBufferAndCachesImages) { in TEST_F() argument
1244 TEST_F(RenderEngineTest, bindExternalBuffer_withNullBuffer) { in TEST_F() argument
1249 TEST_F(RenderEngineTest, bindExternalBuffer_cachesImages) { in TEST_F() argument
1269 TEST_F(RenderEngineTest, cacheExternalBuffer_withNullBuffer) { in TEST_F() argument
1281 TEST_F(RenderEngineTest, cacheExternalBuffer_cachesImages) { in TEST_F() argument
1307 TEST_F(RenderEngineTest, drawLayers_fillShadow_casterLayerMinSize) { in TEST_F() argument
1324 TEST_F(RenderEngineTest, drawLayers_fillShadow_casterColorLayer) { in TEST_F() argument
1341 TEST_F(RenderEngineTest, drawLayers_fillShadow_casterOpaqueBufferLayer) { in TEST_F() argument
1359 TEST_F(RenderEngineTest, drawLayers_fillShadow_casterWithRoundedCorner) { in TEST_F() argument
1379 TEST_F(RenderEngineTest, drawLayers_fillShadow_translucentCasterWithAlpha) { in TEST_F() argument
1404 TEST_F(RenderEngineTest, cleanupPostRender_cleansUpOnce) { in TEST_F() argument