Home
last modified time | relevance | path

Searched refs:renderThread (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DBakedOpDispatcherTests.cpp55 static void testUnmergedGlopDispatch(renderthread::RenderThread& renderThread, RecordedOp* op, in testUnmergedGlopDispatch() argument
68 ValidatingBakedOpRenderer renderer(renderThread.renderState(), glopReceiver); in testUnmergedGlopDispatch()
111 testUnmergedGlopDispatch(renderThread, &arcOp, textureGlopVerifier); in RENDERTHREAD_TEST()
114 testUnmergedGlopDispatch(renderThread, &ovalOp, textureGlopVerifier); in RENDERTHREAD_TEST()
122 testUnmergedGlopDispatch(renderThread, &op, [&renderThread] (const Glop& glop) { in RENDERTHREAD_TEST()
127 static int getGlopTransformFlags(renderthread::RenderThread& renderThread, RecordedOp* op) { in getGlopTransformFlags() argument
129 testUnmergedGlopDispatch(renderThread, op, [&result] (const Glop& glop) { in getGlopTransformFlags()
142 EXPECT_EQ(TransformFlags::None, getGlopTransformFlags(renderThread, &roundRectOp)) in RENDERTHREAD_TEST()
147 EXPECT_EQ(TransformFlags::None, getGlopTransformFlags(renderThread, &antiAliasedPointsOp)) in RENDERTHREAD_TEST()
150 EXPECT_EQ(TransformFlags::OffsetByFudgeFactor, getGlopTransformFlags(renderThread, &pointsOp)) in RENDERTHREAD_TEST()
[all …]
DOffscreenBufferPoolTests.cpp34 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 49u, 149u); in RENDERTHREAD_TEST()
45 OffscreenBuffer layerAligned(renderThread.renderState(), Caches::getInstance(), 256u, 256u); in RENDERTHREAD_TEST()
49 OffscreenBuffer layerUnaligned(renderThread.renderState(), Caches::getInstance(), 200u, 225u); in RENDERTHREAD_TEST()
55 OffscreenBuffer buffer(renderThread.renderState(), Caches::getInstance(), 256u, 256u); in RENDERTHREAD_TEST()
71 auto layer = pool.get(renderThread.renderState(), 100u, 200u); in RENDERTHREAD_TEST()
80 auto layer2 = pool.get(renderThread.renderState(), 102u, 202u); in RENDERTHREAD_TEST()
94 auto layer = pool.get(renderThread.renderState(), 64u, 64u); in RENDERTHREAD_TEST()
106 auto layer2 = pool.get(renderThread.renderState(), 128u, 128u); in RENDERTHREAD_TEST()
130 auto hugeLayer = pool.get(renderThread.renderState(), pool.getMaxSize() / 64, 64); in RENDERTHREAD_TEST()
144 buffers.push_back(pool.get(renderThread.renderState(), size, size)); in RENDERTHREAD_TEST()
DBakedOpRendererTests.cpp27 BakedOpRenderer renderer(Caches::getInstance(), renderThread.renderState(), true, sLightInfo); in RENDERTHREAD_TEST()
28 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 200u, 200u); in RENDERTHREAD_TEST()
DLeakCheckTests.cpp42 RenderState& renderState = renderThread.renderState(); in RENDERTHREAD_TEST()
59 RenderState& renderState = renderThread.renderState(); in RENDERTHREAD_TEST()
DRenderNodeTests.cpp108 CanvasContext canvasContext(renderThread, false, nullptr, &contextFactory); in RENDERTHREAD_TEST()
DFrameBuilderTests.cpp616 auto layerUpdater = TestUtils::createTextureLayerUpdater(renderThread, 100, 100, in RENDERTHREAD_TEST()
648 auto layerUpdater = TestUtils::createTextureLayerUpdater(renderThread, 100, 100, in RENDERTHREAD_TEST()
669 auto layerUpdater = TestUtils::createTextureLayerUpdater(renderThread, 100, 100, in RENDERTHREAD_TEST()
1273 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 100, 100); in RENDERTHREAD_TEST()
1365 OffscreenBuffer childLayer(renderThread.renderState(), Caches::getInstance(), 100, 100); in RENDERTHREAD_TEST()
1380 OffscreenBuffer parentLayer(renderThread.renderState(), Caches::getInstance(), 200, 200); in RENDERTHREAD_TEST()
1441 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 100, 100); in RENDERTHREAD_TEST()
1668 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 200, 200); in RENDERTHREAD_TEST()
1873 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 100, 100); in RENDERTHREAD_TEST()
DGlopBuilderTests.cpp119 RenderState& renderState = renderThread.renderState(); in RENDERTHREAD_TEST()
DRecordingCanvasTests.cpp316 auto layerUpdater = TestUtils::createTextureLayerUpdater(renderThread, 100, 100, in RENDERTHREAD_TEST()
/frameworks/base/libs/hwui/
DReadback.cpp33 CopyResult Readback::copySurfaceInto(renderthread::RenderThread& renderThread, in copySurfaceInto() argument
37 renderThread.eglManager().initialize(); in copySurfaceInto()
40 RenderState& renderState = renderThread.renderState(); in copySurfaceInto()
DReadback.h39 static CopyResult copySurfaceInto(renderthread::RenderThread& renderThread,
/frameworks/base/libs/hwui/tests/common/
DTestUtils.h70 static void doTheThing(renderthread::RenderThread& renderThread); \
75 …st_case_name##_##test_name##_RenderThreadTest::doTheThing(renderthread::RenderThread& renderThread)
146 renderthread::RenderThread& renderThread, uint32_t width, uint32_t height,
DTestUtils.cpp44 renderthread::RenderThread& renderThread, uint32_t width, uint32_t height, in createTextureLayerUpdater() argument
46 Layer* layer = LayerRenderer::createTextureLayer(renderThread.renderState()); in createTextureLayerUpdater()
/frameworks/base/libs/hwui/renderthread/
DRenderProxy.cpp659 RenderThread* renderThread = &RenderThread::getInstance(); in prepareToDraw() local
661 args->thread = renderThread; in prepareToDraw()
663 nsecs_t lastVsync = renderThread->timeLord().latestVsync(); in prepareToDraw()
664 nsecs_t estimatedNextVsync = lastVsync + renderThread->timeLord().frameIntervalNanos(); in prepareToDraw()
672 renderThread->queueAt(task, estimatedNextVsync + 8_ms); in prepareToDraw()
674 renderThread->queue(task); in prepareToDraw()