Go to the source code of this file.
Classes | |
struct | FlutterDesktopPixelBuffer |
struct | FlutterDesktopGpuSurfaceDescriptor |
struct | FlutterDesktopPixelBufferTextureConfig |
struct | FlutterDesktopGpuSurfaceTextureConfig |
struct | FlutterDesktopTextureInfo |
Typedefs | |
typedef struct FlutterDesktopTextureRegistrar * | FlutterDesktopTextureRegistrarRef |
Functions | |
FLUTTER_EXPORT int64_t | FlutterDesktopTextureRegistrarRegisterExternalTexture (FlutterDesktopTextureRegistrarRef texture_registrar, const FlutterDesktopTextureInfo *info) |
FLUTTER_EXPORT void | FlutterDesktopTextureRegistrarUnregisterExternalTexture (FlutterDesktopTextureRegistrarRef texture_registrar, int64_t texture_id, void(*callback)(void *user_data), void *user_data) |
FLUTTER_EXPORT bool | FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable (FlutterDesktopTextureRegistrarRef texture_registrar, int64_t texture_id) |
Variables | |
const typedef FlutterDesktopPixelBuffer *(* | FlutterDesktopPixelBufferTextureCallback )(size_t width, size_t height, void *user_data) |
const typedef FlutterDesktopGpuSurfaceDescriptor *(* | FlutterDesktopGpuSurfaceTextureCallback )(size_t width, size_t height, void *user_data) |
typedef struct FlutterDesktopTextureRegistrar* FlutterDesktopTextureRegistrarRef |
Definition at line 19 of file flutter_texture_registrar.h.
Enumerator | |
---|---|
kFlutterDesktopGpuSurfaceTypeNone | |
kFlutterDesktopGpuSurfaceTypeDxgiSharedHandle | |
kFlutterDesktopGpuSurfaceTypeD3d11Texture2D |
Definition at line 32 of file flutter_texture_registrar.h.
Enumerator | |
---|---|
kFlutterDesktopPixelFormatNone | |
kFlutterDesktopPixelFormatRGBA8888 | |
kFlutterDesktopPixelFormatBGRA8888 |
Definition at line 44 of file flutter_texture_registrar.h.
Enumerator | |
---|---|
kFlutterDesktopPixelBufferTexture | |
kFlutterDesktopGpuSurfaceTexture |
Definition at line 24 of file flutter_texture_registrar.h.
FLUTTER_EXPORT bool FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable | ( | FlutterDesktopTextureRegistrarRef | texture_registrar, |
int64_t | texture_id | ||
) |
Referenced by flutter::TextureRegistrarImpl::MarkTextureFrameAvailable().
FLUTTER_EXPORT int64_t FlutterDesktopTextureRegistrarRegisterExternalTexture | ( | FlutterDesktopTextureRegistrarRef | texture_registrar, |
const FlutterDesktopTextureInfo * | info | ||
) |
Referenced by flutter::TextureRegistrarImpl::RegisterTexture().
FLUTTER_EXPORT void FlutterDesktopTextureRegistrarUnregisterExternalTexture | ( | FlutterDesktopTextureRegistrarRef | texture_registrar, |
int64_t | texture_id, | ||
void(*)(void *user_data) | callback, | ||
void * | user_data | ||
) |
Referenced by flutter::TextureRegistrarImpl::UnregisterTexture().
const typedef FlutterDesktopGpuSurfaceDescriptor*( * FlutterDesktopGpuSurfaceTextureCallback) (size_t width, size_t height, void *user_data) |
Definition at line 125 of file flutter_texture_registrar.h.
const typedef FlutterDesktopPixelBuffer*( * FlutterDesktopPixelBufferTextureCallback) (size_t width, size_t height, void *user_data) |
Definition at line 116 of file flutter_texture_registrar.h.