Home
last modified time | relevance | path

Searched refs:AutoTexture (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DTexturePool.h41 class AutoTexture {
43 AutoTexture(TexturePool& texturePool, in AutoTexture() function
47 ~AutoTexture() { mTexturePool.returnTexture(std::move(mTexture), mFence); } in ~AutoTexture()
54 AutoTexture(const AutoTexture&) = delete;
55 AutoTexture& operator=(const AutoTexture&) = delete;
80 std::shared_ptr<AutoTexture> borrowTexture();
DCachedSet.h168 std::shared_ptr<TexturePool::AutoTexture> mTexture;
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DTexturePool.cpp46 std::shared_ptr<TexturePool::AutoTexture> TexturePool::borrowTexture() { in borrowTexture()
48 return std::make_shared<AutoTexture>(*this, genTexture(), nullptr); in borrowTexture()
53 return std::make_shared<AutoTexture>(*this, entry.texture, entry.fence); in borrowTexture()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DTexturePoolTest.cpp73 std::deque<std::shared_ptr<TexturePool::AutoTexture>> textures; in TEST_F()
92 std::vector<std::shared_ptr<TexturePool::AutoTexture>> textures; in TEST_F()
137 std::deque<std::shared_ptr<TexturePool::AutoTexture>> textures; in TEST_F()
155 std::deque<std::shared_ptr<TexturePool::AutoTexture>> textures; in TEST_F()