#include "flutter/lib/gpu/surface.h"#include <cstdint>#include "flutter/lib/gpu/formats.h"#include "flutter/lib/ui/painting/image.h"#include "fml/logging.h"#include "impeller/core/allocator.h"#include "tonic/converter/dart_converter.h"Go to the source code of this file.
Namespaces | |
| namespace | flutter |
| namespace | flutter::gpu |
Functions | |
| flutter::gpu::IMPLEMENT_WRAPPERTYPEINFO (flutter_gpu, Surface) | |
| Dart_Handle | InternalFlutterGpu_Surface_Initialize (Dart_Handle wrapper, flutter::gpu::Context *gpu_context, int width, int height, int format) |
| int | InternalFlutterGpu_Surface_AcquireNextFrame (flutter::gpu::Surface *wrapper, Dart_Handle texture_wrapper) |
| Dart_Handle | InternalFlutterGpu_Surface_PresentFrame (flutter::gpu::Surface *wrapper, int texture_index, flutter::gpu::CommandBuffer *command_buffer) |
| void | InternalFlutterGpu_Surface_DiscardFrame (flutter::gpu::Surface *wrapper, int texture_index) |
| Dart_Handle | InternalFlutterGpu_Surface_GetCurrentImage (flutter::gpu::Surface *wrapper) |
| Dart_Handle | InternalFlutterGpu_Surface_Resize (flutter::gpu::Surface *wrapper, int width, int height) |
| int | InternalFlutterGpu_Surface_GetBackingTextureCount (flutter::gpu::Surface *wrapper) |
| int InternalFlutterGpu_Surface_AcquireNextFrame | ( | flutter::gpu::Surface * | wrapper, |
| Dart_Handle | texture_wrapper | ||
| ) |
Definition at line 276 of file surface.cc.
References flutter::gpu::Surface::AcquireNextFrame().
| void InternalFlutterGpu_Surface_DiscardFrame | ( | flutter::gpu::Surface * | wrapper, |
| int | texture_index | ||
| ) |
Definition at line 292 of file surface.cc.
References flutter::gpu::Surface::DiscardFrame().
| int InternalFlutterGpu_Surface_GetBackingTextureCount | ( | flutter::gpu::Surface * | wrapper | ) |
Definition at line 318 of file surface.cc.
References flutter::gpu::Surface::GetBackingTextureCount().
| Dart_Handle InternalFlutterGpu_Surface_GetCurrentImage | ( | flutter::gpu::Surface * | wrapper | ) |
Definition at line 300 of file surface.cc.
References flutter::gpu::Surface::GetCurrentImage().
| Dart_Handle InternalFlutterGpu_Surface_Initialize | ( | Dart_Handle | wrapper, |
| flutter::gpu::Context * | gpu_context, | ||
| int | width, | ||
| int | height, | ||
| int | format | ||
| ) |
Exports
Definition at line 250 of file surface.cc.
References format, height, impeller::kUnknown, tonic::ToDart(), flutter::gpu::ToImpellerPixelFormat(), and width.
| Dart_Handle InternalFlutterGpu_Surface_PresentFrame | ( | flutter::gpu::Surface * | wrapper, |
| int | texture_index, | ||
| flutter::gpu::CommandBuffer * | command_buffer | ||
| ) |
Definition at line 281 of file surface.cc.
References command_buffer, flutter::gpu::Surface::PresentFrame(), and tonic::ToDart().
| Dart_Handle InternalFlutterGpu_Surface_Resize | ( | flutter::gpu::Surface * | wrapper, |
| int | width, | ||
| int | height | ||
| ) |
Definition at line 305 of file surface.cc.
References error, height, flutter::gpu::Surface::Resize(), tonic::ToDart(), and width.