#include <surface.h>
Definition at line 12 of file surface.h.
◆ Surface() [1/2]
| impeller::Surface::Surface |
( |
| ) |
|
◆ Surface() [2/2]
| impeller::Surface::Surface |
( |
const RenderTarget & |
target_desc | ) |
|
|
explicit |
Definition at line 13 of file surface.cc.
13 : desc_(target_desc) {
16 } else {
17 return;
18 }
19
20 is_valid_ = true;
21}
std::optional< ISize > GetColorAttachmentSize(size_t index) const
it will be possible to load the file into Perfetto s trace viewer use test Running tests that layout and measure text will not yield consistent results across various platforms Enabling this option will make font resolution default to the Ahem test font on all disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
References impeller::RenderTarget::GetColorAttachmentSize().
◆ ~Surface()
| impeller::Surface::~Surface |
( |
| ) |
|
|
virtualdefault |
◆ GetRenderTarget()
| const RenderTarget & impeller::Surface::GetRenderTarget |
( |
| ) |
const |
Definition at line 33 of file surface.cc.
33 {
34 return desc_;
35}
◆ GetSize()
| const ISize & impeller::Surface::GetSize |
( |
| ) |
const |
Definition at line 25 of file surface.cc.
25 {
26 return size_;
27}
◆ IsValid()
| bool impeller::Surface::IsValid |
( |
| ) |
const |
Definition at line 29 of file surface.cc.
29 {
30 return is_valid_;
31}
◆ Present()
| bool impeller::Surface::Present |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files: