Lines Matching defs:pixels
21 void (*releaseProc)(void* pixels, void* context), void* context,
81 SkSurface_Raster::SkSurface_Raster(const SkImageInfo& info, void* pixels, size_t rb,
82 void (*releaseProc)(void* pixels, void* context), void* context,
86 fBitmap.installPixels(info, pixels, rb, NULL, releaseProc, context);
135 // this as its backend, so we can't modify the image's pixels anymore.
143 SkSurface* SkSurface::NewRasterDirectReleaseProc(const SkImageInfo& info, void* pixels, size_t rb,
144 void (*releaseProc)(void* pixels, void* context),
152 if (NULL == pixels) {
156 return SkNEW_ARGS(SkSurface_Raster, (info, pixels, rb, releaseProc, context, props));
159 SkSurface* SkSurface::NewRasterDirect(const SkImageInfo& info, void* pixels, size_t rowBytes,
161 return NewRasterDirectReleaseProc(info, pixels, rowBytes, NULL, NULL, props);