Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
render_context_impeller.cc File Reference

Go to the source code of this file.

Macros

#define IMPELLER_PROC(name)   gl_procs["gl" #name] = (void*)&gl##name;
 

Functions

SKWASM_EXPORT bool skwasm_isWimp ()
 
SKWASM_EXPORT void skwasm_disposeDlImageOnWorker (void *dl_image_ptr)
 

Macro Definition Documentation

◆ IMPELLER_PROC

#define IMPELLER_PROC (   name)    gl_procs["gl" #name] = (void*)&gl##name;

Function Documentation

◆ skwasm_disposeDlImageOnWorker()

SKWASM_EXPORT void skwasm_disposeDlImageOnWorker ( void *  dl_image_ptr)

Definition at line 189 of file render_context_impeller.cc.

189 {
190 const flutter::DlImage* image =
191 reinterpret_cast<const flutter::DlImage*>(dl_image_ptr);
192 for (auto* context : active_contexts) {
193 context->RemoveImage(image);
194 }
195}
Represents an image whose allocation is (usually) resident on device memory.
Definition dl_image.h:34
FlutterVulkanImage * image

References image.

Referenced by Skwasm::DlWimpImageBase::~DlWimpImageBase().

◆ skwasm_isWimp()

SKWASM_EXPORT bool skwasm_isWimp ( )

Definition at line 17 of file render_context_impeller.cc.

17 {
18 return true;
19}

Referenced by Skwasm::Surface::ReceiveCanvasOnWorker().