Home
last modified time | relevance | path

Searched refs:damage (Results 1 – 25 of 164) sorted by relevance

1234567

/third_party/skia/modules/sksg/tests/
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()
[all …]
/third_party/flutter/skia/modules/sksg/tests/
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()
[all …]
/third_party/skia/third_party/externals/egl-registry/extensions/KHR/
DEGL_KHR_partial_update.txt101 the word "damage" for subtly but significantly different purposes:
103 "Surface damage" is what the EGL_KHR_swap_buffers_with_damage extension
109 "Buffer damage" is what the EGL_KHR_partial_update extension is concerned
114 which requires linking one frame or buffer to another. Buffer damage is
117 Following are examples of the two different damage types. Note that the
119 differ according to the type of damage being discussed.
121 Surface damage example (EGL_KHR_swap_buffers_with_damage)
123 The surface damage for frame n is the difference between frame n and frame
136 |@@@@@@@@@| | | |@@@@@@@@@| | | | | Surface damage
141 Buffer damage example (EGL_KHR_partial_update)
[all …]
DEGL_KHR_swap_buffers_with_damage.txt61 list of damage rectangles that can be passed to a system
72 "damage" for subtly but significantly different purposes:
74 "Surface damage" is what the EGL_KHR_swap_buffers_with_damage extension
80 "Buffer damage" is what the EGL_KHR_partial_update extension is concerned
85 which requires linking one frame or buffer to another. Buffer damage is
88 Following are examples of the two different damage types. Note that the
90 differ according to the type of damage being discussed.
92 Surface damage example (EGL_KHR_swap_buffers_with_damage)
94 The surface damage for frame n is the difference between frame n and frame
107 |@@@@@@@@@| | | |@@@@@@@@@| | | | | Surface damage
[all …]
/third_party/EGL/extensions/KHR/
DEGL_KHR_partial_update.txt101 the word "damage" for subtly but significantly different purposes:
103 "Surface damage" is what the EGL_KHR_swap_buffers_with_damage extension
109 "Buffer damage" is what the EGL_KHR_partial_update extension is concerned
114 which requires linking one frame or buffer to another. Buffer damage is
117 Following are examples of the two different damage types. Note that the
119 differ according to the type of damage being discussed.
121 Surface damage example (EGL_KHR_swap_buffers_with_damage)
123 The surface damage for frame n is the difference between frame n and frame
136 |@@@@@@@@@| | | |@@@@@@@@@| | | | | Surface damage
141 Buffer damage example (EGL_KHR_partial_update)
[all …]
DEGL_KHR_swap_buffers_with_damage.txt61 list of damage rectangles that can be passed to a system
72 "damage" for subtly but significantly different purposes:
74 "Surface damage" is what the EGL_KHR_swap_buffers_with_damage extension
80 "Buffer damage" is what the EGL_KHR_partial_update extension is concerned
85 which requires linking one frame or buffer to another. Buffer damage is
88 Following are examples of the two different damage types. Note that the
90 differ according to the type of damage being discussed.
92 Surface damage example (EGL_KHR_swap_buffers_with_damage)
94 The surface damage for frame n is the difference between frame n and frame
107 |@@@@@@@@@| | | |@@@@@@@@@| | | | | Surface damage
[all …]
/third_party/weston/libweston/backend-rdp/
Drdp.c195 rdp_peer_refresh_rfx(pixman_region32_t *damage, pixman_image_t *image, freerdp_peer *peer) in rdp_peer_refresh_rfx() argument
208 width = (damage->extents.x2 - damage->extents.x1); in rdp_peer_refresh_rfx()
209 height = (damage->extents.y2 - damage->extents.y1); in rdp_peer_refresh_rfx()
219 cmd.destLeft = damage->extents.x1; in rdp_peer_refresh_rfx()
220 cmd.destTop = damage->extents.y1; in rdp_peer_refresh_rfx()
221 cmd.destRight = damage->extents.x2; in rdp_peer_refresh_rfx()
222 cmd.destBottom = damage->extents.y2; in rdp_peer_refresh_rfx()
228 ptr = pixman_image_get_data(image) + damage->extents.x1 + in rdp_peer_refresh_rfx()
229 damage->extents.y1 * (pixman_image_get_stride(image) / sizeof(uint32_t)); in rdp_peer_refresh_rfx()
231 rects = pixman_region32_rectangles(damage, &nrects); in rdp_peer_refresh_rfx()
[all …]
/third_party/weston/compositor/
Dscreen-share.c110 pixman_region32_t damage; member
408 pixman_region32_fini(&buffer->damage); in ss_shm_buffer_destroy()
490 pixman_region32_init_rect(&sb->damage, 0, 0, width, height); in shared_output_get_shm_buffer()
516 pixman_region32_fini(&sb->damage); in shared_output_get_shm_buffer()
655 pixman_image_set_clip_region32(sb->pm_image, &sb->damage); in shared_output_update()
678 r = pixman_region32_rectangles(&sb->damage, &nrects); in shared_output_update()
694 pixman_region32_fini(&sb->damage); in shared_output_update()
695 pixman_region32_init(&sb->damage); in shared_output_update()
821 pixman_region32_t damage; in shared_output_repainted() local
847 pixman_region32_init_rect(&damage, 0, 0, width, height); in shared_output_repainted()
[all …]
/third_party/flatbuffers/samples/
Dmonster_generated.swift176 case damage = 6
183 …public var damage: Int16 { let o = _accessor.offset(VTOFFSET.damage.v); return o == 0 ? 0 : _acces… variable
184 …Result public func mutate(damage: Int16) -> Bool {let o = _accessor.offset(VTOFFSET.damage.v); re… in mutate()
187 …public static func add(damage: Int16, _ fbb: inout FlatBufferBuilder) { fbb.add(element: damage, d… in add()
192 damage: Int16 = 0
196 MyGame_Sample_Weapon.add(damage: damage, &fbb)
Dsample_binary.swift34 Weapon.add(damage: expectedDMG[0], &builder) in main()
38 Weapon.add(damage: expectedDMG[1], &builder) in main()
75 assert(weap?.damage == expectedDMG[index]) in main()
81 assert(equipped?.damage == 5) in main()
Dsample_binary.rs46 damage: 3, in main()
50 damage: 5, in main()
138 let second_weapon_damage = wep2.damage(); in main()
146 let weapon_damage = equipped.damage(); in main()
Dsample_flexbuffers_serde.rs24 Equipment { name: String, damage: i32 },
54 damage: 15, in main()
58 damage: 5, in main()
DSampleBinary.java95 assert monster.weapons(i).damage() == expectedWeaponDamages[i]; in main()
101 assert weaponsVector.get(i).damage() == expectedWeaponDamages[i]; in main()
108 assert equipped.damage() == 5; in main()
Dmonster_generated.rs803 builder.add_damage(args.damage); in create()
811 let damage = self.damage(); in unpack() localVariable
814 damage, in unpack()
825 pub fn damage(&self) -> i16 { in damage() method
845 pub damage: i16, field
852 damage: 0, in default()
866 pub fn add_damage(&mut self, damage: i16) { in add_damage()
867 self.fbb_.push_slot::<i16>(Weapon::VT_DAMAGE, damage, 0); in add_damage()
888 ds.field("damage", &self.damage()); in fmt()
896 pub damage: i16, field
[all …]
Dmonster_generated.h470 int16_t damage = 0;
476 (lhs.damage == rhs.damage);
500 int16_t damage() const {
525 void add_damage(int16_t damage) {
526 fbb_.AddElement<int16_t>(Weapon::VT_DAMAGE, damage, 0);
542 int16_t damage = 0) {
545 builder_.add_damage(damage);
552 int16_t damage = 0) {
557 damage);
625 { auto _e = damage(); _o->damage = _e; }
[all …]
Dsample_binary.cpp91 assert(weps->Get(i)->damage() == expected_weapon_damages[i]); in main()
100 assert(equipped->damage() == 5); in main()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_resource.c280 if (res->damage.region) in lima_resource_destroy()
281 FREE(res->damage.region); in lima_resource_destroy()
496 struct lima_damage_region *damage = &res->damage; in lima_resource_set_damage_region() local
499 if (damage->region) { in lima_resource_set_damage_region()
500 FREE(damage->region); in lima_resource_set_damage_region()
501 damage->region = NULL; in lima_resource_set_damage_region()
502 damage->num_region = 0; in lima_resource_set_damage_region()
522 struct pipe_scissor_state *bound = &damage->bound; in lima_resource_set_damage_region()
525 damage->region = CALLOC(nrects, sizeof(*damage->region)); in lima_resource_set_damage_region()
526 if (!damage->region) in lima_resource_set_damage_region()
[all …]
/third_party/weston/libweston/backend-wayland/
Dwayland.c185 pixman_region32_t damage; /**< in global coords */ member
255 pixman_region32_fini(&buffer->damage); in wayland_shm_buffer_destroy()
339 pixman_region32_init(&sb->damage); in wayland_output_get_shm_buffer()
340 pixman_region32_copy(&sb->damage, &output->base.region); in wayland_output_get_shm_buffer()
521 pixman_region32_t *damage, in wayland_output_repaint_gl() argument
532 ec->renderer->repaint_output(&output->base, damage); in wayland_output_repaint_gl()
534 pixman_region32_subtract(&ec->primary_plane.damage, in wayland_output_repaint_gl()
535 &ec->primary_plane.damage, damage); in wayland_output_repaint_gl()
583 pixman_region32_t damage; in wayland_shm_buffer_attach() local
588 pixman_region32_init(&damage); in wayland_shm_buffer_attach()
[all …]
/third_party/EGL/extensions/EXT/
DEGL_EXT_swap_buffers_with_damage.txt49 list of damage rectangles that can be passed to a system
115 of any damage rectangles forwarded by
196 3) What origin should be used for damage rectangles?
203 for the damage rectangles even though it was known to be
218 bottom left origin. For this extension that means that EGL damage
230 damage rectangles that are forwarded to the native window system
233 RESOLVED: The meaningfulness of those forwarded damage rectangles
265 possible to reliably map EGL damage rectangles to native window
269 damage rectangles to native window coordinates is that a native
276 reliable mappings of EGL damage rectangles then compositors would
[all …]
/third_party/skia/third_party/externals/egl-registry/extensions/EXT/
DEGL_EXT_swap_buffers_with_damage.txt49 list of damage rectangles that can be passed to a system
115 of any damage rectangles forwarded by
196 3) What origin should be used for damage rectangles?
203 for the damage rectangles even though it was known to be
218 bottom left origin. For this extension that means that EGL damage
230 damage rectangles that are forwarded to the native window system
233 RESOLVED: The meaningfulness of those forwarded damage rectangles
265 possible to reliably map EGL damage rectangles to native window
269 damage rectangles to native window coordinates is that a native
276 reliable mappings of EGL damage rectangles then compositors would
[all …]
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_resource.c548 struct pipe_scissor_state *damage_extent = &pres->damage.extent; in panfrost_resource_set_damage_region()
553 if (!pres->damage.tile_map.data) { in panfrost_resource_set_damage_region()
554 pres->damage.tile_map.stride = in panfrost_resource_set_damage_region()
556 pres->damage.tile_map.size = in panfrost_resource_set_damage_region()
557 pres->damage.tile_map.stride * in panfrost_resource_set_damage_region()
559 pres->damage.tile_map.data = in panfrost_resource_set_damage_region()
560 malloc(pres->damage.tile_map.size); in panfrost_resource_set_damage_region()
563 memset(pres->damage.tile_map.data, 0, pres->damage.tile_map.size); in panfrost_resource_set_damage_region()
564 pres->damage.tile_map.enable = true; in panfrost_resource_set_damage_region()
566 pres->damage.tile_map.enable = false; in panfrost_resource_set_damage_region()
[all …]
/third_party/flatbuffers/samples/lua/MyGame/Sample/
DWeapon.lua39 function Weapon.AddDamage(builder, damage) builder:PrependInt16Slot(1, damage, 0) end
/third_party/weston/libweston/backend-headless/
Dheadless.c125 pixman_region32_t *damage, in headless_output_repaint() argument
131 ec->renderer->repaint_output(&output->base, damage); in headless_output_repaint()
133 pixman_region32_subtract(&ec->primary_plane.damage, in headless_output_repaint()
134 &ec->primary_plane.damage, damage); in headless_output_repaint()
/third_party/weston/libweston/
Dscreenshooter.c270 pixman_region32_t damage, transformed_damage; in weston_recorder_frame_notify() local
288 pixman_region32_init(&damage); in weston_recorder_frame_notify()
290 pixman_region32_intersect(&damage, &output->region, data); in weston_recorder_frame_notify()
291 pixman_region32_translate(&damage, -output->x, -output->y); in weston_recorder_frame_notify()
294 &damage, &transformed_damage); in weston_recorder_frame_notify()
295 pixman_region32_fini(&damage); in weston_recorder_frame_notify()
/third_party/flatbuffers/dart/example/
Dexample.dart88 var axe = new myGame.WeaponObjectBuilder(name: 'Axe', damage: 5);
97 weapons: [new myGame.WeaponObjectBuilder(name: 'Sword', damage: 3), axe],
141 assert(weps[i].damage == expected_weapon_damages[i]);
151 assert(equipped.damage == 5);

1234567