Skia
2D Graphics Library
|
A set of GrBackendTextures that hold the planar data for an image described a SkYUVAInfo. More...
#include <GrYUVABackendTextures.h>
Public Member Functions | |
GrYUVABackendTextures ()=default | |
GrYUVABackendTextures (const GrYUVABackendTextures &)=delete | |
GrYUVABackendTextures (GrYUVABackendTextures &&)=default | |
GrYUVABackendTextures & | operator= (const GrYUVABackendTextures &)=delete |
GrYUVABackendTextures & | operator= (GrYUVABackendTextures &&)=default |
GrYUVABackendTextures (const SkYUVAInfo &, const GrBackendTexture[SkYUVAInfo::kMaxPlanes], GrSurfaceOrigin textureOrigin) | |
const std::array< GrBackendTexture, SkYUVAInfo::kMaxPlanes > & | textures () const |
GrBackendTexture | texture (int i) const |
const SkYUVAInfo & | yuvaInfo () const |
int | numPlanes () const |
GrSurfaceOrigin | textureOrigin () const |
bool | isValid () const |
SkYUVAInfo::YUVALocations | toYUVALocations () const |
Computes a YUVALocations representation of the planar layout. More... | |
A set of GrBackendTextures that hold the planar data for an image described a SkYUVAInfo.
|
default |
|
delete |
|
default |
GrYUVABackendTextures::GrYUVABackendTextures | ( | const SkYUVAInfo & | , |
const | GrBackendTexture[SkYUVAInfo::kMaxPlanes], | ||
GrSurfaceOrigin | textureOrigin | ||
) |
|
inline |
|
inline |
|
delete |
|
default |
|
inline |
|
inline |
|
inline |
SkYUVAInfo::YUVALocations GrYUVABackendTextures::toYUVALocations | ( | ) | const |
Computes a YUVALocations representation of the planar layout.
The result is guaranteed to be valid if this->isValid().
|
inline |