#include "flutter/lib/gpu/texture.h"#include "flutter/lib/gpu/formats.h"#include "flutter/lib/ui/painting/image.h"#include "fml/make_copyable.h"#include "fml/mapping.h"#include "impeller/core/allocator.h"#include "impeller/core/formats.h"#include "impeller/core/texture.h"#include "third_party/tonic/typed_data/dart_byte_data.h"Go to the source code of this file.
Namespaces | |
| namespace | flutter |
| namespace | flutter::gpu |
Functions | |
| flutter::gpu::IMPLEMENT_WRAPPERTYPEINFO (flutter_gpu, Texture) | |
| bool | InternalFlutterGpu_Texture_Initialize (Dart_Handle wrapper, flutter::gpu::Context *gpu_context, int storage_mode, int format, int width, int height, int sample_count, int coordinate_system, int texture_type, bool enable_render_target_usage, bool enable_shader_read_usage, bool enable_shader_write_usage) |
| void | InternalFlutterGpu_Texture_SetCoordinateSystem (flutter::gpu::Texture *wrapper, int coordinate_system) |
| bool | InternalFlutterGpu_Texture_Overwrite (flutter::gpu::Texture *texture, flutter::gpu::Context *gpu_context, Dart_Handle source_byte_data) |
| int | InternalFlutterGpu_Texture_BytesPerTexel (flutter::gpu::Texture *wrapper) |
| Dart_Handle | InternalFlutterGpu_Texture_AsImage (flutter::gpu::Texture *wrapper) |
| Dart_Handle InternalFlutterGpu_Texture_AsImage | ( | flutter::gpu::Texture * | wrapper | ) |
|
extern |
Definition at line 168 of file texture.cc.
References flutter::gpu::Texture::GetBytesPerTexel().
| bool InternalFlutterGpu_Texture_Initialize | ( | Dart_Handle | wrapper, |
| flutter::gpu::Context * | gpu_context, | ||
| int | storage_mode, | ||
| int | format, | ||
| int | width, | ||
| int | height, | ||
| int | sample_count, | ||
| int | coordinate_system, | ||
| int | texture_type, | ||
| bool | enable_render_target_usage, | ||
| bool | enable_shader_read_usage, | ||
| bool | enable_shader_write_usage | ||
| ) |
Exports
Definition at line 95 of file texture.cc.
References FML_LOG, impeller::TextureDescriptor::format, format, flutter::gpu::Context::GetContext(), impeller::Context::GetResourceAllocator(), height, impeller::IsMultisampleCapable(), impeller::kCount1, impeller::kCount4, impeller::kRenderTarget, impeller::kShaderRead, impeller::kShaderWrite, impeller::TextureDescriptor::sample_count, impeller::TextureDescriptor::size, impeller::TextureDescriptor::storage_mode, texture, flutter::gpu::ToImpellerPixelFormat(), flutter::gpu::ToImpellerStorageMode(), flutter::gpu::ToImpellerTextureCoordinateSystem(), impeller::TextureDescriptor::type, impeller::TextureDescriptor::usage, and width.
| bool InternalFlutterGpu_Texture_Overwrite | ( | flutter::gpu::Texture * | texture, |
| flutter::gpu::Context * | gpu_context, | ||
| Dart_Handle | source_byte_data | ||
| ) |
Definition at line 161 of file texture.cc.
References texture.
| void InternalFlutterGpu_Texture_SetCoordinateSystem | ( | flutter::gpu::Texture * | wrapper, |
| int | coordinate_system | ||
| ) |
Definition at line 154 of file texture.cc.
References flutter::gpu::Texture::SetCoordinateSystem(), and flutter::gpu::ToImpellerTextureCoordinateSystem().