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

Issue 329046: Splits the command buffers into common commands... (Closed)

Created:
11 years, 1 month ago by gman
Modified:
9 years, 7 months ago
Reviewers:
apatrick
CC:
o3d-review_googlegroups.com
Visibility:
Public.

Description

Splits the command buffers into common commands and specific commands. Common are things like Noop, SetToken, Jump, Gosub, return. Specific are O3D etc... Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30365

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+491 lines, -195 lines) Patch
M build/libs.gyp View 1 chunk +8 lines, -0 lines 0 comments Download
M command_buffer/client/cross/cmd_buffer_helper.h View 1 chunk +13 lines, -0 lines 0 comments Download
M command_buffer/client/cross/o3d_cmd_helper.h View 1 chunk +0 lines, -11 lines 0 comments Download
M command_buffer/command_buffer.gyp View 2 chunks +3 lines, -0 lines 0 comments Download
M command_buffer/common/cross/cmd_buffer_common.h View 2 chunks +57 lines, -2 lines 0 comments Download
A command_buffer/common/cross/cmd_buffer_common.cc View 1 2 1 chunk +60 lines, -0 lines 1 comment Download
M command_buffer/common/cross/o3d_cmd_format.h View 2 chunks +63 lines, -118 lines 0 comments Download
M command_buffer/common/cross/o3d_cmd_format.cc View 2 chunks +5 lines, -3 lines 1 comment Download
M command_buffer/service/cross/cmd_parser.h View 2 chunks +6 lines, -0 lines 0 comments Download
M command_buffer/service/cross/cmd_parser.cc View 1 chunk +7 lines, -3 lines 0 comments Download
A command_buffer/service/cross/common_decoder.h View 1 chunk +110 lines, -0 lines 0 comments Download
A command_buffer/service/cross/common_decoder.cc View 1 chunk +126 lines, -0 lines 1 comment Download
M command_buffer/service/cross/gapi_decoder.h View 3 chunks +6 lines, -24 lines 0 comments Download
M command_buffer/service/cross/gapi_decoder.cc View 4 chunks +12 lines, -27 lines 0 comments Download
M command_buffer/service/cross/gl/gapi_gl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M command_buffer/service/cross/gl/gapi_gl.cc View 2 chunks +8 lines, -4 lines 0 comments Download
M command_buffer/service/cross/mocks.h View 1 chunk +4 lines, -0 lines 0 comments Download
M tests/common/win/testing_common.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
gman
11 years, 1 month ago (2009-10-28 02:27:23 UTC) #1
gman
PS: the renderer=cb cb_service=gl build currently fails unit_tests. This is before this CL. We are ...
11 years, 1 month ago (2009-10-28 02:31:16 UTC) #2
apatrick
11 years, 1 month ago (2009-10-28 16:44:01 UTC) #3
LGTM

http://codereview.chromium.org/329046/diff/2030/2039
File command_buffer/common/cross/cmd_buffer_common.cc (right):

http://codereview.chromium.org/329046/diff/2030/2039#newcode52
Line 52: return (static_cast<int>(id) >= 0 && static_cast<int>(id) <
kNumCommands) ?
id is already int. no need for static_casts.

http://codereview.chromium.org/329046/diff/2030/2041
File command_buffer/common/cross/o3d_cmd_format.cc (right):

http://codereview.chromium.org/329046/diff/2030/2041#newcode54
Line 54: return (static_cast<int>(id) > kStartPoint &&
no need for static_casts.

http://codereview.chromium.org/329046/diff/2030/2033
File command_buffer/service/cross/common_decoder.cc (right):

http://codereview.chromium.org/329046/diff/2030/2033#newcode48
Line 48: return static_cast<char *>(shm_addr) + offset;
char -> int8

Powered by Google App Engine
This is Rietveld 408576698