Home
last modified time | relevance | path

Searched refs:fCTable (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/core/
DSkMallocPixelRef.cpp20 fCTable = ctable; in SkMallocPixelRef()
24 this->setPreLocked(fStorage, fCTable); in SkMallocPixelRef()
28 SkSafeUnref(fCTable); in ~SkMallocPixelRef()
35 *ct = fCTable; in onLockPixels()
47 buffer.writeBool(fCTable != NULL); in flatten()
48 if (fCTable) { in flatten()
49 buffer.writeFlattenable(fCTable); in flatten()
59 fCTable = buffer.readFlattenableT<SkColorTable>(); in SkMallocPixelRef()
61 fCTable = NULL; in SkMallocPixelRef()
65 this->setPreLocked(fStorage, fCTable); in SkMallocPixelRef()
/external/skia/legacy/src/core/
DSkMallocPixelRef.cpp19 fCTable = ctable; in SkMallocPixelRef()
22 this->setPreLocked(fStorage, fCTable); in SkMallocPixelRef()
26 SkSafeUnref(fCTable); in ~SkMallocPixelRef()
31 *ct = fCTable; in onLockPixels()
44 if (fCTable) { in flatten()
46 fCTable->flatten(buffer); in flatten()
58 fCTable = SkNEW_ARGS(SkColorTable, (buffer)); in SkMallocPixelRef()
60 fCTable = NULL; in SkMallocPixelRef()
63 this->setPreLocked(fStorage, fCTable); in SkMallocPixelRef()
/external/skia/include/core/
DSkBitmap.h716 SkAutoLockColors() : fCTable(NULL), fColors(NULL) {} in SkAutoLockColors()
720 fCTable = bm.getColorTable(); in SkAutoLockColors()
721 fColors = fCTable ? fCTable->lockColors() : NULL; in SkAutoLockColors()
726 fCTable = ctable; in SkAutoLockColors()
730 if (fCTable) { in ~SkAutoLockColors()
731 fCTable->unlockColors(false); in ~SkAutoLockColors()
744 if (fCTable) { in lockColors()
745 fCTable->unlockColors(false); in lockColors()
747 fCTable = ctable; in lockColors()
757 SkColorTable* fCTable;
DSkMallocPixelRef.h45 SkColorTable* fCTable; variable
/external/skia/legacy/include/core/
DSkBitmap.h766 SkAutoLockColors() : fCTable(NULL), fColors(NULL) {} in SkAutoLockColors()
770 fCTable = bm.getColorTable(); in SkAutoLockColors()
771 fColors = fCTable ? fCTable->lockColors() : NULL; in SkAutoLockColors()
776 fCTable = ctable; in SkAutoLockColors()
780 if (fCTable) { in ~SkAutoLockColors()
781 fCTable->unlockColors(false); in ~SkAutoLockColors()
794 if (fCTable) { in lockColors()
795 fCTable->unlockColors(false); in lockColors()
797 fCTable = ctable; in lockColors()
807 SkColorTable* fCTable;
DSkMallocPixelRef.h53 SkColorTable* fCTable; variable
/external/skia/legacy/src/images/
DSkCreateRLEPixelRef.cpp25 SkColorTable* fCTable; member in RLEPixelRef
31 fCTable = ctable; in RLEPixelRef()
37 SkSafeUnref(fCTable); in ~RLEPixelRef()
41 *ct = fCTable; in onLockPixels()
DSkScaledBitmapSampler.h66 const SkPMColor* fCTable; variable
DSkScaledBitmapSampler.cpp332 fCTable = NULL; in SkScaledBitmapSampler()
364 fCTable = ctable; in begin()
427 fDX * fSrcPixelSize, fCurrY, fCTable); in next()
/external/skia/src/images/
DSkScaledBitmapSampler.h66 const SkPMColor* fCTable; variable
DSkScaledBitmapSampler.cpp298 fCTable = NULL; in SkScaledBitmapSampler()
365 fCTable = ctable; in begin()
428 fDX * fSrcPixelSize, fCurrY, fCTable); in next()