Flutter Engine
The Flutter Engine
|
#include <GrGLSLColorSpaceXformHelper.h>
Public Member Functions | |
GrGLSLColorSpaceXformHelper () | |
void | emitCode (GrGLSLUniformHandler *uniformHandler, const GrColorSpaceXform *colorSpaceXform, uint32_t visibility=kFragment_GrShaderFlag) |
void | setData (const GrGLSLProgramDataManager &pdman, const GrColorSpaceXform *colorSpaceXform) |
bool | isNoop () const |
bool | applyUnpremul () const |
bool | applySrcTF () const |
bool | applyGamutXform () const |
bool | applyDstTF () const |
bool | applyPremul () const |
skcms_TFType | srcTFType () const |
skcms_TFType | dstTFType () const |
GrGLSLProgramDataManager::UniformHandle | srcTFUniform () const |
GrGLSLProgramDataManager::UniformHandle | gamutXformUniform () const |
GrGLSLProgramDataManager::UniformHandle | dstTFUniform () const |
Public Member Functions inherited from SkNoncopyable | |
SkNoncopyable ()=default | |
SkNoncopyable (SkNoncopyable &&)=default | |
SkNoncopyable & | operator= (SkNoncopyable &&)=default |
Helper class to assist with using GrColorSpaceXform within an FP. This manages all of the uniforms needed, and can be passed to shader builder functions to automatically generate the correct color space transformation code.
Definition at line 22 of file GrGLSLColorSpaceXformHelper.h.
|
inline |
Definition at line 24 of file GrGLSLColorSpaceXformHelper.h.
|
inline |
Definition at line 65 of file GrGLSLColorSpaceXformHelper.h.
|
inline |
Definition at line 64 of file GrGLSLColorSpaceXformHelper.h.
|
inline |
Definition at line 66 of file GrGLSLColorSpaceXformHelper.h.
|
inline |
Definition at line 63 of file GrGLSLColorSpaceXformHelper.h.
|
inline |
Definition at line 62 of file GrGLSLColorSpaceXformHelper.h.
|
inline |
Definition at line 69 of file GrGLSLColorSpaceXformHelper.h.
|
inline |
Definition at line 73 of file GrGLSLColorSpaceXformHelper.h.
|
inline |
Definition at line 26 of file GrGLSLColorSpaceXformHelper.h.
|
inline |
Definition at line 72 of file GrGLSLColorSpaceXformHelper.h.
|
inline |
Definition at line 60 of file GrGLSLColorSpaceXformHelper.h.
|
inline |
Definition at line 48 of file GrGLSLColorSpaceXformHelper.h.
|
inline |
Definition at line 68 of file GrGLSLColorSpaceXformHelper.h.
|
inline |
Definition at line 71 of file GrGLSLColorSpaceXformHelper.h.