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

Issue 651863002: Use glDiscardFramebuffer to save memory bandwidth in PNaCl (Closed)

Created:
6 years, 2 months ago by dshwang
Modified:
6 years, 2 months ago
CC:
chromium-reviews, piman+watch_chromium.org, Shouqun Liu
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Use glDiscardFramebuffer to save memory bandwidth in PNaCl Leverage glDiscardFramebuffer for tiled-based GPU to improve performance of offscreen GL contexnt with preserved target buffer and also save memory bandwidth. BUG=424176

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 chunk +8 lines, -0 lines 2 comments Download

Messages

Total messages: 19 (2 generated)
dshwang
Could you review this optimization? It is the same optimization of WebGL for gles2 decoder: ...
6 years, 2 months ago (2014-10-13 10:11:36 UTC) #2
Hongbo Min
https://codereview.chromium.org/651863002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/651863002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode9375 gpu/command_buffer/service/gles2_cmd_decoder.cc:9375: if (feature_info_->feature_flags().ext_discard_framebuffer) { According to my previous work, an ...
6 years, 2 months ago (2014-10-14 02:27:48 UTC) #3
dshwang
Hongbo, Thank you for review. https://codereview.chromium.org/651863002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/651863002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode9375 gpu/command_buffer/service/gles2_cmd_decoder.cc:9375: if (feature_info_->feature_flags().ext_discard_framebuffer) { On ...
6 years, 2 months ago (2014-10-14 12:09:30 UTC) #4
Hongbo Min
Very elaborate description. Thanks. On 2014/10/14 12:09:30, dshwang wrote: > Hongbo, Thank you for review. ...
6 years, 2 months ago (2014-10-15 02:03:59 UTC) #5
Hongbo Min
cc shouqun
6 years, 2 months ago (2014-10-15 05:06:11 UTC) #6
dshwang
On 2014/10/15 02:03:59, Hongbo Min wrote: > Very elaborate description. Thanks. > > On 2014/10/14 ...
6 years, 2 months ago (2014-10-15 10:06:31 UTC) #7
Hongbo Min
On 2014/10/15 10:06:31, dshwang wrote: > On 2014/10/15 02:03:59, Hongbo Min wrote: > > Very ...
6 years, 2 months ago (2014-10-15 10:11:14 UTC) #8
Ken Russell (switch to Gerrit)
I'm deferring to sievers@, aelias@ and vmiura@ since this would principally affect Chrome on Android. ...
6 years, 2 months ago (2014-10-16 02:09:58 UTC) #10
Ken Russell (switch to Gerrit)
Sorry. I didn't read the CL description carefully. Please file a new bug about applying ...
6 years, 2 months ago (2014-10-16 02:12:28 UTC) #11
Hongbo Min
6 years, 2 months ago (2014-10-16 06:26:06 UTC) #12
Hongbo Min
On 2014/10/16 02:09:58, Ken Russell wrote: > I'm deferring to sievers@, aelias@ and vmiura@ since ...
6 years, 2 months ago (2014-10-16 06:27:15 UTC) #13
dshwang
On 2014/10/16 02:12:28, Ken Russell wrote: > Sorry. I didn't read the CL description carefully. ...
6 years, 2 months ago (2014-10-16 14:08:37 UTC) #14
vmiura
Due to Chromium security needs, glDiscardFramebufferEXT imposes a forced glClear in GPU command buffer. glDiscardFramebufferEXT ...
6 years, 2 months ago (2014-10-16 17:10:12 UTC) #15
dshwang
On 2014/10/16 17:10:12, vmiura wrote: Thank you for good review. > Due to Chromium security ...
6 years, 2 months ago (2014-10-16 20:17:36 UTC) #16
no sievers
On 2014/10/16 20:17:36, dshwang wrote: > On 2014/10/16 17:10:12, vmiura wrote: > > PNaCl spec ...
6 years, 2 months ago (2014-10-16 23:04:18 UTC) #17
vmiura
> @Victor: I thought that tilers are usually able to optimize Clear + full Draw, ...
6 years, 2 months ago (2014-10-17 00:59:45 UTC) #18
dshwang
6 years, 2 months ago (2014-10-17 13:14:36 UTC) #19
@vmlura, @sievers, thank you for good explanation.
As a result, this CL regresses perf also. I close it as Invalid.

Powered by Google App Engine
This is Rietveld 408576698