Home
last modified time | relevance | path

Searched refs:kMetaDataCnt (Results 1 – 2 of 2) sorted by relevance

/external/skia/include/gpu/
DGrResourceKey.h44 fKey.reset(kMetaDataCnt); in reset()
73 size_t dataSize() const { return this->size() - 4 * kMetaDataCnt; } in dataSize()
78 return &fKey[kMetaDataCnt]; in data()
87 key->fKey.reset(kMetaDataCnt + data32Count); in Builder()
88 int size = (data32Count + kMetaDataCnt) * sizeof(uint32_t); in Builder()
109 SkDEBUGCODE(size_t dataCount = fKey->internalSize() / sizeof(uint32_t) - kMetaDataCnt;)
111 return fKey->fKey[kMetaDataCnt + dataIdx];
126 static const uint32_t kMetaDataCnt = kLastMetaDataIdx + 1; variable
142 SkAutoSTMalloc<kMetaDataCnt + 5, uint32_t> fKey;
/external/skia/tests/
DResourceCacheTest.cpp306 return sizeof(uint32_t) * (kScratchKeyFieldCnt + GrScratchKey::kMetaDataCnt); in ExpectedScratchKeySize()