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

Issue 2469803003: Revert of Initialize buffers before allowing access to them. (Closed)

Created:
4 years, 1 month ago by marcheu
Modified:
4 years, 1 month ago
CC:
chromium-reviews, piman+watch_chromium.org, vmiura, yunchao
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Initialize buffers before allowing access to them. (patchset #8 id:140001 of https://codereview.chromium.org/2435803004/ ) Reason for revert: This regresses WebGL performance on Chrome OS devices (see bug). BUG=661186 Original issue's description: > Initialize buffers before allowing access to them. > > Also, refactor buffer access validation a bit to reduce > duplicated codes. > > (Note that this is still part 1 of the work. We have more > buffer access paths that we need to put in buffer access > validation.) > > BUG=654201 > TEST=gpu_unittests, webgl_conformance > R=piman@chromium.org > CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel > > Committed: https://crrev.com/26c35c2e81f97a5b291ebd4d639fc3f1a4cc50e8 > Cr-Commit-Position: refs/heads/master@{#427200} TBR=piman@chromium.org,zmo@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=654201

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+301 lines, -353 lines) Patch
M content/test/gpu/gpu_tests/webgl2_conformance_expectations.py View 2 chunks +9 lines, -2 lines 0 comments Download
M content/test/gpu/gpu_tests/webgl_conformance_expectations.py View 1 chunk +3 lines, -1 line 0 comments Download
M gpu/command_buffer/service/buffer_manager.h View 6 chunks +13 lines, -35 lines 0 comments Download
M gpu/command_buffer/service/buffer_manager.cc View 10 chunks +72 lines, -116 lines 0 comments Download
M gpu/command_buffer/service/buffer_manager_unittest.cc View 2 chunks +11 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 21 chunks +104 lines, -80 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h View 1 chunk +11 lines, -10 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_buffers.cc View 19 chunks +55 lines, -25 lines 0 comments Download
M gpu/command_buffer/service/indexed_buffer_binding_host.h View 1 chunk +0 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/indexed_buffer_binding_host.cc View 1 chunk +0 lines, -11 lines 0 comments Download
M gpu/command_buffer/service/vertex_attrib_manager.h View 3 chunks +1 line, -2 lines 0 comments Download
M gpu/command_buffer/service/vertex_attrib_manager.cc View 6 chunks +15 lines, -11 lines 0 comments Download
M gpu/command_buffer/service/vertex_attrib_manager_unittest.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/tests/gl_map_buffer_range_unittest.cc View 5 chunks +4 lines, -51 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
marcheu
Created Revert of Initialize buffers before allowing access to them.
4 years, 1 month ago (2016-11-01 20:20:58 UTC) #1
Ken Russell (switch to Gerrit)
Please don't revert this. It's needed for security reasons.
4 years, 1 month ago (2016-11-01 20:22:44 UTC) #3
marcheu
On 2016/11/01 20:22:44, Ken Russell wrote: > Please don't revert this. It's needed for security ...
4 years, 1 month ago (2016-11-01 20:25:44 UTC) #4
Zhenyao Mo
On 2016/11/01 20:25:44, marcheu wrote: > On 2016/11/01 20:22:44, Ken Russell wrote: > > Please ...
4 years, 1 month ago (2016-11-01 20:44:49 UTC) #5
Ken Russell (switch to Gerrit)
4 years, 1 month ago (2016-11-01 20:52:41 UTC) #6
On 2016/11/01 20:44:49, Zhenyao Mo wrote:
> On 2016/11/01 20:25:44, marcheu wrote:
> > On 2016/11/01 20:22:44, Ken Russell wrote:
> > > Please don't revert this. It's needed for security reasons.
> > 
> > It is causing a major performance regression though, so as such it can be
> > reverted...
> 
> We are looking at fixing it right now.  Please don't revert this CL.

I've taken the bug and am fixing it now. Let me close this so it isn't
accidentally landed. I doubt it would land cleanly at this point anyway.

Powered by Google App Engine
This is Rietveld 408576698