forked from google/skia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[graphite] Add fRequireOrderedRecordings ContextOption.
This is essentially a rename of fDisableCachedGlyphUploads to reflect what it actually does. fDisableCachedGlyphUploads will be removed once clients have been changed over to the new name. Also includes a fix to clear the RasterPathAtlas as well, if fRequiredOrderedRecordings isn't true. Change-Id: Ie2877f36925347dbffc9c596e684372a3e7b95aa Reviewed-on: https://skia-review.googlesource.com/c/skia/+/929358 Reviewed-by: Robert Phillips <[email protected]> Reviewed-by: Greg Daniel <[email protected]> Commit-Queue: Jim Van Verth <[email protected]>
- Loading branch information
Showing
6 changed files
with
25 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Graphite has a new `ContextOptions::fRequiredOrderedRecordings` flag that enables certain optimizations when the | ||
client knows that recordings are played back in order. Otherwise Graphite will need to clear some caches at the | ||
start of each recording to ensure proper playback, which can significantly affect performance. | ||
|
||
This replaces the old `ContextOptions::fDisableCachedGlyphUploads` flag which was deprecated but still being used by some | ||
clients to get the same behavior. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters