Home
last modified time | relevance | path

Searched refs:mTexturePool (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DTexturePoolTest.cpp45 mTexturePool.setEnabled(true); in TexturePoolTest()
46 mTexturePool.setDisplaySize(kDisplaySize); in TexturePoolTest()
56 TestableTexturePool mTexturePool = TestableTexturePool(mRenderEngine); member
60 EXPECT_EQ(mTexturePool.getMinPoolSize(), mTexturePool.getPoolSize()); in TEST_F()
64 for (size_t i = 0; i < mTexturePool.getMinPoolSize() + 1; i++) { in TEST_F()
65 auto texture = mTexturePool.borrowTexture(); in TEST_F()
68 EXPECT_EQ(mTexturePool.getMinPoolSize(), mTexturePool.getPoolSize()); in TEST_F()
74 for (size_t i = 0; i < mTexturePool.getMaxPoolSize(); i++) { in TEST_F()
75 textures.emplace_back(mTexturePool.borrowTexture()); in TEST_F()
79 EXPECT_EQ(mTexturePool.getMaxPoolSize(), bufferIds.size()); in TEST_F()
[all …]
DCachedSetTest.cpp99 TexturePool mTexturePool = TexturePool(mRenderEngine); member in android::compositionengine::__anonc1be24060111::CachedSetTest
103 mTexturePool.setDisplaySize(kOutputSize); in SetUp()
374 cachedSet.render(mRenderEngine, mTexturePool, mOutputState, true); in TEST_F()
424 cachedSet.render(mRenderEngine, mTexturePool, mOutputState, true); in TEST_F()
471 cachedSet.render(mRenderEngine, mTexturePool, mOutputState, true); in TEST_F()
521 cachedSet.render(mRenderEngine, mTexturePool, mOutputState, false); in TEST_F()
570 cachedSet.render(mRenderEngine, mTexturePool, mOutputState, true); in TEST_F()
843 cachedSet.render(mRenderEngine, mTexturePool, mOutputState, true); in TEST_F()
904 cachedSet.render(mRenderEngine, mTexturePool, mOutputState, true); in TEST_F()
1043 cachedSet.render(mRenderEngine, mTexturePool, mOutputState, true); in TEST_F()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DTexturePool.h45 : mTexturePool(texturePool), mTexture(texture), mFence(fence) {} in AutoTexture()
47 ~AutoTexture() { mTexturePool.returnTexture(std::move(mTexture), mFence); } in ~AutoTexture()
61 TexturePool& mTexturePool;
DFlattener.h101 mTexturePool.setDisplaySize(size); in setDisplaySize()
112 void setTexturePoolEnabled(bool enabled) { mTexturePool.setEnabled(enabled); } in setTexturePoolEnabled()
235 TexturePool mTexturePool; variable
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DFlattener.cpp76 : mRenderEngine(renderEngine), mTunables(tunables), mTexturePool(mRenderEngine) {} in Flattener()
152 mNewCachedSet->render(mRenderEngine, mTexturePool, outputState, deviceHandlesColorTransform); in renderCachedSets()
212 mTexturePool.dump(result); in dump()