/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/cc/trees/ |
H A D | occlusion.cc | 33 bool Occlusion::IsOccluded(const gfx::Rect& content_rect) const { in IsOccluded() 34 if (content_rect.IsEmpty()) in IsOccluded() 41 GetUnoccludedRectInTargetSurface(content_rect); in IsOccluded() 46 const gfx::Rect& content_rect) const { in GetUnoccludedContentRect() 47 if (content_rect.IsEmpty()) in GetUnoccludedContentRect() 48 return content_rect; in GetUnoccludedContentRect() 51 return content_rect; in GetUnoccludedContentRect() 54 GetUnoccludedRectInTargetSurface(content_rect); in GetUnoccludedContentRect() 63 return content_rect; in GetUnoccludedContentRect() 67 unoccluded_rect.Intersect(content_rect); in GetUnoccludedContentRect() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/trees/ |
H A D | occlusion.cc | 34 bool Occlusion::IsOccluded(const gfx::Rect& content_rect) const { in IsOccluded() 35 if (content_rect.IsEmpty()) in IsOccluded() 42 GetUnoccludedRectInTargetSurface(content_rect); in IsOccluded() 47 const gfx::Rect& content_rect) const { in GetUnoccludedContentRect() 48 if (content_rect.IsEmpty()) in GetUnoccludedContentRect() 49 return content_rect; in GetUnoccludedContentRect() 52 return content_rect; in GetUnoccludedContentRect() 55 GetUnoccludedRectInTargetSurface(content_rect); in GetUnoccludedContentRect() 64 return content_rect; in GetUnoccludedContentRect() 68 unoccluded_rect.Intersect(content_rect); in GetUnoccludedContentRect() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/resize_observer/ |
H A D | resize_observer_utilities.cc | 83 LayoutRect content_rect, in ZoomAdjustedLayoutRect() argument 85 content_rect.SetX( in ZoomAdjustedLayoutRect() 86 AdjustForAbsoluteZoom::AdjustLayoutUnit(content_rect.X(), style)); in ZoomAdjustedLayoutRect() 87 content_rect.SetY( in ZoomAdjustedLayoutRect() 88 AdjustForAbsoluteZoom::AdjustLayoutUnit(content_rect.Y(), style)); in ZoomAdjustedLayoutRect() 89 content_rect.SetWidth( in ZoomAdjustedLayoutRect() 90 AdjustForAbsoluteZoom::AdjustLayoutUnit(content_rect.Width(), style)); in ZoomAdjustedLayoutRect() 91 content_rect.SetHeight( in ZoomAdjustedLayoutRect() 92 AdjustForAbsoluteZoom::AdjustLayoutUnit(content_rect.Height(), style)); in ZoomAdjustedLayoutRect() 95 FloatPoint(content_rect.Location()), FloatSize(content_rect.Size()))); in ZoomAdjustedLayoutRect()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/resize_observer/ |
H A D | resize_observer_entry.cc | 22 LayoutRect content_rect, in ZoomAdjustedLayoutRect() argument 24 content_rect.SetX( in ZoomAdjustedLayoutRect() 25 AdjustForAbsoluteZoom::AdjustLayoutUnit(content_rect.X(), style)); in ZoomAdjustedLayoutRect() 26 content_rect.SetY( in ZoomAdjustedLayoutRect() 27 AdjustForAbsoluteZoom::AdjustLayoutUnit(content_rect.Y(), style)); in ZoomAdjustedLayoutRect() 28 content_rect.SetWidth( in ZoomAdjustedLayoutRect() 29 AdjustForAbsoluteZoom::AdjustLayoutUnit(content_rect.Width(), style)); in ZoomAdjustedLayoutRect() 30 content_rect.SetHeight( in ZoomAdjustedLayoutRect() 34 FloatPoint(content_rect.Location()), FloatSize(content_rect.Size()))); in ZoomAdjustedLayoutRect() 63 LayoutRect content_rect( in ResizeObserverEntry() local [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/browser/media/capture/ |
H A D | lame_window_capturer_chromeos.cc | 275 const gfx::Rect content_rect = source_size.IsEmpty() in CaptureNextFrame() local 279 in_flight_frame->set_content_rect(content_rect); in CaptureNextFrame() 280 if (content_rect.IsEmpty()) { in CaptureNextFrame() 301 gfx::Vector2d(content_rect.width(), content_rect.height())); in CaptureNextFrame() 312 const auto& content_rect = in_flight_frame->content_rect(); in DidCopyFrame() local 315 content_rect.y() * y_stride + content_rect.x(); in DidCopyFrame() 318 (content_rect.y() / 2) * u_stride + (content_rect.x() / 2); in DidCopyFrame() 321 (content_rect.y() / 2) * v_stride + (content_rect.x() / 2); in DidCopyFrame() 331 DCHECK_LE(result->size().width(), content_rect.width()); in DidCopyFrame() 334 frame, gfx::Rect(content_rect.origin(), in DidCopyFrame() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/browser/media/capture/ |
H A D | slow_window_capturer_chromeos.cc | 275 const gfx::Rect content_rect = source_size.IsEmpty() in CaptureNextFrame() local 279 in_flight_frame->set_content_rect(content_rect); in CaptureNextFrame() 280 if (content_rect.IsEmpty()) { in CaptureNextFrame() 301 gfx::Vector2d(content_rect.width(), content_rect.height())); in CaptureNextFrame() 314 const auto& content_rect = in_flight_frame->content_rect(); in DidCopyFrame() local 317 content_rect.y() * y_stride + content_rect.x(); in DidCopyFrame() 320 (content_rect.y() / 2) * u_stride + (content_rect.x() / 2); in DidCopyFrame() 323 (content_rect.y() / 2) * v_stride + (content_rect.x() / 2); in DidCopyFrame() 333 DCHECK_LE(result->size().width(), content_rect.width()); in DidCopyFrame() 336 frame, gfx::Rect(content_rect.origin(), in DidCopyFrame() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/viz/service/frame_sinks/video_capture/ |
H A D | frame_sink_video_capturer_impl.cc | 547 gfx::Rect content_rect; in MaybeCaptureFrame() local 553 content_rect = in MaybeCaptureFrame() 568 gfx::Vector2d(content_rect.width(), content_rect.height())); in MaybeCaptureFrame() 577 if (content_rect.IsEmpty()) { in MaybeCaptureFrame() 639 gfx::Vector2d(content_rect.width(), content_rect.height())); in MaybeCaptureFrame() 670 const gfx::Rect& content_rect, in DidCopyFrame() argument 724 content_rect.y() * y_stride + content_rect.x(); in DidCopyFrame() 750 content_rect.y() * stride + content_rect.x() * 4; in DidCopyFrame() 794 const gfx::Rect& content_rect, in OnFrameReadyForDelivery() argument 821 const gfx::Rect& content_rect, in MaybeDeliverFrame() argument [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/viz/service/frame_sinks/video_capture/ |
H A D | frame_sink_video_capturer_impl.cc | 555 gfx::Rect content_rect; in MaybeCaptureFrame() local 561 content_rect = in MaybeCaptureFrame() 576 gfx::Vector2d(content_rect.width(), content_rect.height())); in MaybeCaptureFrame() 585 if (content_rect.IsEmpty()) { in MaybeCaptureFrame() 646 gfx::Vector2d(content_rect.width(), content_rect.height())); in MaybeCaptureFrame() 677 const gfx::Rect& content_rect, in DidCopyFrame() argument 731 content_rect.y() * y_stride + content_rect.x(); in DidCopyFrame() 757 content_rect.y() * stride + content_rect.x() * 4; in DidCopyFrame() 801 const gfx::Rect& content_rect, in OnFrameReadyForDelivery() argument 830 const gfx::Rect& content_rect, in MaybeDeliverFrame() argument [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/layers/ |
H A D | mirror_layer_impl.cc | 32 gfx::Rect content_rect = mirrored_render_surface->content_rect(); in AppendQuads() local 36 content_rect); in AppendQuads() 44 shared_quad_state, mirrored_layer->GetIdealContentsScale(), content_rect, in AppendQuads() 45 content_rect, contents_opaque); in AppendQuads() 47 AppendDebugBorderQuad(render_pass, content_rect, shared_quad_state, in AppendQuads() 57 quad->SetNew(shared_quad_state, content_rect, unoccluded_content_rect, in AppendQuads() 60 gfx::PointF(), gfx::RectF(gfx::Rect(content_rect.size())), in AppendQuads()
|
H A D | render_surface_impl.cc | 82 if (content_rect().IsEmpty()) in DrawableContentRect() 85 gfx::Rect surface_content_rect = content_rect(); in DrawableContentRect() 190 if (content_rect == draw_properties_.content_rect) in SetContentRect() 194 draw_properties_.content_rect = content_rect; in SetContentRect() 359 return content_rect(); in GetDamageRect() 373 damage_rect.Intersect(content_rect()); in CreateRenderPass() 374 pass->SetNew(render_pass_id(), content_rect(), damage_rect, in CreateRenderPass() 402 draw_transform(), content_rect(), content_rect(), mask_filter_info(), in AppendQuads() 410 debug_border_quad->SetNew(shared_quad_state, content_rect(), in AppendQuads() 447 gfx::RectF(content_rect()) - mask_offset, in AppendQuads() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/cc/layers/ |
H A D | mirror_layer_impl.cc | 32 gfx::Rect content_rect = mirrored_render_surface->content_rect(); in AppendQuads() local 36 content_rect); in AppendQuads() 44 shared_quad_state, mirrored_layer->GetIdealContentsScale(), content_rect, in AppendQuads() 45 content_rect, contents_opaque); in AppendQuads() 47 AppendDebugBorderQuad(render_pass, content_rect, shared_quad_state, in AppendQuads() 56 quad->SetNew(shared_quad_state, content_rect, unoccluded_content_rect, in AppendQuads() 60 gfx::RectF(gfx::Rect(content_rect.size())), in AppendQuads()
|
H A D | render_surface_impl.cc | 82 if (content_rect().IsEmpty()) in DrawableContentRect() 85 gfx::Rect surface_content_rect = content_rect(); in DrawableContentRect() 198 if (content_rect == draw_properties_.content_rect) in SetContentRect() 202 draw_properties_.content_rect = content_rect; in SetContentRect() 367 return content_rect(); in GetDamageRect() 380 damage_rect.Intersect(content_rect()); in CreateRenderPass() 381 pass->SetNew(id(), content_rect(), damage_rect, in CreateRenderPass() 409 draw_transform(), content_rect(), content_rect(), rounded_corner_bounds(), in AppendQuads() 417 debug_border_quad->SetNew(shared_quad_state, content_rect(), in AppendQuads() 454 gfx::RectF(content_rect()) - mask_offset, in AppendQuads() [all …]
|
/dports/graphics/scantailor/scantailor-advanced-1.0.16/filters/select_content/ |
H A D | Thumbnail.cpp | 28 const QRectF& content_rect, in Thumbnail() argument 33 m_contentRect(content_rect), in Thumbnail() 64 QRectF content_rect(virtToThumb().mapRect(m_contentRect)); in paintOverImage() local 67 content_rect.adjust(-1, -1, 1, 1); in paintOverImage() 68 content_rect = content_rect.intersected(page_rect); in paintOverImage() 70 painter.drawRect(content_rect); in paintOverImage()
|
H A D | Task.cpp | 106 QRectF content_rect(new_params.contentRect()); in process() local 122 if (content_rect.isValid() && (content_rect.intersected(page_rect)) != content_rect) { in process() 131 content_rect = ContentBoxFinder::findContentBox(status, data, page_rect, m_dbg.get()); in process() 133 content_rect = page_rect; in process() 136 if (content_rect.isValid()) { in process() 137 content_rect &= page_rect; in process() 140 new_params.setContentRect(content_rect); in process() 141 new_params.setContentSizeMM(phys_size_calc.sizeMM(content_rect)); in process()
|
/dports/graphics/scantailor/scantailor-advanced-1.0.16/filters/page_layout/ |
H A D | Utils.cpp | 29 QRectF Utils::adaptContentRect(const ImageTransformation& xform, const QRectF& content_rect) { in adaptContentRect() argument 30 if (!content_rect.isEmpty()) { in adaptContentRect() 31 return content_rect; in adaptContentRect() 80 const QSizeF content_size_mm(Utils::calcRectSizeMM(xform, content_rect)); in calcMarginsMM() 87 auto left = double(content_rect.left() - page_rect.left()); in calcMarginsMM() 88 auto right = double(page_rect.right() - content_rect.right()); in calcMarginsMM() 89 auto top = double(content_rect.top() - page_rect.top()); in calcMarginsMM() 90 auto bottom = double(page_rect.bottom() - content_rect.bottom()); in calcMarginsMM() 105 const QRectF& content_rect, in calcSoftMarginsMM() argument 128 if (!content_size_mm.isEmpty() && !content_rect.isEmpty() && !page_rect.isEmpty()) { in calcSoftMarginsMM() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/libwebrtc/webrtc/modules/desktop_capture/ |
H A D | cropping_window_capturer_win.cc | 111 DesktopRect content_rect; in TopWindowVerifier() local 112 if (!GetWindowContentRect(hwnd, &content_rect)) { in TopWindowVerifier() 118 content_rect.IntersectWith(context->selected_window_rect); in TopWindowVerifier() 121 if (!content_rect.is_empty()) { in TopWindowVerifier() 182 DesktopRect content_rect; in ShouldUseScreenCapturer() local 183 if (!GetWindowContentRect(selected, &content_rect)) { in ShouldUseScreenCapturer() 212 content_rect.IntersectWith(region_rect); in ShouldUseScreenCapturer() 218 if (!GetFullscreenRect().ContainsRect(content_rect)) { in ShouldUseScreenCapturer() 227 selected, reinterpret_cast<HWND>(excluded_window()), content_rect); in ShouldUseScreenCapturer()
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/libwebrtc/webrtc/modules/desktop_capture/ |
H A D | cropping_window_capturer_win.cc | 111 DesktopRect content_rect; in TopWindowVerifier() local 112 if (!GetWindowContentRect(hwnd, &content_rect)) { in TopWindowVerifier() 118 content_rect.IntersectWith(context->selected_window_rect); in TopWindowVerifier() 121 if (!content_rect.is_empty()) { in TopWindowVerifier() 182 DesktopRect content_rect; in ShouldUseScreenCapturer() local 183 if (!GetWindowContentRect(selected, &content_rect)) { in ShouldUseScreenCapturer() 212 content_rect.IntersectWith(region_rect); in ShouldUseScreenCapturer() 218 if (!GetFullscreenRect().ContainsRect(content_rect)) { in ShouldUseScreenCapturer() 227 selected, reinterpret_cast<HWND>(excluded_window()), content_rect); in ShouldUseScreenCapturer()
|
/dports/lang/spidermonkey78/firefox-78.9.0/media/webrtc/trunk/webrtc/modules/desktop_capture/ |
H A D | cropping_window_capturer_win.cc | 111 DesktopRect content_rect; in TopWindowVerifier() local 112 if (!GetWindowContentRect(hwnd, &content_rect)) { in TopWindowVerifier() 118 content_rect.IntersectWith(context->selected_window_rect); in TopWindowVerifier() 121 if (!content_rect.is_empty()) { in TopWindowVerifier() 182 DesktopRect content_rect; in ShouldUseScreenCapturer() local 183 if (!GetWindowContentRect(selected, &content_rect)) { in ShouldUseScreenCapturer() 212 content_rect.IntersectWith(region_rect); in ShouldUseScreenCapturer() 218 if (!GetFullscreenRect().ContainsRect(content_rect)) { in ShouldUseScreenCapturer() 227 selected, reinterpret_cast<HWND>(excluded_window()), content_rect); in ShouldUseScreenCapturer()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/cc/benchmarks/ |
H A D | rasterize_and_record_benchmark_impl.cc | 31 const gfx::Rect& content_rect, in RunBenchmark() argument 50 gfx::ScaleToEnclosingRect(content_rect, 1.f / contents_scale); in RunBenchmark() 56 bitmap.allocPixels(SkImageInfo::MakeN32Premul(content_rect.width(), in RunBenchmark() 57 content_rect.height())); in RunBenchmark() 73 &canvas, raster_source->GetContentSize(contents_scale), content_rect, in RunBenchmark() 74 content_rect, gfx::AxisTransform2d(contents_scale, gfx::Vector2dF()), in RunBenchmark() 208 gfx::Rect content_rect = (*it)->content_rect(); in RunOnLayer() local 214 content_rect, contents_scale, rasterize_repeat_count_, in RunOnLayer() 217 int tile_size = content_rect.width() * content_rect.height(); in RunOnLayer()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/viz/common/quads/ |
H A D | picture_draw_quad.cc | 29 const gfx::Rect& content_rect, in SetNew() argument 37 this->content_rect = content_rect; in SetNew() 53 const gfx::Rect& content_rect, in SetAll() argument 61 this->content_rect = content_rect; in SetAll() 75 cc::MathUtil::AddToTracedValue("content_rect", content_rect, value); in ExtendValue()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/viz/common/quads/ |
H A D | picture_draw_quad.cc | 29 const gfx::Rect& content_rect, in SetNew() argument 37 this->content_rect = content_rect; in SetNew() 53 const gfx::Rect& content_rect, in SetAll() argument 61 this->content_rect = content_rect; in SetAll() 75 cc::MathUtil::AddToTracedValue("content_rect", content_rect, value); in ExtendValue()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/pdf/ |
H A D | pdf_transform.cc | 30 float CalculateScaleFactor(const gfx::Rect& content_rect, in CalculateScaleFactor() argument 40 float ratio_x = content_rect.width() / actual_source_page_width; in CalculateScaleFactor() 41 float ratio_y = content_rect.height() / actual_source_page_height; in CalculateScaleFactor() 95 gfx::PointF CalculateScaledClipBoxOffset(const gfx::Rect& content_rect, in CalculateScaledClipBoxOffset() argument 101 return gfx::PointF((content_rect.width() - clip_box_width) / 2 + in CalculateScaledClipBoxOffset() 102 content_rect.x() - source_clip_box.left, in CalculateScaledClipBoxOffset() 103 (content_rect.height() - clip_box_height) / 2 + in CalculateScaledClipBoxOffset() 104 content_rect.y() - source_clip_box.bottom); in CalculateScaledClipBoxOffset()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/pdf/ |
H A D | pdf_transform.cc | 30 float CalculateScaleFactor(const gfx::Rect& content_rect, in CalculateScaleFactor() argument 40 float ratio_x = content_rect.width() / actual_source_page_width; in CalculateScaleFactor() 41 float ratio_y = content_rect.height() / actual_source_page_height; in CalculateScaleFactor() 95 gfx::PointF CalculateScaledClipBoxOffset(const gfx::Rect& content_rect, in CalculateScaledClipBoxOffset() argument 101 return gfx::PointF((content_rect.width() - clip_box_width) / 2 + in CalculateScaledClipBoxOffset() 102 content_rect.x() - source_clip_box.left, in CalculateScaledClipBoxOffset() 103 (content_rect.height() - clip_box_height) / 2 + in CalculateScaledClipBoxOffset() 104 content_rect.y() - source_clip_box.bottom); in CalculateScaledClipBoxOffset()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/shelf/ |
H A D | window_preview.cc | 71 gfx::Rect content_rect = GetContentsBounds(); in Layout() local 78 content_rect.width() - kCloseButtonSize - kTitleMarginRight); in Layout() 79 title_->SetBoundsRect(gfx::Rect(content_rect.x(), in Layout() 80 content_rect.y() + kTitleMarginTop, in Layout() 84 gfx::Rect(content_rect.right() - kCloseButtonSize + kCloseButtonSideBleed, in Layout() 85 content_rect.y(), kCloseButtonSize, kCloseButtonSize)); in Layout() 107 content_rect.y() + title_height_with_padding; in Layout() 109 gfx::Rect(content_rect.x(), preview_container_top, container_size.width(), in Layout() 112 gfx::Rect(content_rect.x() + preview_offset_from_container.x(), in Layout()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/benchmarks/ |
H A D | rasterize_and_record_benchmark_impl.cc | 33 const gfx::Rect& content_rect, in RunBenchmark() argument 52 gfx::ScaleToEnclosingRect(content_rect, 1.f / contents_scale); in RunBenchmark() 58 bitmap.allocPixels(SkImageInfo::MakeN32Premul(content_rect.width(), in RunBenchmark() 59 content_rect.height())); in RunBenchmark() 75 &canvas, raster_source->GetContentSize(contents_scale), content_rect, in RunBenchmark() 76 content_rect, gfx::AxisTransform2d(contents_scale, gfx::Vector2dF()), in RunBenchmark() 232 gfx::Rect content_rect = (*it)->content_rect(); in RunOnLayer() local 238 content_rect, contents_scale, rasterize_repeat_count_, in RunOnLayer() 241 int tile_size = content_rect.width() * content_rect.height(); in RunOnLayer()
|