Lines Matching defs:SkSurface

21  *  SkSurface represents the backend/results of drawing to a canvas. For raster
28 * SkSurface always has non-zero dimensions. If there is a request for a new surface, and either
31 class SK_API SkSurface : public SkRefCnt {
44 static SkSurface* NewRasterDirect(const SkImageInfo&, void* pixels, size_t rowBytes,
51 static SkSurface* NewRasterDirectReleaseProc(const SkImageInfo&, void* pixels, size_t rowBytes,
64 static SkSurface* NewRaster(const SkImageInfo&, size_t rowBytes, const SkSurfaceProps*);
69 static SkSurface* NewRaster(const SkImageInfo&, const SkSurfaceProps* = NULL);
76 static SkSurface* NewRasterN32Premul(int width, int height, const SkSurfaceProps* props = NULL) {
83 static SkSurface* NewRenderTargetDirect(GrRenderTarget*, const SkSurfaceProps*);
85 static SkSurface* NewRenderTargetDirect(GrRenderTarget* target) {
90 * Used to wrap a pre-existing backend 3D API texture as a SkSurface. The kRenderTarget flag
93 * SkSurface.
95 static SkSurface* NewFromBackendTexture(GrContext*, const GrBackendTextureDesc&,
98 static SkSurface* NewWrappedRenderTarget(GrContext* ctx, const GrBackendTextureDesc& desc,
104 * Used to wrap a pre-existing 3D API rendering target as a SkSurface. Skia will not assume
106 * lifetime of the SkSurface.
108 static SkSurface* NewFromBackendRenderTarget(GrContext*, const GrBackendRenderTargetDesc&,
112 * Used to wrap a pre-existing 3D API texture as a SkSurface. Skia will treat the texture as
117 * SkSurface.
119 static SkSurface* NewFromBackendTextureAsRenderTarget(
129 static SkSurface* NewRenderTarget(
133 static SkSurface* NewRenderTarget(GrContext* gr, SkBudgeted b, const SkImageInfo& info) {
222 * SkSurface* A = SkSurface::New...();
225 * SkSurface* surfaceB = surfaceA->newSurface(...);
230 SkSurface* newSurface(const SkImageInfo&);
242 * In rare instances a client may want a unique copy of the SkSurface's contents in an image
303 SkSurface(int width, int height, const SkSurfaceProps*);
304 SkSurface(const SkImageInfo&, const SkSurfaceProps*);