Home
last modified time | relevance | path

Searched refs:LayerContext (Results 1 - 8 of 8) sorted by relevance

/foundation/graphic/graphic_2d/rosen/samples/composer/
H A Dlayer_context.cpp33 LayerContext::LayerContext(GraphicIRect dst, GraphicIRect src, uint32_t zorder, LayerType layerType) in LayerContext() function in LayerContext
47 LayerContext::~LayerContext() in ~LayerContext()
55 void LayerContext::OnBufferAvailable() in OnBufferAvailable()
59 void LayerContext::SetTestClientStatus(bool status) in SetTestClientStatus()
64 void LayerContext::SetTestRotateStatus(bool status) in SetTestRotateStatus()
69 void LayerContext::SetTestYUVStatus(bool status) in SetTestYUVStatus()
74 void LayerContext::SetTestLayerColor(bool status) in SetTestLayerColor()
79 OHOS::Rosen::LayerType LayerContext
[all...]
H A Dlayer_context.h38 class LayerContext : public IBufferConsumerListenerClazz { class
40 LayerContext(GraphicIRect dst, GraphicIRect src, uint32_t zorder, LayerType layerType);
41 virtual ~LayerContext();
H A Dhello_composer.h61 std::unordered_map<uint32_t, std::vector<std::unique_ptr<LayerContext>>> drawLayersMap_;
73 void SetRunArgs(const std::unique_ptr<LayerContext> &drawLayer) const;
H A Dhello_composer.cpp161 std::vector<std::unique_ptr<LayerContext>> &drawLayers = drawLayersMap_[screenId]; in InitLayers()
171 drawLayers.emplace_back(std::make_unique<LayerContext>( in InitLayers()
177 drawLayers.emplace_back(std::make_unique<LayerContext>( in InitLayers()
183 drawLayers.emplace_back(std::make_unique<LayerContext>( in InitLayers()
196 drawLayers.emplace_back(std::make_unique<LayerContext>( in InitLayers()
221 void HelloComposer::SetRunArgs(const std::unique_ptr<LayerContext> &drawLayer) const in SetRunArgs()
249 std::vector<std::unique_ptr<LayerContext>> &drawLayers = drawLayersMap_[screenId]; in Draw()
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/
H A Dlayer_context.cpp26 LayerContext::LayerContext(GraphicIRect dst, GraphicIRect src, uint32_t zorder, LayerType layerType) in LayerContext() function in LayerContext
41 LayerContext::~LayerContext() in ~LayerContext()
49 void LayerContext::OnBufferAvailable() {} in OnBufferAvailable()
51 const std::shared_ptr<HdiLayerInfo> LayerContext::GetHdiLayer() in GetHdiLayer()
56 SurfaceError LayerContext::DrawBuffer(TestFunc testFunc) in DrawBuffer()
102 SurfaceError LayerContext::FillHDILayer() in FillHDILayer()
140 void LayerContext::DrawBaseLayer(void* image, int width, int height, TestFunc testFunc) in DrawBaseLayer()
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/include/
H A Dlayer_context.h31 class LayerContext : public IBufferConsumerListenerClazz { class
34 LayerContext(GraphicIRect dst, GraphicIRect src, uint32_t zorder, LayerType layerType);
35 virtual ~LayerContext();
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/
H A Ddrawing_sample.cpp122 std::unique_ptr<LayerContext>& drawLayer = drawLayersMap_[screenId]; in InitLayers()
124 drawLayer = std::make_unique<LayerContext>(GraphicIRect { 0, 0, displayWidth, displayHeight }, in InitLayers()
148 std::unique_ptr<LayerContext>& drawLayer = drawLayersMap_[screenId]; in Draw()
H A Ddrawing_sample.h66 std::unordered_map<uint32_t, std::unique_ptr<LayerContext>> drawLayersMap_;

Completed in 4 milliseconds