Skia
2DGraphicsLibrary
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GrXferProcessor::DstTexture Class Reference

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)
 
DstTextureoperator= (const DstTexture &other)
 
const SkIPointoffset () const
 
void setOffset (const SkIPoint &offset)
 
void setOffset (int ox, int oy)
 
GrTexturetexture () const
 
GrTexturesetTexture (GrTexture *texture)
 

Private Attributes

SkAutoTUnref< GrTexturefTexture
 
SkIPoint fOffset
 

Detailed Description

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.


The documentation for this class was generated from the following file: