Searched refs:SurfaceFrame (Results 1 – 14 of 14) sorted by relevance
/third_party/flutter/engine/flutter/shell/common/ |
D | surface.cc | 12 SurfaceFrame::SurfaceFrame(sk_sp<SkSurface> surface, in SurfaceFrame() function in flutter::SurfaceFrame 18 SurfaceFrame::~SurfaceFrame() { in ~SurfaceFrame() 25 bool SurfaceFrame::Submit() { in Submit() 35 SkCanvas* SurfaceFrame::SkiaCanvas() { in SkiaCanvas() 39 sk_sp<SkSurface> SurfaceFrame::SkiaSurface() const { in SkiaSurface() 43 bool SurfaceFrame::PerformSubmit() { in PerformSubmit()
|
D | surface.h | 19 class SurfaceFrame { 22 std::function<bool(const SurfaceFrame& surface_frame, SkCanvas* canvas)>; 24 SurfaceFrame(sk_sp<SkSurface> surface, SubmitCallback submit_callback); 26 ~SurfaceFrame(); 41 FML_DISALLOW_COPY_AND_ASSIGN(SurfaceFrame); 53 virtual std::unique_ptr<SurfaceFrame> AcquireFrame(const SkISize& size) = 0;
|
/third_party/flutter/engine/flutter/shell/gpu/ |
D | gpu_surface_vulkan.cc | 24 std::unique_ptr<SurfaceFrame> GPUSurfaceVulkan::AcquireFrame( in AcquireFrame() 32 SurfaceFrame::SubmitCallback callback = in AcquireFrame() 33 [weak_this = weak_factory_.GetWeakPtr()](const SurfaceFrame&, in AcquireFrame() 43 return std::make_unique<SurfaceFrame>(std::move(surface), in AcquireFrame()
|
D | gpu_surface_software.cc | 23 std::unique_ptr<SurfaceFrame> GPUSurfaceSoftware::AcquireFrame( in AcquireFrame() 47 SurfaceFrame::SubmitCallback on_submit = in AcquireFrame() 48 [self = weak_factory_.GetWeakPtr()](const SurfaceFrame& surface_frame, in AcquireFrame() 60 return std::make_unique<SurfaceFrame>(backing_store, on_submit); in AcquireFrame()
|
D | gpu_surface_gl.cc | 236 std::unique_ptr<SurfaceFrame> GPUSurfaceGL::AcquireFrame(const SkISize& size) { in AcquireFrame() 250 return std::make_unique<SurfaceFrame>( in AcquireFrame() 251 nullptr, [](const SurfaceFrame& surface_frame, SkCanvas* canvas) { in AcquireFrame() 267 SurfaceFrame::SubmitCallback submit_callback = in AcquireFrame() 268 [weak = weak_factory_.GetWeakPtr()](const SurfaceFrame& surface_frame, in AcquireFrame() 273 return std::make_unique<SurfaceFrame>(surface, submit_callback); in AcquireFrame()
|
D | gpu_surface_metal.mm | 52 std::unique_ptr<SurfaceFrame> GPUSurfaceMetal::AcquireFrame(const SkISize& size) { 116 const SurfaceFrame& surface_frame, SkCanvas* canvas) -> bool { 123 return std::make_unique<SurfaceFrame>(std::move(surface), submit_callback);
|
D | gpu_surface_software.h | 25 std::unique_ptr<SurfaceFrame> AcquireFrame(const SkISize& size) override;
|
D | gpu_surface_vulkan.h | 29 std::unique_ptr<SurfaceFrame> AcquireFrame(const SkISize& size) override;
|
D | gpu_surface_metal.h | 34 std::unique_ptr<SurfaceFrame> AcquireFrame(const SkISize& size) override;
|
D | gpu_surface_gl.h | 35 std::unique_ptr<SurfaceFrame> AcquireFrame(const SkISize& size) override;
|
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/ |
D | surface.cc | 26 std::unique_ptr<flutter::SurfaceFrame> Surface::AcquireFrame( in AcquireFrame() 28 return std::make_unique<flutter::SurfaceFrame>( in AcquireFrame() 29 nullptr, [](const flutter::SurfaceFrame& surface_frame, in AcquireFrame()
|
D | surface.h | 31 std::unique_ptr<flutter::SurfaceFrame> AcquireFrame(
|
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/compositor/ |
D | surface.dart | 8 class SurfaceFrame { 11 SurfaceFrame(this.submitFn, this.canvas); 34 SurfaceFrame acquireFrame(ui.Size size) { 36 return SurfaceFrame(submitFunction, canvas);
|
D | rasterizer.dart | 17 final SurfaceFrame frame = surface.acquireFrame(ui.window.physicalSize);
|