#include <surface.h>
Definition at line 12 of file surface.h.
◆ Surface() [1/2]
Definition at line 11 of file surface.cc.
SK_API sk_sp< SkSurface > RenderTarget(GrRecordingContext *context, skgpu::Budgeted budgeted, const SkImageInfo &imageInfo, int sampleCount, GrSurfaceOrigin surfaceOrigin, const SkSurfaceProps *surfaceProps, bool shouldCreateWithMips=false, bool isProtected=false)
◆ Surface() [2/2]
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 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
◆ ~Surface()
◆ GetSize()
const ISize & Surface::GetSize |
( |
| ) |
const |
Definition at line 25 of file surface.cc.
25 {
26 return size_;
27}
◆ GetTargetRenderPassDescriptor()
const RenderTarget & Surface::GetTargetRenderPassDescriptor |
( |
| ) |
const |
Definition at line 33 of file surface.cc.
33 {
34 return desc_;
35}
◆ IsValid()
bool Surface::IsValid |
( |
| ) |
const |
Definition at line 29 of file surface.cc.
29 {
30 return is_valid_;
31}
◆ Present()
bool Surface::Present |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files: