Home
last modified time | relevance | path

Searched refs:SurfaceFrame (Results 1 – 14 of 14) sorted by relevance

/third_party/flutter/engine/flutter/shell/common/
Dsurface.cc12 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()
Dsurface.h19 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/
Dgpu_surface_vulkan.cc24 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()
Dgpu_surface_software.cc23 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()
Dgpu_surface_gl.cc236 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()
Dgpu_surface_metal.mm52 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);
Dgpu_surface_software.h25 std::unique_ptr<SurfaceFrame> AcquireFrame(const SkISize& size) override;
Dgpu_surface_vulkan.h29 std::unique_ptr<SurfaceFrame> AcquireFrame(const SkISize& size) override;
Dgpu_surface_metal.h34 std::unique_ptr<SurfaceFrame> AcquireFrame(const SkISize& size) override;
Dgpu_surface_gl.h35 std::unique_ptr<SurfaceFrame> AcquireFrame(const SkISize& size) override;
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/
Dsurface.cc26 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()
Dsurface.h31 std::unique_ptr<flutter::SurfaceFrame> AcquireFrame(
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/compositor/
Dsurface.dart8 class SurfaceFrame {
11 SurfaceFrame(this.submitFn, this.canvas);
34 SurfaceFrame acquireFrame(ui.Size size) {
36 return SurfaceFrame(submitFunction, canvas);
Drasterizer.dart17 final SurfaceFrame frame = surface.acquireFrame(ui.window.physicalSize);