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

Issue 14308014: Clean up of GLES2 Command Decoder by moving some of the error state into a separate class. (Closed)

Created:
7 years, 8 months ago by kloveless
Modified:
7 years, 8 months ago
Reviewers:
dsinclair, greggman
CC:
chromium-reviews, apatrick_chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Clean up of GLES2 Command Decoder by moving some of the error state into a separate class. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195002

Patch Set 1 #

Patch Set 2 : Fixing test framework. #

Patch Set 3 : Fixed the remaining tests. Added mock ErrorState. #

Total comments: 12

Patch Set 4 : Fixed a few nits + lint. #

Patch Set 5 : #

Patch Set 6 : Fix merge error. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+506 lines, -330 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/buffer_manager.h View 3 chunks +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/buffer_manager.cc View 4 chunks +7 lines, -7 lines 0 comments Download
M gpu/command_buffer/service/buffer_manager_unittest.cc View 1 6 chunks +9 lines, -9 lines 0 comments Download
M gpu/command_buffer/service/context_state.h View 1 2 3 5 chunks +8 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/context_state.cc View 1 2 3 4 chunks +8 lines, -2 lines 0 comments Download
A gpu/command_buffer/service/error_state.h View 1 2 3 1 chunk +107 lines, -0 lines 0 comments Download
A gpu/command_buffer/service/error_state.cc View 1 2 3 1 chunk +183 lines, -0 lines 0 comments Download
A gpu/command_buffer/service/error_state_mock.h View 1 2 3 1 chunk +48 lines, -0 lines 0 comments Download
A gpu/command_buffer/service/error_state_mock.cc View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/framebuffer_manager_unittest.cc View 1 5 chunks +5 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.h View 3 chunks +3 lines, -72 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 23 chunks +34 lines, -157 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_mock.h View 2 chunks +2 lines, -20 lines 0 comments Download
M gpu/command_buffer/service/query_manager.cc View 2 chunks +2 lines, -1 line 0 comments Download
M gpu/command_buffer/service/query_manager_unittest.cc View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M gpu/command_buffer/service/test_helper.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/test_helper.cc View 1 4 chunks +9 lines, -9 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M gpu/command_buffer/service/texture_manager.cc View 1 2 3 4 5 4 chunks +14 lines, -11 lines 0 comments Download
M gpu/command_buffer/service/texture_manager_unittest.cc View 1 2 3 4 10 chunks +16 lines, -10 lines 0 comments Download
M gpu/command_buffer/service/vertex_attrib_manager.cc View 1 2 3 5 chunks +8 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/vertex_attrib_manager_unittest.cc View 1 4 chunks +8 lines, -8 lines 0 comments Download
M gpu/command_buffer_service.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/gpu.gyp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
kloveless
This CL is just for changing to ErrorState. Many tests had to change making this ...
7 years, 8 months ago (2013-04-17 00:07:52 UTC) #1
greggman
lgtm https://codereview.chromium.org/14308014/diff/5001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/14308014/diff/5001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode642 gpu/command_buffer/service/gles2_cmd_decoder.cc:642: virtual ErrorState * GetErrorState() OVERRIDE; nit: no space ...
7 years, 8 months ago (2013-04-17 00:15:29 UTC) #2
dsinclair
https://codereview.chromium.org/14308014/diff/5001/gpu/command_buffer/service/error_state.h File gpu/command_buffer/service/error_state.h (right): https://codereview.chromium.org/14308014/diff/5001/gpu/command_buffer/service/error_state.h#newcode105 gpu/command_buffer/service/error_state.h:105: class ErrorStateImpl : public ErrorState { Does this need ...
7 years, 8 months ago (2013-04-17 00:39:09 UTC) #3
kloveless
@dsinclair: PTAL https://codereview.chromium.org/14308014/diff/5001/gpu/command_buffer/service/error_state.h File gpu/command_buffer/service/error_state.h (right): https://codereview.chromium.org/14308014/diff/5001/gpu/command_buffer/service/error_state.h#newcode105 gpu/command_buffer/service/error_state.h:105: class ErrorStateImpl : public ErrorState { On ...
7 years, 8 months ago (2013-04-17 14:58:01 UTC) #4
dsinclair
lgtm.
7 years, 8 months ago (2013-04-17 15:01:19 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kloveless@chromium.org/14308014/14006
7 years, 8 months ago (2013-04-18 14:03:50 UTC) #6
commit-bot: I haz the power
Failed to apply patch for gpu/command_buffer/service/texture_manager.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 8 months ago (2013-04-18 14:04:01 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kloveless@chromium.org/14308014/50001
7 years, 8 months ago (2013-04-18 15:47:30 UTC) #8
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=136287
7 years, 8 months ago (2013-04-18 16:56:43 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kloveless@chromium.org/14308014/50001
7 years, 8 months ago (2013-04-18 19:23:15 UTC) #10
commit-bot: I haz the power
7 years, 8 months ago (2013-04-18 21:11:53 UTC) #11
Message was sent while issue was closed.
Change committed as 195002

Powered by Google App Engine
This is Rietveld 408576698