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.
cc: Invalidate framebuffer contents when clearing
When clearing the contents of a framebuffer, also invalidate/discard it if the GL implementation supports this functionality. This improves performance especially on tiling architecture GPUs since the graphics driver does not need to restore the previous contents of the framebuffer before proceeding with rendering. Note that normally we don't clear the contents of framebuffers whose contents we know we will completely re-render. This patch will still invalidate such framebuffers to let the driver know that the previous contents are not relevant. BUG=274334 Review URL: https://chromiumcodereview.appspot.com/23601013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221425 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
skyostil@chromium.org
committed
Sep 5, 2013
1 parent
4714d68
commit a1b0e0d
Showing
7 changed files
with
38 additions
and
14 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