Searched refs:ctStorage (Results 1 – 2 of 2) sorted by relevance
128 SkPMColor ctStorage[256]; in tryGenerateBitmap() local129 memset(ctStorage, 0xFF, sizeof(ctStorage)); // init with opaque-white for the moment in tryGenerateBitmap()130 sk_sp<SkColorTable> ctable(new SkColorTable(ctStorage, 256)); in tryGenerateBitmap()162 ctStorage, &ctCount)) { in tryGenerateBitmap()175 ctable->dangerous_overwriteColors(ctStorage, ctCount); in tryGenerateBitmap()
36 SkPMColor ctStorage[256]; in GetResourceAsBitmap() local37 sk_sp<SkColorTable> ctable(new SkColorTable(ctStorage, 256)); in GetResourceAsBitmap()