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.
Move static GL binding initialization to //ui/gl/init.
Static GL binding initialization needs to call out to the Ozone platform. Move this initialization code from //ui/gl to //ui/gl/init as part of larger effort to break //ui/gl dep on //ui/ozone. Also move InitializationDebugGLBindings() and ClearGLBindings() in a similar fashion as they are closely linked to static initialization. Unfortunately, dynamic GL binding initialization can't be moved //ui/gl/init. It would be nice to have all the initialization code in one target but dynamic GL binding initialization is used by GLContext. The existing InitializationStaticGLBindings() functions had grown to be very large for some platforms. Where appropriate the code for each implementation has been extracted into it's own method to improve readability. The PRESUBMIT.py script is modified slightly here. The existing static GL initialization uses ScopedAllowIO on some platforms. This function is banned so moving the code triggers presubmit errors. The GPU main thread can't continue until initialization is finished anyways so moving blocking code to a different thread isn't helpful. Add new exemptions to PRESUBMIT.py. This is a resubmission of r402259. The original patch was reverted after it broke the win Chrome branded build. The include directory for swiftshader was missing, this CL now modifies BUILD.gn and *.gyp files appropriately. BUG=611142 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2103123002 Cr-Commit-Position: refs/heads/master@{#403714}
- Loading branch information
kylechar
authored and
Commit bot
committed
Jul 4, 2016
1 parent
3f28275
commit 1666624
Showing
34 changed files
with
812 additions
and
800 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
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
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.