skia2/tools/gpu
Robert Phillips acf17904d6 Fission GrAtlasGlyphCache in two
This CL splits the old GrAtlasGlyphCache into a GrAtlasGlyphCache and an GrAtlasManager.

The GrAtlasManager itself is split into a rather limited base class (GrRestrictedAtlasManager)
and the all powerful GrAtlasManager. The GrRestrictedAtlasManager is available at op creation
time and provides access to the proxies backing the atlases. The full GrAtlasManager is
only available at flush time and allows instantiation of the proxies and uploading to them.

In the DDL world all of the DDL Contexts will receive a GrRestrictedAtlasManager-version of the
GrAtlasManager in the main thread. This future atlas manager will have had all of its
GrDrawOpAtlases created (but not instantiated) so there should be no race conditions.

Change-Id: I9967d3a4116af50128f390c5039a712b8cd4db08
Reviewed-on: https://skia-review.googlesource.com/108001
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
2018-02-27 22:05:55 +00:00
..
atlastext Add matrix stack to SkAtlasTextTarget. 2017-12-20 14:00:44 +00:00
gl Update LazyProxy creation to allow for a non-textureable result 2018-02-04 20:01:28 +00:00
mock Revert "Revert "Add method to sk_gpu_test::TestContext to automatically restore the previous context."" 2017-11-17 16:22:56 +00:00
mtl Revert "Revert "Add method to sk_gpu_test::TestContext to automatically restore the previous context."" 2017-11-17 16:22:56 +00:00
vk eliminate SK_BUILD_FOR_WIN32 2018-01-26 19:52:04 +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 eliminate SK_BUILD_FOR_WIN32 2018-01-26 19:52:04 +00:00
GrContextFactory.h Remove instanced rendering 2017-12-08 13:41:10 +00:00
GrTest.cpp Fission GrAtlasGlyphCache in two 2018-02-27 22:05:55 +00:00
GrTest.h Add GrBackendTexture & GrBackendRenderTarget access methods to GrTexture and GrRenderTarget 2017-12-13 21:34:20 +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 Revert "Revert "Add method to sk_gpu_test::TestContext to automatically restore the previous context."" 2017-11-17 16:22:56 +00:00