#include <YUVUtils.h>
Definition at line 40 of file YUVUtils.h.
◆ Type
Enumerator |
---|
kFromPixmaps | |
kFromGenerator | |
kFromTextures | |
kFromImages | |
Definition at line 50 of file YUVUtils.h.
50{ kFromPixmaps, kFromGenerator, kFromTextures, kFromImages };
◆ dimensions()
SkISize sk_gpu_test::LazyYUVImage::dimensions |
( |
| ) |
const |
|
inline |
Definition at line 52 of file YUVUtils.h.
SkISize dimensions() const
const SkYUVAInfo & yuvaInfo() const
◆ Make() [1/2]
Definition at line 200 of file YUVUtils.cpp.
202 {
203 std::unique_ptr<LazyYUVImage>
image(
new LazyYUVImage());
204 if (
image->reset(std::move(
data), mipmapped, std::move(cs))) {
206 } else {
207 return nullptr;
208 }
209}
sk_sp< const SkImage > image
std::shared_ptr< const fml::Mapping > data
◆ Make() [2/2]
Definition at line 211 of file YUVUtils.cpp.
213 {
214 std::unique_ptr<LazyYUVImage>
image(
new LazyYUVImage());
215 if (
image->reset(std::move(pixmaps), mipmapped, std::move(cs))) {
217 } else {
218 return nullptr;
219 }
220}
◆ refImage()
Definition at line 222 of file YUVUtils.cpp.
222 {
223 if (this->ensureYUVImage(rContext,
type)) {
224 size_t idx =
static_cast<size_t>(
type);
226 return fYUVImage[idx];
227 } else {
228 return nullptr;
229 }
230}
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
The documentation for this class was generated from the following files: