Searched refs:AutoTexture (Results 1 – 4 of 4) sorted by relevance
41 class AutoTexture {43 AutoTexture(TexturePool& texturePool, in AutoTexture() function47 ~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();
168 std::shared_ptr<TexturePool::AutoTexture> mTexture;
46 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()
73 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()