HomeSort by relevance Sort by last modified time
    Searched refs:GrScratchKey (Results 1 - 10 of 10) sorted by null

  /external/skia/src/gpu/
GrTexture.cpp 85 GrScratchKey key;
94 void GrTexturePriv::ComputeScratchKey(const GrSurfaceDesc& desc, GrScratchKey* key) {
95 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType();
97 GrScratchKey::Builder builder(key, kType, 2);
GrGpuResourcePriv.h 58 const GrScratchKey& getScratchKey() const { return fResource->fScratchKey; }
GrResourceCache.h 129 GrGpuResource* findAndRefScratchResource(const GrScratchKey& scratchKey, uint32_t flags = 0);
133 int countScratchEntriesForKey(const GrScratchKey& scratchKey) const {
223 static const GrScratchKey& GetKey(const GrGpuResource& r) {
227 static uint32_t Hash(const GrScratchKey& key) { return key.hash(); }
229 typedef SkTMultiMap<GrGpuResource, GrScratchKey, ScratchMapTraits> ScratchMap;
GrTexturePriv.h 42 static void ComputeScratchKey(const GrSurfaceDesc&, GrScratchKey*);
GrGpuResource.cpp 143 void GrGpuResource::setScratchKey(const GrScratchKey& scratchKey) {
GrTextureProvider.cpp 82 GrScratchKey key;
GrResourceCache.cpp 22 GrScratchKey::ResourceType GrScratchKey::GenerateResourceType() {
248 GrGpuResource* GrResourceCache::findAndRefScratchResource(const GrScratchKey& scratchKey,
  /external/skia/include/gpu/
GrResourceKey.h 162 class GrScratchKey : public GrResourceKey {
174 GrScratchKey() {}
176 GrScratchKey(const GrScratchKey& that) { *this = that; }
185 GrScratchKey& operator=(const GrScratchKey& that) {
190 bool operator==(const GrScratchKey& that) const {
193 bool operator!=(const GrScratchKey& that) const { return !(*this == that); }
197 Builder(GrScratchKey* key, ResourceType type, int data32Count)
GrGpuResource.h 280 void setScratchKey(const GrScratchKey& scratchKey);
313 GrScratchKey fScratchKey;
  /external/skia/tests/
ResourceCacheTest.cpp 231 static void ComputeScratchKey(SimulatedProperty property, GrScratchKey* key) {
232 static GrScratchKey::ResourceType t = GrScratchKey::GenerateResourceType();
233 GrScratchKey::Builder builder(key, t, kScratchKeyFieldCnt);
240 return sizeof(uint32_t) * (kScratchKeyFieldCnt + GrScratchKey::kMetaDataCnt);
251 GrScratchKey scratchKey;
502 GrScratchKey key;
566 GrScratchKey scratchKey1;
571 GrScratchKey scratchKey;
612 GrScratchKey scratchKey
    [all...]

Completed in 292 milliseconds