Flutter Engine
The Flutter Engine
|
#include <embedder_test_context_gl.h>
Public Types | |
using | GLGetFBOCallback = std::function< void(FlutterFrameInfo frame_info)> |
using | GLPopulateExistingDamageCallback = std::function< void(intptr_t id, FlutterDamage *existing_damage)> |
using | GLPresentCallback = std::function< void(FlutterPresentInfo present_info)> |
Friends | |
class | EmbedderConfigBuilder |
Definition at line 14 of file embedder_test_context_gl.h.
using flutter::testing::EmbedderTestContextGL::GLGetFBOCallback = std::function<void(FlutterFrameInfo frame_info)> |
Definition at line 16 of file embedder_test_context_gl.h.
using flutter::testing::EmbedderTestContextGL::GLPopulateExistingDamageCallback = std::function<void(intptr_t id, FlutterDamage* existing_damage)> |
Definition at line 17 of file embedder_test_context_gl.h.
using flutter::testing::EmbedderTestContextGL::GLPresentCallback = std::function<void(FlutterPresentInfo present_info)> |
Definition at line 19 of file embedder_test_context_gl.h.
|
explicit |
Definition at line 22 of file embedder_test_context_gl.cc.
|
override |
Definition at line 25 of file embedder_test_context_gl.cc.
|
overridevirtual |
Implements flutter::testing::EmbedderTestContext.
Definition at line 127 of file embedder_test_context_gl.cc.
|
overridevirtual |
Implements flutter::testing::EmbedderTestContext.
Definition at line 123 of file embedder_test_context_gl.cc.
uint32_t flutter::testing::EmbedderTestContextGL::GetWindowFBOId | ( | ) | const |
Definition at line 131 of file embedder_test_context_gl.cc.
void * flutter::testing::EmbedderTestContextGL::GLGetProcAddress | ( | const char * | name | ) |
Definition at line 118 of file embedder_test_context_gl.cc.
void flutter::testing::EmbedderTestContextGL::GLPopulateExistingDamage | ( | const intptr_t | id, |
FlutterDamage * | existing_damage | ||
) |
Definition at line 97 of file embedder_test_context_gl.cc.
void flutter::testing::EmbedderTestContextGL::SetGLGetFBOCallback | ( | GLGetFBOCallback | callback | ) |
Sets a callback that will be invoked (on the raster task runner) when the engine asks the embedder for a new FBO ID at the updated size.
[in] | callback | The callback to set. The previous callback will be un-registered. |
Definition at line 64 of file embedder_test_context_gl.cc.
void flutter::testing::EmbedderTestContextGL::SetGLPopulateExistingDamageCallback | ( | GLPopulateExistingDamageCallback | callback | ) |
Definition at line 69 of file embedder_test_context_gl.cc.
void flutter::testing::EmbedderTestContextGL::SetGLPresentCallback | ( | GLPresentCallback | callback | ) |
Sets a callback that will be invoked (on the raster task runner) when the engine presents an fbo that was given by the embedder.
[in] | callback | The callback to set. The previous callback will be un-registered. |
Definition at line 75 of file embedder_test_context_gl.cc.
|
overrideprotectedvirtual |
Implements flutter::testing::EmbedderTestContext.
Definition at line 136 of file embedder_test_context_gl.cc.
|
friend |
Definition at line 72 of file embedder_test_context_gl.h.