skia2/tools/gpu
Chris Dalton 4da70190aa ccpr: Implement path mask caching
Implement caching as follows:

1) Instead of deleting the mainline ccpr atlas when finished, stash it
   away from flush to flush.

2) On subsequent flushes, check the stashed atlas to see if we can
   reuse any of its cachable paths. Copy reusable paths into 8-bit
   literal coverage atlases and store them in the resource cache.

3) Recycle the stashed atlas texture for the remaining paths in the
   flush.

Bug: skia:
Change-Id: I9b20fbea708646df1df3a5f9c044e2299706b989
Reviewed-on: https://skia-review.googlesource.com/134703
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2018-06-18 16:14:28 +00:00
..
atlastext Add matrix stack to SkAtlasTextTarget. 2017-12-20 14:00:44 +00:00
gl Revert "Revert "SkTypes: extract SkTo"" 2018-06-14 14:55:17 +00:00
mock Remove legacy GrContext factories function and supporting code/types. 2018-03-23 21:12:50 +00:00
mtl Remove legacy GrContext factories function and supporting code/types. 2018-03-23 21:12:50 +00:00
vk Reland "Move gn setup for vulkan library/headers into their own third_party directory." 2018-05-22 19:08:05 +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 skpbench: add option for gpu timing 2016-10-05 08:42:03 -07:00
GrContextFactory.cpp Dest color space no longer impacts mipmaps or texture sampling 2018-06-01 17:00:26 +00:00
GrContextFactory.h Dest color space no longer impacts mipmaps or texture sampling 2018-06-01 17:00:26 +00:00
GrTest.cpp ccpr: Implement path mask caching 2018-06-18 16:14:28 +00:00
GrTest.h Add SK_SUPPORT_LEGACY_BACKEND_OBJECTS 2018-04-12 14:56:10 +00:00
ProxyUtils.cpp Make GrGpu::deleteTestingOnlyBackendTexture() take const GrBackendTexture& 2018-03-09 18:20:40 +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 Remove legacy GrContext factories function and supporting code/types. 2018-03-23 21:12:50 +00:00