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

  /external/skia/src/gpu/
GrIndexBuffer.h 19 static void ComputeScratchKey(size_t size, bool dynamic, GrScratchKey* key) {
20 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType();
22 GrScratchKey::Builder builder(key, kType, 2);
41 GrScratchKey key;
GrVertexBuffer.h 18 static void ComputeScratchKey(size_t size, bool dynamic, GrScratchKey* key) {
19 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType();
21 GrScratchKey::Builder builder(key, kType, 2);
32 GrScratchKey key;
GrTexture.cpp 90 GrScratchKey key;
96 void GrTexturePriv::ComputeScratchKey(const GrSurfaceDesc& desc, GrScratchKey* key) {
97 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType();
107 GrScratchKey::Builder builder(key, kType, 3);
GrGpuResourcePriv.h 58 const GrScratchKey& getScratchKey() const { return fResource->fScratchKey; }
GrTexturePriv.h 42 static void ComputeScratchKey(const GrSurfaceDesc&, GrScratchKey*);
GrResourceCache.h 131 GrGpuResource* findAndRefScratchResource(const GrScratchKey& scratchKey,
137 int countScratchEntriesForKey(const GrScratchKey& scratchKey) const {
281 static const GrScratchKey& GetKey(const GrGpuResource& r) {
285 static uint32_t Hash(const GrScratchKey& key) { return key.hash(); }
287 typedef SkTMultiMap<GrGpuResource, GrScratchKey, ScratchMapTraits> ScratchMap;
GrResourceProvider.cpp 105 GrScratchKey key;
134 GrScratchKey key;
GrGpuResource.cpp 168 void GrGpuResource::setScratchKey(const GrScratchKey& scratchKey) {
GrTextureProvider.cpp 96 GrScratchKey key;
GrResourceCache.cpp 22 GrScratchKey::ResourceType GrScratchKey::GenerateResourceType() {
249 GrGpuResource* GrResourceCache::findAndRefScratchResource(const GrScratchKey& scratchKey,
  /external/skia/include/gpu/
GrResourceKey.h 166 class GrScratchKey : public GrResourceKey {
178 GrScratchKey() {}
180 GrScratchKey(const GrScratchKey& that) { *this = that; }
189 GrScratchKey& operator=(const GrScratchKey& that) {
194 bool operator==(const GrScratchKey& that) const {
197 bool operator!=(const GrScratchKey& that) const { return !(*this == that); }
201 Builder(GrScratchKey* key, ResourceType type, int data32Count)
GrGpuResource.h 297 void setScratchKey(const GrScratchKey& scratchKey);
336 GrScratchKey fScratchKey;
  /external/skia/tests/
ResourceCacheTest.cpp 297 static void ComputeScratchKey(SimulatedProperty property, GrScratchKey* key) {
298 static GrScratchKey::ResourceType t = GrScratchKey::GenerateResourceType();
299 GrScratchKey::Builder builder(key, t, kScratchKeyFieldCnt);
306 return sizeof(uint32_t) * (kScratchKeyFieldCnt + GrScratchKey::kMetaDataCnt);
317 GrScratchKey scratchKey;
565 GrScratchKey key;
629 GrScratchKey scratchKey1;
634 GrScratchKey scratchKey;
675 GrScratchKey scratchKey
    [all...]

Completed in 366 milliseconds