Flutter Engine
 
Loading...
Searching...
No Matches
FlutterOpenGLFramebuffer Struct Reference

#include <embedder.h>

Public Attributes

uint32_t target
 
uint32_t name
 The name of the framebuffer.
 
void * user_data
 User data to be returned on the invocation of the destruction callback.
 
VoidCallback destruction_callback
 

Detailed Description

Definition at line 532 of file embedder.h.

Member Data Documentation

◆ destruction_callback

VoidCallback FlutterOpenGLFramebuffer::destruction_callback

Callback invoked (on an engine managed thread) that asks the embedder to collect the framebuffer.

Definition at line 551 of file embedder.h.

Referenced by create_opengl_backing_store(), flutter::CompositorOpenGL::CreateBackingStore(), MakeRenderTargetFromBackingStoreImpeller(), MakeSkSurfaceFromBackingStore(), operator<<(), and operator==().

◆ name

◆ target

uint32_t FlutterOpenGLFramebuffer::target

The format of the color attachment of the frame-buffer. For example, GL_RGBA8.

In case of ambiguity when dealing with Window bound frame-buffers, 0 may be used.

Definition at line 541 of file embedder.h.

Referenced by create_opengl_backing_store(), flutter::CompositorOpenGL::CreateBackingStore(), MakeRenderTargetFromBackingStoreImpeller(), MakeSkSurfaceFromBackingStore(), operator<<(), and operator==().

◆ user_data


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