Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1120)

Issue 614883002: Use glDiscardFramebuffer to save memory bandwidth (Closed)

Created:
6 years, 2 months ago by Hongbo Min
Modified:
6 years, 2 months ago
CC:
blink-reviews, jamesr, pdr+graphicswatchlist_chromium.org, jbroman, mkwst+moarreviews_chromium.org, danakj, Rik, Stephen Chennney, krit, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Leverage glDiscardFramebuffer for tiled-based GPU to improve preserveDrawingBuffer=false WebGL performance and also save memory bandwidth. In case of glDiscardFramebuffer, there is no need to call glClear again. BUG=418272 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183217

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -3 lines) Patch
M Source/core/html/canvas/WebGLRenderingContextBase.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/gpu/DrawingBuffer.h View 1 3 chunks +4 lines, -0 lines 0 comments Download
M Source/platform/graphics/gpu/DrawingBuffer.cpp View 1 4 chunks +12 lines, -1 line 0 comments Download
M Source/platform/graphics/gpu/DrawingBufferTest.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (3 generated)
Hongbo Min
kbr@, this is the first patch to improve Discard-mode WebGL performance. It seems that the ...
6 years, 2 months ago (2014-09-30 06:03:43 UTC) #2
Ken Russell (switch to Gerrit)
Excellent. Thank you for looking into this. One comment, then LGTM. I assume you've run ...
6 years, 2 months ago (2014-10-01 20:40:06 UTC) #3
Hongbo Min
On 2014/10/01 20:40:06, Ken Russell wrote: > Excellent. Thank you for looking into this. One ...
6 years, 2 months ago (2014-10-02 00:51:07 UTC) #4
Hongbo Min
Hi, this CL has the following changes: 1. Check if GL_EXT_discardframebuffer is supported in DrawingBuffer::create; ...
6 years, 2 months ago (2014-10-02 01:27:06 UTC) #5
Ken Russell (switch to Gerrit)
LGTM again. Thank you for picking this up.
6 years, 2 months ago (2014-10-03 23:19:56 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/614883002/40001
6 years, 2 months ago (2014-10-03 23:21:10 UTC) #9
commit-bot: I haz the power
6 years, 2 months ago (2014-10-04 00:07:45 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as 183217

Powered by Google App Engine
This is Rietveld 408576698