Searched refs:fKey (Results 1 - 25 of 75) sorted by relevance

123

/external/skia/tests/
H A DHashCacheTest.cpp15 int fKey; member in struct:HashElement
37 HashKey(int key) : fKey(key) {}
39 uint32_t getHash() const { return fKey; }
42 return entry.fKey < key.fKey;
45 return entry.fKey == key.fKey;
50 return a.fKey < b.fKey;
53 return a.fKey
58 int fKey; member in class:HashKey
[all...]
/external/chromium_org/third_party/skia/include/gpu/
H A DGrResourceKey.h37 GrResourceKey(const GrResourceKey& src) { fKey = src.fKey; }
39 GrResourceKey() { fKey.reset(); }
45 uint32_t getHash() const { return fKey.getHash(); }
49 *reinterpret_cast<const GrCacheID::Domain*>(fKey.getData() +
54 return *reinterpret_cast<const ResourceType*>(fKey.getData() +
59 return *reinterpret_cast<const ResourceFlags*>(fKey.getData() +
63 bool operator==(const GrResourceKey& other) const { return fKey == other.fKey; }
108 fKey
110 GrBinHashKey<kKeySize> fKey; member in class:GrResourceKey
[all...]
H A DGrBackendProcessorFactory.h58 GrProcessorKey(const uint32_t* key, int count) : fKey(key), fCount(count) {
65 return fKey[index];
72 const uint32_t* fKey; // unowned ptr into the larger key. member in class:GrProcessorKey
/external/chromium_org/third_party/skia/src/gpu/effects/
H A DGrTextureStripAtlas.h83 AtlasRow() : fKey(kEmptyAtlasRowKey), fLocks(0), fNext(NULL), fPrev(NULL) { }
85 uint32_t fKey; member in struct:GrTextureStripAtlas::AtlasRow
124 return lhs.fKey < rhs.fKey;
142 static const Key& GetKey(const AtlasEntry& entry) { return entry.fKey; }
148 Key fKey; member in class:GrTextureStripAtlas::AtlasEntry
H A DGrTextureStripAtlas.cpp43 GetCache()->remove(entry->fKey);
62 entry->fKey = key;
133 uint32_t oldKey = row->fKey;
149 row->fKey = key;
227 fRows[i].fKey = kEmptyAtlasRowKey;
275 target.fKey = key;
287 uint32_t prev = 1 > fKeyTable.count() ? 0 : fKeyTable[0]->fKey;
289 SkASSERT(prev < fKeyTable[i]->fKey);
290 SkASSERT(fKeyTable[i]->fKey != kEmptyAtlasRowKey);
291 prev = fKeyTable[i]->fKey;
[all...]
/external/chromium_org/third_party/skia/bench/
H A DImageCacheBench.cpp23 TestKey fKey; member in struct:__anon14978::TestRec
26 TestRec(const TestKey& key, intptr_t value) : fKey(key), fValue(value) {}
28 virtual const Key& getKey() const SK_OVERRIDE { return fKey; }
29 virtual size_t bytesUsed() const SK_OVERRIDE { return sizeof(fKey) + sizeof(fValue); }
/external/skia/src/gpu/effects/
H A DGrTextureStripAtlas.h83 AtlasRow() : fKey(kEmptyAtlasRowKey), fLocks(0), fNext(NULL), fPrev(NULL) { }
85 uint32_t fKey; member in struct:GrTextureStripAtlas::AtlasRow
124 return lhs.fKey < rhs.fKey;
148 AtlasHashKey fKey; member in class:GrTextureStripAtlas::AtlasEntry
186 return entry.fKey == key;
191 return entry.fKey < key;
H A DGrTextureStripAtlas.cpp43 GetCache()->remove(entry->fKey, entry);
62 entry->fKey = key;
133 uint32_t oldKey = row->fKey;
149 row->fKey = key;
227 fRows[i].fKey = kEmptyAtlasRowKey;
275 target.fKey = key;
287 uint32_t prev = 1 > fKeyTable.count() ? 0 : fKeyTable[0]->fKey;
289 SkASSERT(prev < fKeyTable[i]->fKey);
290 SkASSERT(fKeyTable[i]->fKey != kEmptyAtlasRowKey);
291 prev = fKeyTable[i]->fKey;
[all...]
/external/skia/src/gpu/
H A DGrResourceCache.h48 fKey = src.fKey;
52 fKey.reset();
60 return fKey.getHash();
65 *reinterpret_cast<const GrCacheID::Domain*>(fKey.getData() +
70 return *reinterpret_cast<const ResourceType*>(fKey.getData() +
75 return *reinterpret_cast<const ResourceFlags*>(fKey.getData() +
79 bool operator==(const GrResourceKey& other) const { return fKey == other.fKey; }
107 fKey
109 GrBinHashKey<kKeySize> fKey; member in class:GrResourceKey
146 GrResourceKey fKey; member in class:GrResourceCacheEntry
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkAnnotation.cpp15 SkAnnotation::SkAnnotation(const char key[], SkData* value) : fKey(key) {
29 return fKey.equals(key) ? fData : NULL;
33 buffer.readString(&fKey);
38 buffer.writeString(fKey.c_str());
H A DSkBitmapCache.cpp53 : fKey(genID, scaleX, scaleY, bounds)
57 BitmapKey fKey; member in struct:BitmapRec
60 virtual const Key& getKey() const SK_OVERRIDE { return fKey; }
61 virtual size_t bytesUsed() const SK_OVERRIDE { return sizeof(fKey) + fBitmap.getSize(); }
127 : fKey(src.getGenerationID(), 0, 0, get_bounds_from_bitmap(src))
135 BitmapKey fKey; member in struct:MipMapRec
138 virtual const Key& getKey() const SK_OVERRIDE { return fKey; }
139 virtual size_t bytesUsed() const SK_OVERRIDE { return sizeof(fKey) + fMipMap->getSize(); }
/external/skia/src/core/
H A DSkAnnotation.cpp15 SkAnnotation::SkAnnotation(const char key[], SkData* value) : fKey(key) {
29 return fKey.equals(key) ? fData : NULL;
33 buffer.readString(&fKey);
38 buffer.writeString(fKey.c_str());
/external/chromium_org/third_party/skia/src/gpu/gl/
H A DGrGLProgramDesc.cpp222 desc->fKey.reset();
223 desc->fKey.push_back_n(kEffectKeyOffsetsAndLengthOffset + 2 * sizeof(uint16_t) * numStages);
234 reinterpret_cast<uint16_t*>(desc->fKey.begin() + kEffectKeyOffsetsAndLengthOffset +
237 GrProcessorKeyBuilder b(&desc->fKey);
239 uint32_t processorOffset = desc->fKey.count();
244 desc->fKey.reset();
257 reinterpret_cast<uint16_t*>(desc->fKey.begin() + kEffectKeyOffsetsAndLengthOffset +
260 GrProcessorKeyBuilder b(&desc->fKey);
262 uint32_t processorOffset = desc->fKey.count();
266 desc->fKey
[all...]
H A DGrGLProgramDesc.h36 return reinterpret_cast<const uint32_t*>(fKey.begin());
149 // The key, stored in fKey, is composed of five parts:
170 return reinterpret_cast<T*>(reinterpret_cast<intptr_t>(fKey.begin()) + OFFSET);
174 return reinterpret_cast<const T*>(reinterpret_cast<intptr_t>(fKey.begin()) + OFFSET);
221 fDesc->fKey.begin() + kEffectKeyOffsetsAndLengthOffset);
228 return GrProcessorKey(reinterpret_cast<const uint32_t*>(fDesc->fKey.begin() + offset),
243 SkSTArray<kPreAllocSize, uint8_t, true> fKey; member in class:GrGLProgramDesc
/external/chromium_org/third_party/skia/tests/
H A DGLProgramsTest.cpp51 fKey.reset();
56 fKey.push_back_n(kEffectKeyOffsetsAndLengthOffset + 2 * sizeof(uint16_t) * (numStages +
65 uint16_t* offsetAndSize = reinterpret_cast<uint16_t*>(fKey.begin() +
68 uint32_t effectKeyOffset = fKey.count();
70 fKey.reset();
73 GrProcessorKeyBuilder b(&fKey);
76 fKey.reset();
88 uint16_t* offsetAndSize = reinterpret_cast<uint16_t*>(fKey.begin() +
91 uint32_t effectKeyOffset = fKey.count();
93 fKey
96 GrProcessorKeyBuilder b(&fKey); variable
[all...]
H A DImageCacheTest.cpp23 TestingRec(const TestingKey& key, uint32_t value) : fKey(key), fValue(value) {}
25 TestingKey fKey; member in struct:__anon15389::TestingRec
28 virtual const Key& getKey() const SK_OVERRIDE { return fKey; }
29 virtual size_t bytesUsed() const SK_OVERRIDE { return sizeof(fKey) + sizeof(fValue); }
/external/chromium_org/third_party/skia/src/gpu/
H A DGrLayerCache.h94 static const Key& GetKey(const GrCachedLayer& layer) { return layer.fKey; }
103 : fKey(pictureID, start, stop, offset, ctm)
117 uint32_t pictureID() const { return fKey.pictureID(); }
118 int start() const { return fKey.start(); }
119 int stop() const { return fKey.stop(); }
120 const SkIPoint& offset() const { return fKey.offset(); }
121 const SkMatrix& ctm() const { return fKey.ctm(); }
146 const Key fKey; member in struct:GrCachedLayer
H A DGrFontScaler.cpp55 fKey = NULL;
59 SkSafeUnref(fKey);
82 if (NULL == fKey) {
83 fKey = SkNEW_ARGS(GrFontDescKey, (fStrike->getDescriptor()));
85 return fKey;
/external/chromium_org/third_party/skia/include/views/
H A DSkOSMenu.h65 void setKeyEquivalent(SkUnichar key) { fKey = key; }
66 SkUnichar getKeyEquivalent() const { return fKey; }
89 SkUnichar fKey; member in class:SkOSMenu::Item
/external/skia/include/views/
H A DSkOSMenu.h65 void setKeyEquivalent(SkUnichar key) { fKey = key; }
66 SkUnichar getKeyEquivalent() const { return fKey; }
89 SkUnichar fKey; member in class:SkOSMenu::Item
/external/chromium_org/third_party/skia/include/core/
H A DSkAnnotation.h48 SkString fKey; member in class:SkAnnotation
/external/skia/include/core/
H A DSkAnnotation.h48 SkString fKey; member in class:SkAnnotation
/external/skia/src/gpu/gl/
H A DGrGLProgramDesc.h39 return reinterpret_cast<const uint32_t*>(fKey.get());
188 return reinterpret_cast<T*>(reinterpret_cast<intptr_t>(fKey.get()) + OFFSET);
192 return reinterpret_cast<const T*>(reinterpret_cast<intptr_t>(fKey.get()) + OFFSET);
214 SkAutoSMalloc<kPreAllocSize> fKey; member in class:GrGLProgramDesc
/external/chromium_org/third_party/skia/src/ports/
H A DSkRemotableFontMgr_win_dw.cpp49 void* fKey; member in struct:SkRemotableFontMgr_DirectWrite::DataId
56 : fLoader(that.fLoader), fKey(that.fKey), fKeySize(that.fKeySize)
59 that.fKey = NULL;
67 sk_free(fKey);
89 0 == memcmp(refKey, current.fKey, refKeySize))
96 added.fKey = sk_malloc_throw(refKeySize);
97 memcpy(added.fKey, refKey, refKeySize);
497 HRNM(loader->CreateStreamFromKey(id.fKey, id.fKeySize, &fontFileStream),
/external/skia/src/ports/
H A DSkRemotableFontMgr_win_dw.cpp49 void* fKey; member in struct:SkRemotableFontMgr_DirectWrite::DataId
56 : fLoader(that.fLoader), fKey(that.fKey), fKeySize(that.fKeySize)
59 that.fKey = NULL;
67 sk_free(fKey);
89 0 == memcmp(refKey, current.fKey, refKeySize))
96 added.fKey = sk_malloc_throw(refKeySize);
97 memcpy(added.fKey, refKey, refKeySize);
486 HRNM(loader->CreateStreamFromKey(id.fKey, id.fKeySize, &fontFileStream),

Completed in 545 milliseconds

123