skia2/include/gpu
Robert Phillips c4039ea466 Fission GrAtlasGlyphCache in two (take 2)
Reland all the things

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.

TBR=jvanverth@google.com
Change-Id: I05c6cd8d301bf2decca39765e5cae62993d9da04
Reviewed-on: https://skia-review.googlesource.com/111362
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2018-03-01 19:09:14 +00:00
..
gl Remove image functions from GrGLInterface, part two 2018-02-12 20:45:43 +00:00
mock Add SkCharacterization creation helper to GrContextThreadSafeProxy (take 2) 2018-02-14 12:42:18 +00:00
mtl Add placeholder GrMtlTypes in include/gpu/mtl 2017-07-28 17:11:51 +00:00
vk Revert "Revert "Fixes to alignment issues with regards to mapped vulkan memory."" 2018-02-26 18:59:38 +00:00
GrBackendSemaphore.h Revert "Add support for semaphores to be inserted on GrContext flush" 2017-07-22 17:34:00 +00:00
GrBackendSurface.h Update createWrappedRenderTargetProxy with BackendRT to work with lazy proxies. 2018-02-20 15:32:33 +00:00
GrBlend.h Revert "Revert "move GrColor.h to private, IWYU"" 2018-02-06 23:05:46 +00:00
GrCaps.h Refactor GrCaps::renderTargetWritePixelsSupported to support for some GL workarounds 2018-02-28 03:14:25 +00:00
GrConfig.h eliminate SK_BUILD_FOR_WIN32 2018-01-26 19:52:04 +00:00
GrContext.h Fission GrAtlasGlyphCache in two (take 2) 2018-03-01 19:09:14 +00:00
GrContextOptions.h Refactor GrCaps::renderTargetWritePixelsSupported to support for some GL workarounds 2018-02-28 03:14:25 +00:00
GrGpuResource.h MakeBackendTextureFromSkImage 2017-10-12 20:05:31 +00:00
GrRenderTarget.h Drop unused support for MSAA sample locations 2018-02-20 17:19:13 +00:00
GrResourceKey.h Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
GrSamplerState.h Rework GrSamplerParams to be more compact and use its own wrap mode enum. 2017-09-07 16:58:31 +00:00
GrShaderCaps.h Drop unused shader support for multisample interpolation 2018-02-20 16:41:43 +00:00
GrSurface.h Add hint to SkSurface::MakeRenderTarget that we will use mips 2017-10-23 20:25:59 +00:00
GrTexture.h make SkDestinationSurfaceColorMode private 2018-02-28 20:31:33 +00:00
GrTypes.h Add 1010102 support to Ganesh 2018-03-01 18:34:35 +00:00