Lines Matching refs:ctable
111 1. no pixelref, in which case we just copy/ref the pixels/ctable
112 2. unlocked pixelref, pixels/ctable should be null
117 SkSafeRef(fColorTable); // ref the user's ctable if present
118 } else { // we have a pixelref, so pixels/ctable reflect it
450 void SkBitmap::setPixels(void* p, SkColorTable* ctable) {
462 SkPixelRef* pr = SkMallocPixelRef::NewDirect(info, p, fRowBytes, ctable);
475 bool SkBitmap::allocPixels(Allocator* allocator, SkColorTable* ctable) {
481 return allocator->allocPixelRef(this, ctable);
533 SkColorTable* ctable) {
541 ctable);
1081 SkColorTable* ctable = (dstConfig == kIndex8_Config) ?
1083 SkAutoUnref au(ctable);
1084 if (!tmpDst.allocPixels(alloc, ctable)) {