Flutter Engine
The Flutter Engine
|
#include <YUVUtils.h>
Public Types | |
enum class | Type { kFromPixmaps , kFromGenerator , kFromTextures , kFromImages } |
Public Member Functions | |
SkISize | dimensions () const |
sk_sp< SkImage > | refImage (GrRecordingContext *rContext, Type) |
Static Public Member Functions | |
static std::unique_ptr< LazyYUVImage > | Make (sk_sp< SkData > data, skgpu::Mipmapped=skgpu::Mipmapped::kNo, sk_sp< SkColorSpace >=nullptr) |
static std::unique_ptr< LazyYUVImage > | Make (SkYUVAPixmaps, skgpu::Mipmapped=skgpu::Mipmapped::kNo, sk_sp< SkColorSpace >=nullptr) |
Definition at line 40 of file YUVUtils.h.
|
strong |
Enumerator | |
---|---|
kFromPixmaps | |
kFromGenerator | |
kFromTextures | |
kFromImages |
Definition at line 50 of file YUVUtils.h.
|
inline |
Definition at line 52 of file YUVUtils.h.
|
static |
Definition at line 200 of file YUVUtils.cpp.
|
static |
Definition at line 211 of file YUVUtils.cpp.
sk_sp< SkImage > sk_gpu_test::LazyYUVImage::refImage | ( | GrRecordingContext * | rContext, |
Type | type | ||
) |
Definition at line 222 of file YUVUtils.cpp.