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

Issue 308703010: Fix desynched GPU stencil mask cache values. (Closed)

Created:
6 years, 6 months ago by Jamie Madill
Modified:
6 years, 6 months ago
Reviewers:
Zhenyao Mo, jbauman
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fix desynched GPU stencil mask cache values. In a few places, the command buffer used glStencilMask directly instead of calling through to the helper function which updated the mask cache values. This could cause some strange behaviour in ANGLE, such as the front and back stencil masks getting split. The split mask values could cause unexpected GL errors during draw. BUG=378754 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274395

Patch Set 1 #

Total comments: 1

Patch Set 2 : Formatting fix #

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

Messages

Total messages: 7 (0 generated)
Jamie Madill
Please take a look-see!
6 years, 6 months ago (2014-06-02 19:42:35 UTC) #1
Zhenyao Mo
Please fix format. Otherwise looks good. https://codereview.chromium.org/308703010/diff/1/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc File gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc (right): https://codereview.chromium.org/308703010/diff/1/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc#newcode732 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc:732: if (ignore_cached_state_for_test_ || ...
6 years, 6 months ago (2014-06-02 20:33:52 UTC) #2
Jamie Madill
On 2014/06/02 20:33:52, Zhenyao Mo wrote: > Please fix format. Otherwise looks good. > > ...
6 years, 6 months ago (2014-06-02 20:54:25 UTC) #3
Zhenyao Mo
On 2014/06/02 20:54:25, Jamie Madill wrote: > On 2014/06/02 20:33:52, Zhenyao Mo wrote: > > ...
6 years, 6 months ago (2014-06-02 20:56:46 UTC) #4
Jamie Madill
The CQ bit was checked by jmadill@chromium.org
6 years, 6 months ago (2014-06-02 20:59:27 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jmadill@chromium.org/308703010/20001
6 years, 6 months ago (2014-06-02 21:02:08 UTC) #6
commit-bot: I haz the power
6 years, 6 months ago (2014-06-03 01:00:38 UTC) #7
Message was sent while issue was closed.
Change committed as 274395

Powered by Google App Engine
This is Rietveld 408576698