/frameworks/av/media/libstagefright/renderfright/tests/ |
D | RenderEngineThreadedTest.cpp | 35 [this]() { return std::unique_ptr<renderengine::RenderEngine>(mRenderEngine); }); in SetUp() 39 renderengine::mock::RenderEngine* mRenderEngine = new renderengine::mock::RenderEngine(); member 44 EXPECT_CALL(*mRenderEngine, dump(_)); in TEST_F() 49 EXPECT_CALL(*mRenderEngine, primeCache()); in TEST_F() 55 EXPECT_CALL(*mRenderEngine, genTextures(1, &texName)); in TEST_F() 61 EXPECT_CALL(*mRenderEngine, deleteTextures(1, &texName)); in TEST_F() 66 EXPECT_CALL(*mRenderEngine, bindExternalTextureBuffer(0, Eq(nullptr), Eq(nullptr))) in TEST_F() 74 EXPECT_CALL(*mRenderEngine, bindExternalTextureBuffer(0, buf, Eq(nullptr))) in TEST_F() 81 EXPECT_CALL(*mRenderEngine, cacheExternalTextureBuffer(Eq(nullptr))); in TEST_F() 87 EXPECT_CALL(*mRenderEngine, cacheExternalTextureBuffer(buf)); in TEST_F() [all …]
|
/frameworks/native/libs/renderengine/tests/ |
D | RenderEngineThreadedTest.cpp | 39 [this]() { return std::unique_ptr<renderengine::RenderEngine>(mRenderEngine); }); in SetUp() 43 renderengine::mock::RenderEngine* mRenderEngine = new renderengine::mock::RenderEngine(); member 48 EXPECT_CALL(*mRenderEngine, dump(_)); in TEST_F() 69 EXPECT_CALL(*mRenderEngine, primeCache(EqConfig(config))); in TEST_F() 78 EXPECT_CALL(*mRenderEngine, getMaxTextureSize()).WillOnce(Return(size)); in TEST_F() 85 EXPECT_CALL(*mRenderEngine, getMaxTextureSize()).WillOnce(Return(size)); in TEST_F() 92 EXPECT_CALL(*mRenderEngine, getMaxViewportDims()).WillOnce(Return(dims)); in TEST_F() 99 EXPECT_CALL(*mRenderEngine, getMaxViewportDims()).WillOnce(Return(dims)); in TEST_F() 105 EXPECT_CALL(*mRenderEngine, supportsProtectedContent()).WillOnce(Return(false)); in TEST_F() 111 EXPECT_CALL(*mRenderEngine, supportsProtectedContent()).WillOnce(Return(true)); in TEST_F() [all …]
|
/frameworks/native/libs/renderengine/ |
D | ExternalTexture.cpp | 27 : mBuffer(buffer), mRenderEngine(renderEngine), mWritable(usage & WRITEABLE) { in ExternalTexture() 30 mRenderEngine.mapExternalTextureBuffer(mBuffer, mWritable); in ExternalTexture() 34 mRenderEngine.unmapExternalTextureBuffer(std::move(mBuffer)); in ~ExternalTexture() 41 mRenderEngine.unmapExternalTextureBuffer(std::move(buf)); in remapBuffer() 43 mRenderEngine.mapExternalTextureBuffer(mBuffer, mWritable); in remapBuffer()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/ |
D | FlattenerTest.cpp | 71 : mFlattener(std::make_unique<TestableFlattener>(mRenderEngine, tunables)) {} in FlattenerTest() 77 renderengine::mock::RenderEngine mRenderEngine; member in android::compositionengine::__anon805b6a870111::FlattenerTest 174 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _)) in expectAllLayersFlattened() 450 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _)) in TEST_F() 473 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _)) in TEST_F() 525 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _)) in TEST_F() 539 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _)) in TEST_F() 568 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _)) in TEST_F() 623 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _)) in TEST_F() 634 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _)).Times(0); in TEST_F() [all …]
|
D | CachedSetTest.cpp | 98 android::renderengine::mock::RenderEngine mRenderEngine; member in android::compositionengine::__anonc1be24060111::CachedSetTest 99 TexturePool mTexturePool = TexturePool(mRenderEngine); 372 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _)).WillOnce(Invoke(drawLayers)); in TEST_F() 374 cachedSet.render(mRenderEngine, mTexturePool, mOutputState, true); in TEST_F() 422 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _)).WillOnce(Invoke(drawLayers)); in TEST_F() 424 cachedSet.render(mRenderEngine, mTexturePool, mOutputState, true); in TEST_F() 469 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _)).WillOnce(Invoke(drawLayers)); in TEST_F() 471 cachedSet.render(mRenderEngine, mTexturePool, mOutputState, true); in TEST_F() 519 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _)).WillOnce(Invoke(drawLayers)); in TEST_F() 521 cachedSet.render(mRenderEngine, mTexturePool, mOutputState, false); in TEST_F() [all …]
|
D | TexturePoolTest.cpp | 55 renderengine::mock::RenderEngine mRenderEngine; member 56 TestableTexturePool mTexturePool = TestableTexturePool(mRenderEngine);
|
/frameworks/native/libs/renderengine/threaded/ |
D | RenderEngineThreaded.cpp | 89 mRenderEngine = factory(); in threadMain() 113 (*task)(*mRenderEngine); in threadMain() 123 mRenderEngine.reset(); in threadMain() 209 return mRenderEngine->getMaxTextureSize(); in getMaxTextureSize() 214 return mRenderEngine->getMaxViewportDims(); in getMaxViewportDims() 219 return mRenderEngine->supportsProtectedContent(); in supportsProtectedContent() 291 return mRenderEngine->supportsBackgroundBlur(); in supportsBackgroundBlur()
|
D | RenderEngineThreaded.h | 106 std::unique_ptr<renderengine::RenderEngine> mRenderEngine; variable
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | CommitTest.cpp | 39 renderengine::mock::RenderEngine* mRenderEngine = new renderengine::mock::RenderEngine(); member in android::CommitTest 44 mFlinger.setupRenderEngine(std::unique_ptr<renderengine::RenderEngine>(mRenderEngine)); in flinger_setup() 78 mFlinger.setupRenderEngine(std::unique_ptr<renderengine::RenderEngine>(mRenderEngine)); in TEST_F() 121 mFlinger.setupRenderEngine(std::unique_ptr<renderengine::RenderEngine>(mRenderEngine)); in TEST_F()
|
D | CommitAndCompositeTest.h | 37 mFlinger.setupRenderEngine(std::unique_ptr<renderengine::RenderEngine>(mRenderEngine)); in SetUp() 76 renderengine::mock::RenderEngine* mRenderEngine = new renderengine::mock::RenderEngine();
|
D | TransactionFrameTracerTest.cpp | 48 mFlinger.setupRenderEngine(std::unique_ptr<renderengine::RenderEngine>(mRenderEngine)); in TransactionFrameTracerTest() 67 renderengine::mock::RenderEngine* mRenderEngine = new renderengine::mock::RenderEngine(); member in android::TransactionFrameTracerTest
|
D | CompositionTest.cpp | 109 mFlinger.setupRenderEngine(std::unique_ptr<renderengine::RenderEngine>(mRenderEngine)); in CompositionTest() 160 renderengine::mock::RenderEngine* mRenderEngine = new renderengine::mock::RenderEngine(); member in android::__anon4393af000111::CompositionTest 324 EXPECT_CALL(*test->mRenderEngine, drawLayers) in setupCommonScreensCaptureCallExpectations() 375 EXPECT_CALL(*test->mRenderEngine, drawLayers) in setupRECompositionCallExpectations() 466 Mock::VerifyAndClear(test->mRenderEngine); in setupLatchedBuffer() 486 Mock::VerifyAndClear(test->mRenderEngine); in setupLatchedBuffer() 575 EXPECT_CALL(*test->mRenderEngine, drawLayers) in setupREBufferCompositionCommonCallExpectations() 625 EXPECT_CALL(*test->mRenderEngine, drawLayers) in setupREColorCompositionCallExpectations() 708 EXPECT_CALL(*test->mRenderEngine, drawLayers) in setupInsecureREBufferCompositionCommonCallExpectations() 787 Mock::VerifyAndClear(test->mRenderEngine); in createLayerWithFactory()
|
D | DisplayTransactionTest.cpp | 53 mFlinger.setupRenderEngine(std::unique_ptr<renderengine::RenderEngine>(mRenderEngine)); in DisplayTransactionTest()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | RenderSurfaceTest.cpp | 56 EXPECT_CALL(mCompositionEngine, getRenderEngine).WillRepeatedly(ReturnRef(mRenderEngine)); in RenderSurfaceTest() 61 StrictMock<renderengine::mock::RenderEngine> mRenderEngine; member in android::compositionengine::__anon2f9684cc0111::RenderSurfaceTest 256 ExternalTexture>(sp<GraphicBuffer>::make(), mRenderEngine, in TEST_F() 276 mRenderEngine, false); in TEST_F() 296 mRenderEngine, false); in TEST_F() 336 mRenderEngine, false); in TEST_F()
|
D | OutputTest.cpp | 160 EXPECT_CALL(mCompositionEngine, getRenderEngine()).WillRepeatedly(ReturnRef(mRenderEngine)); in OutputTest() 174 StrictMock<renderengine::mock::RenderEngine> mRenderEngine; member 3017 EXPECT_CALL(mCompositionEngine, getRenderEngine()).WillRepeatedly(ReturnRef(mRenderEngine)); in OutputFinishFrameTest() 3026 StrictMock<renderengine::mock::RenderEngine> mRenderEngine; member 3087 mRenderEngine, in TEST_F() 3555 EXPECT_CALL(mCompositionEngine, getRenderEngine()).WillRepeatedly(ReturnRef(mRenderEngine)); in OutputComposeSurfacesTest() 3609 StrictMock<renderengine::mock::RenderEngine> mRenderEngine; member 3617 ExternalTexture>(sp<GraphicBuffer>::make(), mRenderEngine, 3639 EXPECT_CALL(mRenderEngine, supportsProtectedContent()).WillRepeatedly(Return(false)); in TEST_F() 3640 EXPECT_CALL(mRenderEngine, isProtected()).WillRepeatedly(Return(false)); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | ClientCache.h | 64 void setRenderEngine(renderengine::RenderEngine* renderEngine) { mRenderEngine = renderEngine; } in setRenderEngine() 98 renderengine::RenderEngine* mRenderEngine = nullptr; variable
|
D | ClientCache.cpp | 111 LOG_ALWAYS_FATAL_IF(mRenderEngine == nullptr, in add() 116 renderengine::impl::ExternalTexture>(buffer, *mRenderEngine, in add()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/ |
D | TexturePool.h | 67 : mRenderEngine(renderEngine), mEnabled(false) {} in TexturePool() 106 renderengine::RenderEngine& mRenderEngine; variable
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | CompositionEngine.cpp | 69 return *mRenderEngine; in getRenderEngine() 73 mRenderEngine = renderEngine; in setRenderEngine()
|
/frameworks/native/libs/renderengine/include/renderengine/impl/ |
D | ExternalTexture.h | 58 android::renderengine::RenderEngine& mRenderEngine; variable
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | CompositionEngine.h | 63 renderengine::RenderEngine* mRenderEngine; variable
|
/frameworks/av/media/libstagefright/renderfright/threaded/ |
D | RenderEngineThreaded.h | 93 std::unique_ptr<renderengine::RenderEngine> mRenderEngine; variable
|
D | RenderEngineThreaded.cpp | 69 mRenderEngine = factory(); in threadMain() 78 task(*mRenderEngine); in threadMain()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/ |
D | TexturePool.cpp | 96 mRenderEngine, in genTexture()
|
D | Flattener.cpp | 76 : mRenderEngine(renderEngine), mTunables(tunables), mTexturePool(mRenderEngine) {} in Flattener() 152 mNewCachedSet->render(mRenderEngine, mTexturePool, outputState, deviceHandlesColorTransform); in renderCachedSets()
|