HomeSort by relevance Sort by last modified time
    Searched refs:fKey (Results 1 - 25 of 78) sorted by null

1 2 3 4

  /external/skia/tests/
HashCacheTest.cpp 15 int fKey;
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 == b.fKey
    [all...]
  /external/chromium_org/third_party/skia/include/gpu/
GrResourceKey.h 37 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.setKeyData(keyData.fKey32)
    [all...]
GrBackendProcessorFactory.h 58 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.
  /external/chromium_org/third_party/skia/src/gpu/effects/
GrTextureStripAtlas.h 83 AtlasRow() : fKey(kEmptyAtlasRowKey), fLocks(0), fNext(NULL), fPrev(NULL) { }
85 uint32_t fKey;
124 return lhs.fKey < rhs.fKey;
142 static const Key& GetKey(const AtlasEntry& entry) { return entry.fKey; }
148 Key fKey;
GrTextureStripAtlas.cpp 43 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/
ImageCacheBench.cpp 23 TestKey fKey;
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/
GrTextureStripAtlas.h 83 AtlasRow() : fKey(kEmptyAtlasRowKey), fLocks(0), fNext(NULL), fPrev(NULL) { }
85 uint32_t fKey;
124 return lhs.fKey < rhs.fKey;
148 AtlasHashKey fKey;
186 return entry.fKey == key;
191 return entry.fKey < key;
GrTextureStripAtlas.cpp 43 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/
GrResourceCache.h 48 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.setKeyData(keyData.fKey32)
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkAnnotation.cpp 15 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());
SkBitmapCache.cpp 53 : fKey(genID, scaleX, scaleY, bounds)
57 BitmapKey fKey;
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;
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/
SkAnnotation.cpp 15 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/
GrGLProgramDesc.cpp 222 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.reset()
    [all...]
GrGLProgramDesc.h 36 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;
  /external/chromium_org/third_party/skia/tests/
GLProgramsTest.cpp 51 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.reset()
    [all...]
ImageCacheTest.cpp 23 TestingRec(const TestingKey& key, uint32_t value) : fKey(key), fValue(value) {}
25 TestingKey fKey;
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/
GrLayerCache.h 94 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;
  /external/chromium_org/third_party/skia/include/views/
SkOSMenu.h 65 void setKeyEquivalent(SkUnichar key) { fKey = key; }
66 SkUnichar getKeyEquivalent() const { return fKey; }
89 SkUnichar fKey;
  /external/skia/include/core/
SkPicture.h 50 AccelData(Key key) : fKey(key) { }
52 const Key& getKey() const { return fKey; }
58 Key fKey;
SkAnnotation.h 48 SkString fKey;
  /external/skia/include/views/
SkOSMenu.h 65 void setKeyEquivalent(SkUnichar key) { fKey = key; }
66 SkUnichar getKeyEquivalent() const { return fKey; }
89 SkUnichar fKey;
  /external/chromium_org/third_party/skia/include/core/
SkAnnotation.h 48 SkString fKey;
  /external/skia/src/gpu/gl/
GrGLProgramDesc.h 39 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;
  /external/chromium_org/third_party/skia/src/ports/
SkRemotableFontMgr_win_dw.cpp 49 void* fKey;
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/
SkRemotableFontMgr_win_dw.cpp 49 void* fKey;
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 587 milliseconds

1 2 3 4