d9f8862ab6bed4195cbfe5dda48693e1062b01e2 |
|
09-Apr-2015 |
mtklein <mtklein@chromium.org> |
Valgrind sez: new[] wants delete[]. https://uberchromegw.corp.google.com/i/client.skia/builders/Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind/builds/17/steps/dm/logs/stdio TBR=bsalomon@google.com BUG=skia: Review URL: https://codereview.chromium.org/1075853002
/external/skia/src/gpu/GrResourceCache.cpp
|
3f324321cdd8fde7976d958e2888a1ec4e657e35 |
|
08-Apr-2015 |
bsalomon <bsalomon@google.com> |
Add mechanism to proactively purge old resources in GrResourceCache. This change leaves the feature turned off by default. Review URL: https://codereview.chromium.org/1032873002
/external/skia/src/gpu/GrResourceCache.cpp
|
732a92db490acb8a4996e82c0d81387e4b24f90b |
|
10-Mar-2015 |
kkinnunen <kkinnunen@nvidia.com> |
Increase maximum gpu resources from 1024 to 4096 Pictures with many drawn paths benefit from the increase of the count. As an example, chalkboard testcase has ~2500 paths, tiger has ~300. Bigger objects, like textures, tend to be limited by the cache byte limit, not item count. Review URL: https://codereview.chromium.org/991783003
/external/skia/src/gpu/GrResourceCache.cpp
|
876c3132d75966829ad58b2f9b2957d50457cc29 |
|
04-Mar-2015 |
hendrikw <hendrikw@chromium.org> |
skia: Add tracing for skia's budget We've run into several places where GPU rasterization slows down a lot, and in some cases, it's due to use reaching skia's budget. This shows a graph of skia's used and free budgeted memory. Review URL: https://codereview.chromium.org/977143002
/external/skia/src/gpu/GrResourceCache.cpp
|
ddf30e64fe474847b204d7062fad3341d245062c |
|
19-Feb-2015 |
bsalomon <bsalomon@google.com> |
Handle the case when the GrResourceCache timestamp wraps. NOTREECHECKS=true Review URL: https://codereview.chromium.org/916103006
/external/skia/src/gpu/GrResourceCache.cpp
|
f99e961f55bb603d099c8cb57d05a2ae52a4e9ca |
|
19-Feb-2015 |
bsalomon <bsalomon@google.com> |
Allow resources' unique keys to be changed. Review URL: https://codereview.chromium.org/938943002
/external/skia/src/gpu/GrResourceCache.cpp
|
8718aafec239c93485e45bbe8fed19d9a8def079 |
|
19-Feb-2015 |
bsalomon <bsalomon@google.com> |
Rename GrContentKey to GrUniqueKey Review URL: https://codereview.chromium.org/940463006
/external/skia/src/gpu/GrResourceCache.cpp
|
f320e04c50a1c8a861bc1d8f50bf732044ff9843 |
|
18-Feb-2015 |
bsalomon <bsalomon@google.com> |
Use an array of nonpurgeable resources in GrResourceCache Review URL: https://codereview.chromium.org/932863004
/external/skia/src/gpu/GrResourceCache.cpp
|
9f2d1571ed1f0ed579e5d7779c46a90e20f30f22 |
|
17-Feb-2015 |
bsalomon <bsalomon@google.com> |
Make GrResourceCache use a priority queue of purgeable resources. Review URL: https://codereview.chromium.org/921323002
/external/skia/src/gpu/GrResourceCache.cpp
|
3582d3ee9fffdec715f5e4949a241ab08e6271ec |
|
13-Feb-2015 |
bsalomon <bsalomon@google.com> |
Split out methods in GrGpuResource::CacheAccess that can be called outside of the cache. Review URL: https://codereview.chromium.org/923143002
/external/skia/src/gpu/GrResourceCache.cpp
|
0ea80f43a1af05b8157a4ef387223bb5b0da35ed |
|
11-Feb-2015 |
bsalomon <bsalomon@google.com> |
Rename GrResourceCache2->GrResourceCache TBR=robertphillips@google.com Review URL: https://codereview.chromium.org/921453002
/external/skia/src/gpu/GrResourceCache.cpp
|
71cb0c241e439b6ed746b90294d0b6916644a644 |
|
14-Nov-2014 |
bsalomon <bsalomon@google.com> |
Replace GrResourceCache with GrResourceCache2. BUG=skia:2889 Committed: https://skia.googlesource.com/skia/+/66a450f21a3da174b7eed89a1d5fc8591e8b6ee6 Committed: https://skia.googlesource.com/skia/+/407aa584d183c1bf314f5defd1cf0202e8a96c89 Review URL: https://codereview.chromium.org/716143004
/external/skia/src/gpu/GrResourceCache.cpp
|
ac49acda520292b059bc37fd368dff912626c3d9 |
|
14-Nov-2014 |
bsalomon <bsalomon@google.com> |
Revert of Replace GrResourceCache with GrResourceCache2. (patchset #7 id:120001 of https://codereview.chromium.org/716143004/) Reason for revert: broken again Original issue's description: > Replace GrResourceCache with GrResourceCache2. > > BUG=skia:2889 > > Committed: https://skia.googlesource.com/skia/+/66a450f21a3da174b7eed89a1d5fc8591e8b6ee6 > > Committed: https://skia.googlesource.com/skia/+/407aa584d183c1bf314f5defd1cf0202e8a96c89 TBR=robertphillips@google.com NOTREECHECKS=true NOTRY=true BUG=skia:2889 Review URL: https://codereview.chromium.org/726913002
/external/skia/src/gpu/GrResourceCache.cpp
|
407aa584d183c1bf314f5defd1cf0202e8a96c89 |
|
14-Nov-2014 |
bsalomon <bsalomon@google.com> |
Replace GrResourceCache with GrResourceCache2. BUG=skia:2889 Committed: https://skia.googlesource.com/skia/+/66a450f21a3da174b7eed89a1d5fc8591e8b6ee6 Review URL: https://codereview.chromium.org/716143004
/external/skia/src/gpu/GrResourceCache.cpp
|
f21dab95405979a4aff9f6a741c818304a67f220 |
|
13-Nov-2014 |
bsalomon <bsalomon@google.com> |
Revert of Replace GrResourceCache with GrResourceCache2. (patchset #6 id:100001 of https://codereview.chromium.org/716143004/) Reason for revert: Breaking stuff Original issue's description: > Replace GrResourceCache with GrResourceCache2. > > BUG=skia:2889 > > Committed: https://skia.googlesource.com/skia/+/66a450f21a3da174b7eed89a1d5fc8591e8b6ee6 TBR=robertphillips@google.com NOTREECHECKS=true NOTRY=true BUG=skia:2889 Review URL: https://codereview.chromium.org/715333003
/external/skia/src/gpu/GrResourceCache.cpp
|
66a450f21a3da174b7eed89a1d5fc8591e8b6ee6 |
|
13-Nov-2014 |
bsalomon <bsalomon@google.com> |
Replace GrResourceCache with GrResourceCache2. BUG=skia:2889 Review URL: https://codereview.chromium.org/716143004
/external/skia/src/gpu/GrResourceCache.cpp
|
69ed47f42d4877c178fdc0031cb01af2966ae235 |
|
12-Nov-2014 |
bsalomon <bsalomon@google.com> |
Make GrGpuResource::gpuMemorySize non-virtual w/ onGpuMemorySize virtual impl BUG=skia:2889 Review URL: https://codereview.chromium.org/702413003
/external/skia/src/gpu/GrResourceCache.cpp
|
453cf40ac7702722695bb09ae2c6df44c19d008b |
|
11-Nov-2014 |
bsalomon <bsalomon@google.com> |
Add GrGpuResource::CacheAccess Internal only helper class for manipulating and accessing cache keys. BUG=skia:2889 Review URL: https://codereview.chromium.org/703303003
/external/skia/src/gpu/GrResourceCache.cpp
|
6d4488c5e03010c94200b3706631d34ec3201411 |
|
11-Nov-2014 |
bsalomon <bsalomon@google.com> |
Remove all knowledge of resource keys from the legacy cache. BUG=skia:2889 Review URL: https://codereview.chromium.org/705413002
/external/skia/src/gpu/GrResourceCache.cpp
|
8b79d23f825cd9e0f9e3bf8aaa9e209940b17ef6 |
|
10-Nov-2014 |
bsalomon <bsalomon@google.com> |
Use GrResourceCache2 to service content key lookups BUG=skia:2889 Review URL: https://codereview.chromium.org/707493002
/external/skia/src/gpu/GrResourceCache.cpp
|
37dd331b20a92ce79cc26556e065dec98a66cb0b |
|
03-Nov-2014 |
bsalomon <bsalomon@google.com> |
Add class GrGLTextureRenderTarget for GL texture/rendertarget objects BUG=skia:2889 Review URL: https://codereview.chromium.org/695813003
/external/skia/src/gpu/GrResourceCache.cpp
|
f2703d83da3ab2ae18b45231fd4f11e16cce3184 |
|
28-Oct-2014 |
bsalomon <bsalomon@google.com> |
rename GrTextureDesc->GrSurfaceDesc, GrTextureFlags->GrSurfaceFlags Review URL: https://codereview.chromium.org/682223002
/external/skia/src/gpu/GrResourceCache.cpp
|
24234fe77718a553ccc6ffdea0f2ee3ef414e0b6 |
|
24-Oct-2014 |
bsalomon <bsalomon@google.com> |
Build gpu stats tracking in dev builds. Fix cache stats, add more info. BUG=skia:2889 Review URL: https://codereview.chromium.org/655263005
/external/skia/src/gpu/GrResourceCache.cpp
|
1e2530babb65a883a01df5ee87147432f6707ce3 |
|
09-Oct-2014 |
bsalomon <bsalomon@google.com> |
Use presence of a content key as non-scratch indicator BUG=skia:2889 Committed: https://skia.googlesource.com/skia/+/9eefe0851eeaa8ded05b4774ebcb38ed201d5dbf Review URL: https://codereview.chromium.org/639873002
/external/skia/src/gpu/GrResourceCache.cpp
|
0f9e8a720c583956ed6e291d018f40fa624bb40d |
|
08-Oct-2014 |
bsalomon <bsalomon@google.com> |
Revert of Use presence of a content key as non-scratch indicator (patchset #5 id:80001 of https://codereview.chromium.org/639873002/) Reason for revert: breaking nanobench on ubuntu Original issue's description: > Use presence of a content key as non-scratch indicator > > BUG=skia:2889 > > Committed: https://skia.googlesource.com/skia/+/9eefe0851eeaa8ded05b4774ebcb38ed201d5dbf TBR=robertphillips@google.com NOTREECHECKS=true NOTRY=true BUG=skia:2889 Review URL: https://codereview.chromium.org/642493003
/external/skia/src/gpu/GrResourceCache.cpp
|
9eefe0851eeaa8ded05b4774ebcb38ed201d5dbf |
|
08-Oct-2014 |
bsalomon <bsalomon@google.com> |
Use presence of a content key as non-scratch indicator BUG=skia:2889 Review URL: https://codereview.chromium.org/639873002
/external/skia/src/gpu/GrResourceCache.cpp
|
bcf0a52d4f4221b158e68a06ba0c4cc4db011060 |
|
08-Oct-2014 |
bsalomon <bsalomon@google.com> |
GrResourceCache2 manages scratch texture. BUG=skia:2889 Review URL: https://codereview.chromium.org/608883003
/external/skia/src/gpu/GrResourceCache.cpp
|
9323b8b8e16df4adcd63ee8496a6382e8df535c9 |
|
07-Oct-2014 |
Brian Salomon <bsalomon@google.com> |
Revert "GrResourceCache2 manages scratch texture." This reverts commit d14e1a27643125bfef37fa0ed314b64c1fae22b7.
/external/skia/src/gpu/GrResourceCache.cpp
|
d14e1a27643125bfef37fa0ed314b64c1fae22b7 |
|
07-Oct-2014 |
bsalomon <bsalomon@google.com> |
GrResourceCache2 manages scratch texture. BUG=skia:2889 Review URL: https://codereview.chromium.org/608883003
/external/skia/src/gpu/GrResourceCache.cpp
|
dbe6074a06efc5fb6883bb5e4f251ed67c8c0ab4 |
|
30-Sep-2014 |
robertphillips <robertphillips@google.com> |
Revert of GrResourceCache2 manages scratch texture. (patchset #14 id:260001 of https://codereview.chromium.org/608883003/) Reason for revert: Turning bots red: Nanobench seems to be uniformly failing on Android (http://108.170.220.21:10117/builders/Perf-Android-Venue8-PowerVR-x86-Release/builds/99/steps/RunNanobench/logs/stdio) Ubuntu GTX660 32bit is failing in both Debug and Release on GM generation (it appears to be out of memory) (http://108.170.220.120:10117/builders/Test-Ubuntu12-ShuttleA-GTX660-x86-Debug/builds/2457/steps/GenerateGMs/logs/stdio) Original issue's description: > GrResourceCache2 manages scratch texture. > > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/3d398c876440deaab39bbf2a9b881c337e6dc8d4 R=bsalomon@google.com TBR=bsalomon@google.com NOTREECHECKS=true NOTRY=true BUG=skia: Author: robertphillips@google.com Review URL: https://codereview.chromium.org/611383003
/external/skia/src/gpu/GrResourceCache.cpp
|
3d398c876440deaab39bbf2a9b881c337e6dc8d4 |
|
30-Sep-2014 |
bsalomon <bsalomon@google.com> |
GrResourceCache2 manages scratch texture. BUG=skia: R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/608883003
/external/skia/src/gpu/GrResourceCache.cpp
|
49f085dddff10473b6ebf832a974288300224e60 |
|
05-Sep-2014 |
bsalomon <bsalomon@google.com> |
"NULL !=" = NULL R=reed@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/544233002
/external/skia/src/gpu/GrResourceCache.cpp
|
c8dc1f74b6cdda9a43a638292a608c59c1d72d80 |
|
21-Aug-2014 |
bsalomon <bsalomon@google.com> |
Add GrResourceCache2. Currently it just replaces GrGpu as the owner of the linked list of resources. Committed: https://skia.googlesource.com/skia/+/94ce9ac8624dbb45656b8f5c992fad9c9ff3ee5f R=mtklein@google.com, robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/481443002
/external/skia/src/gpu/GrResourceCache.cpp
|
1d89ddc4a3aad153501cfdc93bc1d61eb49157f4 |
|
19-Aug-2014 |
bsalomon <bsalomon@google.com> |
Revert of Add GrResourceCache2. (patchset #4 of https://codereview.chromium.org/481443002/) Reason for revert: Likely caused a leak detected in Chromium after last Skia roll. Original issue's description: > Add GrResourceCache2. > > Currently it just replaces GrGpu as the owner of the linked list of resources. > > Committed: https://skia.googlesource.com/skia/+/94ce9ac8624dbb45656b8f5c992fad9c9ff3ee5f R=mtklein@google.com, robertphillips@google.com TBR=mtklein@google.com, robertphillips@google.com NOTREECHECKS=true NOTRY=true Author: bsalomon@google.com Review URL: https://codereview.chromium.org/477323006
/external/skia/src/gpu/GrResourceCache.cpp
|
94ce9ac8624dbb45656b8f5c992fad9c9ff3ee5f |
|
19-Aug-2014 |
bsalomon <bsalomon@google.com> |
Add GrResourceCache2. Currently it just replaces GrGpu as the owner of the linked list of resources. R=robertphillips@google.com, mtklein@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/481443002
/external/skia/src/gpu/GrResourceCache.cpp
|
6d3fe022d68fd6dd32c0fab30e24fa5a4f048946 |
|
25-Jul-2014 |
bsalomon <bsalomon@google.com> |
Rename GrGpuObject to GrGpuResource R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/418143004
/external/skia/src/gpu/GrResourceCache.cpp
|
c44be0e9e4cee5402909c06370a630eee188a8f3 |
|
25-Jul-2014 |
bsalomon <bsalomon@google.com> |
Merge GrGpuObject and GrCacheable. We want to create a new base class for "meta" gr resources as part of the GrResourceCache rewrite and this is an iterim step towards that goal.s R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/414013005
/external/skia/src/gpu/GrResourceCache.cpp
|
dcabb05113a732636691abc16d643a091336aea5 |
|
21-Jul-2014 |
bsalomon <bsalomon@google.com> |
Make GrCacheable implement its own ref counting. R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/392333008
/external/skia/src/gpu/GrResourceCache.cpp
|
11c6b39cfa24f812ceb115589f51a60a56ef14fe |
|
05-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Adds a mechanism for GrCacheable objects to notify the resource cache when their size has changed. GrResourceCacheEntry now holds a reference to the cache, and a cached value of the resource's most recent size. Also utilizes this new functionality for mipmaps, and adds a test for changing resource sizes. R=bsalomon@google.com, robertphillips@google.com Author: cdalton@nvidia.com Review URL: https://codereview.chromium.org/257093002 git-svn-id: http://skia.googlecode.com/svn/trunk@14576 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
089a780c3355129eefc942246534bc1f126b8ccb |
|
02-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Split GrResource into GrCacheable/GrGpuObject Before this change, an object needed to inherit from GrResource (and thus be a GPU object) in order to live in the GrResourceCache. That was a problem for caching items that weren't GPU objects themselves, but owned GPU objects. This change splits GrResource into two classes: 1. GrCacheable: The base class for objects that can live in the GrResourceCache. 2. GrGpuObject, which inherits from GrCacheable: The base class for objects that get tracked by GrGpu. This change is purely a refactor; there is no change in functionality. Change-Id: I3e8daeb1f123041f414aa306c1366e959ae9e39e BUG=skia: R=bsalomon@google.com Author: cdalton@nvidia.com Review URL: https://codereview.chromium.org/251013002 git-svn-id: http://skia.googlecode.com/svn/trunk@14553 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
88cb22b6b4816c7a9ca6c5b795965b4606f9eb7b |
|
30-Apr-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Convert GrCrash->SkFAIL GrDebugCrash->SkDEBUGFAIL R=robertphillips@google.com, reed@google.com, mtklein@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/257393004 git-svn-id: http://skia.googlecode.com/svn/trunk@14460 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
bd58febffb103ea830bf027c5a95313548f7ea8e |
|
17-Jan-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Speed up GrResourceCache add and lookup by using TDynamicHash Speed up GrResourceCache add and lookup by using TDynamicHash instead of GrTHashTable. GrTHashTable spends most of its time memmoving the array elements while sorting after an add. Lookup is not particularly fast either. R=mtklein@google.com, bsalomon@google.com, reed@google.com Author: kkinnunen@nvidia.com Review URL: https://codereview.chromium.org/91453002 git-svn-id: http://skia.googlecode.com/svn/trunk@13122 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
c665804300096c2e7617379835bb83d715538788 |
|
16-Jan-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move SkMessageBus::Get out of header, and retry crrev.com/106563002. BUG= R=bsalomon@google.com, kkinnunen@nvidia.com Author: mtklein@google.com Review URL: https://codereview.chromium.org/140053002 git-svn-id: http://skia.googlecode.com/svn/trunk@13104 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
0f7e3470d63f77f062626ef68eb735301ad3eb20 |
|
10-Jan-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert of https://codereview.chromium.org/106563002/ Reason for revert: There's a threading issue I don't quite understand yet. Objects are being deleted after we check they're deleted. Will try again. R=kkinnunen@nvidia.com, kkinnunen@nvidia.com TBR=kkinnunen@nvidia.com, kkinnunen@nvidia.com NOTREECHECKS=true NOTRY=true Author: mtklein@google.com Review URL: https://codereview.chromium.org/134363002 git-svn-id: http://skia.googlecode.com/svn/trunk@13023 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
2b8aacba5299a2759268de7de13af9f319ba39d5 |
|
10-Jan-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Delete all invalidated resources with same key Delete all invalidated resources with same key instead of deleting just the first resource. R=mtklein@google.com, kkinnunen@nvidia.com Author: kkinnunen@nvidia.com Review URL: https://codereview.chromium.org/106563002 git-svn-id: http://skia.googlecode.com/svn/trunk@13019 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
50a3043194cf278a74ff51c33c6cdb52cbe1f8f9 |
|
24-Oct-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
We want to give SkPixelRef a way to signal over to GrResourceCache that it's become pointless to keep around textures based on that SkPixelRef when its pixels change, so that it can be a good citizen and free those textures. This adds an invalidation listener mechanism to SkPixelRef to let it send this message while still staying ignorant of who's listening. These messages are tricky to deliver. The SkPixelRefs they originates from and the GrResourceCaches they ultimately end up at may be on different threads; neither class is threadsafe; their object lifetimes are totally independent; it's a many-senders-to-many-receivers relation; and neither codebase should really know about the other. So I've added a per-message-type global message bus to broadcast messages to threadsafe inboxes. Anyone can post() a message, which will show up in all the inboxes of that type, read whenever the inbox's owner calls poll(). The implementation is _dumb_; it can be improved in several dimensions (inbox size limits, lock-free message delivery) if we find the need. I took some care to make sure not to send the invalidation message for any SkPixelRef that's sharing a generation ID with another SkPixelRef. BUG= R=bsalomon@google.com, scroggo@google.com, reed@google.com Author: mtklein@google.com Review URL: https://codereview.chromium.org/26734003 git-svn-id: http://skia.googlecode.com/svn/trunk@11949 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
adacc7067ad617cdc7bbef39192ca80f4b4d27f9 |
|
14-Oct-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Start cleaning up 64bit Win warnings https://codereview.chromium.org/27192003/ git-svn-id: http://skia.googlecode.com/svn/trunk@11764 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
515dcd36032997ce335daa0163c6d67e851bcad1 |
|
28-Aug-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Replace uses of GR_DEBUG by SK_DEBUG. BUG=None R=bsalomon@google.com, robertphillips@google.com Author: tfarina@chromium.org Review URL: https://chromiumcodereview.appspot.com/23137022 git-svn-id: http://skia.googlecode.com/svn/trunk@10978 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
f6de475e5cbd143f348ff7738919e397b7fe7f57 |
|
17-Aug-2013 |
tfarina@chromium.org <tfarina@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Replace uses of GrAssert by SkASSERT. R=bsalomon@google.com Review URL: https://codereview.chromium.org/22850006 git-svn-id: http://skia.googlecode.com/svn/trunk@10789 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
f64c6842c15e1ba126639be7578e4642cb396987 |
|
20-Jul-2013 |
bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add a 'unique' method to SkRefCnt, document the usage, and add support. std::shared_ptr has a method called 'unique' which captures the concept that a reference count of 1 is special, and can be used to optimize copy on write. It also has some undocumented need for memory barriers in certain situations and those needs are documented here. The motivation for looking into this is crbug.com/258499 . The use of the reference count in this manner is a benign race with both ref() and unref(). By introducing sk_atomic_unprotected_read, it is possible for Chromium to annotate this read to tell ThreadSanitizer that this is known. R=bsalomon@google.com Review URL: https://codereview.chromium.org/18770007 git-svn-id: http://skia.googlecode.com/svn/trunk@10221 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
e4eaea2d126d58d8ce4034a1ce921404e83fe3f4 |
|
19-Jul-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Alter resource cache and GrContext to (optionally) never reuse a scratch texture https://codereview.chromium.org/19482004/ git-svn-id: http://skia.googlecode.com/svn/trunk@10193 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
a79919883e275e7a5e00afc50be10cc721f6ba1d |
|
19-Jul-2013 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@10175 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
41d2532931a2e85b56ae112047d57927cb09ef6f |
|
18-Jul-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
The rest of: Add purgeAsNeeded calls before addResource calls https://codereview.chromium.org/19591003/ git-svn-id: http://skia.googlecode.com/svn/trunk@10146 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
cae27fed5e45e8899e56ece22b27e8958ffc0162 |
|
10-Jul-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Allow the resource cache to (indirectly) flush the InOrderDrawBuffer R=bsalomon@google.com Author: robertphillips@google.com Review URL: https://chromiumcodereview.appspot.com/18466005 git-svn-id: http://skia.googlecode.com/svn/trunk@9949 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
5b25a8d72d129cdfd8fe001635941cf725bcf2bd |
|
07-Feb-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove GR_DUMP_TEXTURE_UPLOADS R=robertphillips@google.com Review URL: https://codereview.appspot.com/7300062 git-svn-id: http://skia.googlecode.com/svn/trunk@7652 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
0797c2cceadd7dfc2e7f9efa30b611d18efcdcdd |
|
20-Dec-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reland 6914 w/ fixes. git-svn-id: http://skia.googlecode.com/svn/trunk@6916 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
0b6ad2297fbf43466950690102c1c9c150f2a972 |
|
20-Dec-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert 6914 to fix build issues. git-svn-id: http://skia.googlecode.com/svn/trunk@6915 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
4b86e3428b115202e82d49a0914ea8ab6dc25940 |
|
20-Dec-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Simplify cache IDs and keys. R=robertphillips@google.com Review URL: https://codereview.appspot.com/6954047 git-svn-id: http://skia.googlecode.com/svn/trunk@6914 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
f3dc199c0b18e35ac8de4075ecbede7a484f1b0d |
|
01-Nov-2012 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@6228 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
209a1143a1a26935578d45c7f86dc6f9aa2eb1a6 |
|
31-Oct-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Ganesh resource cache changes https://codereview.appspot.com/6784051/ git-svn-id: http://skia.googlecode.com/svn/trunk@6211 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
9fbcad0f00d7098574cf3394a812c9d845c9cc5b |
|
09-Sep-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Removed old resource locking system https://codereview.appspot.com/6488098/ git-svn-id: http://skia.googlecode.com/svn/trunk@5453 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
6c778164a743f8760dca251524d51848548b436f |
|
06-Sep-2012 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@5410 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
f2e93fc989129f11881919de99a3b8f12081beae |
|
05-Sep-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Resource cache now explicitly takes ref of managed resources https://codereview.appspot.com/6489085/ git-svn-id: http://skia.googlecode.com/svn/trunk@5407 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
d6bbbf8a831cc982cda9b91e84c5600c631af5b2 |
|
05-Sep-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Simplified stencil buffer caching https://codereview.appspot.com/6503073/ git-svn-id: http://skia.googlecode.com/svn/trunk@5400 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
6fc9518a55d57f362b4e13f4a48fa6d9c85d0cd2 |
|
04-Sep-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Don't purge resources from cache if they have > 1 ref https://codereview.appspot.com/6494069/ git-svn-id: http://skia.googlecode.com/svn/trunk@5380 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
5955202c805c7ef1448103cbf666972ea9d1ded1 |
|
31-Aug-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Allow cache tracking to be enabled in release https://codereview.appspot.com/6500057/ git-svn-id: http://skia.googlecode.com/svn/trunk@5365 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
d07cb0c0370de521169500c26b8d534a001cf580 |
|
30-Aug-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Begin moving locking out of GrResourceCache http://codereview.appspot.com/6498064/ git-svn-id: http://skia.googlecode.com/svn/trunk@5354 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
a9b0623eac4a473517c15418dbdc1e331ee752d2 |
|
30-Aug-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Added find, lock to GrContext & GrResourceCache interfaces https://codereview.appspot.com/6499052/ git-svn-id: http://skia.googlecode.com/svn/trunk@5343 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
a292112154f803feb9f5cc002bbfab559f7cb633 |
|
28-Aug-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove SkGpuDevice::fTexture, use new pixel ref class name Review URL: https://codereview.appspot.com/6474068/ git-svn-id: http://skia.googlecode.com/svn/trunk@5307 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
fbfcd5602128ec010c82cb733c9cdc0a3254f9f3 |
|
23-Aug-2012 |
rmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) This CL is part I of IV (I broke down the 1280 files into 4 CLs). Review URL: https://codereview.appspot.com/6485054 git-svn-id: http://skia.googlecode.com/svn/trunk@5262 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
2ea0a231a82b00e14c57806f6ae4664361d2ed16 |
|
23-Aug-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Refactored GrDLinkedList into SkTDLinkedList http://codereview.appspot.com/6484045/ git-svn-id: http://skia.googlecode.com/svn/trunk@5247 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
521eaf8cc73cebebeaf54338c51c22922ac70951 |
|
22-Aug-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Scratch textures are no longer removed from the cache in Debug http://codereview.appspot.com/6465079/ git-svn-id: http://skia.googlecode.com/svn/trunk@5221 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
5f9f2f574fe9b195f5f3e40edeb2e28b673511fd |
|
22-Aug-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Added resource cache debug output to help track changes http://codereview.appspot.com/6463079/ git-svn-id: http://skia.googlecode.com/svn/trunk@5220 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
1f47f4f7325971dd53991e2bb02da94fa7c6d962 |
|
16-Aug-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Replaced TextureCacheEntry with GrTexture* and a back pointer to GrResourceEntry (in GrTexture) http://codereview.appspot.com/6460089/ git-svn-id: http://skia.googlecode.com/svn/trunk@5122 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
c377baf406996aed18d82d328029c82dbc3b8dda |
|
09-Jul-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add placement new macros to SkPostConfig, call SkNEW* from Ganesh. TODO: unify with the placement new implementation in SkTemplatesPriv.h, once various issues there are overcome. reed@ should be taking the lead there. http://codereview.appspot.com/6384043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4492 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
386319eebb806f62a60b16826750f364edc94ce5 |
|
27-Jun-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fixed Resource counting bug in AutoScratchTexture detach mechanism http://codereview.appspot.com/6356043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4361 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
07fc0d178e20f74a88dd78384f817b53204e625f |
|
22-Jun-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert r4287. Large numbers of textures created by random gradients can cause poor driver performance (at least on Mac) BUG=670 git-svn-id: http://skia.googlecode.com/svn/trunk@4306 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
15c0fea699b25343fe6f49668a5632866e1a0306 |
|
22-Jun-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
AutoScratchTexture can now release its texture and it will return to the texture cache when freed http://codereview.appspot.com/6262043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4301 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
8f7e1dac5c92bf1f53feb603a9bd249d53afa81a |
|
21-Jun-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove count budget from resource cache Review URL: http://codereview.appspot.com/6312052/ git-svn-id: http://skia.googlecode.com/svn/trunk@4287 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
cf6285b89b8820641ffb6871d4b3275bfe783f51 |
|
06-Jun-2012 |
caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
fix warnings on Mac in src/gpu and include/gpu Fix these class of warnings: - unused functions - unused locals - sign mismatch - missing function prototypes - missing newline at end of file - 64 to 32 bit truncation The changes prefer to link in dead code in the debug build with 'if (false)' than to comment it out, but trivial cases are commented out or sometimes deleted if it appears to be a copy/paste error. Review URL: https://codereview.appspot.com/6296044 git-svn-id: http://skia.googlecode.com/svn/trunk@4180 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
0ec107f396a566bac2a7787b982a76c9c27c0d2f |
|
21-Feb-2012 |
twiz@google.com <twiz@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove incorrect GrAssert calls in GrResourceCache::removeAll The asserts in GrResourceCache are too aggressive, and assume that all resources are always purged. Locked resources will not be purged. BUG=114861 Review URL: https://codereview.appspot.com/5674096 git-svn-id: http://skia.googlecode.com/svn/trunk@3226 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
fb30951cd9346a7a2d36e7d5f81f9e7ee792b669 |
|
30-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
[GPU] tile when large bitmap pased drawBitmap and only a small fraction is used Review URL: http://codereview.appspot.com/5450048/ git-svn-id: http://skia.googlecode.com/svn/trunk@2760 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|
d38f137e9b813f8193675ebd3dfbfe8bc42639e9 |
|
12-Oct-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move gpu/include/* to include/gpu and gpu/src/* to src/gpu Review URL: http://codereview.appspot.com/5250070/ git-svn-id: http://skia.googlecode.com/svn/trunk@2471 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/GrResourceCache.cpp
|