forked from chromium/chromium
-
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.
oop: Intergrate skia font remoting for OOP raster.
Integrate SkStrikeServer/SkStrikeClient to remote glyph generation for OOP raster. This includes the following changes: 1) Use a SkTextBlobCacheDiffCanvas during serialization to analyze text blobs serialized as a part of raster commands. This is used to track the set of glyphs that will be required to raster these commands. 2) Use the SkStrikeServer::DiscardableHandleManager to let skia allocate and lock discardable handles. Each handle is allocated a unique id that skia can internally serialize and map to an instance of SkGlyphCache on the GPU process. This allows the renderer to pin glyph caches on the GPU until dependent raster commands are executed on the service. 3) In the GPU process, deserialize the font data prior to executing the raster commands. The deserialization populates the requisite glyph caches with the glyphs generated by the renderer. Once the raster commands have been executed, unlock all the discardable handles. R=enne@chromium.org, piman@chromium.org TBR=bsalomon@chromium.org Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: Ifff356a30bb2ac235eea0bc80e00180a508bce81 Reviewed-on: https://chromium-review.googlesource.com/1006181 Commit-Queue: Khushal <khushalsagar@chromium.org> Reviewed-by: Khushal <khushalsagar@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by: enne <enne@chromium.org> Reviewed-by: Antoine Labour <piman@chromium.org> Cr-Commit-Position: refs/heads/master@{#555647}
- Loading branch information
1 parent
e535f97
commit a8d5064
Showing
69 changed files
with
1,605 additions
and
484 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
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
Oops, something went wrong.