/external/skqp/include/gpu/ |
D | GrResourceKey.h | 28 return fKey[kHash_MetaDataIdx]; in hash() 45 fKey.reset(kMetaDataCnt); in reset() 46 fKey[kHash_MetaDataIdx] = 0; in reset() 47 fKey[kDomainAndSize_MetaDataIdx] = kInvalidDomain; in reset() 52 0 == memcmp(&fKey[kHash_MetaDataIdx + 1], 53 &that.fKey[kHash_MetaDataIdx + 1], 62 fKey.reset(SkToInt(bytes / sizeof(uint32_t))); 63 memcpy(fKey.get(), that.fKey.get(), bytes); 71 uint32_t domain() const { return fKey[kDomainAndSize_MetaDataIdx] & 0xffff; } in domain() 79 return &fKey[kMetaDataCnt]; in data() [all …]
|
/external/skia/include/gpu/ |
D | GrResourceKey.h | 28 return fKey[kHash_MetaDataIdx]; in hash() 45 fKey.reset(kMetaDataCnt); in reset() 46 fKey[kHash_MetaDataIdx] = 0; in reset() 47 fKey[kDomainAndSize_MetaDataIdx] = kInvalidDomain; in reset() 52 0 == memcmp(&fKey[kHash_MetaDataIdx + 1], 53 &that.fKey[kHash_MetaDataIdx + 1], 62 fKey.reset(SkToInt(bytes / sizeof(uint32_t))); 63 memcpy(fKey.get(), that.fKey.get(), bytes); 71 uint32_t domain() const { return fKey[kDomainAndSize_MetaDataIdx] & 0xffff; } in domain() 79 return &fKey[kMetaDataCnt]; in data() [all …]
|
/external/skqp/src/gpu/ops/ |
D | GrSmallPathRenderer.h | 64 fKey.reset(that.fKey.count()); 65 memcpy(fKey.get(), that.fKey.get(), fKey.count() * sizeof(uint32_t)); 76 fKey.reset(1 + shapeKeySize); in set() 77 fKey[0] = dim; in set() 78 shape.writeUnstyledKey(&fKey[1]); in set() 98 fKey.reset(5 + shapeKeySize); in set() 99 fKey[0] = SkFloat2Bits(sx); in set() 100 fKey[1] = SkFloat2Bits(sy); in set() 101 fKey[2] = SkFloat2Bits(kx); in set() 102 fKey[3] = SkFloat2Bits(ky); in set() [all …]
|
/external/skia/src/gpu/ops/ |
D | GrSmallPathRenderer.h | 68 fKey.reset(that.fKey.count()); 69 memcpy(fKey.get(), that.fKey.get(), fKey.count() * sizeof(uint32_t)); 80 fKey.reset(1 + shapeKeySize); in set() 81 fKey[0] = dim; in set() 82 shape.writeUnstyledKey(&fKey[1]); in set() 102 fKey.reset(5 + shapeKeySize); in set() 103 fKey[0] = SkFloat2Bits(sx); in set() 104 fKey[1] = SkFloat2Bits(sy); in set() 105 fKey[2] = SkFloat2Bits(kx); in set() 106 fKey[3] = SkFloat2Bits(ky); in set() [all …]
|
/external/skia/src/gpu/ |
D | GrProgramDesc.h | 49 return reinterpret_cast<const uint32_t*>(fKey.begin()); in asKey() 62 fKey.reset(SkToInt(keyLength)); 63 memcpy(fKey.begin(), other.fKey.begin(), keyLength); 119 int keyLength = fKey.count(); in finalize() 125 *checksum = SkOpts::hash(fKey.begin(), keyLength); in finalize() 130 return reinterpret_cast<T*>(reinterpret_cast<intptr_t>(fKey.begin()) + OFFSET); in atOffset() 134 return reinterpret_cast<const T*>(reinterpret_cast<intptr_t>(fKey.begin()) + OFFSET); in atOffset() 163 SkSTArray<kPreAllocSize, uint8_t, true>& key() { return fKey; } in key() 164 const SkSTArray<kPreAllocSize, uint8_t, true>& key() const { return fKey; } in key() 167 SkSTArray<kPreAllocSize, uint8_t, true> fKey;
|
D | GrTextureStripAtlas.h | 95 AtlasRow() : fKey(kEmptyAtlasRowKey), fLocks(0), fNext(nullptr), fPrev(nullptr) { } in AtlasRow() 97 uint32_t fKey; member 136 return lhs.fKey < rhs.fKey; in KeyLess()
|
/external/skqp/src/gpu/ |
D | GrProgramDesc.h | 49 return reinterpret_cast<const uint32_t*>(fKey.begin()); in asKey() 62 fKey.reset(SkToInt(keyLength)); 63 memcpy(fKey.begin(), other.fKey.begin(), keyLength); 122 int keyLength = fKey.count(); in finalize() 128 *checksum = SkOpts::hash(fKey.begin(), keyLength); in finalize() 133 return reinterpret_cast<T*>(reinterpret_cast<intptr_t>(fKey.begin()) + OFFSET); in atOffset() 137 return reinterpret_cast<const T*>(reinterpret_cast<intptr_t>(fKey.begin()) + OFFSET); in atOffset() 166 SkSTArray<kPreAllocSize, uint8_t, true>& key() { return fKey; } in key() 167 const SkSTArray<kPreAllocSize, uint8_t, true>& key() const { return fKey; } in key() 170 SkSTArray<kPreAllocSize, uint8_t, true> fKey;
|
D | GrTextureStripAtlas.h | 95 AtlasRow() : fKey(kEmptyAtlasRowKey), fLocks(0), fNext(nullptr), fPrev(nullptr) { } in AtlasRow() 97 uint32_t fKey; member 136 return lhs.fKey < rhs.fKey; in KeyLess()
|
/external/skqp/src/pdf/ |
D | SkKeyedImage.cpp | 24 fKey = SkBitmapKeyFromImage(fImage.get()); in SkKeyedImage() 29 fKey = {bm.getSubset(), bm.getGenerationID()}; in SkKeyedImage() 38 img.fKey = {subset.makeOffset(fKey.fSubset.x(), fKey.fSubset.y()), fKey.fID}; in subset() 47 fKey = {{0, 0, 0, 0}, 0}; in release()
|
/external/skia/src/pdf/ |
D | SkKeyedImage.cpp | 24 fKey = SkBitmapKeyFromImage(fImage.get()); in SkKeyedImage() 29 fKey = {bm.getSubset(), bm.getGenerationID()}; in SkKeyedImage() 38 img.fKey = {subset.makeOffset(fKey.fSubset.x(), fKey.fSubset.y()), fKey.fID}; in subset() 47 fKey = {{0, 0, 0, 0}, 0}; in release()
|
/external/skia/src/gpu/effects/ |
D | GrTextureStripAtlas.cpp | 151 uint32_t oldKey = row->fKey; in lockRow() 167 row->fKey = key; in lockRow() 256 fRows[i].fKey = kEmptyAtlasRowKey; in initLRU() 304 target.fKey = key; in searchByKey() 316 uint32_t prev = 1 > fKeyTable.count() ? 0 : fKeyTable[0]->fKey; in validate() 318 SkASSERT(prev < fKeyTable[i]->fKey); in validate() 319 SkASSERT(fKeyTable[i]->fKey != kEmptyAtlasRowKey); in validate() 320 prev = fKeyTable[i]->fKey; in validate() 354 SkASSERT(kEmptyAtlasRowKey != fRows[i].fKey); in validate() 358 SkASSERT(fRows[i].fKey == kEmptyAtlasRowKey || this->searchByKey(fRows[i].fKey) >= 0); in validate()
|
/external/skqp/src/gpu/effects/ |
D | GrTextureStripAtlas.cpp | 142 uint32_t oldKey = row->fKey; in lockRow() 158 row->fKey = key; in lockRow() 247 fRows[i].fKey = kEmptyAtlasRowKey; in initLRU() 295 target.fKey = key; in searchByKey() 307 uint32_t prev = 1 > fKeyTable.count() ? 0 : fKeyTable[0]->fKey; in validate() 309 SkASSERT(prev < fKeyTable[i]->fKey); in validate() 310 SkASSERT(fKeyTable[i]->fKey != kEmptyAtlasRowKey); in validate() 311 prev = fKeyTable[i]->fKey; in validate() 345 SkASSERT(kEmptyAtlasRowKey != fRows[i].fKey); in validate() 349 SkASSERT(fRows[i].fKey == kEmptyAtlasRowKey || this->searchByKey(fRows[i].fKey) >= 0); in validate()
|
/external/skia/include/private/ |
D | GrSwizzle.h | 20 uint8_t fKey; variable 38 , fKey((CToI(c[0]) << 0) | (CToI(c[1]) << 2) | (CToI(c[2]) << 4) | (CToI(c[3]) << 6)) {} 56 fKey = key; in setFromKey() 69 uint8_t asKey() const { return fKey; } in asKey() 77 uint32_t key = fKey; in applyTo() 96 uint32_t key = fKey; in applyTo()
|
/external/skqp/include/private/ |
D | GrSwizzle.h | 20 uint8_t fKey; variable 38 , fKey((CToI(c[0]) << 0) | (CToI(c[1]) << 2) | (CToI(c[2]) << 4) | (CToI(c[3]) << 6)) {} 56 fKey = key; in setFromKey() 69 uint8_t asKey() const { return fKey; } in asKey() 77 uint32_t key = fKey; in applyTo() 96 uint32_t key = fKey; in applyTo()
|
/external/skia/bench/ |
D | ImageCacheBench.cpp | 22 TestKey fKey; member 25 TestRec(const TestKey& key, intptr_t value) : fKey(key), fValue(value) {} in TestRec() 27 const Key& getKey() const override { return fKey; } in getKey() 28 size_t bytesUsed() const override { return sizeof(fKey) + sizeof(fValue); } in bytesUsed()
|
/external/skqp/bench/ |
D | ImageCacheBench.cpp | 22 TestKey fKey; member 25 TestRec(const TestKey& key, intptr_t value) : fKey(key), fValue(value) {} in TestRec() 27 const Key& getKey() const override { return fKey; } in getKey() 28 size_t bytesUsed() const override { return sizeof(fKey) + sizeof(fValue); } in bytesUsed()
|
/external/skqp/src/core/ |
D | SkLRUCache.h | 23 : fKey(key) in Entry() 26 K fKey; member 63 this->remove(fLRU.tail()->fKey); in insert() 92 return e->fKey; in GetKey() 104 SkASSERT(key == entry->fKey); in remove()
|
D | SkImageFilterCache.cpp | 42 : fKey(key), fImage(SkRef(image)), fOffset(offset), fFilter(filter) {} in Value() 44 Key fKey; member 49 return v.fKey; in GetKey() 117 v->fFilter->removeKey(v->fKey); in removeInternal() 121 fLookup.remove(v->fKey); in removeInternal()
|
D | SkMaskCache.cpp | 41 : fKey(key) in RRectBlurRec() 51 RRectBlurKey fKey; member 54 const Key& getKey() const override { return fKey; } in getKey() 135 : fKey(key) in RectsBlurRec() 145 RectsBlurKey fKey; member 148 const Key& getKey() const override { return fKey; } in getKey()
|
/external/skia/src/core/ |
D | SkLRUCache.h | 23 : fKey(key) in Entry() 26 K fKey; member 63 this->remove(fLRU.tail()->fKey); in insert() 92 return e->fKey; in GetKey() 104 SkASSERT(key == entry->fKey); in remove()
|
D | SkImageFilterCache.cpp | 42 : fKey(key), fImage(SkRef(image)), fOffset(offset), fFilter(filter) {} in Value() 44 Key fKey; member 49 return v.fKey; in GetKey() 117 v->fFilter->removeKey(v->fKey); in removeInternal() 121 fLookup.remove(v->fKey); in removeInternal()
|
D | SkMaskCache.cpp | 41 : fKey(key) in RRectBlurRec() 51 RRectBlurKey fKey; member 54 const Key& getKey() const override { return fKey; } in getKey() 135 : fKey(key) in RectsBlurRec() 145 RectsBlurKey fKey; member 148 const Key& getKey() const override { return fKey; } in getKey()
|
/external/skia/src/ports/ |
D | SkRemotableFontMgr_win_dw.cpp | 29 void* fKey; member 34 DataId(DataId&& that) : fLoader(that.fLoader), fKey(that.fKey), fKeySize(that.fKeySize) { in DataId() 36 that.fKey = nullptr; in DataId() 44 sk_free(fKey); in ~DataId() 66 0 == memcmp(refKey, current.fKey, refKeySize)) in FindOrAdd() 73 added.fKey = sk_malloc_throw(refKeySize); in FindOrAdd() 74 memcpy(added.fKey, refKey, refKeySize); in FindOrAdd() 428 HRNM(loader->CreateStreamFromKey(id.fKey, id.fKeySize, &fontFileStream), in getData()
|
/external/skqp/src/ports/ |
D | SkRemotableFontMgr_win_dw.cpp | 29 void* fKey; member 34 DataId(DataId&& that) : fLoader(that.fLoader), fKey(that.fKey), fKeySize(that.fKeySize) { in DataId() 36 that.fKey = nullptr; in DataId() 44 sk_free(fKey); in ~DataId() 66 0 == memcmp(refKey, current.fKey, refKeySize)) in FindOrAdd() 73 added.fKey = sk_malloc_throw(refKeySize); in FindOrAdd() 74 memcpy(added.fKey, refKey, refKeySize); in FindOrAdd() 428 HRNM(loader->CreateStreamFromKey(id.fKey, id.fKeySize, &fontFileStream), in getData()
|
/external/skqp/src/gpu/text/ |
D | GrStencilAndCoverTextContext.h | 123 : fKey(&blobId, 1) { this->init(skBlob, skPaint); } in TextBlob() 126 : fKey(key) { in TextBlob() 128 SkASSERT(fKey.count() > 1); in TextBlob() 132 const Key& key() const { return fKey; } in key() 139 const SkSTArray<1, uint32_t, true> fKey; variable
|