Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
skia
/
d309e7aa0efa2d5dd7e7b1af97026fcd3a047e98
/
tests
/
ResourceCacheTest.cpp
d309e7a
This replaces the texture creation/caching functions on GrContext with a GrTextureProvider interface. The goal is to pass this narrowly focused object in places that currently take a GrContext but don't need and shouldn't use its other methods. It also has an extended private interface for interacting with non-texture resource types.
by bsalomon
· 9 years ago
8dc7c3a
Rename GrStencilBuffer to GrStencilAttachment
by egdaniel
· 9 years ago
3f32432
Add mechanism to proactively purge old resources in GrResourceCache.
by bsalomon
· 9 years ago
36352bf
C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla}
by mtklein
· 9 years ago
6bc1b5f
Dynamically create stencil buffer when needed.
by bsalomon
· 10 years ago
b602d4d
Speculative fix for nexus player unit test failure
by bsalomon
· 10 years ago
ddf30e6
Handle the case when the GrResourceCache timestamp wraps.
by bsalomon
· 10 years ago
02a44a4
Recycle stencil buffers across render targets.
by bsalomon
· 10 years ago
f99e961
Allow resources' unique keys to be changed.
by bsalomon
· 10 years ago
8718aaf
Rename GrContentKey to GrUniqueKey
by bsalomon
· 10 years ago
3582d3e
Split out methods in GrGpuResource::CacheAccess that can be called outside of the cache.
by bsalomon
· 10 years ago
0ea80f4
Rename GrResourceCache2->GrResourceCache
by bsalomon
· 10 years ago
23e619c
Reimplement gpu message bus for invalidated bitmap gen IDs
by bsalomon
· 10 years ago
63c992f
Fix the speeling of "purgeable" in Gr code
by bsalomon
· 10 years ago
c2f35b7
Allow unbudgeted resources to be recycled by the cache as scratch.
by bsalomon
· 10 years ago
24db3b1
Add specialized content key class for resources.
by bsalomon
· 10 years ago
1c60dfe
Reland https://codereview.chromium.org/860333002 with fix for test failures.
by bsalomon
· 10 years ago
988018c
Revert of Make GrScratchKey memory buffer correct size on copy (patchset #1 id:1 of https://codereview.chromium.org/860333002/)
by mtklein
· 10 years ago
711ef48
Make GrScratchKey memory buffer correct size on copy
by kkinnunen
· 10 years ago
afe3005
Require budget decision when creating a RenderTarget SkSurface.
by bsalomon
· 10 years ago
5236cf4
Make uncached textures uncached from the get go.
by bsalomon
· 10 years ago
7775c85
Add a simpler key type for scratch resource keys.
by bsalomon
· 10 years ago
10e23ca
Use scratch keys for stencil buffers.
by bsalomon
· 10 years ago
19cd0f1
Revert "Use scratch keys for stencil buffers."
by bsalomon
· 10 years ago
4e4303f
Cleanup res cache bench and split out into a unit test.
by bsalomon
· 10 years ago
84c8e62
Allow GPU resources to not be counted against the cache budget.
by bsalomon
· 10 years ago
dace19e
Correct accounting for wrapped resources
by bsalomon
· 10 years ago
12299ab
Make GrResourceCache2 responsible for calling release, abandon, and ~.
by bsalomon
· 10 years ago
71cb0c2
Replace GrResourceCache with GrResourceCache2.
by bsalomon
· 10 years ago
ac49acd
Revert of Replace GrResourceCache with GrResourceCache2. (patchset #7 id:120001 of https://codereview.chromium.org/716143004/)
by bsalomon
· 10 years ago
407aa58
Replace GrResourceCache with GrResourceCache2.
by bsalomon
· 10 years ago
f21dab9
Revert of Replace GrResourceCache with GrResourceCache2. (patchset #6 id:100001 of https://codereview.chromium.org/716143004/)
by bsalomon
· 10 years ago
66a450f
Replace GrResourceCache with GrResourceCache2.
by bsalomon
· 10 years ago
69ed47f
Make GrGpuResource::gpuMemorySize non-virtual w/ onGpuMemorySize virtual impl
by bsalomon
· 10 years ago
48ea202
set key data in duplicate scratch key unit test
by bsalomon
· 10 years ago
453cf40
Add GrGpuResource::CacheAccess
by bsalomon
· 10 years ago
6d4488c
Remove all knowledge of resource keys from the legacy cache.
by bsalomon
· 10 years ago
8b79d23
Use GrResourceCache2 to service content key lookups
by bsalomon
· 10 years ago
3343557
Add mock context and use in ResourceCacheTest.
by bsalomon
· 10 years ago
fdcf2c0
Revert of Add mock context and use in ResourceCacheTest. (patchset #4 id:60001 of https://codereview.chromium.org/702083003/)
by bsalomon
· 10 years ago
820dd6c
Add mock context and use in ResourceCacheTest.
by bsalomon
· 10 years ago
f2703d8
rename GrTextureDesc->GrSurfaceDesc, GrTextureFlags->GrSurfaceFlags
by bsalomon
· 10 years ago
bcf0a52
GrResourceCache2 manages scratch texture.
by bsalomon
· 10 years ago
9323b8b
Revert "GrResourceCache2 manages scratch texture."
by Brian Salomon
· 10 years ago
d14e1a2
GrResourceCache2 manages scratch texture.
by bsalomon
· 10 years ago
dbe6074
Revert of GrResourceCache2 manages scratch texture. (patchset #14 id:260001 of https://codereview.chromium.org/608883003/)
by robertphillips
· 10 years ago
3d398c8
GrResourceCache2 manages scratch texture.
by bsalomon
· 10 years ago
4a8126e
Introduce Props to surface (patchset #27 id:520001 of https://codereview.chromium.org/551463004/)"
by reed
· 10 years ago
29c857d
Revert of introduce Props to surface (patchset #27 id:520001 of https://codereview.chromium.org/551463004/)
by reed
· 10 years ago
3716fd0
introduce Props to surface (work in progress)
by reed
· 10 years ago
69f6f00
use surface instead of explicitly making gpudevice
by reed
· 10 years ago
49f085d
"NULL !=" = NULL
by bsalomon
· 10 years ago
23b406c
Make SkGpuDevice constructors private.
by bsalomon
· 10 years ago
1696126
Make GrGpuResources register with GrResourceCache2 after fully constructed.
by bsalomon
· 10 years ago
a2b0af8
Revert of Make GrGpuResources register with GrResourceCache2 after fully constructed. (patchset #3 of https://codereview.chromium.org/504313002/)
by bsalomon
· 10 years ago
d68b3e4
Make GrGpuResources register with GrResourceCache2 after fully constructed.
by bsalomon
· 10 years ago
6d3fe02
Rename GrGpuObject to GrGpuResource
by bsalomon
· 10 years ago
c44be0e
Merge GrGpuObject and GrCacheable.
by bsalomon
· 10 years ago
95c2003
cleanup GrContext resource cache api
by commit-bot@chromium.org
· 10 years ago
11c6b39
Adds a mechanism for GrCacheable objects to notify the resource cache
by commit-bot@chromium.org
· 10 years ago
089a780
Split GrResource into GrCacheable/GrGpuObject
by commit-bot@chromium.org
· 10 years ago
deee496
replace setConfig+allocPixels with single call
by mike@reedtribe.org
· 11 years ago
bd58feb
Speed up GrResourceCache add and lookup by using TDynamicHash
by commit-bot@chromium.org
· 11 years ago
c665804
Move SkMessageBus::Get out of header, and retry crrev.com/106563002.
by commit-bot@chromium.org
· 11 years ago
e2eac8b
Move macros from TestClassDef.h to Test.h
by commit-bot@chromium.org
· 11 years ago
4ee16bf
Add a DEF_GPUTEST() macro.
by tfarina@chromium.org
· 11 years ago
0f7e347
Revert of https://codereview.chromium.org/106563002/
by commit-bot@chromium.org
· 11 years ago
2b8aacb
Delete all invalidated resources with same key
by commit-bot@chromium.org
· 11 years ago
17f1ae6
Sanitizing source files in Housekeeper-Nightly
by skia.committer@gmail.com
· 11 years ago
c28f555
This attempts to replicate some bad cache behavior Mozilla reported.
by commit-bot@chromium.org
· 11 years ago