Lines Matching defs:pixels
90 fPixelRef = nullptr; // Free pixels.
135 fPixelRef = nullptr; // Free pixels.
157 const char* pix = (const char*)(fPixelRef ? fPixelRef->pixels() : nullptr);
184 // TODO(reed): Enforce that PixelRefs must have non-null pixels.
185 p = fPixelRef->pixels();
298 static void invoke_release_proc(void (*proc)(void* pixels, void* ctx), void* pixels, void* ctx) {
300 proc(pixels, ctx);
304 bool SkBitmap::installPixels(const SkImageInfo& requestedInfo, void* pixels, size_t rb,
307 invoke_release_proc(releaseProc, pixels, context);
311 if (nullptr == pixels) {
312 invoke_release_proc(releaseProc, pixels, context);
320 rb, pixels, releaseProc, context), 0, 0);
355 /** We explicitly use the same allocator for our pixels that SkMask does,
430 return false; // no src pixels
544 // Allocation of pixels for alpha bitmap failed.
568 // Allocation of pixels for alpha bitmap failed.
591 if (fPixelRef && fPixelRef->pixels()) {