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

Issue 560002: Fixed compile/link errors for gpu unit-tests. I had to mostly fix signed/unsi... (Closed)

Created:
10 years, 10 months ago by alokp
Modified:
9 years, 6 months ago
CC:
chromium-reviews, apatrick_chromium, Paweł Hajdan Jr.
Visibility:
Public.

Description

Fixed compile/link errors for gpu unit-tests. I had to mostly fix signed/unsigned mismatch and link failures due to non-definition of static member variables. I still do not understand why gcc is behaving arbitrarily for only a few static member variables. AFAIK the standard says that static const numeric types do not need to be defined anymore. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=37837

Patch Set 1 #

Total comments: 5

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -27 lines) Patch
M gpu/command_buffer/service/cmd_parser_test.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/command_buffer_service_unittest.cc View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M gpu/command_buffer/service/common_decoder_unittest.cc View 1 2 12 chunks +23 lines, -17 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc View 1 2 5 chunks +38 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/gpu_processor_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
alokp
All 514 tests passes. The debug build takes < 1 sec to run: real 0m0.469s ...
10 years, 10 months ago (2010-02-01 22:38:12 UTC) #1
greggman
http://codereview.chromium.org/560002/diff/1/7 File gpu/command_buffer/common/GLES2/gl2types.h (right): http://codereview.chromium.org/560002/diff/1/7#newcode150 gpu/command_buffer/common/GLES2/gl2types.h:150: #define GL_NO_ERROR 0u These defines should probably not change ...
10 years, 10 months ago (2010-02-01 22:53:35 UTC) #2
alokp
http://codereview.chromium.org/560002/diff/1/7 File gpu/command_buffer/common/GLES2/gl2types.h (right): http://codereview.chromium.org/560002/diff/1/7#newcode150 gpu/command_buffer/common/GLES2/gl2types.h:150: #define GL_NO_ERROR 0u I have reverted this change. I ...
10 years, 10 months ago (2010-02-01 23:25:06 UTC) #3
greggman
http://codereview.chromium.org/560002/diff/1/7 File gpu/command_buffer/common/GLES2/gl2types.h (right): http://codereview.chromium.org/560002/diff/1/7#newcode150 gpu/command_buffer/common/GLES2/gl2types.h:150: #define GL_NO_ERROR 0u On 2010/02/01 23:25:06, alokp wrote: > ...
10 years, 10 months ago (2010-02-01 23:29:21 UTC) #4
alokp
http://codereview.chromium.org/560002/diff/1/7 File gpu/command_buffer/common/GLES2/gl2types.h (right): http://codereview.chromium.org/560002/diff/1/7#newcode150 gpu/command_buffer/common/GLES2/gl2types.h:150: #define GL_NO_ERROR 0u This change is localized to gles2_cmd_decoder_unittest.cc ...
10 years, 10 months ago (2010-02-01 23:34:19 UTC) #5
greggman
10 years, 10 months ago (2010-02-01 23:56:39 UTC) #6
http://codereview.chromium.org/560002/diff/1/7
File gpu/command_buffer/common/GLES2/gl2types.h (right):

http://codereview.chromium.org/560002/diff/1/7#newcode150
gpu/command_buffer/common/GLES2/gl2types.h:150: #define GL_NO_ERROR             
         0u
On 2010/02/01 23:34:19, alokp wrote:
> This change is localized to gles2_cmd_decoder_unittest.cc and only affects
> unit-tests in that file. If it is not acceptable, I will have to do a
type-cast
> everywhere GetGLError is called.

Yea, ok then

Powered by Google App Engine
This is Rietveld 408576698