skia2/tools/gpu
Chris Dalton 351e80cc28 Reland "ccpr: Rework the path cache to support sporadic flushing"
This is a reland of d6fa45472c

Original change's description:
> ccpr: Rework the path cache to support sporadic flushing
> 
> Removes the notion of a stashed atlas that we store from the previous
> flush. Now we just cache every atlas we ever render. Cached atlases
> can either be 16-bit or 8-bit.
> 
> The "reuse" and "animation" cases should both behave exactly the same
> as before: Where before we would copy from the stashed atlas to 8-bit
> atlases, we now copy from a cached 16-bit atlas and then invalidate
> it. Where before we would recycle the stashed atlas's backing texture
> object, we now recycle this same texture object from an invalidated
> 16-bit cached atlas.
> 
> The main difference is that cases like tiled rendering now work. If
> you draw your whole scene in one flush, you still get one big 16-bit
> cached atlas, just like the "stashed atlas" implementation. But if you
> draw your scene in tiles, you now get lots of little cached 16-bit
> atlases, which can be reused and eventually copied to 8-bit atlases.
> 
> Bug: skia:8462
> Change-Id: Ibae65febb948230aaaf1f1361eef9c8f06ebef18
> Reviewed-on: https://skia-review.googlesource.com/c/179991
> Commit-Queue: Chris Dalton <csmartdalton@google.com>
> Reviewed-by: Robert Phillips <robertphillips@google.com>

Bug: skia:8462
Change-Id: I2f64b0c37e2cd644a202dfc786366dda5d238391
Reviewed-on: https://skia-review.googlesource.com/c/181450
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
2019-01-07 16:14:31 +00:00
..
atlastext Add matrix stack to SkAtlasTextTarget. 2017-12-20 14:00:44 +00:00
gl Manual ANGLE roll to ffda3e2985f18f4ff6e3778af8b9715109b21ad0 2018-12-19 21:16:02 +00:00
mock Move GrBackend enum to enum class. 2018-10-12 14:01:58 +00:00
mtl Move GrBackend enum to enum class. 2018-10-12 14:01:58 +00:00
vk Reland "Add support for Ycbcr Conversion Samplers in vulkan." 2018-12-03 16:16:55 +00:00
FenceSync.h Add NV_fence support to get better timing from ANGLE ES2 2017-10-10 21:13:03 +00:00
GpuTimer.h test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
GrContextFactory.cpp Move GrBackend enum to enum class. 2018-10-12 14:01:58 +00:00
GrContextFactory.h Move GrBackend enum to enum class. 2018-10-12 14:01:58 +00:00
GrTest.cpp Reland "ccpr: Rework the path cache to support sporadic flushing" 2019-01-07 16:14:31 +00:00
MemoryCache.cpp Add gltestpersistentcache config that tests GrContextOption's cache. 2018-07-11 20:06:33 +00:00
MemoryCache.h test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
ProxyUtils.cpp Revert "Revert "Mark wrapped textures imported into SkImages as "read only"."" 2018-12-06 15:34:31 +00:00
ProxyUtils.h Initial texture data is never flipped when uploaded. 2018-03-07 18:22:40 +00:00
TestContext.cpp Revert "Revert "Add method to sk_gpu_test::TestContext to automatically restore the previous context."" 2017-11-17 16:22:56 +00:00
TestContext.h Move GrBackend enum to enum class. 2018-10-12 14:01:58 +00:00