Skip to content

Commit fcfb569

Browse files
committed
Add missing code in embedder.h
1 parent ebd9f7d commit fcfb569

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

flutter/shell/platform/embedder/embedder.h

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,6 @@ typedef struct {
407407
} FlutterTransformation;
408408

409409
typedef void (*VoidCallback)(void* /* user data */);
410-
typedef bool (*BoolCallback)(void* /* user data */);
411410

412411
typedef enum {
413412
/// Specifies an OpenGL texture target type. Textures are specified using
@@ -515,13 +514,6 @@ typedef struct {
515514
uint32_t name;
516515
/// The texture format (example GL_RGBA8).
517516
uint32_t format;
518-
/// The pixel data buffer.
519-
const uint8_t* buffer;
520-
/// The size of pixel buffer.
521-
size_t buffer_size;
522-
/// Callback invoked that the gpu surface texture start binding.
523-
BoolCallback bind_callback;
524-
525517
/// User data to be returned on the invocation of the destruction callback.
526518
void* user_data;
527519
/// Callback invoked (on an engine managed thread) that asks the embedder to
@@ -615,6 +607,7 @@ typedef struct {
615607
uint32_t format;
616608
} FlutterOpenGLSurface;
617609

610+
typedef bool (*BoolCallback)(void* /* user data */);
618611
typedef FlutterTransformation (*TransformationCallback)(void* /* user data */);
619612
typedef uint32_t (*UIntCallback)(void* /* user data */);
620613
typedef bool (*SoftwareSurfacePresentCallback)(void* /* user data */,

0 commit comments

Comments
 (0)