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

Issue 200127: Made gyp file for command buffer libraries.... (Closed)

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

Description

Made gyp file for command buffer libraries. Gyp build works on Windows. Mac and linux won't work yet. Fixed some warnings. Switched from dxerr.lib to dxerr9.lib. Implemented a Texture::SetRect case for DXT compressed textures. Fixed division by zero for zero stride vertex buffers. TEST=none BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26271

Patch Set 1 #

Total comments: 8

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+263 lines, -44 lines) Patch
M command_buffer/client/cross/cmd_buffer_helper.cc View 3 1 chunk +1 line, -1 line 0 comments Download
M command_buffer/client/cross/effect_helper.cc View 2 chunks +2 lines, -2 lines 0 comments Download
A command_buffer/command_buffer.gyp View 1 chunk +165 lines, -0 lines 0 comments Download
M command_buffer/common/cross/buffer_sync_api.h View 1 chunk +1 line, -1 line 0 comments Download
M command_buffer/common/cross/resource.h View 1 chunk +1 line, -1 line 0 comments Download
M command_buffer/common/cross/rpc.h View 1 chunk +1 line, -1 line 0 comments Download
M command_buffer/common/cross/rpc_fake.h View 1 chunk +1 line, -0 lines 0 comments Download
M command_buffer/common/cross/rpc_fake.cc View 1 chunk +1 line, -1 line 0 comments Download
M command_buffer/common/cross/rpc_imc.h View 1 chunk +1 line, -1 line 0 comments Download
M command_buffer/common/cross/rpc_imc.cc View 1 chunk +1 line, -1 line 0 comments Download
M command_buffer/service/cross/gapi_decoder.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M command_buffer/service/cross/texture_utils.h View 1 chunk +2 lines, -2 lines 0 comments Download
M command_buffer/service/win/d3d9/geometry_d3d9.cc View 1 chunk +9 lines, -1 line 0 comments Download
M command_buffer/service/win/d3d9/sampler_d3d9.cc View 1 chunk +1 line, -1 line 0 comments Download
M command_buffer/service/win/d3d9/texture_d3d9.cc View 1 2 3 3 chunks +9 lines, -9 lines 0 comments Download
M core/core.gyp View 2 chunks +38 lines, -0 lines 0 comments Download
M core/cross/command_buffer/renderer_cb.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M core/cross/command_buffer/texture_cb.h View 2 chunks +2 lines, -2 lines 0 comments Download
M core/cross/command_buffer/texture_cb.cc View 1 5 chunks +14 lines, -7 lines 0 comments Download
M core/win/d3d9/utils_d3d9.h View 2 chunks +2 lines, -2 lines 0 comments Download
M plugin/plugin.gyp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M tests/tests.gyp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
apatrick
11 years, 3 months ago (2009-09-14 22:28:50 UTC) #1
rlp
http://codereview.chromium.org/200127/diff/1/23 File command_buffer/client/cross/cmd_buffer_helper.h (right): http://codereview.chromium.org/200127/diff/1/23#newcode149 Line 149: unsigned int get_; Why can't this be left ...
11 years, 3 months ago (2009-09-15 00:52:48 UTC) #2
apatrick
http://codereview.chromium.org/200127/diff/1/23 File command_buffer/client/cross/cmd_buffer_helper.h (right): http://codereview.chromium.org/200127/diff/1/23#newcode149 Line 149: unsigned int get_; CommandBufferOffset is signed, which leads ...
11 years, 3 months ago (2009-09-15 17:14:28 UTC) #3
rlp
LGTM One small comment item below. http://codereview.chromium.org/200127/diff/1/8 File command_buffer/service/cross/gapi_decoder.cc (right): http://codereview.chromium.org/200127/diff/1/8#newcode475 Line 475: bool line_smooth ...
11 years, 3 months ago (2009-09-15 21:48:52 UTC) #4
apatrick
11 years, 3 months ago (2009-09-15 21:52:12 UTC) #5
Committed.

http://codereview.chromium.org/200127/diff/1/8
File command_buffer/service/cross/gapi_decoder.cc (right):

http://codereview.chromium.org/200127/diff/1/8#newcode475
Line 475: bool line_smooth = !!cmd::LineSmoothEnable::Get(enables);
On 2009/09/15 21:48:52, rlp wrote:
> On 2009/09/15 17:14:28, apatrick wrote:
> > It's not faster. The problem is visual studio reports a "performance"
warning
> > even if you use a cast. !!x is the least offensive way I know to get around
> it.
> > (0 || x) and (false || x) also work.
> 
> Maybe put a small note (at least on the first one) as to that fact. Otherwise
> it's a bit cryptic as to why you'd choose to do it this way.

Done.

Powered by Google App Engine
This is Rietveld 408576698