Skia
2DGraphicsLibrary
|
A texture that contains the dst pixel values and an integer coord offset from device space to the space of the texture. More...
#include <GrXferProcessor.h>
Public Member Functions | |
DstTexture (const DstTexture &other) | |
DstTexture (GrTexture *texture, const SkIPoint &offset) | |
DstTexture & | operator= (const DstTexture &other) |
const SkIPoint & | offset () const |
void | setOffset (const SkIPoint &offset) |
void | setOffset (int ox, int oy) |
GrTexture * | texture () const |
GrTexture * | setTexture (GrTexture *texture) |
Private Attributes | |
SkAutoTUnref< GrTexture > | fTexture |
SkIPoint | fOffset |
A texture that contains the dst pixel values and an integer coord offset from device space to the space of the texture.
Depending on GPU capabilities a DstTexture may be used by a GrXferProcessor for blending in the fragment shader.