#include <surface_gles.h>
Public Types | |
| using | SwapCallback = std::function< bool(void)> |
Public Member Functions | |
| ~SurfaceGLES () override | |
Public Member Functions inherited from impeller::Surface | |
| Surface () | |
| Surface (const RenderTarget &target_desc) | |
| virtual | ~Surface () |
| const ISize & | GetSize () const |
| bool | IsValid () const |
| const RenderTarget & | GetTargetRenderPassDescriptor () const |
Static Public Member Functions | |
| static std::unique_ptr< Surface > | WrapFBO (const std::shared_ptr< Context > &context, SwapCallback swap_callback, GLuint fbo, PixelFormat color_format, ISize fbo_size) |
Definition at line 17 of file surface_gles.h.
| using impeller::SurfaceGLES::SwapCallback = std::function<bool(void)> |
Definition at line 19 of file surface_gles.h.
|
overridedefault |
|
static |
Definition at line 14 of file surface_gles.cc.
References impeller::BackendCast< ContextGLES, Context >::Cast(), impeller::ColorAttachment::clear_color, impeller::StencilAttachment::clear_stencil, impeller::Color::DarkSlateGray(), impeller::TextureDescriptor::format, impeller::kClear, impeller::kCount1, impeller::kDevicePrivate, impeller::kDontCare, impeller::kRenderTarget, impeller::kStore, impeller::kTexture2D, impeller::TextureGLES::kWrapped, impeller::Attachment::load_action, impeller::TextureDescriptor::sample_count, impeller::RenderTarget::SetColorAttachment(), impeller::RenderTarget::SetStencilAttachment(), impeller::TextureDescriptor::size, impeller::TextureDescriptor::storage_mode, impeller::Attachment::store_action, impeller::Attachment::texture, impeller::TextureDescriptor::type, and impeller::TextureDescriptor::usage.