67914ebddfc81b5f564dfa119eca3c8bad33db74 |
|
29-Mar-2018 |
Derek Sollenberger <djsollen@google.com> |
Dump additional details about the gpu resources. GpuResources now dump optional string values that describe the type and category of the resource. The type provides a description of the kind of resource it is (e.g. texture, buffer object, stencil, etc.) and the category describes what the resource is currently tasked to do (e.g. path masks, images, scratch, etc.) This CL also refactors the dump logic in an attempt to consolidate duplicated code into GrGpuResources.cpp. Bug: b/74435803 Change-Id: I83cae825f41e6450a21398ab3ecea349c7c61c15 Reviewed-on: https://skia-review.googlesource.com/115989 Commit-Queue: Derek Sollenberger <djsollen@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> (cherry picked from commit cf6da8c0f29877249a55949efd8b952b5b9bc01d) No-Tree-Checks: true No-Try: true No-Presubmit: true Change-Id: I3ec7ae7e36fe7224b8b052f1eabc31383b29b43a Reviewed-on: https://skia-review.googlesource.com/117260 Reviewed-by: Derek Sollenberger <djsollen@google.com> Commit-Queue: Derek Sollenberger <djsollen@google.com>
/external/skia/include/gpu/GrGpuResource.h
|
914a36b248ffb538874483d86759254838866dd7 |
|
12-Oct-2017 |
Eric Karl <ericrk@chromium.org> |
MakeBackendTextureFromSkImage Creates a static function on SkImage which converts the SkImage to a GrBackendTexture. The texture is unowned by Skia, and must be deleted by the caller. Allows for a no-copy / no-conversion fast path if the provided image is unowned (unique()) and texture backed. Change-Id: I8a48f9cc39de792725cd72057d98cd1c4594daab Reviewed-on: https://skia-review.googlesource.com/52440 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Eric Karl <ericrk@chromium.org>
/external/skia/include/gpu/GrGpuResource.h
|
a93a14a99816d25b773f0b12868143702baf44bf |
|
28-Aug-2017 |
Ben Wagner <bungeman@google.com> |
Convert NULL and 0 to nullptr. This was created by looking at warnings produced by clang's -Wzero-as-null-pointer-constant. This updates most issues in Skia code. However, there are places where GL and Vulkan want pointer values which are explicitly 0, external headers which use NULL directly, and possibly more uses in un-compiled sources (for other platforms). Change-Id: Id22fbac04d5c53497a53d734f0896b4f06fe8345 Reviewed-on: https://skia-review.googlesource.com/39521 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Ben Wagner <bungeman@google.com>
/external/skia/include/gpu/GrGpuResource.h
|
c5886036cb74cc68f77b201d6e71a870b8cb974d |
|
19-Jul-2017 |
Brian Salomon <bsalomon@google.com> |
Move GrTypesPriv.h to include/private Bug: skia: Change-Id: I68610fed67a70454a815229c47b78ea6d9463a43 Reviewed-on: https://skia-review.googlesource.com/24624 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/include/gpu/GrGpuResource.h
|
85d34b2e841d99dab914111fe2eaa4db99345e1e |
|
10-May-2017 |
Brian Osman <brianosman@google.com> |
Remove SkCrossContextImageData and all support code Bug: skia: Change-Id: I8eb8cef5456c05a8e314d8404698893c7af82d13 Reviewed-on: https://skia-review.googlesource.com/16368 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/include/gpu/GrGpuResource.h
|
5e150851d0dd5ddb161449b44edf1bf52d18ac5a |
|
22-Mar-2017 |
Brian Salomon <bsalomon@google.com> |
Revert "Revert "Add a new GrResourceCache purging mechanism for purging unused resources."" This reverts commit 20c322ef0cd04cf8e2592879d05d9f4e6cb19596. Change-Id: I6df9a8594484837672308dc2c21c7c29b76ffa2c Reviewed-on: https://skia-review.googlesource.com/10013 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/include/gpu/GrGpuResource.h
|
20c322ef0cd04cf8e2592879d05d9f4e6cb19596 |
|
22-Mar-2017 |
Brian Salomon <bsalomon@google.com> |
Revert "Add a new GrResourceCache purging mechanism for purging unused resources." This reverts commit fbb56ce83fc717b7c6722324bbccd1ae73c350a4. Reason for revert: Chrome's ancient libstdc++ doesn't like use of steady_clock Original change's description: > Add a new GrResourceCache purging mechanism for purging unused resources. > > The client may call GrContext::purgeResourceNotUsedSince() with a stead_clock::time_point and all resources that have been purgeable since before that time point are purged. > > This is intended to replace the "max unused flushes" purging mechanism once Chrome adopts it. > > Change-Id: I28881dd2959cc01c0acca81b2d6001ee5626439d > Reviewed-on: https://skia-review.googlesource.com/8920 > Commit-Queue: Brian Salomon <bsalomon@google.com> > Reviewed-by: Robert Phillips <robertphillips@google.com> > Reviewed-by: Eric Karl <ericrk@google.com> > TBR=bsalomon@google.com,robertphillips@google.com,ericrk@google.com,reviews@skia.org,ericrk@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: I3baa3b2e80302315b757d4d625732459e13795d4 Reviewed-on: https://skia-review.googlesource.com/10004 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/include/gpu/GrGpuResource.h
|
fbb56ce83fc717b7c6722324bbccd1ae73c350a4 |
|
22-Mar-2017 |
Brian Salomon <bsalomon@google.com> |
Add a new GrResourceCache purging mechanism for purging unused resources. The client may call GrContext::purgeResourceNotUsedSince() with a stead_clock::time_point and all resources that have been purgeable since before that time point are purged. This is intended to replace the "max unused flushes" purging mechanism once Chrome adopts it. Change-Id: I28881dd2959cc01c0acca81b2d6001ee5626439d Reviewed-on: https://skia-review.googlesource.com/8920 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Reviewed-by: Eric Karl <ericrk@google.com>
/external/skia/include/gpu/GrGpuResource.h
|
2c2bc11aea4dfcd7ee2f5859838a2aa0a56939e0 |
|
28-Feb-2017 |
Brian Osman <brianosman@google.com> |
Add GrExternalTextureData and SkCrossContextImageData GrExternalTextureData is an API for exporting the backend-specific information about a texture in a type-safe way, and without pointing into the GrTexture. The new detachBackendTexture API lets us release ownership of a texture to the client. SkCrossContextImageData is the public API that lets clients upload textures on one thread/GrContext, then safely transfer ownership to another thread and GrContext for rendering. Only GL is implemented/supported right now. Vulkan support requires that we add thread-safe memory pools, or otherwise transfer the actual memory block containing the texture to the new context. Re-land of https://skia-review.googlesource.com/c/8529/ BUG=skia: Change-Id: I48ebd57d1ea0cfd3a1db10c475f2903afb821966 Reviewed-on: https://skia-review.googlesource.com/8960 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/include/gpu/GrGpuResource.h
|
aa1ab8905e74096f0460af467f126fdb1998a5f9 |
|
24-Feb-2017 |
Brian Osman <brianosman@google.com> |
Revert "Add GrExternalTextureData and SkCrossContextImageData" This reverts commit 9ad1f92e2fceea33215c0f13cee42a679fb88d44. Reason for revert: Breaking lots of bots Original change's description: > Add GrExternalTextureData and SkCrossContextImageData > > GrExternalTextureData is an API for exporting the backend-specific > information about a texture in a type-safe way, and without pointing > into the GrTexture. The new detachBackendTexture API lets us release > ownership of a texture to the client. > > SkCrossContextImageData is the public API that lets clients upload > textures on one thread/GrContext, then safely transfer ownership to > another thread and GrContext for rendering. > > Only GL is implemented/supported right now. Vulkan support requires > that we add thread-safe memory pools, or otherwise transfer the > actual memory block containing the texture to the new context. > > BUG=skia: > > Change-Id: I784a3a74be69807df038c7d192eaed002c7e45ca > Reviewed-on: https://skia-review.googlesource.com/8529 > Commit-Queue: Brian Osman <brianosman@google.com> > Reviewed-by: Brian Salomon <bsalomon@google.com> > TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com,brianosman@google.com,reviews@skia.org,chinmaygarde@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Change-Id: If27d1f4c3a169efb6533170f67a172664c0fe8ce Reviewed-on: https://skia-review.googlesource.com/8955 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
/external/skia/include/gpu/GrGpuResource.h
|
9ad1f92e2fceea33215c0f13cee42a679fb88d44 |
|
23-Feb-2017 |
Brian Osman <brianosman@google.com> |
Add GrExternalTextureData and SkCrossContextImageData GrExternalTextureData is an API for exporting the backend-specific information about a texture in a type-safe way, and without pointing into the GrTexture. The new detachBackendTexture API lets us release ownership of a texture to the client. SkCrossContextImageData is the public API that lets clients upload textures on one thread/GrContext, then safely transfer ownership to another thread and GrContext for rendering. Only GL is implemented/supported right now. Vulkan support requires that we add thread-safe memory pools, or otherwise transfer the actual memory block containing the texture to the new context. BUG=skia: Change-Id: I784a3a74be69807df038c7d192eaed002c7e45ca Reviewed-on: https://skia-review.googlesource.com/8529 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/include/gpu/GrGpuResource.h
|
f046e15347373c20e42b1a25ecd87cbdb84de146 |
|
11-Jan-2017 |
Brian Salomon <bsalomon@google.com> |
Fix undefined GrIORef test method on Chrome win bot Change-Id: Ifc3d7e285a4b1a0b370ec79963127490bd7b1a84 Reviewed-on: https://skia-review.googlesource.com/6896 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/include/gpu/GrGpuResource.h
|
bc6b99d22e8d9f6543ffffdc846e40e8075046c5 |
|
11-Jan-2017 |
Brian Salomon <bsalomon@google.com> |
Add test for processor->resource ref/io counts Change-Id: I63a8cb9f1564bfc15ef98121b77946a647c79f32 Reviewed-on: https://skia-review.googlesource.com/6814 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/include/gpu/GrGpuResource.h
|
1125a030c726854f94fd2b8eed49d1323fc1d038 |
|
16-Nov-2016 |
robertphillips <robertphillips@google.com> |
Add IORef capability to GrSurfaceProxy objects - take 2 Re-landing of https://skia-review.googlesource.com/c/4734/ (Add IORef capability to GrSurfaceProxy objects) with fixes for: platforms that don't support discards. memory leak due to copying over of GrSurfaceProxy's creation ref to instantiated GrSurface in instantiate() GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4827 BUG=skia: Change-Id: If0b695d5cafc5ef3fdd251c38262849d09e5d27f Review-Url: https://codereview.chromium.org/2502923003
/external/skia/include/gpu/GrGpuResource.h
|
f27bab207aebca467c04ccc89d18c9f198a0d762 |
|
14-Nov-2016 |
Robert Phillips <robertphillips@google.com> |
Revert "Add IORef capability to GrSurfaceProxy objects" This reverts commit 286b96f876953c94c178e3abbeb4eab186ad1fef. Reason for revert: Failure on Mac Mini: FAILURE: ../../../tests/ProxyRefTest.cpp:59 proxy->getPendingWriteCnt_TestOnly() == expectedNumWrites ../../../tests/ProxyRefTest.cpp:64: fatal error: "assert(proxy->getPendingWriteCnt_TestOnly() == expectedNumWrites)" Original change's description: > Add IORef capability to GrSurfaceProxy objects > > GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4734 > > Change-Id: If10fbe555e9fa3331bfa01065028e1afe82adb78 > Reviewed-on: https://skia-review.googlesource.com/4734 > Commit-Queue: Robert Phillips <robertphillips@google.com> > Reviewed-by: Brian Salomon <bsalomon@google.com> > TBR=bsalomon@google.com,robertphillips@google.com,reviews@skia.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: I5e1c201e027d4e9687b01f28a418b1884d3f9ece Reviewed-on: https://skia-review.googlesource.com/4776 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/include/gpu/GrGpuResource.h
|
286b96f876953c94c178e3abbeb4eab186ad1fef |
|
14-Nov-2016 |
Robert Phillips <robertphillips@google.com> |
Add IORef capability to GrSurfaceProxy objects GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4734 Change-Id: If10fbe555e9fa3331bfa01065028e1afe82adb78 Reviewed-on: https://skia-review.googlesource.com/4734 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/include/gpu/GrGpuResource.h
|
294870ff119b89fc902773643b054f14e5d1f554 |
|
11-Nov-2016 |
Robert Phillips <robertphillips@google.com> |
Add explicit UniqueID classes for GrGpuResource & GrSurfaceProxy This sets the stage for using the Proxy's/RenderTargetContext's ID above the flush and the RenderTarget's/GrGpuResource's below the flush. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4650 Change-Id: I9f1e6b00c02a0691d90b58c49e1d8c60684884c1 Reviewed-on: https://skia-review.googlesource.com/4650 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/include/gpu/GrGpuResource.h
|
6bd5284415bd983b0628c4941dff5def40018f5a |
|
27-Oct-2016 |
bungeman <bungeman@google.com> |
Remove SkAutoTUnref and SkAutoTDelete from public includes. This also makes the required changed to src, tests, and tools. The few public APIs modified by this change appear to be unused outside of Skia. Removing these from the public API makes it easier to ensure users are no longer using them. This also updates GrGpu::wrapBackendXXX and the ::onWrapBackendXXX methods to clarify ownership. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2448593002 Review-Url: https://codereview.chromium.org/2448593002
/external/skia/include/gpu/GrGpuResource.h
|
f2361d2d93c200cd4555b5e8ecea4531801abaaa |
|
25-Oct-2016 |
Robert Phillips <robertphillips@google.com> |
Add GrOpList and rename GrDrawTarget to GrRenderTargetOpList GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3910 Change-Id: I026aa26ecc61a0d002e98892dca728536259e8b1 Reviewed-on: https://skia-review.googlesource.com/3910 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/include/gpu/GrGpuResource.h
|
ee843b2ae4d75748d8bc323287f0c310fad548a7 |
|
04-Oct-2016 |
robertphillips <robertphillips@google.com> |
Revert of Make GrResourceCache dynamically change between LRU and random replacement strategies. (patchset #8 id:140001 of https://codereview.chromium.org/2321563006/ ) Reason for revert: Causing problems on Mac & Windows bots. Original issue's description: > Make GrResourceCache dynamically change between LRU and random replacement strategies. > > Random performs significantly better when each frame exceeds the budget by a small margin whereas LRU has worst case behavior. > > The decision of which to use is made based on the history from a few frames of the ratio of total unique key cache misses to unique key cache misses of resources purged in the last 2 frames. > GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2321563006 > > Committed: https://skia.googlesource.com/skia/+/0f147ac2ae575bbad3515a526f13700bc5c8e9d7 TBR=bsalomon@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review-Url: https://codereview.chromium.org/2386993004
/external/skia/include/gpu/GrGpuResource.h
|
0f147ac2ae575bbad3515a526f13700bc5c8e9d7 |
|
03-Oct-2016 |
bsalomon <bsalomon@google.com> |
Make GrResourceCache dynamically change between LRU and random replacement strategies. Random performs significantly better when each frame exceeds the budget by a small margin whereas LRU has worst case behavior. The decision of which to use is made based on the history from a few frames of the ratio of total unique key cache misses to unique key cache misses of resources purged in the last 2 frames. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2321563006 Review-Url: https://codereview.chromium.org/2321563006
/external/skia/include/gpu/GrGpuResource.h
|
fc6c37b981daeece7474ce61070c707c37eefa62 |
|
27-Sep-2016 |
Mike Klein <mtklein@chromium.org> |
Remove stray semicolons. Turns out function declarations don't end in semicolons... BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2720 No public API changes. TBR=reed@google.com Change-Id: I72b56d52e1ff7fa6e89c295b0de8c46599791ebb Reviewed-on: https://skia-review.googlesource.com/2720 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>
/external/skia/include/gpu/GrGpuResource.h
|
e2e87f3484e5524dbfd6c01f402136738d1d434b |
|
22-Sep-2016 |
bsalomon <bsalomon@google.com> |
Change implementation of flush-count based GrGpuResource purging Change default to approx 30seconds (given some API usage assumptions) GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2361093002 Review-Url: https://codereview.chromium.org/2361093002
/external/skia/include/gpu/GrGpuResource.h
|
8abb370aca280516f4861c6c942ec453aad018fa |
|
31-Aug-2016 |
robertphillips <robertphillips@google.com> |
Have GrSurfaceProxys and GrGpuResources draw from the same pool of unique ids The idea here is that, for wrapped Proxy objects, we want the uniqueID to reflect that of the wrapped object. For this to work the IDs for the non-wrapped versions can't conflict with GrGpuResource's pool of IDs. Split off of: https://codereview.chromium.org/2215323003/ (Start using RenderTargetProxy (omnibus)) GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2301523003 Review-Url: https://codereview.chromium.org/2301523003
/external/skia/include/gpu/GrGpuResource.h
|
9a44565e9946629c4ee776fb859d168eb953da71 |
|
30-Aug-2016 |
bsalomon <bsalomon@google.com> |
Remove custom data from GrGpuResource Chrome is no longer relying on this feature to track mailboxes for textures. BUG=skia:4134 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2291203002 Review-Url: https://codereview.chromium.org/2291203002
/external/skia/include/gpu/GrGpuResource.h
|
2e6055b3ea14a04fcde1ac1974a70bf00b1e295b |
|
22-Apr-2016 |
kkinnunen <kkinnunen@nvidia.com> |
Refactor to separate backend object lifecycle and GpuResource budget decision Refactor GrGpuResource to contain two different pieces of state: a) instance is budgeted or not budgeted b) instance references wrapped backend objects or not The "object lifecycle" was also attached to backend object handles (ids), which made the code a bit unclear. Backend objects would be associated with GrGpuResource::LifeCycle, even though GrGpuResource::LifeCycle refers to the GpuResource, and individual backend objects in one GpuResource might be governed with different "lifecycle". Mark the budgeted/not budgeted with SkBudgeted::kYes, SkBudgeted::kNo. This was previously GrGpuResource::kCached_LifeCycle, GrGpuResource::kUncached_LifeCycle. Mark the "references wrapped object" with boolean. This was previously GrGpuResource::kBorrowed_LifeCycle, GrGpuResource::kAdopted_LifeCycle for GrGpuResource. Associate the backend object ownership status with GrBackendObjectOwnership for the backend object handles. The resource type leaf constuctors, such has GrGLTexture or GrGLTextureRenderTarget take "budgeted" parameter. This parameter is passed to GrGpuResource::registerWithCache(). The resource type intermediary constructors, such as GrGLTexture constructors for class GrGLTextureRenderTarget do not take "budgeted" parameters, intermediary construtors do not call registerWithCache. Removes the need for tagging GrGpuResource -derived subclass constructors with "Derived" parameter. Makes instances that wrap backend objects be registered with a new function GrGpuResource::registerWithCacheWrapped(). Removes "budgeted" parameter from classes such as StencilAttahment, as they are always cached and never wrap any external backend objects. Removes the use of concept "external" from the member function names. The API refers to the objects as "wrapped", so make all related functions use the term consistently. No change in functionality. Resources referencing wrapped objects are always inserted to the cache with budget decision kNo. BUG=594928 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1862043002 Review URL: https://codereview.chromium.org/1862043002
/external/skia/include/gpu/GrGpuResource.h
|
0a5fa484fd58d27088f8696bdc11c8cc8f2b4866 |
|
15-Sep-2015 |
ericrk <ericrk@chromium.org> |
Add onMemoryDump to GrContext Adds an entry point to GrContext to allow enumeration and tracing of GPU resources via the newly added SkTraceMemoryDump. Plan is for Chrome to call this on each of its GrContexts. Dumps both the total size of GPU resources, as well as the total purgeable size. BUG=526261 Review URL: https://codereview.chromium.org/1313743002
/external/skia/include/gpu/GrGpuResource.h
|
2766c00fc0b6a07d46e5f74cdad45da2ef625237 |
|
26-Jun-2015 |
mtklein <mtklein@chromium.org> |
remove SkInstCnt It's been outclassed by Valgrind and leak sanitizer, and it seems to be causing problems for external folks building Skia. I'm not sure why our own builds seem unaffected. Latest thread: https://groups.google.com/forum/#!topic/skia-discuss/oj9FsQwwSF0 BUG=skia: Review URL: https://codereview.chromium.org/1217573002
/external/skia/include/gpu/GrGpuResource.h
|
6dc6f5f4a153d33ed91565cb3cd397a310a937d0 |
|
18-Jun-2015 |
bsalomon <bsalomon@google.com> |
Add support for creating texture backed images where Skia will delete the texture. Review URL: https://codereview.chromium.org/1187523005
/external/skia/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|
f99e961f55bb603d099c8cb57d05a2ae52a4e9ca |
|
19-Feb-2015 |
bsalomon <bsalomon@google.com> |
Allow resources' unique keys to be changed. Review URL: https://codereview.chromium.org/938943002
/external/skia/include/gpu/GrGpuResource.h
|
8718aafec239c93485e45bbe8fed19d9a8def079 |
|
19-Feb-2015 |
bsalomon <bsalomon@google.com> |
Rename GrContentKey to GrUniqueKey Review URL: https://codereview.chromium.org/940463006
/external/skia/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|
0ea80f43a1af05b8157a4ef387223bb5b0da35ed |
|
11-Feb-2015 |
bsalomon <bsalomon@google.com> |
Rename GrResourceCache2->GrResourceCache TBR=robertphillips@google.com Review URL: https://codereview.chromium.org/921453002
/external/skia/include/gpu/GrGpuResource.h
|
23e619cf462b2a8a500f3ca750e099f79601f508 |
|
06-Feb-2015 |
bsalomon <bsalomon@google.com> |
Reimplement gpu message bus for invalidated bitmap gen IDs Review URL: https://codereview.chromium.org/902873002
/external/skia/include/gpu/GrGpuResource.h
|
563ff60b33fa50b9c6a48dd048b8b36a88596668 |
|
03-Feb-2015 |
bsalomon <bsalomon@google.com> |
make getContentKey() available in GrGpuResource public interface TBR=robertphillips@google.com Committed: https://skia.googlesource.com/skia/+/85ed2db092e75db41b711b9116a8d5b465fc2b0c Review URL: https://codereview.chromium.org/886313005
/external/skia/include/gpu/GrGpuResource.h
|
9b440260d54795213a13d6394b5c9546e0f69fae |
|
02-Feb-2015 |
stephana <stephana@google.com> |
Revert of make getContentKey() available in GrGpuResource public interface (patchset #2 id:20001 of https://codereview.chromium.org/886313005/) Reason for revert: This causes in one case the linker and in the other the compiler to segfault. On Test-Ubuntu12-ShuttleA-GTX660-x86_64-Debug/Release Original issue's description: > make getContentKey() available in GrGpuResource public interface > > TBR=robertphillips@google.com > > Committed: https://skia.googlesource.com/skia/+/85ed2db092e75db41b711b9116a8d5b465fc2b0c TBR=robertphillips@google.com,bsalomon@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/864343005
/external/skia/include/gpu/GrGpuResource.h
|
85ed2db092e75db41b711b9116a8d5b465fc2b0c |
|
02-Feb-2015 |
bsalomon <bsalomon@google.com> |
make getContentKey() available in GrGpuResource public interface TBR=robertphillips@google.com Review URL: https://codereview.chromium.org/886313005
/external/skia/include/gpu/GrGpuResource.h
|
63c992f6c05ea728b5386de61d279f10eb7e08d9 |
|
23-Jan-2015 |
bsalomon <bsalomon@google.com> |
Fix the speeling of "purgeable" in Gr code TBR=robertphillips@google.com Review URL: https://codereview.chromium.org/874693002
/external/skia/include/gpu/GrGpuResource.h
|
c2f35b750a57d7dc0b8053a98279631d1ccb9b56 |
|
23-Jan-2015 |
bsalomon <bsalomon@google.com> |
Allow unbudgeted resources to be recycled by the cache as scratch. Review URL: https://codereview.chromium.org/870743002
/external/skia/include/gpu/GrGpuResource.h
|
24db3b1c35fb935660229da164fc5ad31977387f |
|
23-Jan-2015 |
bsalomon <bsalomon@google.com> |
Add specialized content key class for resources. Review URL: https://codereview.chromium.org/858123002
/external/skia/include/gpu/GrGpuResource.h
|
afe3005be3392e43bc51eb7eb2017eefaed85ad1 |
|
16-Jan-2015 |
bsalomon <bsalomon@google.com> |
Require budget decision when creating a RenderTarget SkSurface. Restructure SkGpuDevice creation: *SkSurfaceProps are optional. *Use SkSurfaceProps to communicate DF text rather than a flag. *Tell SkGpuDevice::Create whether RT comes from cache or not. Review URL: https://codereview.chromium.org/848903004
/external/skia/include/gpu/GrGpuResource.h
|
5236cf480daf82b2f36e42795abdbbc915533a59 |
|
14-Jan-2015 |
bsalomon <bsalomon@google.com> |
Make uncached textures uncached from the get go. This avoids the problem of a newly created uncached texture causing a purge of cached resources. BUG=chromium:445885 Review URL: https://codereview.chromium.org/846303002
/external/skia/include/gpu/GrGpuResource.h
|
6f07665768dc84453316e7b2bbd6049576764cb1 |
|
13-Jan-2015 |
mtklein <mtklein@chromium.org> |
Simplify SkInstCnt This code requires fewer macros to use it (just one), has less code in macro definitions, and has simpler synchronization code (just atomic ints, no SkOnce, no SkMutex, etc.) A minor downside, we lose indentation and reverse-ordering in the final report: Leaked SkRefCntBase: 7 Leaked SkFontMgr: 1 Leaked SkWeakRefCnt: 1 Leaked SkTypeface: 1 Leaked SkFlattenable: 3 Leaked SkXfermode: 3 Leaked SkPathRef: 1 Leaked SkPixelRef: 1 Leaked SkMallocPixelRef: 1 becomes Leaked SkXfermode: 3 Leaked SkMallocPixelRef: 1 Leaked SkPixelRef: 1 Leaked SkPathRef: 1 Leaked SkFlattenable: 3 Leaked SkTypeface: 1 Leaked SkWeakRefCnt: 1 Leaked SkFontMgr: 1 Leaked SkRefCntBase: 7 This is motivated by wanting to land https://codereview.chromium.org/806473006/, which makes sure all static use of SkOnce are in global scope. The current implementation of SkInstCnt uses them in function scope, which isn't safe. BUG=skia: No public API changes. TBR=reed@google.com Review URL: https://codereview.chromium.org/841263004
/external/skia/include/gpu/GrGpuResource.h
|
7775c85611c734a2af709b3a9c127939a4296c48 |
|
30-Dec-2014 |
bsalomon <bsalomon@google.com> |
Add a simpler key type for scratch resource keys. BUG=skia:2889 Review URL: https://codereview.chromium.org/815833004
/external/skia/include/gpu/GrGpuResource.h
|
5756aff40921e700dc40f2a1757291a64acddeaa |
|
11-Dec-2014 |
junov <junov@chromium.org> |
Adding a custom data field to GrGpuResource Motivation: allow Blink to track pre-existing mailbox names for textures that are recycled by the ganesh scratch texture pool. BUG=440462 TBR=bsalomon@google.com Review URL: https://codereview.chromium.org/796163002
/external/skia/include/gpu/GrGpuResource.h
|
436293a3308d58ce494d9667bd13428dd6e35236 |
|
11-Dec-2014 |
junov <junov@chromium.org> |
Making GrGpuResource::release public for special case in Blink BUG=440462 Review URL: https://codereview.chromium.org/739383006
/external/skia/include/gpu/GrGpuResource.h
|
10e23caea3106be125acea10a637789e5a15c728 |
|
25-Nov-2014 |
bsalomon <bsalomon@google.com> |
Use scratch keys for stencil buffers. BUG=skia:2889 Committed: https://skia.googlesource.com/skia/+/91175f19664a62851da4ca4e0984a7c7c45b258f Review URL: https://codereview.chromium.org/747043004
/external/skia/include/gpu/GrGpuResource.h
|
84c8e62fad59f0e19b40ac718467f5b7884b431d |
|
17-Nov-2014 |
bsalomon <bsalomon@google.com> |
Allow GPU resources to not be counted against the cache budget. BUG=skia:2889 Review URL: https://codereview.chromium.org/721353002
/external/skia/include/gpu/GrGpuResource.h
|
12299ab7a1be5f4b99284ecf289d46107ef0a946 |
|
14-Nov-2014 |
bsalomon <bsalomon@google.com> |
Make GrResourceCache2 responsible for calling release, abandon, and ~. BUG=skia:2889 TBR=robertphillips@google.com NOTRY=true Review URL: https://codereview.chromium.org/729683002
/external/skia/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|
66a450f21a3da174b7eed89a1d5fc8591e8b6ee6 |
|
13-Nov-2014 |
bsalomon <bsalomon@google.com> |
Replace GrResourceCache with GrResourceCache2. BUG=skia:2889 Review URL: https://codereview.chromium.org/716143004
/external/skia/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|
ac211af359667dd1afcc375e688c3aae46cb13e8 |
|
08-Oct-2014 |
bsalomon <bsalomon@google.com> |
call derived ~ from GrIORef TBR=mtklein@google.com NOTREECHECKS=true Review URL: https://codereview.chromium.org/641813002
/external/skia/include/gpu/GrGpuResource.h
|
81e64484ff801ad2c346722e41a3f4216a15b6c8 |
|
08-Oct-2014 |
bsalomon <bsalomon@google.com> |
Remove ~GrIORef since last remaining virtual and now all inline TBR=reed@google.com NOTRY=true Review URL: https://codereview.chromium.org/638003003
/external/skia/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|
544fe2338ff7459dbd887549aca31b8fc4cde7f4 |
|
08-Oct-2014 |
bsalomon <bsalomon@google.com> |
Add SK_API to GrGpuResource TBR=reed@google.com Review URL: https://codereview.chromium.org/638963003
/external/skia/include/gpu/GrGpuResource.h
|
bcf0a52d4f4221b158e68a06ba0c4cc4db011060 |
|
08-Oct-2014 |
bsalomon <bsalomon@google.com> |
GrResourceCache2 manages scratch texture. BUG=skia:2889 Review URL: https://codereview.chromium.org/608883003
/external/skia/include/gpu/GrGpuResource.h
|
9323b8b8e16df4adcd63ee8496a6382e8df535c9 |
|
07-Oct-2014 |
Brian Salomon <bsalomon@google.com> |
Revert "GrResourceCache2 manages scratch texture." This reverts commit d14e1a27643125bfef37fa0ed314b64c1fae22b7.
/external/skia/include/gpu/GrGpuResource.h
|
d14e1a27643125bfef37fa0ed314b64c1fae22b7 |
|
07-Oct-2014 |
bsalomon <bsalomon@google.com> |
GrResourceCache2 manages scratch texture. BUG=skia:2889 Review URL: https://codereview.chromium.org/608883003
/external/skia/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|
8d034a154fec81167ecb696c07da389b98cc02a7 |
|
22-Sep-2014 |
bsalomon <bsalomon@google.com> |
Don't flush on read/write pixels unless necessary BUG=skia:2889 Committed: https://skia.googlesource.com/skia/+/150723b9298772a5096bec7acd2999c5c9d66239 R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/586073002
/external/skia/include/gpu/GrGpuResource.h
|
4401a1f7d6d4fad6315b8b8647d9bb7d1ae90141 |
|
22-Sep-2014 |
bsalomon <bsalomon@google.com> |
Revert of Don't flush on read/write pixels unless necessary (patchset #2 id:20001 of https://codereview.chromium.org/586073002/) Reason for revert: Breaking the tree Original issue's description: > Don't flush on read/write pixels unless necessary > > BUG=skia:2889 > > Committed: https://skia.googlesource.com/skia/+/150723b9298772a5096bec7acd2999c5c9d66239 R=robertphillips@google.com TBR=robertphillips@google.com NOTREECHECKS=true NOTRY=true BUG=skia:2889 Author: bsalomon@google.com Review URL: https://codereview.chromium.org/594543004
/external/skia/include/gpu/GrGpuResource.h
|
150723b9298772a5096bec7acd2999c5c9d66239 |
|
22-Sep-2014 |
bsalomon <bsalomon@google.com> |
Don't flush on read/write pixels unless necessary BUG=skia:2889 R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/586073002
/external/skia/include/gpu/GrGpuResource.h
|
45725db1d82615d43408ec488549aec6218f80e4 |
|
19-Sep-2014 |
bsalomon <bsalomon@google.com> |
Move IOType to GrGpuRef and rename that to GrIORef. Template GrPendingIORef on IOType. BUG=skia:2889 R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/579403003
/external/skia/include/gpu/GrGpuResource.h
|
b3e3a955b6628acc540ef14854b57abb089e62df |
|
19-Sep-2014 |
bsalomon <bsalomon@google.com> |
Make GrIODB keep pending IO refs on all resources it records into its cmd stream. BUG=skia:2889 R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/581123002
/external/skia/include/gpu/GrGpuResource.h
|
f96ba02513eadd9fa24d75396ec9f2d6682e464c |
|
17-Sep-2014 |
bsalomon <bsalomon@google.com> |
Rename GrProgramResource to GrGpuResourceRef BUG=skia:2889 R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/574333003
/external/skia/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|
52e9d63f7110ac691609660342cdab32082a4235 |
|
05-Sep-2014 |
bsalomon <bsalomon@google.com> |
Don't take a ref on GP in AutoEffectRestore. BUG=skia:2889 R=joshualitt@chromium.org, robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/546043002
/external/skia/include/gpu/GrGpuResource.h
|
ac8d6193eaa29e02d1786fe56efa98eefee74e50 |
|
04-Sep-2014 |
bsalomon <bsalomon@google.com> |
Add method to GrProgramResource to record that pending a execution was completed. BUG=skia:2889 R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/543833002
/external/skia/include/gpu/GrGpuResource.h
|
95740981c36266e4595ddde2264aa38e3c7e2d02 |
|
04-Sep-2014 |
bsalomon <bsalomon@google.com> |
Add GrProgramElement base class for GrEffect with deferred exec ref. BUG=skia:2889 R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/537773004
/external/skia/include/gpu/GrGpuResource.h
|
00b76bd750e668a6989dd497313e715d1b476fdc |
|
03-Sep-2014 |
bsalomon <bsalomon@google.com> |
Add reference base class to GrGpuResourcewith pending IO references. BUG=skia:2889 R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/533343002
/external/skia/include/gpu/GrGpuResource.h
|
744998e666073166307d2522847b2536000a7619 |
|
28-Aug-2014 |
bsalomon <bsalomon@google.com> |
Make textures register with GrResourceCache2 as scratch. R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/510053003
/external/skia/include/gpu/GrGpuResource.h
|
169612621f00b3fe9f71014079991287d311751a |
|
26-Aug-2014 |
bsalomon <bsalomon@google.com> |
Make GrGpuResources register with GrResourceCache2 after fully constructed. Committed: https://skia.googlesource.com/skia/+/d68b3e491bb765beb7ca5e4ac8e0c80dedf5a83b R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/504313002
/external/skia/include/gpu/GrGpuResource.h
|
a2b0af82f02a74749b0ae8c315202a810a89bcb8 |
|
26-Aug-2014 |
bsalomon <bsalomon@google.com> |
Revert of Make GrGpuResources register with GrResourceCache2 after fully constructed. (patchset #3 of https://codereview.chromium.org/504313002/) Reason for revert: Breaking the bots Original issue's description: > Make GrGpuResources register with GrResourceCache2 after fully constructed. > > Committed: https://skia.googlesource.com/skia/+/d68b3e491bb765beb7ca5e4ac8e0c80dedf5a83b R=robertphillips@google.com TBR=robertphillips@google.com NOTREECHECKS=true NOTRY=true Author: bsalomon@google.com Review URL: https://codereview.chromium.org/488463004
/external/skia/include/gpu/GrGpuResource.h
|
d68b3e491bb765beb7ca5e4ac8e0c80dedf5a83b |
|
26-Aug-2014 |
bsalomon <bsalomon@google.com> |
Make GrGpuResources register with GrResourceCache2 after fully constructed. R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/504313002
/external/skia/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|
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/include/gpu/GrGpuResource.h
|