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

1 2

  /external/skia/src/gpu/
GrStencilAttachment.cpp 13 GrUniqueKey* key) {
14 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain();
15 GrUniqueKey::Builder builder(key, kDomain, 3);
GrImageIDTextureAdjuster.h 25 void makeCopyKey(const CopyParams& params, GrUniqueKey* copyKey) override;
27 void didCacheCopy(const GrUniqueKey& copyKey) override;
41 void makeCopyKey(const CopyParams& params, GrUniqueKey* copyKey) override;
43 void didCacheCopy(const GrUniqueKey& copyKey) override;
60 void makeCopyKey(const CopyParams& copyParams, GrUniqueKey* copyKey) override;
62 void didCacheCopy(const GrUniqueKey& copyKey) override;
66 GrUniqueKey fOriginalKey;
84 void makeCopyKey(const CopyParams& stretch, GrUniqueKey* paramsCopyKey) override;
85 void didCacheCopy(const GrUniqueKey& copyKey) override;
90 GrUniqueKey fOriginalKey
    [all...]
GrTextureParamsAdjuster.h 18 class GrUniqueKey;
82 static void MakeCopyKeyFromOrigKey(const GrUniqueKey& origKey,
84 GrUniqueKey* copyKey) {
87 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain();
88 GrUniqueKey::Builder builder(copyKey, origKey, kDomain, 3);
101 virtual void makeCopyKey(const CopyParams&, GrUniqueKey* copyKey) = 0;
108 virtual void didCacheCopy(const GrUniqueKey& copyKey) = 0;
GrPath.cpp 16 GrUniqueKey* key) {
26 static const GrUniqueKey::Domain kOvalPathDomain = GrUniqueKey::GenerateDomain();
27 GrUniqueKey::Builder builder(key, kOvalPathDomain, kBaseData32Cnt + strokeDataCnt);
37 GrUniqueKey* key) {
48 static const GrUniqueKey::Domain kOvalPathDomain = GrUniqueKey::GenerateDomain();
49 GrUniqueKey::Builder builder(key, kOvalPathDomain, kBaseData32Cnt + strokeDataCnt);
62 GrUniqueKey* key) {
113 static const GrUniqueKey::Domain kSimpleVolatilePathDomain = GrUniqueKey::GenerateDomain()
    [all...]
GrImageIDTextureAdjuster.cpp 26 void GrBitmapTextureAdjuster::makeCopyKey(const CopyParams& params, GrUniqueKey* copyKey) {
34 GrUniqueKey baseKey;
40 void GrBitmapTextureAdjuster::didCacheCopy(const GrUniqueKey& copyKey) {
57 void GrImageTextureAdjuster::makeCopyKey(const CopyParams& params, GrUniqueKey* copyKey) {
60 GrUniqueKey baseKey;
66 void GrImageTextureAdjuster::didCacheCopy(const GrUniqueKey& copyKey) {
102 void GrBitmapTextureMaker::makeCopyKey(const CopyParams& copyParams, GrUniqueKey* copyKey) {
108 void GrBitmapTextureMaker::didCacheCopy(const GrUniqueKey& copyKey) {
133 void GrImageTextureMaker::makeCopyKey(const CopyParams& stretch, GrUniqueKey* paramsCopyKey) {
139 void GrImageTextureMaker::didCacheCopy(const GrUniqueKey& copyKey)
    [all...]
GrResourceProvider.h 41 template <typename T> T* findAndRefTByUniqueKey(const GrUniqueKey& key) {
62 const GrUniqueKey& key) {
164 const GrUniqueKey& key);
168 GrUniqueKey fQuadIndexBufferKey;
SkGrPriv.h 23 class GrUniqueKey;
40 void GrMakeKeyFromImageID(GrUniqueKey* key, uint32_t imageID, const SkIRect& imageBounds);
42 /** Call this after installing a GrUniqueKey on texture. It will cause the texture's key to be
44 void GrInstallBitmapUniqueKeyInvalidator(const GrUniqueKey& key, SkPixelRef* pixelRef);
GrResourceCache.h 145 GrGpuResource* findAndRefUniqueResource(const GrUniqueKey& key) {
156 bool hasUniqueKey(const GrUniqueKey& key) const {
250 void changeUniqueKey(GrGpuResource*, const GrUniqueKey&);
290 static const GrUniqueKey& GetKey(const GrGpuResource& r) { return r.getUniqueKey(); }
292 static uint32_t Hash(const GrUniqueKey& key) { return key.hash(); }
294 typedef SkTDynamicHash<GrGpuResource, GrUniqueKey, UniqueHashTraits> UniqueHash;
405 void changeUniqueKey(GrGpuResource* resource, const GrUniqueKey& newKey) {
GrGpuResourcePriv.h 26 void setUniqueKey(const GrUniqueKey& key) { fResource->setUniqueKey(key); }
GrPath.h 33 static void ComputeKey(const SkPath& path, const GrStrokeInfo& stroke, GrUniqueKey* key,
GrTextureProvider.cpp 141 void GrTextureProvider::assignUniqueKeyToResource(const GrUniqueKey& key, GrGpuResource* resource) {
149 bool GrTextureProvider::existsResourceWithUniqueKey(const GrUniqueKey& key) const {
154 GrGpuResource* GrTextureProvider::findAndRefResourceByUniqueKey(const GrUniqueKey& key) {
159 GrTexture* GrTextureProvider::findAndRefTextureByUniqueKey(const GrUniqueKey& key) {
GrGpuResourceCacheAccess.h 71 void setUniqueKey(const GrUniqueKey& key) { fResource->fUniqueKey = key; }
GrStencilAttachment.h 53 GrUniqueKey* key);
SkGr.cpp 52 void GrMakeKeyFromImageID(GrUniqueKey* key, uint32_t imageID, const SkIRect& imageBounds) {
56 static const GrUniqueKey::Domain kImageIDDomain = GrUniqueKey::GenerateDomain();
57 GrUniqueKey::Builder builder(key, kImageIDDomain, 5);
275 void GrInstallBitmapUniqueKeyInvalidator(const GrUniqueKey& key, SkPixelRef* pixelRef) {
278 explicit Invalidator(const GrUniqueKey& key) : fMsg(key) {}
GrClipMaskManager.h 168 GrTexture* createCachedMask(int width, int height, const GrUniqueKey& key, bool renderTarget);
  /external/skia/include/gpu/
GrResourceKey.h 220 class GrUniqueKey : public GrResourceKey {
230 GrUniqueKey() {}
232 GrUniqueKey(const GrUniqueKey& that) { *this = that; }
239 GrUniqueKey& operator=(const GrUniqueKey& that) {
245 bool operator==(const GrUniqueKey& that) const {
248 bool operator!=(const GrUniqueKey& that) const { return !(*this == that); }
260 Builder(GrUniqueKey* key, Domain domain, int data32Count)
264 Builder(GrUniqueKey* key, const GrUniqueKey& innerKey, Domain domain
    [all...]
GrTextureProvider.h 42 void assignUniqueKeyToTexture(const GrUniqueKey& key, GrTexture* texture) {
47 GrTexture* findAndRefTextureByUniqueKey(const GrUniqueKey& key);
54 bool existsTextureWithUniqueKey(const GrUniqueKey& key) const {
112 void assignUniqueKeyToResource(const GrUniqueKey&, GrGpuResource*);
119 GrGpuResource* findAndRefResourceByUniqueKey(const GrUniqueKey&);
126 bool existsResourceWithUniqueKey(const GrUniqueKey& key) const;
GrGpuResource.h 216 const GrUniqueKey& getUniqueKey() const { return fUniqueKey; }
314 void setUniqueKey(const GrUniqueKey&);
337 GrUniqueKey fUniqueKey;
  /external/skia/bench/
GrResourceCacheBench.cpp 31 static void ComputeKey(int i, int keyData32Count, GrUniqueKey* key) {
32 static GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain();
33 GrUniqueKey::Builder builder(key, kDomain, keyData32Count);
46 GrUniqueKey key;
145 GrUniqueKey key;
  /external/skia/src/core/
SkImageCacherator.h 17 class GrUniqueKey;
77 GrTexture* lockTexture(GrContext*, const GrUniqueKey& key, const SkImage* client,
  /external/skia/src/gpu/batches/
GrTessellatingPathRenderer.cpp 39 explicit PathInvalidator(const GrUniqueKey& key) : fMsg(key) {}
106 int tessellate(GrUniqueKey* key,
147 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain();
148 GrUniqueKey key;
152 GrUniqueKey::Builder builder(&key, kDomain, 2 + clipBoundsSize32 + strokeDataSize32);
  /external/skia/src/effects/
GrCircleBlurFragmentProcessor.cpp 236 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain();
237 GrUniqueKey key;
238 GrUniqueKey::Builder builder(&key, kDomain, 2);
SkColorCubeFilter.cpp 302 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain();
303 GrUniqueKey key;
304 GrUniqueKey::Builder builder(&key, kDomain, 2);
  /external/skia/tests/
ResourceCacheTest.cpp 403 template <int> static void make_unique_key(GrUniqueKey* key, int data) {
404 static GrUniqueKey::Domain d = GrUniqueKey::GenerateDomain();
405 GrUniqueKey::Builder builder(key, d, 1);
414 GrUniqueKey uniqueKey;
431 GrUniqueKey uniqueKey2;
498 GrUniqueKey uniqueKey;
    [all...]
  /external/skia/src/gpu/effects/
GrTextureStripAtlas.cpp 198 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain();
199 GrUniqueKey key;
200 GrUniqueKey::Builder builder(&key, kDomain, 1);

Completed in 967 milliseconds

1 2