Descriptioncc: 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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221425
Patch Set 1 #
Total comments: 1
Patch Set 2 : Use arraysize. #
Messages
Total messages: 5 (0 generated)
|