Home | History | Annotate | Download | only in image

Lines Matching refs:pixels

21                      void (*releaseProc)(void* pixels, void* context), void* context,
89 SkSurface_Raster::SkSurface_Raster(const SkImageInfo& info, void* pixels, size_t rb,
90 void (*releaseProc)(void* pixels, void* context), void* context,
94 fBitmap.installPixels(info, pixels, rb, nullptr, releaseProc, context);
123 // SkImage_raster requires these pixels are immutable for its full lifetime.
132 // Our pixels are in memory, so read access on the snapshot SkImage could be cheap.
164 // this as its backend, so we can't modify the image's pixels anymore.
172 SkSurface* SkSurface::NewRasterDirectReleaseProc(const SkImageInfo& info, void* pixels, size_t rb,
173 void (*releaseProc)(void* pixels, void* context),
181 if (nullptr == pixels) {
185 return new SkSurface_Raster(info, pixels, rb, releaseProc, context, props);
188 SkSurface* SkSurface::NewRasterDirect(const SkImageInfo& info, void* pixels, size_t rowBytes,
190 return NewRasterDirectReleaseProc(info, pixels, rowBytes, nullptr, nullptr, props);