Lines Matching defs:ctable
18 SkPMColor ctable[], int* ctableCount) {
30 if (nullptr == ctable || nullptr == ctableCount) {
38 ctable = nullptr;
41 const bool success = this->onGetPixels(info, pixels, rowBytes, ctable, ctableCount);
130 sk_sp<SkColorTable> ctable(new SkColorTable(ctStorage, 256));
131 if (!bitmap->tryAllocPixels(allocator, ctable.get())) {
137 if (!bitmap->tryAllocPixels(nullptr, ctable.get())) {
148 // we pass nullptr for the ctable arg, since we are now explicitly N32
169 SkASSERT(!ctable->unique());
171 // Now we need to overwrite the ctable we built earlier, with the correct colors.
173 // until we can change SkImageGenerator's API to return us the ctable *before* we have to
175 ctable->dangerous_overwriteColors(ctStorage, ctCount);
179 SkASSERT(ctable->unique());