Home
last modified time | relevance | path

Searched refs:damage (Results 1 - 13 of 13) sorted by relevance

/third_party/skia/modules/sksg/tests/
H A DSGTest.cpp109 std::vector<SkRect> damage = { {0, 0, 100, 100}, { 200, 100, 300, 200} }; in inval_test1() local
113 &damage); in inval_test1()
135 std::vector<SkRect> damage = { {0, 0, 100, 100}, { 200, 100, 300, 200} }; in inval_test1() local
139 &damage); in inval_test1()
145 std::vector<SkRect> damage = { {0, 0, 100, 100}, { 0, 0, 50, 100} }; in inval_test1() local
149 &damage); in inval_test1()
171 std::vector<SkRect> damage = { {0, 0, 300, 200}, { 0, 0, 600, 400} }; in inval_test1() local
175 &damage); in inval_test1()
197 std::vector<SkRect> damage = { {400, 200, 600, 400}, { 400, 200, 500, 400} }; in inval_test1() local
201 &damage); in inval_test1()
244 std::vector<SkRect> damage = { {0, 0, 100, 100}, { 0, 0, 100, 100} }; inval_test2() local
254 std::vector<SkRect> damage = { {0, 0, 100, 100}, { 0, 0, 200, 200} }; inval_test2() local
264 std::vector<SkRect> damage = { { 0, 0, 200, 200}, // draw1 prev bounds inval_test2() local
277 std::vector<SkRect> damage = { { 100, 100, 300, 300}, // draw1 prev bounds inval_test2() local
312 std::vector<SkRect> damage = { {0, 0, 350, 175}, { 50, 75, 350, 175} }; inval_test3() local
322 std::vector<SkRect> damage = { { 50, 75, 350, 175} }; inval_test3() local
332 std::vector<SkRect> damage = { { 50, 75, 350, 175} }; inval_test3() local
[all...]
/third_party/mesa3d/src/gallium/drivers/lima/
H A Dlima_resource.c281 if (res->damage.region) in lima_resource_destroy()
282 FREE(res->damage.region); in lima_resource_destroy()
497 struct lima_damage_region *damage = &res->damage; in lima_resource_set_damage_region() local
500 if (damage->region) { in lima_resource_set_damage_region()
501 FREE(damage->region); in lima_resource_set_damage_region()
502 damage->region = NULL; in lima_resource_set_damage_region()
503 damage->num_region = 0; in lima_resource_set_damage_region()
509 /* check full damage in lima_resource_set_damage_region()
511 * TODO: currently only check if there is any single damage in lima_resource_set_damage_region()
[all...]
H A Dlima_resource.h54 struct lima_damage_region damage; member
H A Dlima_job.c321 return &res->damage; in lima_job_get_damage()
332 if (res->damage.region) { in lima_fb_cbuf_needs_reload()
334 * we need to reload damage region, otherwise just want to reload in lima_fb_cbuf_needs_reload()
336 //if (!res->damage.aligned) in lima_fb_cbuf_needs_reload()
683 struct lima_damage_region *damage = lima_job_get_damage(job); in lima_update_pp_stream() local
685 (damage && damage->region) || !lima_damage_fullscreen(job)) in lima_update_pp_stream()
/third_party/mesa3d/src/gallium/drivers/panfrost/
H A Dpan_resource.c518 struct pipe_scissor_state *damage_extent = &pres->damage.extent; in panfrost_resource_set_damage_region()
527 if (!pres->damage.tile_map.data) { in panfrost_resource_set_damage_region()
528 pres->damage.tile_map.stride = in panfrost_resource_set_damage_region()
530 pres->damage.tile_map.size = in panfrost_resource_set_damage_region()
531 pres->damage.tile_map.stride * in panfrost_resource_set_damage_region()
533 pres->damage.tile_map.data = in panfrost_resource_set_damage_region()
534 malloc(pres->damage.tile_map.size); in panfrost_resource_set_damage_region()
537 memset(pres->damage.tile_map.data, 0, pres->damage.tile_map.size); in panfrost_resource_set_damage_region()
538 pres->damage in panfrost_resource_set_damage_region()
[all...]
H A Dpan_resource.h51 } damage; member
H A Dpan_job.c774 if (pres && pres->damage.tile_map.enable) { in panfrost_emit_tile_map()
777 pres->damage.tile_map.data, in panfrost_emit_tile_map()
778 pres->damage.tile_map.size, in panfrost_emit_tile_map()
780 fb->tile_map.stride = pres->damage.tile_map.stride; in panfrost_emit_tile_map()
838 /* We must reset the damage info of our render targets here even in panfrost_batch_submit()
839 * though a damage reset normally happens when the DRI layer swaps in panfrost_batch_submit()
841 * app is not aware of, and those might impact the damage region: if in panfrost_batch_submit()
/third_party/skia/modules/sksg/include/
H A DSkSGNode.h40 // Nodes with this trait never generate direct damage -- instead,
41 // the damage bubbles up to ancestors.
44 // Nodes with this trait obscure the descendants' damage and always override it.
56 // Tag this node for invalidation and optional damage.
57 void invalidate(bool damage = true);
71 kDamage_Flag = 1 << 1, // the node contributes damage during revalidation
/third_party/mesa3d/src/vulkan/wsi/
H A Dwsi_common_wayland.c1050 const VkPresentRegionKHR *damage) in wsi_wl_swapchain_queue_present()
1071 if (wl_surface_get_version(chain->surface) >= 4 && damage && in wsi_wl_swapchain_queue_present()
1072 damage->pRectangles && damage->rectangleCount > 0) { in wsi_wl_swapchain_queue_present()
1073 for (unsigned i = 0; i < damage->rectangleCount; i++) { in wsi_wl_swapchain_queue_present()
1074 const VkRectLayerKHR *rect = &damage->pRectangles[i]; in wsi_wl_swapchain_queue_present()
1048 wsi_wl_swapchain_queue_present(struct wsi_swapchain *wsi_chain, uint32_t image_index, const VkPresentRegionKHR *damage) wsi_wl_swapchain_queue_present() argument
H A Dwsi_common_x11.c1414 const VkPresentRegionKHR *damage) in x11_queue_present()
1423 if (damage && damage->pRectangles && damage->rectangleCount > 0 && in x11_queue_present()
1424 damage->rectangleCount <= MAX_DAMAGE_RECTS) { in x11_queue_present()
1428 for (unsigned i = 0; i < damage->rectangleCount; i++) { in x11_queue_present()
1429 const VkRectLayerKHR *rect = &damage->pRectangles[i]; in x11_queue_present()
1436 xcb_xfixes_set_region(chain->conn, update_area, damage->rectangleCount, rects); in x11_queue_present()
1412 x11_queue_present(struct wsi_swapchain *anv_chain, uint32_t image_index, const VkPresentRegionKHR *damage) x11_queue_present() argument
H A Dwsi_common_private.h138 const VkPresentRegionKHR *damage);
H A Dwsi_common_win32.c404 const VkPresentRegionKHR *damage) in wsi_win32_queue_present()
402 wsi_win32_queue_present(struct wsi_swapchain *drv_chain, uint32_t image_index, const VkPresentRegionKHR *damage) wsi_win32_queue_present() argument
H A Dwsi_common_display.c1899 const VkPresentRegionKHR *damage) in wsi_display_queue_present()
1897 wsi_display_queue_present(struct wsi_swapchain *drv_chain, uint32_t image_index, const VkPresentRegionKHR *damage) wsi_display_queue_present() argument

Completed in 18 milliseconds