Home
last modified time | relevance | path

Searched refs:ExternalTexture (Results 1 – 25 of 50) sorted by relevance

12

/aosp12/frameworks/native/libs/renderengine/skia/
H A DCache.cpp56 const std::shared_ptr<ExternalTexture>& dstTexture) { in drawShadowLayers()
121 const std::shared_ptr<ExternalTexture>& dstTexture, in drawImageLayers()
122 const std::shared_ptr<ExternalTexture>& srcTexture) { in drawImageLayers()
162 const std::shared_ptr<ExternalTexture>& dstTexture) { in drawSolidLayers()
189 const std::shared_ptr<ExternalTexture>& dstTexture) { in drawBlurLayers()
216 const std::shared_ptr<ExternalTexture>& dstTexture, in drawClippedLayers()
262 const std::shared_ptr<ExternalTexture>& dstTexture, in drawPIPImageLayer()
263 const std::shared_ptr<ExternalTexture>& srcTexture) { in drawPIPImageLayer()
368 std::make_shared<ExternalTexture>(dstBuffer, *renderengine, in primeShaderCache()
379 std::make_shared<ExternalTexture>(srcBuffer, *renderengine, in primeShaderCache()
[all …]
H A DSkiaRenderEngine.h49 const std::shared_ptr<ExternalTexture>& /*buffer*/, in drawLayers() argument
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
H A DTexturePool.h44 std::shared_ptr<renderengine::ExternalTexture> texture, const sp<Fence>& fence) in AutoTexture()
58 const std::shared_ptr<renderengine::ExternalTexture>& get() const { return mTexture; } in get()
62 std::shared_ptr<renderengine::ExternalTexture> mTexture;
94 std::shared_ptr<renderengine::ExternalTexture> texture;
101 std::shared_ptr<renderengine::ExternalTexture> genTexture();
103 void returnTexture(std::shared_ptr<renderengine::ExternalTexture>&& texture,
/aosp12/frameworks/native/libs/renderengine/include/renderengine/
H A DExternalTexture.h34 class ExternalTexture {
48 ExternalTexture(const sp<GraphicBuffer>& buffer, RenderEngine& renderEngine, uint32_t usage);
50 ~ExternalTexture();
58 DISALLOW_COPY_AND_ASSIGN(ExternalTexture);
H A DRenderEngine.h66 class ExternalTexture; variable
167 const std::shared_ptr<ExternalTexture>& buffer,
231 friend class ExternalTexture; variable
/aosp12/frameworks/native/libs/renderengine/
H A DExternalTexture.cpp25 ExternalTexture::ExternalTexture(const sp<GraphicBuffer>& buffer, RenderEngine& renderEngine, in ExternalTexture() function in android::renderengine::ExternalTexture
39 ExternalTexture::~ExternalTexture() { in ~ExternalTexture()
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
H A DTexturePool.cpp55 void TexturePool::returnTexture(std::shared_ptr<renderengine::ExternalTexture>&& texture, in returnTexture()
82 std::shared_ptr<renderengine::ExternalTexture> TexturePool::genTexture() { in genTexture()
85 renderengine::ExternalTexture>(sp<GraphicBuffer>:: in genTexture()
93 renderengine::ExternalTexture::Usage::READABLE | in genTexture()
94 renderengine::ExternalTexture::Usage::WRITEABLE); in genTexture()
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
H A DRenderSurface.h61 std::shared_ptr<renderengine::ExternalTexture> dequeueBuffer(
74 std::shared_ptr<renderengine::ExternalTexture>& mutableTextureForTest();
84 std::vector<std::shared_ptr<renderengine::ExternalTexture>> mTextureCache;
86 std::shared_ptr<renderengine::ExternalTexture> mTexture;
H A DOutputLayerCompositionState.h93 std::shared_ptr<renderengine::ExternalTexture> buffer = nullptr;
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DTransactionSurfaceFrameTest.cpp118 renderengine::ExternalTexture>(new GraphicBuffer(1, 1, HAL_PIXEL_FORMAT_RGBA_8888, in PresentedSurfaceFrameForBufferTransaction()
147 renderengine::ExternalTexture>(new GraphicBuffer(1, 1, HAL_PIXEL_FORMAT_RGBA_8888, in DroppedSurfaceFrameForBufferTransaction()
160 renderengine::ExternalTexture>(new GraphicBuffer(1, 1, HAL_PIXEL_FORMAT_RGBA_8888, in DroppedSurfaceFrameForBufferTransaction()
202 renderengine::ExternalTexture>(new GraphicBuffer(1, 1, HAL_PIXEL_FORMAT_RGBA_8888, in BufferlessSurfaceFramePromotedToBufferSurfaceFrame()
231 renderengine::ExternalTexture>(new GraphicBuffer(1, 1, HAL_PIXEL_FORMAT_RGBA_8888, in BufferlessSurfaceFrameNotCreatedIfBufferSufaceFrameExists()
264 renderengine::ExternalTexture>(new GraphicBuffer(1, 1, HAL_PIXEL_FORMAT_RGBA_8888, in MultipleSurfaceFramesPresentedTogether()
303 renderengine::ExternalTexture>(new GraphicBuffer(1, 1, HAL_PIXEL_FORMAT_RGBA_8888, in PendingSurfaceFramesRemovedAfterClassification()
315 renderengine::ExternalTexture>(new GraphicBuffer(1, 1, HAL_PIXEL_FORMAT_RGBA_8888, in PendingSurfaceFramesRemovedAfterClassification()
346 renderengine::ExternalTexture>(new GraphicBuffer(1, 1, HAL_PIXEL_FORMAT_RGBA_8888, in BufferSurfaceFrame_ReplaceValidTokenBufferWithInvalidTokenBuffer()
359 renderengine::ExternalTexture>(new GraphicBuffer(1, 1, HAL_PIXEL_FORMAT_RGBA_8888, in BufferSurfaceFrame_ReplaceValidTokenBufferWithInvalidTokenBuffer()
[all …]
/aosp12/frameworks/native/libs/renderengine/tests/
H A DRenderEngineThreadedTest.cpp175 std::shared_ptr<renderengine::ExternalTexture> buffer = std::make_shared< in TEST_F()
176 renderengine::ExternalTexture>(new GraphicBuffer(), *mRenderEngine, in TEST_F()
177 renderengine::ExternalTexture::Usage::READABLE | in TEST_F()
178 renderengine::ExternalTexture::Usage::WRITEABLE); in TEST_F()
185 const std::shared_ptr<renderengine::ExternalTexture>&, const bool, in TEST_F()
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/src/
H A DRenderSurface.cpp150 std::shared_ptr<renderengine::ExternalTexture> RenderSurface::dequeueBuffer( in dequeueBuffer()
171 std::shared_ptr<renderengine::ExternalTexture> texture; in dequeueBuffer()
186 renderengine::ExternalTexture>(GraphicBuffer::from(buffer), in dequeueBuffer()
188 renderengine::ExternalTexture::Usage::WRITEABLE); in dequeueBuffer()
287 std::shared_ptr<renderengine::ExternalTexture>& RenderSurface::mutableTextureForTest() { in mutableTextureForTest()
/aosp12/frameworks/native/services/surfaceflinger/
H A DBufferLayerConsumer.cpp211 renderengine::ExternalTexture>(item->mGraphicBuffer, mRE, in acquireBufferLocked()
212 renderengine::ExternalTexture::Usage::READABLE); in acquireBufferLocked()
235 std::shared_ptr<renderengine::ExternalTexture> nextTextureBuffer; in updateAndReleaseLocked()
364 std::shared_ptr<renderengine::ExternalTexture> BufferLayerConsumer::getCurrentBuffer( in getCurrentBuffer()
461 const std::shared_ptr<renderengine::ExternalTexture>& oldImage = mImages[item.mSlot]; in onBufferAvailable()
465 renderengine::ExternalTexture>(item.mGraphicBuffer, mRE, in onBufferAvailable()
466 renderengine::ExternalTexture::Usage::READABLE); in onBufferAvailable()
H A DBufferLayerConsumer.h154 std::shared_ptr<renderengine::ExternalTexture> getCurrentBuffer(
260 std::shared_ptr<renderengine::ExternalTexture> mCurrentTextureBuffer;
339 std::shared_ptr<renderengine::ExternalTexture>
H A DRefreshRateOverlay.cpp215 const std::vector<std::shared_ptr<renderengine::ExternalTexture>>&
231 std::vector<std::shared_ptr<renderengine::ExternalTexture>> textures; in getOrCreateBuffers()
233 [&](const auto& buffer) -> std::shared_ptr<renderengine::ExternalTexture> { in getOrCreateBuffers()
235 renderengine::ExternalTexture>(buffer, in getOrCreateBuffers()
237 renderengine::ExternalTexture:: in getOrCreateBuffers()
H A DClientCache.h43 std::shared_ptr<renderengine::ExternalTexture> get(const client_cache_t& cacheId);
67 std::shared_ptr<renderengine::ExternalTexture> buffer;
H A DClientCache.cpp109 renderengine::ExternalTexture>(buffer, *mRenderEngine, in add()
110 renderengine::ExternalTexture::Usage::READABLE); in add()
140 std::shared_ptr<renderengine::ExternalTexture> ClientCache::get(const client_cache_t& cacheId) { in get()
H A DRefreshRateOverlay.h74 const std::vector<std::shared_ptr<renderengine::ExternalTexture>>& getOrCreateBuffers(
83 std::unordered_map<int, std::vector<std::shared_ptr<renderengine::ExternalTexture>>>
H A DRegionSamplingThread.cpp341 std::shared_ptr<renderengine::ExternalTexture> buffer = nullptr; in captureSample()
355 renderengine::ExternalTexture>(graphicBuffer, mFlinger.getRenderEngine(), in captureSample()
356 renderengine::ExternalTexture::Usage::WRITEABLE); in captureSample()
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
H A DRenderSurfaceTest.cpp254 renderengine::ExternalTexture>(new GraphicBuffer(), mRenderEngine, in TEST_F()
255 renderengine::ExternalTexture::Usage::READABLE | in TEST_F()
256 renderengine::ExternalTexture::Usage::WRITEABLE); in TEST_F()
272 const auto buffer = std::make_shared<renderengine::ExternalTexture>(new GraphicBuffer(), in TEST_F()
291 const auto buffer = std::make_shared<renderengine::ExternalTexture>(new GraphicBuffer(), in TEST_F()
330 const auto buffer = std::make_shared<renderengine::ExternalTexture>(new GraphicBuffer(), in TEST_F()
/aosp12/hardware/interfaces/graphics/composer/2.2/utils/vts/
H A DRenderEngineVts.cpp72 auto texture = std::make_shared<renderengine::ExternalTexture>( in drawLayers()
73 mGraphicBuffer, *mRenderEngine, renderengine::ExternalTexture::Usage::WRITEABLE); in drawLayers()
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
H A DCachedSetTest.cpp347 const std::shared_ptr<renderengine::ExternalTexture>&, const bool, in TEST_F()
399 const std::shared_ptr<renderengine::ExternalTexture>&, const bool, in TEST_F()
453 const std::shared_ptr<renderengine::ExternalTexture>&, const bool, in TEST_F()
646 renderengine::ExternalTexture>(sp<GraphicBuffer>::make(), mRenderEngine, in TEST_F()
647 renderengine::ExternalTexture::READABLE); in TEST_F()
655 const std::shared_ptr<renderengine::ExternalTexture>&, const bool, in TEST_F()
715 const std::shared_ptr<renderengine::ExternalTexture>&, const bool, in TEST_F()
843 renderengine::ExternalTexture>(sp<GraphicBuffer>::make(), mRenderEngine, in TEST_F()
844 renderengine::ExternalTexture::READABLE); in TEST_F()
864 const std::shared_ptr<renderengine::ExternalTexture>&, const bool, in TEST_F()
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
H A DRenderSurface.h42 MOCK_METHOD1(dequeueBuffer, std::shared_ptr<renderengine::ExternalTexture>(base::unique_fd*));
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
H A DRenderSurface.h84 virtual std::shared_ptr<renderengine::ExternalTexture> dequeueBuffer(
/aosp12/frameworks/native/libs/renderengine/include/renderengine/mock/
H A DRenderEngine.h52 const std::shared_ptr<ExternalTexture>&, const bool, base::unique_fd&&,

12