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

#include <embedder.h>

Public Attributes

size_t struct_size
 The size of this struct. Must be sizeof(FlutterPresentInfo).
 
uint32_t fbo_id
 Id of the fbo backing the surface that was presented.
 
FlutterDamage frame_damage
 Damage representing the area that the compositor needs to render.
 
FlutterDamage buffer_damage
 Damage used to set the buffer's damage region.
 

Detailed Description

This information is passed to the embedder when a surface is presented.

See: FlutterOpenGLRendererConfig::present_with_info.

Definition at line 701 of file embedder.h.

Member Data Documentation

◆ buffer_damage

FlutterDamage FlutterPresentInfo::buffer_damage

Damage used to set the buffer's damage region.

Definition at line 709 of file embedder.h.

Referenced by flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), and flutter::testing::TEST_F().

◆ fbo_id

uint32_t FlutterPresentInfo::fbo_id

Id of the fbo backing the surface that was presented.

Definition at line 705 of file embedder.h.

Referenced by flutter::testing::EmbedderTestContextGL::SetOpenGLPresentCallBack(), and flutter::testing::TEST_F().

◆ frame_damage

FlutterDamage FlutterPresentInfo::frame_damage

Damage representing the area that the compositor needs to render.

Definition at line 707 of file embedder.h.

Referenced by flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), and flutter::testing::TEST_F().

◆ struct_size

size_t FlutterPresentInfo::struct_size

The size of this struct. Must be sizeof(FlutterPresentInfo).

Definition at line 703 of file embedder.h.

Referenced by InferOpenGLPlatformViewCreationCallback().


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