Lines Matching refs:pixels
89 fPixelRef = nullptr; // Free pixels.
134 fPixelRef = nullptr; // Free pixels.
156 const char* pix = (const char*)(fPixelRef ? fPixelRef->pixels() : nullptr);
183 // TODO(reed): Enforce that PixelRefs must have non-null pixels.
184 p = fPixelRef->pixels();
269 static void invoke_release_proc(void (*proc)(void* pixels, void* ctx), void* pixels, void* ctx) {
271 proc(pixels, ctx);
275 bool SkBitmap::installPixels(const SkImageInfo& requestedInfo, void* pixels, size_t rb,
278 invoke_release_proc(releaseProc, pixels, context);
282 if (nullptr == pixels) {
283 invoke_release_proc(releaseProc, pixels, context);
290 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeWithProc(correctedInfo, rb, pixels,
332 /** We explicitly use the same allocator for our pixels that SkMask does,
443 return false; // no src pixels
556 // Allocation of pixels for alpha bitmap failed.
580 // Allocation of pixels for alpha bitmap failed.
614 if (fPixelRef && fPixelRef->pixels()) {