#include <embedder.h>
Public Attributes | |
| size_t | struct_size |
| The size of this struct. Must be sizeof(FlutterMetalExternalTexture). | |
| size_t | width |
| Height of the texture. | |
| size_t | height |
| Height of the texture. | |
| FlutterMetalExternalTexturePixelFormat | pixel_format |
| The pixel format type of the external. | |
| size_t | num_textures |
Represents the size of the textures array. | |
| FlutterMetalTextureHandle * | textures |
| FlutterMetalExternalTextureYUVColorSpace | yuv_color_space |
| The YUV color space of the YUV external texture. | |
Definition at line 827 of file embedder.h.
| size_t FlutterMetalExternalTexture::height |
Height of the texture.
Definition at line 833 of file embedder.h.
Referenced by flutter::testing::TEST_F().
| size_t FlutterMetalExternalTexture::num_textures |
Represents the size of the textures array.
Definition at line 837 of file embedder.h.
Referenced by flutter::testing::TEST_F().
| FlutterMetalExternalTexturePixelFormat FlutterMetalExternalTexture::pixel_format |
The pixel format type of the external.
Definition at line 835 of file embedder.h.
Referenced by flutter::testing::TEST_F().
| size_t FlutterMetalExternalTexture::struct_size |
The size of this struct. Must be sizeof(FlutterMetalExternalTexture).
Definition at line 829 of file embedder.h.
| FlutterMetalTextureHandle* FlutterMetalExternalTexture::textures |
Supported textures are YUVA and RGBA, in case of YUVA we expect 2 texture handles to be provided by the embedder, Y first and UV next. In case of RGBA only one should be passed. These are individually aliases for id<MTLTexture>. These textures are retained by the engine for the period of the composition. Once these textures have been unregistered via the FlutterEngineUnregisterExternalTexture, the embedder has to release these textures.
Definition at line 846 of file embedder.h.
Referenced by flutter::testing::TEST_F().
| size_t FlutterMetalExternalTexture::width |
Height of the texture.
Definition at line 831 of file embedder.h.
Referenced by flutter::testing::TEST_F().
| FlutterMetalExternalTextureYUVColorSpace FlutterMetalExternalTexture::yuv_color_space |
The YUV color space of the YUV external texture.
Definition at line 848 of file embedder.h.