Home
last modified time | relevance | path

Searched refs:target_rect (Results 1 – 25 of 344) sorted by relevance

12345678910>>...14

/dports/devel/etl/synfig-1.2.2/synfig-core/src/synfig/rendering/
H A Dtask.cpp73 if (!target_rect.valid()) in get_pixels_per_unit()
77 (Real)(target_rect.maxx - target_rect.minx)/(source_rect_rb[0] - source_rect_lt[0]), in get_pixels_per_unit()
79 (Real)(target_rect.maxy - target_rect.miny)/(source_rect_rb[1] - source_rect_lt[1]) ); in get_pixels_per_unit()
85 if ( !target_rect.valid() in get_units_per_pixel()
90 target_rect.maxx == target_rect.minx ? 0.0 : in get_units_per_pixel()
91 (source_rect_rb[0] - source_rect_lt[0])/(Real)(target_rect.maxx - target_rect.minx), in get_units_per_pixel()
92 target_rect.maxy == target_rect.miny ? 0.0 : in get_units_per_pixel()
107 this->target_rect = target_rect; in init_target_rect()
120 if (target_rect.valid()) in trunc_target_rect()
134 this->target_rect = ntr; in trunc_target_rect()
[all …]
H A Dtask.h82 RectInt target_rect; variable
141 …void init_target_rect(const RectInt &target_rect, const Point &source_rect_lt, const Point &source…
145 const RectInt& get_target_rect() const { return target_rect; } in get_target_rect()
146 const VectorInt get_target_offset() const { return target_rect.get_min(); } in get_target_offset()
168 return target_rect.valid() in valid_target_rect()
179 && etl::contains(RectInt(VectorInt::zero(), target_surface->get_size()), target_rect); in valid_target()
186 && !etl::contains(RectInt(VectorInt::zero(), target_surface->get_size()), target_rect) ) in check()
/dports/graphics/synfig/synfig-1.2.2/synfig-core/src/synfig/rendering/
H A Dtask.cpp73 if (!target_rect.valid()) in get_pixels_per_unit()
77 (Real)(target_rect.maxx - target_rect.minx)/(source_rect_rb[0] - source_rect_lt[0]), in get_pixels_per_unit()
79 (Real)(target_rect.maxy - target_rect.miny)/(source_rect_rb[1] - source_rect_lt[1]) ); in get_pixels_per_unit()
85 if ( !target_rect.valid() in get_units_per_pixel()
90 target_rect.maxx == target_rect.minx ? 0.0 : in get_units_per_pixel()
91 (source_rect_rb[0] - source_rect_lt[0])/(Real)(target_rect.maxx - target_rect.minx), in get_units_per_pixel()
92 target_rect.maxy == target_rect.miny ? 0.0 : in get_units_per_pixel()
107 this->target_rect = target_rect; in init_target_rect()
120 if (target_rect.valid()) in trunc_target_rect()
134 this->target_rect = ntr; in trunc_target_rect()
[all …]
H A Dtask.h82 RectInt target_rect; variable
141 …void init_target_rect(const RectInt &target_rect, const Point &source_rect_lt, const Point &source…
145 const RectInt& get_target_rect() const { return target_rect; } in get_target_rect()
146 const VectorInt get_target_offset() const { return target_rect.get_min(); } in get_target_offset()
168 return target_rect.valid() in valid_target_rect()
179 && etl::contains(RectInt(VectorInt::zero(), target_surface->get_size()), target_rect); in valid_target()
186 && !etl::contains(RectInt(VectorInt::zero(), target_surface->get_size()), target_rect) ) in check()
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-core/src/synfig/rendering/
H A Dtask.cpp73 if (!target_rect.valid()) in get_pixels_per_unit()
77 (Real)(target_rect.maxx - target_rect.minx)/(source_rect_rb[0] - source_rect_lt[0]), in get_pixels_per_unit()
79 (Real)(target_rect.maxy - target_rect.miny)/(source_rect_rb[1] - source_rect_lt[1]) ); in get_pixels_per_unit()
85 if ( !target_rect.valid() in get_units_per_pixel()
90 target_rect.maxx == target_rect.minx ? 0.0 : in get_units_per_pixel()
91 (source_rect_rb[0] - source_rect_lt[0])/(Real)(target_rect.maxx - target_rect.minx), in get_units_per_pixel()
92 target_rect.maxy == target_rect.miny ? 0.0 : in get_units_per_pixel()
107 this->target_rect = target_rect; in init_target_rect()
120 if (target_rect.valid()) in trunc_target_rect()
134 this->target_rect = ntr; in trunc_target_rect()
[all …]
H A Dtask.h82 RectInt target_rect; variable
141 …void init_target_rect(const RectInt &target_rect, const Point &source_rect_lt, const Point &source…
145 const RectInt& get_target_rect() const { return target_rect; } in get_target_rect()
146 const VectorInt get_target_offset() const { return target_rect.get_min(); } in get_target_offset()
168 return target_rect.valid() in valid_target_rect()
179 && etl::contains(RectInt(VectorInt::zero(), target_surface->get_size()), target_rect); in valid_target()
186 && !etl::contains(RectInt(VectorInt::zero(), target_surface->get_size()), target_rect) ) in check()
/dports/www/firefox-legacy/firefox-52.8.0esr/media/webrtc/trunk/webrtc/modules/desktop_capture/
H A Ddesktop_and_cursor_composer.cc85 target_rect.Translate(image_pos);
86 DesktopVector target_origin = target_rect.top_left();
87 target_rect.IntersectWith(DesktopRect::MakeSize(size()));
89 if (target_rect.is_empty())
93 restore_position_ = target_rect.top_left();
94 restore_frame_.reset(new BasicDesktopFrame(target_rect.size()));
95 restore_frame_->CopyPixelsFrom(*this, target_rect.top_left(),
100 target_rect.top() * stride() +
108 target_rect.size());
115 target_rect.Translate(restore_position_);
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/modules/desktop_capture/
H A Ddesktop_and_cursor_composer.cc89 target_rect.Translate(image_pos); in DesktopFrameWithCursor()
90 DesktopVector target_origin = target_rect.top_left(); in DesktopFrameWithCursor()
91 target_rect.IntersectWith(DesktopRect::MakeSize(size())); in DesktopFrameWithCursor()
93 if (target_rect.is_empty()) in DesktopFrameWithCursor()
97 restore_position_ = target_rect.top_left(); in DesktopFrameWithCursor()
98 restore_frame_.reset(new BasicDesktopFrame(target_rect.size())); in DesktopFrameWithCursor()
99 restore_frame_->CopyPixelsFrom(*this, target_rect.top_left(), in DesktopFrameWithCursor()
104 target_rect.top() * stride() + in DesktopFrameWithCursor()
112 target_rect.size()); in DesktopFrameWithCursor()
119 target_rect.Translate(restore_position_); in ~DesktopFrameWithCursor()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/libwebrtc/webrtc/modules/desktop_capture/
H A Ddesktop_and_cursor_composer.cc92 target_rect.Translate(image_pos); in DesktopFrameWithCursor()
93 DesktopVector target_origin = target_rect.top_left(); in DesktopFrameWithCursor()
94 target_rect.IntersectWith(DesktopRect::MakeSize(size())); in DesktopFrameWithCursor()
96 if (target_rect.is_empty()) in DesktopFrameWithCursor()
100 restore_position_ = target_rect.top_left(); in DesktopFrameWithCursor()
101 restore_frame_.reset(new BasicDesktopFrame(target_rect.size())); in DesktopFrameWithCursor()
102 restore_frame_->CopyPixelsFrom(*this, target_rect.top_left(), in DesktopFrameWithCursor()
107 target_rect.top() * stride() + in DesktopFrameWithCursor()
115 target_rect.size()); in DesktopFrameWithCursor()
122 target_rect.Translate(restore_position_); in ~DesktopFrameWithCursor()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/third_party/libwebrtc/webrtc/modules/desktop_capture/
H A Ddesktop_and_cursor_composer.cc92 target_rect.Translate(image_pos); in DesktopFrameWithCursor()
93 DesktopVector target_origin = target_rect.top_left(); in DesktopFrameWithCursor()
94 target_rect.IntersectWith(DesktopRect::MakeSize(size())); in DesktopFrameWithCursor()
96 if (target_rect.is_empty()) in DesktopFrameWithCursor()
100 restore_position_ = target_rect.top_left(); in DesktopFrameWithCursor()
101 restore_frame_.reset(new BasicDesktopFrame(target_rect.size())); in DesktopFrameWithCursor()
102 restore_frame_->CopyPixelsFrom(*this, target_rect.top_left(), in DesktopFrameWithCursor()
107 target_rect.top() * stride() + in DesktopFrameWithCursor()
115 target_rect.size()); in DesktopFrameWithCursor()
122 target_rect.Translate(restore_position_); in ~DesktopFrameWithCursor()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/media/webrtc/trunk/webrtc/modules/desktop_capture/
H A Ddesktop_and_cursor_composer.cc92 target_rect.Translate(image_pos); in DesktopFrameWithCursor()
93 DesktopVector target_origin = target_rect.top_left(); in DesktopFrameWithCursor()
94 target_rect.IntersectWith(DesktopRect::MakeSize(size())); in DesktopFrameWithCursor()
96 if (target_rect.is_empty()) in DesktopFrameWithCursor()
100 restore_position_ = target_rect.top_left(); in DesktopFrameWithCursor()
101 restore_frame_.reset(new BasicDesktopFrame(target_rect.size())); in DesktopFrameWithCursor()
102 restore_frame_->CopyPixelsFrom(*this, target_rect.top_left(), in DesktopFrameWithCursor()
107 target_rect.top() * stride() + in DesktopFrameWithCursor()
115 target_rect.size()); in DesktopFrameWithCursor()
122 target_rect.Translate(restore_position_); in ~DesktopFrameWithCursor()
[all …]
/dports/devel/etl/synfig-1.2.2/synfig-core/src/synfig/rendering/primitive/
H A Dtransformation.cpp66 Transformation::build_mesh_vfunc(const Rect &target_rect, const Vector &precision) const in build_mesh_vfunc() argument
70 const Vector grid_p0 = target_rect.get_min(); in build_mesh_vfunc()
71 const Vector grid_p1 = target_rect.get_max(); in build_mesh_vfunc()
172 Transformation::build_mesh(const Rect &target_rect, const Vector &precision) const in build_mesh() argument
176 if ( target_rect.get_min().is_nan_or_inf() in build_mesh()
177 || target_rect.get_max().is_nan_or_inf() in build_mesh()
178 || fabs(target_rect.maxx - target_rect.minx) < epsilon in build_mesh()
179 || fabs(target_rect.maxy - target_rect.miny) < epsilon ) in build_mesh()
182 Rect valid_target_rect(target_rect); in build_mesh()
/dports/graphics/synfig/synfig-1.2.2/synfig-core/src/synfig/rendering/primitive/
H A Dtransformation.cpp66 Transformation::build_mesh_vfunc(const Rect &target_rect, const Vector &precision) const in build_mesh_vfunc() argument
70 const Vector grid_p0 = target_rect.get_min(); in build_mesh_vfunc()
71 const Vector grid_p1 = target_rect.get_max(); in build_mesh_vfunc()
172 Transformation::build_mesh(const Rect &target_rect, const Vector &precision) const in build_mesh() argument
176 if ( target_rect.get_min().is_nan_or_inf() in build_mesh()
177 || target_rect.get_max().is_nan_or_inf() in build_mesh()
178 || fabs(target_rect.maxx - target_rect.minx) < epsilon in build_mesh()
179 || fabs(target_rect.maxy - target_rect.miny) < epsilon ) in build_mesh()
182 Rect valid_target_rect(target_rect); in build_mesh()
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-core/src/synfig/rendering/primitive/
H A Dtransformation.cpp66 Transformation::build_mesh_vfunc(const Rect &target_rect, const Vector &precision) const in build_mesh_vfunc() argument
70 const Vector grid_p0 = target_rect.get_min(); in build_mesh_vfunc()
71 const Vector grid_p1 = target_rect.get_max(); in build_mesh_vfunc()
172 Transformation::build_mesh(const Rect &target_rect, const Vector &precision) const in build_mesh() argument
176 if ( target_rect.get_min().is_nan_or_inf() in build_mesh()
177 || target_rect.get_max().is_nan_or_inf() in build_mesh()
178 || fabs(target_rect.maxx - target_rect.minx) < epsilon in build_mesh()
179 || fabs(target_rect.maxy - target_rect.miny) < epsilon ) in build_mesh()
182 Rect valid_target_rect(target_rect); in build_mesh()
/dports/multimedia/libva-vdpau-driver/libva-vdpau-driver-0.7.4/src/
H A Dvdpau_video_x11.c395 const VARectangle *target_rect, in render_surface() argument
407 dst_rect.x0 = target_rect->x; in render_surface()
408 dst_rect.y0 = target_rect->y; in render_surface()
409 dst_rect.x1 = target_rect->x + target_rect->width; in render_surface()
410 dst_rect.y1 = target_rect->y + target_rect->height; in render_surface()
544 const VARectangle *target_rect in render_subpictures() argument
566 target_rect, in render_subpictures()
635 const VARectangle *target_rect, in put_surface_unlocked() argument
665 target_rect, in put_surface_unlocked()
677 target_rect in put_surface_unlocked()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/gfx/wr/webrender/src/
H A Drender_target.rs284 Some(target_rect) in build()
338 target_rect, in build()
425 let target_rect = task in add_task() localVariable
429 target_rect, in add_task()
546 target_rect.min.to_f32(), in add_task()
564 target_rect.min.to_f32(), in add_task()
644 self.clears.push(target_rect); in add_task()
671 target_rect, in add_task()
750 let target_rect = target_task in add_scaling_instances() localVariable
763 target_rect, in add_scaling_instances()
[all …]
/dports/www/firefox/firefox-99.0/gfx/wr/webrender/src/
H A Drender_target.rs291 Some(target_rect) in build()
346 target_rect, in build()
433 let target_rect = task in add_task() localVariable
437 target_rect, in add_task()
549 target_rect.min.to_f32(), in add_task()
568 target_rect.min.to_f32(), in add_task()
648 self.clears.push(target_rect); in add_task()
675 target_rect, in add_task()
754 let target_rect = target_task in add_scaling_instances() localVariable
767 target_rect, in add_scaling_instances()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/wr/webrender/src/
H A Drender_target.rs284 Some(target_rect) in build()
338 target_rect, in build()
425 let target_rect = task in add_task() localVariable
429 target_rect, in add_task()
546 target_rect.min.to_f32(), in add_task()
564 target_rect.min.to_f32(), in add_task()
644 self.clears.push(target_rect); in add_task()
671 target_rect, in add_task()
750 let target_rect = target_task in add_scaling_instances() localVariable
763 target_rect, in add_scaling_instances()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/animation/
H A Dscroll_timeline_offset.cc148 PhysicalRect target_rect = target_box->PhysicalBorderBoxRect(); in ResolveOffset() local
149 target_rect = target_box->LocalToAncestorRect( in ResolveOffset()
150 target_rect, root_box, in ResolveOffset()
191 target_edge = target_rect.Y(); in ResolveOffset()
194 target_edge += (threshold_adjustment * target_rect.Height()); in ResolveOffset()
197 target_edge = target_rect.X(); in ResolveOffset()
198 target_edge += (threshold_adjustment * target_rect.Width()); in ResolveOffset()
/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/test/
H A Dlayer_test_common.cc77 gfx::Rect target_rect = MathUtil::MapEnclosingClippedRect( in VerifyQuadsAreOccluded() local
89 ASSERT_EQ(target_rectf, gfx::RectF(target_rect)); in VerifyQuadsAreOccluded()
92 bool fully_occluded_horizontal = target_rect.x() >= occluded.x() && in VerifyQuadsAreOccluded()
93 target_rect.right() <= occluded.right(); in VerifyQuadsAreOccluded()
94 bool fully_occluded_vertical = target_rect.y() >= occluded.y() && in VerifyQuadsAreOccluded()
95 target_rect.bottom() <= occluded.bottom(); in VerifyQuadsAreOccluded()
97 target_rect.Intersects(occluded) && in VerifyQuadsAreOccluded()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/cc/trees/
H A Docclusion_tracker.cc217 gfx::Rect target_rect = in ReduceOcclusionBelowSurface() local
220 target_rect.Intersect(contributing_surface->clip_rect()); in ReduceOcclusionBelowSurface()
222 if (target_rect.IsEmpty()) in ReduceOcclusionBelowSurface()
228 ? contributing_surface->BackdropFilters().MapRect(target_rect, in ReduceOcclusionBelowSurface()
231 target_rect, SkMatrix::I()); in ReduceOcclusionBelowSurface()
233 affected_area_in_target.Union(target_rect); in ReduceOcclusionBelowSurface()
249 : affected_area_in_target.right() - target_rect.right(); in ReduceOcclusionBelowSurface()
253 : affected_area_in_target.bottom() - target_rect.bottom(); in ReduceOcclusionBelowSurface()
256 : target_rect.x() - affected_area_in_target.x(); in ReduceOcclusionBelowSurface()
260 : target_rect.y() - affected_area_in_target.y(); in ReduceOcclusionBelowSurface()
/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/trees/
H A Docclusion_tracker.cc223 gfx::Rect target_rect = in ReduceOcclusionBelowSurface() local
226 target_rect.Intersect(contributing_surface->clip_rect()); in ReduceOcclusionBelowSurface()
228 if (target_rect.IsEmpty()) in ReduceOcclusionBelowSurface()
234 ? contributing_surface->BackdropFilters().MapRect(target_rect, in ReduceOcclusionBelowSurface()
237 target_rect, SkMatrix::I()); in ReduceOcclusionBelowSurface()
239 affected_area_in_target.Union(target_rect); in ReduceOcclusionBelowSurface()
255 : affected_area_in_target.right() - target_rect.right(); in ReduceOcclusionBelowSurface()
259 : affected_area_in_target.bottom() - target_rect.bottom(); in ReduceOcclusionBelowSurface()
262 : target_rect.x() - affected_area_in_target.x(); in ReduceOcclusionBelowSurface()
266 : target_rect.y() - affected_area_in_target.y(); in ReduceOcclusionBelowSurface()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/wr/webrender/src/
H A Drender_target.rs377 Some(target_rect) in build()
418 target_rect, in build()
545 let target_rect = task in add_task() localVariable
551 target_rect, in add_task()
676 target_rect.origin.to_f32(), in add_task()
683 target_rect.size.to_f32(), in add_task()
689 target_rect.origin.to_f32(), in add_task()
809 target_rect: target_rect.0.inner_rect(task_info.padding), in add_task()
891 let target_rect = target_task in add_scaling_instances() localVariable
941 target_rect, in add_scaling_instances()
[all …]
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/webrender-0.60.0/src/
H A Dgpu_glyph_renderer.rs138 glyphs[b].target_rect.size.height.cmp(&glyphs[a].target_rect.size.height) in stencil_glyphs()
143 let stencil_size = Size2D::new(glyph.target_rect.size.width * x_scale, in stencil_glyphs()
144 glyph.target_rect.size.height); in stencil_glyphs()
149 target_rect: glyph.target_rect, in stencil_glyphs()
284 target_rect: DeviceIntRect, field
291 DeviceIntRect::new(self.stencil_origin, self.target_rect.size) in stencil_rect()
H A Dtiling.rs304 pub target_rect: DeviceIntRect, field
322 pub target_rect: DeviceIntRect, field
406 Some(target_rect) in build()
536 target_rect: target_rect.inner_rect(task_info.padding) in add_task()
742 let target_rect = task.get_target_rect(); in add_task() localVariable
746 self.clears.push(target_rect.0); in add_task()
749 task_rect: target_rect.0.to_f32(), in add_task()
776 target_rect: target_rect.0.inner_rect(task_info.padding), in add_task()
782 self.clears.push(target_rect.0); in add_task()
798 self.add_glyph_task(task_info, target_rect.0) in add_task()
[all …]

12345678910>>...14