Home
last modified time | relevance | path

Searched refs:mRenderEngine (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/av/media/libstagefright/renderfright/tests/
DRenderEngineThreadedTest.cpp35 [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/
DRenderEngineThreadedTest.cpp39 [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/
DExternalTexture.cpp27 : 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/
DFlattenerTest.cpp71 : 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 …]
DCachedSetTest.cpp98 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 …]
DTexturePoolTest.cpp55 renderengine::mock::RenderEngine mRenderEngine; member
56 TestableTexturePool mTexturePool = TestableTexturePool(mRenderEngine);
/frameworks/native/libs/renderengine/threaded/
DRenderEngineThreaded.cpp89 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()
DRenderEngineThreaded.h106 std::unique_ptr<renderengine::RenderEngine> mRenderEngine; variable
/frameworks/native/services/surfaceflinger/tests/unittests/
DCommitTest.cpp39 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()
DCommitAndCompositeTest.h37 mFlinger.setupRenderEngine(std::unique_ptr<renderengine::RenderEngine>(mRenderEngine)); in SetUp()
76 renderengine::mock::RenderEngine* mRenderEngine = new renderengine::mock::RenderEngine();
DTransactionFrameTracerTest.cpp48 mFlinger.setupRenderEngine(std::unique_ptr<renderengine::RenderEngine>(mRenderEngine)); in TransactionFrameTracerTest()
67 renderengine::mock::RenderEngine* mRenderEngine = new renderengine::mock::RenderEngine(); member in android::TransactionFrameTracerTest
DCompositionTest.cpp109 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()
DDisplayTransactionTest.cpp53 mFlinger.setupRenderEngine(std::unique_ptr<renderengine::RenderEngine>(mRenderEngine)); in DisplayTransactionTest()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DRenderSurfaceTest.cpp56 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()
DOutputTest.cpp160 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/
DClientCache.h64 void setRenderEngine(renderengine::RenderEngine* renderEngine) { mRenderEngine = renderEngine; } in setRenderEngine()
98 renderengine::RenderEngine* mRenderEngine = nullptr; variable
DClientCache.cpp111 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/
DTexturePool.h67 : mRenderEngine(renderEngine), mEnabled(false) {} in TexturePool()
106 renderengine::RenderEngine& mRenderEngine; variable
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DCompositionEngine.cpp69 return *mRenderEngine; in getRenderEngine()
73 mRenderEngine = renderEngine; in setRenderEngine()
/frameworks/native/libs/renderengine/include/renderengine/impl/
DExternalTexture.h58 android::renderengine::RenderEngine& mRenderEngine; variable
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DCompositionEngine.h63 renderengine::RenderEngine* mRenderEngine; variable
/frameworks/av/media/libstagefright/renderfright/threaded/
DRenderEngineThreaded.h93 std::unique_ptr<renderengine::RenderEngine> mRenderEngine; variable
DRenderEngineThreaded.cpp69 mRenderEngine = factory(); in threadMain()
78 task(*mRenderEngine); in threadMain()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DTexturePool.cpp96 mRenderEngine, in genTexture()
DFlattener.cpp76 : mRenderEngine(renderEngine), mTunables(tunables), mTexturePool(mRenderEngine) {} in Flattener()
152 mNewCachedSet->render(mRenderEngine, mTexturePool, outputState, deviceHandlesColorTransform); in renderCachedSets()

12