Home
last modified time | relevance | path

Searched refs:GraphiteResourceKey (Results 1 – 15 of 15) sorted by relevance

/external/skia/src/gpu/graphite/
DGraphiteResourceKey.h16 class GraphiteResourceKey : public skgpu::ResourceKey {
22 GraphiteResourceKey() : fShareable(Shareable::kNo) {} in GraphiteResourceKey() function
24 GraphiteResourceKey(const GraphiteResourceKey& that) { *this = that; } in GraphiteResourceKey() function
35 GraphiteResourceKey& operator=(const GraphiteResourceKey& that) {
41 bool operator==(const GraphiteResourceKey& that) const {
46 bool operator!=(const GraphiteResourceKey& that) const {
52 Builder(GraphiteResourceKey* key, ResourceType type, int data32Count, Shareable shareable) in Builder()
DResourceProvider.cpp85 static const ResourceType kType = GraphiteResourceKey::GenerateResourceType(); in findOrCreateScratchTexture()
87 GraphiteResourceKey key; in findOrCreateScratchTexture()
98 static const ResourceType kType = GraphiteResourceKey::GenerateResourceType(); in findOrCreateDepthStencilAttachment()
100 GraphiteResourceKey key; in findOrCreateDepthStencilAttachment()
113 static const ResourceType kType = GraphiteResourceKey::GenerateResourceType(); in findOrCreateDiscardableMSAAAttachment()
115 GraphiteResourceKey key; in findOrCreateDiscardableMSAAAttachment()
127 const GraphiteResourceKey& key, in findOrCreateTextureWithKey()
151 static const ResourceType kType = GraphiteResourceKey::GenerateResourceType(); in findOrCreateCompatibleSampler()
153 GraphiteResourceKey key; in findOrCreateCompatibleSampler()
170 GraphiteResourceKey::Builder builder(&key, kType, 1, Shareable::kYes); in findOrCreateCompatibleSampler()
[all …]
DResourceCache.h27 class GraphiteResourceKey; variable
48 Resource* findAndRefResource(const GraphiteResourceKey& key, skgpu::Budgeted);
92 static const GraphiteResourceKey& GetKey(const Resource& r);
94 static uint32_t Hash(const GraphiteResourceKey& key);
97 typedef SkTMultiMap<Resource, GraphiteResourceKey, MapTraits> ResourceMap;
DResource.h98 const GraphiteResourceKey& key() const { return fKey; } in key()
100 void setKey(const GraphiteResourceKey& key) { in setKey()
237 GraphiteResourceKey fKey;
DResourceProvider.h38 class GraphiteResourceKey; variable
104 const GraphiteResourceKey& key,
DResourceCache.cpp94 Resource* ResourceCache::findAndRefResource(const GraphiteResourceKey& key, in findAndRefResource()
368 const GraphiteResourceKey& ResourceCache::MapTraits::GetKey(const Resource& r) { in GetKey()
372 uint32_t ResourceCache::MapTraits::Hash(const GraphiteResourceKey& key) { in Hash()
404 const GraphiteResourceKey& key = resource->key(); in validate()
DCaps.h32 class GraphiteResourceKey; variable
88 GraphiteResourceKey*) const = 0;
DGraphiteResourceKey.cpp12 ResourceType GraphiteResourceKey::GenerateResourceType() { in GenerateResourceType()
/external/skia/tests/graphite/
DGraphiteResourceCacheTest.cpp41 GraphiteResourceKey key; in Make()
48 static void CreateKey(GraphiteResourceKey* key, Shareable shareable) { in CreateKey()
52 static const ResourceType kType = GraphiteResourceKey::GenerateResourceType(); in CreateKey()
53 static const ResourceType kShareableType = GraphiteResourceKey::GenerateResourceType(); in CreateKey()
55 GraphiteResourceKey::Builder(key, type, 0, shareable); in CreateKey()
114 GraphiteResourceKey key; in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
/external/skia/src/gpu/graphite/dawn/
DDawnCaps.h42 GraphiteResourceKey*) const override;
DDawnCaps.cpp448 GraphiteResourceKey* key) const { in buildKeyForTexture()
470 GraphiteResourceKey::Builder builder(key, type, kNum32DataCnt, shareable); in buildKeyForTexture()
/external/skia/src/gpu/graphite/mtl/
DMtlCaps.h54 GraphiteResourceKey*) const override;
DMtlCaps.mm15 #include "src/gpu/graphite/GraphiteResourceKey.h"
826 GraphiteResourceKey* key) const {
857 GraphiteResourceKey::Builder builder(key, type, kNum32DataCnt, shareable);
/external/skia/src/gpu/graphite/vk/
DVulkanCaps.h50 GraphiteResourceKey*) const override {} in buildKeyForTexture() argument
/external/skia/gn/
Dgraphite.gni76 "$_src/GraphiteResourceKey.cpp",
77 "$_src/GraphiteResourceKey.h",