Flutter Engine
flutter::EmbedderSurfaceSoftware Class Referencefinal

#include <embedder_surface_software.h>

Inheritance diagram for flutter::EmbedderSurfaceSoftware:
flutter::EmbedderSurface flutter::GPUSurfaceSoftwareDelegate flutter::GPUSurfaceDelegate

Classes

struct  SoftwareDispatchTable
 

Public Member Functions

 EmbedderSurfaceSoftware (SoftwareDispatchTable software_dispatch_table, std::shared_ptr< EmbedderExternalViewEmbedder > external_view_embedder)
 
 ~EmbedderSurfaceSoftware () override
 
- Public Member Functions inherited from flutter::EmbedderSurface
 EmbedderSurface ()
 
virtual ~EmbedderSurface ()
 
- Public Member Functions inherited from flutter::GPUSurfaceSoftwareDelegate
 ~GPUSurfaceSoftwareDelegate () override
 
- Public Member Functions inherited from flutter::GPUSurfaceDelegate
virtual ~GPUSurfaceDelegate ()
 

Detailed Description

Definition at line 15 of file embedder_surface_software.h.

Constructor & Destructor Documentation

◆ EmbedderSurfaceSoftware()

flutter::EmbedderSurfaceSoftware::EmbedderSurfaceSoftware ( SoftwareDispatchTable  software_dispatch_table,
std::shared_ptr< EmbedderExternalViewEmbedder external_view_embedder 
)

Definition at line 12 of file embedder_surface_software.cc.

References FML_LOG, fml::size(), flutter::EmbedderSurfaceSoftware::SoftwareDispatchTable::software_present_backing_store, TRACE_EVENT0, and ~EmbedderSurfaceSoftware().

15  : software_dispatch_table_(software_dispatch_table),
16  external_view_embedder_(external_view_embedder) {
17  if (!software_dispatch_table_.software_present_backing_store) {
18  return;
19  }
20  valid_ = true;
21 }
std::function< bool(const void *allocation, size_t row_bytes, size_t height)> software_present_backing_store

◆ ~EmbedderSurfaceSoftware()

flutter::EmbedderSurfaceSoftware::~EmbedderSurfaceSoftware ( )
overridedefault

Referenced by EmbedderSurfaceSoftware().


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