Flutter Engine
flutter::GPUSurfaceDelegate Class Referenceabstract

#include <gpu_surface_delegate.h>

Inheritance diagram for flutter::GPUSurfaceDelegate:
flutter::GPUSurfaceGLDelegate flutter::GPUSurfaceSoftwareDelegate flutter::GPUSurfaceVulkanDelegate flutter::IOSSurfaceMetal flutter::AndroidSurfaceGL flutter::AndroidSurfaceMock flutter::EmbedderSurfaceGL flutter::IOSSurfaceGL flutter::testing::ShellTestPlatformViewGL flutter::AndroidSurfaceSoftware flutter::EmbedderSurfaceSoftware flutter::IOSSurfaceSoftware flutter::AndroidSurfaceVulkan

Public Member Functions

virtual ~GPUSurfaceDelegate ()
 
virtual ExternalViewEmbedderGetExternalViewEmbedder ()=0
 Gets the view embedder that controls how the Flutter layer hierarchy split into multiple chunks should be composited back on-screen. This field is optional and the Flutter rasterizer will render into a single on-screen surface if this call returns a null external view embedder. This happens on the GPU thread. More...
 

Detailed Description

Definition at line 8 of file gpu_surface_delegate.h.

Constructor & Destructor Documentation

◆ ~GPUSurfaceDelegate()

virtual flutter::GPUSurfaceDelegate::~GPUSurfaceDelegate ( )
inlinevirtual

Definition at line 10 of file gpu_surface_delegate.h.

References GetExternalViewEmbedder().

10 {}

Member Function Documentation

◆ GetExternalViewEmbedder()

virtual ExternalViewEmbedder* flutter::GPUSurfaceDelegate::GetExternalViewEmbedder ( )
pure virtual

Gets the view embedder that controls how the Flutter layer hierarchy split into multiple chunks should be composited back on-screen. This field is optional and the Flutter rasterizer will render into a single on-screen surface if this call returns a null external view embedder. This happens on the GPU thread.

Returns
The external view embedder, or, null if Flutter is rendering into a single on-screen surface.

Implemented in flutter::AndroidSurfaceGL, flutter::AndroidSurfaceSoftware, flutter::AndroidSurfaceVulkan, flutter::AndroidSurfaceMock, flutter::IOSSurfaceGL, flutter::IOSSurfaceSoftware, flutter::GPUSurfaceSoftwareDelegate, flutter::GPUSurfaceGLDelegate, and flutter::GPUSurfaceVulkanDelegate.

Referenced by ~GPUSurfaceDelegate(), and flutter::GPUSurfaceMetal::~GPUSurfaceMetal().


The documentation for this class was generated from the following file: