diff options
author | 2018-02-27 16:43:18 -0500 | |
---|---|---|
committer | 2018-02-27 22:05:55 +0000 | |
commit | acf17904d6286f2a63a5d895541804d0ea1be646 (patch) | |
tree | efafdb48995fd150c37b1442bf58295d4d66cd89 /src/image/SkImage_Lazy.cpp | |
parent | c420525bd4cde4cdac471880d080d8c742307788 (diff) |
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>
Diffstat (limited to 'src/image/SkImage_Lazy.cpp')
0 files changed, 0 insertions, 0 deletions