Home
last modified time | relevance | path

Searched refs:damageRect (Results 1 - 25 of 27) sorted by relevance

12

/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/
H A Ddrawing_sample.cpp161 GraphicIRect damageRect; in Draw() local
162 damageRect.x = 0; in Draw()
163 damageRect.y = 0; in Draw()
164 damageRect.w = static_cast<int32_t>(displayWidthsMap_[screenId]); in Draw()
165 damageRect.h = static_cast<int32_t>(displayHeightsMap_[screenId]); in Draw()
167 outputDamages.emplace_back(damageRect); in Draw()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/
H A Drs_surface_handler.h68 damageRect = Rect {0, 0, 0, 0}; in Reset()
76 Rect damageRect = {0, 0, 0, 0}; member
128 buffer_.damageRect = damage; in SetBuffer()
156 return buffer_.damageRect; in GetDamageRegion()
H A Drs_surface_render_node.h174 void UpdateBufferInfo(const sptr<SurfaceBuffer>& buffer, const Rect& damageRect,
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/
H A Dhdi_framebuffer_surface.h31 : buffer(std::move(buf)), acquireFence(std::move(fence)), acquireTime(timeStamp), damageRect(damage) in FrameBufferEntry()
39 Rect damageRect = {0}; member
H A Dhdi_device_impl.h52 int32_t SetScreenClientDamage(uint32_t screenId, const std::vector<GraphicIRect> &damageRect) override;
H A Dhdi_device.h55 virtual int32_t SetScreenClientDamage(uint32_t screenId, const std::vector<GraphicIRect> &damageRect) = 0;
/foundation/graphic/graphic_2d/rosen/samples/composer/
H A Dhello_composer.cpp265 GraphicIRect damageRect; in Draw() local
266 damageRect.x = 0; in Draw()
267 damageRect.y = 0; in Draw()
268 damageRect.w = static_cast<int32_t>(displayWidthsMap_[screenId]); in Draw()
269 damageRect.h = static_cast<int32_t>(displayHeightsMap_[screenId]); in Draw()
271 outputDamages.emplace_back(damageRect); in Draw()
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/
H A Drender_context_sample.cpp317 GraphicIRect damageRect; in Draw() local
318 damageRect.x = 0; in Draw()
319 damageRect.y = 0; in Draw()
320 damageRect.w = display_w; in Draw()
321 damageRect.h = display_h; in Draw()
323 outputDamages.emplace_back(damageRect); in Draw()
H A Ddrawing_engine_sample.cpp321 GraphicIRect damageRect; in OutPutDisplay() local
322 damageRect.x = 0; in OutPutDisplay()
323 damageRect.y = 0; in OutPutDisplay()
324 damageRect.w = display_w; in OutPutDisplay()
325 damageRect.h = display_h; in OutPutDisplay()
327 outputDamages.emplace_back(damageRect); in OutPutDisplay()
H A Ddrawing_sample_canvaskit0310.cpp298 GraphicIRect damageRect; in Draw() local
299 damageRect.x = 0; // Absolute coordinates, with offset in Draw()
300 damageRect.y = 0; in Draw()
301 damageRect.w = display_w; in Draw()
302 damageRect.h = display_h; in Draw()
304 outputDamages.emplace_back(damageRect); in Draw()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_surface_handler.cpp62 SetBuffer(buffer.buffer, buffer.acquireFence, buffer.damageRect, buffer.timestamp); in ConsumeAndUpdateBufferInner()
H A Drs_surface_render_node.cpp1244 void RSSurfaceRenderNode::UpdateBufferInfo(const sptr<SurfaceBuffer>& buffer, const Rect& damageRect, in UpdateBufferInfo() argument
1248 surfaceParams->SetBuffer(buffer, damageRect); in UpdateBufferInfo()
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/fuzztest/hdidevice_fuzzer/
H A Dhdidevice_fuzzer.cpp153 GraphicIRect damageRect = GetData<GraphicIRect>(); in DoSomethingInterestingWithMyAPI() local
154 std::vector<GraphicIRect> damageRects = { damageRect }; in DoSomethingInterestingWithMyAPI()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/params/
H A Drs_surface_render_params.cpp240 void RSSurfaceRenderParams::SetBuffer(const sptr<SurfaceBuffer>& buffer, const Rect& damageRect) in SetBuffer() argument
243 damageRect_ = damageRect; in SetBuffer()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/mock/
H A Dmock_hdi_device.h53 MOCK_METHOD2(SetScreenClientDamage, int32_t(uint32_t, const std::vector<GraphicIRect> &damageRect));
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/unittest/
H A Dmock_hdi_device.h54 MOCK_METHOD2(SetScreenClientDamage, int32_t(uint32_t, const std::vector<GraphicIRect> &damageRect));
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/systemtest/
H A Dmock_hdi_device_systest.h54 MOCK_METHOD2(SetScreenClientDamage, int32_t(uint32_t, const std::vector<GraphicIRect> &damageRect));
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/
H A Dhdi_device_impl.cpp274 int32_t HdiDeviceImpl::SetScreenClientDamage(uint32_t screenId, const std::vector<GraphicIRect> &damageRect) in SetScreenClientDamage() argument
278 for (auto iter = damageRect.begin(); iter != damageRect.end(); iter++) { in SetScreenClientDamage()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_composer_adapter.cpp70 GraphicIRect damageRect {0, 0, static_cast<int32_t>(screenInfo_.width), static_cast<int32_t>(screenInfo_.height)}; in Init()
72 damageRects.emplace_back(damageRect); in Init()
118 GraphicIRect damageRect { 0, 0, static_cast<int32_t>(screenInfo_.width), static_cast<int32_t>(screenInfo_.height) }; in Init()
120 damageRects.emplace_back(damageRect); in Init()
H A Drs_base_render_util.cpp941 std::for_each(damages.begin(), damages.end(), [&damage](const Rect& damageRect) {
942 damage = damage.JoinRect(RectI(damageRect.x, damageRect.y, damageRect.w, damageRect.h));
994 surfaceBuffer->damageRect = damageAfterMerge;
H A Drs_uni_render_composer_adapter.cpp83 GraphicIRect damageRect {0, 0, static_cast<int32_t>(screenInfo_.width), static_cast<int32_t>(screenInfo_.height)}; in Init()
85 damageRects.emplace_back(damageRect); in Init()
/foundation/multimedia/player_framework/services/services/screen_capture/server/
H A Dscreen_capture_server.h121 : buffer(std::move(buf)), flushFence(fence), timeStamp(timeStamp), damageRect(damage) {} in SurfaceBufferEntry()
127 OHOS::Rect damageRect = {0, 0, 0, 0}; member
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/params/
H A Drs_render_params.h245 virtual void SetBuffer(const sptr<SurfaceBuffer>& buffer, const Rect& damageRect) {} in SetBuffer() argument
H A Drs_surface_render_params.h390 void SetBuffer(const sptr<SurfaceBuffer>& buffer, const Rect& damageRect) override;
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/pipeline/
H A Drs_main_thread_unit_test.cpp2131 Rect damageRect = {0, 0, 0, 0}; in HWTEST_F() local
2134 node1->surfaceHandler_->SetBuffer(preBuffer, acquireFence, damageRect, timestamp); in HWTEST_F()

Completed in 32 milliseconds

12