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

Issue 157033009: Explicitly disable all attribs before drawing in CopyTextureCHROMIUM (Closed)

Created:
6 years, 10 months ago by bajones
Modified:
6 years, 10 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Visibility:
Public.

Description

Explicitly disable all attribs and reset all attrib divisors before drawing in CopyTextureCHROMIUM BUG=342439, 304927 R=kbr@chromium.org, zmo@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250827

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressing Feedback #

Total comments: 1

Patch Set 3 : Clearing divisors as well #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -1 line) Patch
M gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 2 chunks +17 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_mock.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
bajones
I'd actually prefer to use a VAO to manage the buffer/attrib state isolation here, but ...
6 years, 10 months ago (2014-02-11 18:54:49 UTC) #1
Zhenyao Mo
https://codereview.chromium.org/157033009/diff/1/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc File gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc (right): https://codereview.chromium.org/157033009/diff/1/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc#newcode391 gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc:391: GLint maxAttribs = 0; name should be max_attribs https://codereview.chromium.org/157033009/diff/1/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc#newcode402 ...
6 years, 10 months ago (2014-02-11 19:01:20 UTC) #2
bajones
Thanks! All feedback addressed.
6 years, 10 months ago (2014-02-11 19:08:26 UTC) #3
Zhenyao Mo
LGTM
6 years, 10 months ago (2014-02-11 19:17:26 UTC) #4
Ken Russell (switch to Gerrit)
I was going to object to iterating over all of the vertex attribs before discovering ...
6 years, 10 months ago (2014-02-11 23:15:23 UTC) #5
bajones
The CQ bit was checked by bajones@chromium.org
6 years, 10 months ago (2014-02-12 19:01:45 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bajones@chromium.org/157033009/180001
6 years, 10 months ago (2014-02-12 19:04:19 UTC) #7
bajones
6 years, 10 months ago (2014-02-12 23:16:42 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 manually as r250827 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698