Home
last modified time | relevance | path

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

123

/frameworks/native/libs/renderengine/tests/
DRenderEngineThreadedTest.cpp127 std::shared_ptr<renderengine::ExternalTexture> buffer = std::make_shared< in TEST_F()
129 ExternalTexture>(sp<GraphicBuffer>::make(), *mRenderEngine, in TEST_F()
130 renderengine::impl::ExternalTexture::Usage::READABLE | in TEST_F()
131 renderengine::impl::ExternalTexture::Usage::WRITEABLE); in TEST_F()
139 const std::shared_ptr<renderengine::ExternalTexture>&, in TEST_F()
165 std::shared_ptr<renderengine::ExternalTexture> buffer = std::make_shared< in TEST_F()
167 ExternalTexture>(sp<GraphicBuffer>::make(), *mRenderEngine, in TEST_F()
168 renderengine::impl::ExternalTexture::Usage::READABLE | in TEST_F()
169 renderengine::impl::ExternalTexture::Usage::WRITEABLE); in TEST_F()
178 const std::shared_ptr<renderengine::ExternalTexture>&, in TEST_F()
[all …]
/frameworks/native/libs/renderengine/include/renderengine/
DExternalTexture.h34 class ExternalTexture {
36 ExternalTexture() = default;
37 virtual ~ExternalTexture() = default;
39 virtual bool hasSameBuffer(const ExternalTexture& other) const = 0;
54 DISALLOW_COPY_AND_ASSIGN(ExternalTexture);
DRenderEngine.h71 class ExternalTexture; variable
83 class ExternalTexture; variable
207 const std::shared_ptr<ExternalTexture>& buffer,
280 friend class impl::ExternalTexture;
287 const std::shared_ptr<ExternalTexture>&);
295 const std::shared_ptr<ExternalTexture>& buffer, base::unique_fd&& bufferFence) = 0;
/frameworks/native/libs/renderengine/
DExternalTexture.cpp25 ExternalTexture::ExternalTexture(const sp<GraphicBuffer>& buffer, in ExternalTexture() function in android::renderengine::impl::ExternalTexture
33 ExternalTexture::~ExternalTexture() { in ~ExternalTexture()
37 void ExternalTexture::remapBuffer() { in remapBuffer()
DRenderEngine.cpp100 const std::shared_ptr<ExternalTexture>& buffer, in drawLayers()
110 const std::shared_ptr<ExternalTexture>& buffer) { in updateProtectedContext()
114 const std::shared_ptr<ExternalTexture>& buffer = layer.source.buffer.buffer; in updateProtectedContext()
/frameworks/native/libs/renderengine/skia/
DCache.cpp65 const std::shared_ptr<ExternalTexture>& dstTexture) { in drawShadowLayers()
132 const std::shared_ptr<ExternalTexture>& dstTexture, in drawImageLayers()
133 const std::shared_ptr<ExternalTexture>& srcTexture) { in drawImageLayers()
172 const std::shared_ptr<ExternalTexture>& dstTexture) { in drawSolidLayers()
198 const std::shared_ptr<ExternalTexture>& dstTexture) { in drawBlurLayers()
224 const std::shared_ptr<ExternalTexture>& dstTexture, in drawClippedLayers()
225 const std::shared_ptr<ExternalTexture>& srcTexture) { in drawClippedLayers()
269 const std::shared_ptr<ExternalTexture>& dstTexture, in drawPIPImageLayer()
270 const std::shared_ptr<ExternalTexture>& srcTexture) { in drawPIPImageLayer()
302 const std::shared_ptr<ExternalTexture>& dstTexture) { in drawHolePunchLayer()
[all …]
/frameworks/native/libs/renderengine/include/renderengine/impl/
DExternalTexture.h27 class ExternalTexture : public android::renderengine::ExternalTexture {
42 ExternalTexture(const sp<GraphicBuffer>& buffer,
44 ~ExternalTexture();
51 bool hasSameBuffer(const renderengine::ExternalTexture& other) const override { in hasSameBuffer()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
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,
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DTexturePool.cpp56 void TexturePool::returnTexture(std::shared_ptr<renderengine::ExternalTexture>&& texture, in returnTexture()
83 std::shared_ptr<renderengine::ExternalTexture> TexturePool::genTexture() { in genTexture()
87 ExternalTexture>(sp<GraphicBuffer>:: in genTexture()
97 renderengine::impl::ExternalTexture::Usage::READABLE | in genTexture()
98 renderengine::impl::ExternalTexture::Usage::WRITEABLE); in genTexture()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DRenderSurface.h61 std::shared_ptr<renderengine::ExternalTexture> dequeueBuffer(
72 std::shared_ptr<renderengine::ExternalTexture>& mutableTextureForTest();
82 std::vector<std::shared_ptr<renderengine::ExternalTexture>> mTextureCache;
84 std::shared_ptr<renderengine::ExternalTexture> mTexture;
DGpuCompositionResult.h30 std::shared_ptr<renderengine::ExternalTexture> buffer = nullptr;
DOutput.h105 std::shared_ptr<renderengine::ExternalTexture>,
122 std::shared_ptr<renderengine::ExternalTexture>*);
143 const std::shared_ptr<renderengine::ExternalTexture>& buffer) const;
176 float getHdrSdrRatio(const std::shared_ptr<renderengine::ExternalTexture>& buffer) const;
/frameworks/native/services/surfaceflinger/
DScreenCaptureRenderSurface.h32 ScreenCaptureRenderSurface(std::shared_ptr<renderengine::ExternalTexture> buffer) in ScreenCaptureRenderSurface()
35 std::shared_ptr<renderengine::ExternalTexture> dequeueBuffer( in dequeueBuffer()
74 std::shared_ptr<renderengine::ExternalTexture> mBuffer;
DClientCache.h55 base::expected<std::shared_ptr<renderengine::ExternalTexture>, AddError> add(
60 std::shared_ptr<renderengine::ExternalTexture> get(const client_cache_t& cacheId);
84 std::shared_ptr<renderengine::ExternalTexture> buffer;
DScreenCaptureOutput.h33 std::shared_ptr<renderengine::ExternalTexture> buffer;
65 const std::shared_ptr<renderengine::ExternalTexture>& buffer) const override;
DClientCache.cpp62 base::expected<std::shared_ptr<renderengine::ExternalTexture>, ClientCache::AddError>
116 renderengine::impl::ExternalTexture>(buffer, *mRenderEngine, in add()
117 renderengine::impl::ExternalTexture:: in add()
151 std::shared_ptr<renderengine::ExternalTexture> ClientCache::get(const client_cache_t& cacheId) { in get()
/frameworks/native/libs/renderengine/benchmark/
DRenderEngineBench.cpp82 static std::shared_ptr<ExternalTexture> allocateBuffer(RenderEngine& re, uint32_t width, in allocateBuffer()
87 impl::ExternalTexture>(sp<GraphicBuffer>::make(width, height, in allocateBuffer()
94 impl::ExternalTexture::Usage::READABLE | in allocateBuffer()
95 impl::ExternalTexture::Usage::WRITEABLE); in allocateBuffer()
98 static std::shared_ptr<ExternalTexture> copyBuffer(RenderEngine& re, in copyBuffer()
99 std::shared_ptr<ExternalTexture> original, in copyBuffer()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DRenderSurface.cpp150 std::shared_ptr<renderengine::ExternalTexture> RenderSurface::dequeueBuffer( in dequeueBuffer()
171 std::shared_ptr<renderengine::ExternalTexture> texture; in dequeueBuffer()
186 renderengine::impl::ExternalTexture>(GraphicBuffer::from(buffer), in dequeueBuffer()
188 renderengine::impl::ExternalTexture::Usage:: in dequeueBuffer()
275 std::shared_ptr<renderengine::ExternalTexture>& RenderSurface::mutableTextureForTest() { in mutableTextureForTest()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTransactionSurfaceFrameTest.cpp94 std::shared_ptr<renderengine::ExternalTexture> externalTexture = std::make_shared< in PresentedSurfaceFrameForBufferTransaction()
129 std::shared_ptr<renderengine::ExternalTexture> externalTexture1 = std::make_shared< in DroppedSurfaceFrameForBufferTransaction()
149 std::shared_ptr<renderengine::ExternalTexture> externalTexture2 = std::make_shared< in DroppedSurfaceFrameForBufferTransaction()
195 std::shared_ptr<renderengine::ExternalTexture> externalTexture = std::make_shared< in BufferlessSurfaceFramePromotedToBufferSurfaceFrame()
227 std::shared_ptr<renderengine::ExternalTexture> externalTexture = std::make_shared< in BufferlessSurfaceFrameNotCreatedIfBufferSufaceFrameExists()
270 std::shared_ptr<renderengine::ExternalTexture> externalTexture = std::make_shared< in MultipleSurfaceFramesPresentedTogether()
315 std::shared_ptr<renderengine::ExternalTexture> externalTexture1 = std::make_shared< in PendingSurfaceFramesRemovedAfterClassification()
333 std::shared_ptr<renderengine::ExternalTexture> externalTexture2 = std::make_shared< in PendingSurfaceFramesRemovedAfterClassification()
367 std::shared_ptr<renderengine::ExternalTexture> externalTexture1 = std::make_shared< in BufferSurfaceFrame_ReplaceValidTokenBufferWithInvalidTokenBuffer()
387 std::shared_ptr<renderengine::ExternalTexture> externalTexture2 = std::make_shared< in BufferSurfaceFrame_ReplaceValidTokenBufferWithInvalidTokenBuffer()
[all …]
/frameworks/native/libs/renderengine/include/renderengine/mock/
DRenderEngine.h47 const std::shared_ptr<ExternalTexture>&,
51 const std::vector<LayerSettings>&, const std::shared_ptr<ExternalTexture>&,
DFakeExternalTexture.h25 class FakeExternalTexture : public renderengine::ExternalTexture {
40 bool hasSameBuffer(const renderengine::ExternalTexture& other) const override { in hasSameBuffer()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DRenderSurfaceTest.cpp256 ExternalTexture>(sp<GraphicBuffer>::make(), mRenderEngine, in TEST_F()
257 renderengine::impl::ExternalTexture::Usage::READABLE | in TEST_F()
258 renderengine::impl::ExternalTexture::Usage::WRITEABLE); in TEST_F()
275 std::make_shared<renderengine::impl::ExternalTexture>(sp<GraphicBuffer>::make(), in TEST_F()
295 std::make_shared<renderengine::impl::ExternalTexture>(sp<GraphicBuffer>::make(), in TEST_F()
335 std::make_shared<renderengine::impl::ExternalTexture>(sp<GraphicBuffer>::make(), in TEST_F()
/frameworks/native/libs/renderengine/threaded/
DRenderEngineThreaded.h56 const std::shared_ptr<ExternalTexture>& buffer,
72 const std::shared_ptr<ExternalTexture>& buffer,
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DRenderSurface.h42 MOCK_METHOD1(dequeueBuffer, std::shared_ptr<renderengine::ExternalTexture>(base::unique_fd*));
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DRenderSurface.h84 virtual std::shared_ptr<renderengine::ExternalTexture> dequeueBuffer(

123