Skip to content

Commit 7dd44fb

Browse files
authored
Revert impeller render texture code for gles (#140)
1 parent a1dd77b commit 7dd44fb

8 files changed

Lines changed: 9 additions & 355 deletions

flutter/shell/platform/embedder/embedder.h

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

407407
typedef void (*VoidCallback)(void* /* user data */);
408-
typedef bool (*BoolCallback)(void* /* user data */);
409408

410409
typedef enum {
411410
/// Specifies an OpenGL texture target type. Textures are specified using
@@ -513,13 +512,6 @@ typedef struct {
513512
uint32_t name;
514513
/// The texture format (example GL_RGBA8).
515514
uint32_t format;
516-
/// The pixel data buffer.
517-
const uint8_t* buffer;
518-
/// The size of pixel buffer.
519-
size_t buffer_size;
520-
/// Callback invoked that the gpu surface texture start binding.
521-
BoolCallback bind_callback;
522-
523515
/// User data to be returned on the invocation of the destruction callback.
524516
void* user_data;
525517
/// Callback invoked (on an engine managed thread) that asks the embedder to
@@ -613,6 +605,7 @@ typedef struct {
613605
uint32_t format;
614606
} FlutterOpenGLSurface;
615607

608+
typedef bool (*BoolCallback)(void* /* user data */);
616609
typedef FlutterTransformation (*TransformationCallback)(void* /* user data */);
617610
typedef uint32_t (*UIntCallback)(void* /* user data */);
618611
typedef bool (*SoftwareSurfacePresentCallback)(void* /* user data */,

flutter/shell/platform/tizen/BUILD.gn

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,7 @@ template("embedder") {
8181
"channels/text_input_channel.cc",
8282
"channels/window_channel.cc",
8383
"external_texture_pixel_egl.cc",
84-
"external_texture_pixel_egl_impeller.cc",
8584
"external_texture_surface_egl.cc",
86-
"external_texture_surface_egl_impeller.cc",
8785
"flutter_platform_node_delegate_tizen.cc",
8886
"flutter_project_bundle.cc",
8987
"flutter_tizen.cc",

flutter/shell/platform/tizen/external_texture_pixel_egl_impeller.cc

Lines changed: 0 additions & 50 deletions
This file was deleted.

flutter/shell/platform/tizen/external_texture_pixel_egl_impeller.h

Lines changed: 0 additions & 33 deletions
This file was deleted.

flutter/shell/platform/tizen/external_texture_surface_egl_impeller.cc

Lines changed: 0 additions & 186 deletions
This file was deleted.

flutter/shell/platform/tizen/external_texture_surface_egl_impeller.h

Lines changed: 0 additions & 51 deletions
This file was deleted.

flutter/shell/platform/tizen/flutter_tizen_texture_registrar.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@
77
#include <iostream>
88
#include <mutex>
99

10-
#include "flutter/shell/platform/tizen/external_texture_pixel_egl.h"
11-
#include "flutter/shell/platform/tizen/external_texture_pixel_egl_impeller.h"
10+
#include "flutter/shell/platform/tizen/external_texture.h"
1211
#include "flutter/shell/platform/tizen/external_texture_surface_egl.h"
13-
#include "flutter/shell/platform/tizen/external_texture_surface_egl_impeller.h"
1412
#include "flutter/shell/platform/tizen/flutter_tizen_engine.h"
1513
#include "flutter/shell/platform/tizen/logger.h"
1614

0 commit comments

Comments
 (0)