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

Issue 519020: Moved logging for NaCl environment from gpu/command_buffer/common/logging.h t... (Closed)

Created:
10 years, 12 months ago by alokp
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, apatrick_chromium
Visibility:
Public.

Description

Moved logging for NaCl environment from gpu/command_buffer/common/logging.h to base/nacl_logging.h. We need to compile command_buffer with nacl compiler. A few files in command_buffer include files in base which in turn include base/logging.h. So it was necessary to fix base/logging.h. BUG=26104

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -44 lines) Patch
M base/logging.h View 2 chunks +5 lines, -0 lines 0 comments Download
A base/nacl_logging.h View 1 chunk +33 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/cmd_buffer_helper.h View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/client/fenced_allocator.h View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/common/cmd_buffer_common.h View 1 chunk +1 line, -1 line 0 comments Download
D gpu/command_buffer/common/logging.h View 1 chunk +0 lines, -39 lines 0 comments Download
M gpu/command_buffer/common/resource.h View 1 chunk +1 line, -1 line 0 comments Download
M gpu/gpu.gyp View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
alokp
10 years, 12 months ago (2009-12-29 18:30:51 UTC) #1
apatrick
I think this should be reviewed by someone who understands what should and should not ...
10 years, 11 months ago (2010-01-04 19:04:10 UTC) #2
brettw
can you elaborate what the problem is with our logging.h under NaCl? I would not ...
10 years, 11 months ago (2010-01-04 20:18:37 UTC) #3
alokp
This CL just moves gpu/comman_buffer/common/logging.h to base/nacl_logging.h. I do not know why it was done ...
10 years, 11 months ago (2010-01-04 21:43:38 UTC) #4
apatrick
It was probably piman. +piman On Mon, Jan 4, 2010 at 1:43 PM, <alokp@chromium.org> wrote: ...
10 years, 11 months ago (2010-01-04 22:17:31 UTC) #5
Antoine Labour
On Mon, Jan 4, 2010 at 2:17 PM, Alastair Patrick <apatrick@google.com>wrote: > It was probably ...
10 years, 11 months ago (2010-01-04 22:33:16 UTC) #6
alokp
base/logging.h does not compile under nacl either. I am getting the following errors: logging.h:795: error: ...
10 years, 11 months ago (2010-01-04 22:58:40 UTC) #7
apatrick
Ideally we don't want the client command_buffer code to be directly dependent on base because ...
10 years, 11 months ago (2010-01-04 23:10:50 UTC) #8
alokp
Here are all the dependencies of client command buffer code on base: base/basictypes.h base/logging.h base/task.h ...
10 years, 11 months ago (2010-01-04 23:25:19 UTC) #9
apatrick
I suspect we don't much out of base/basictypes.h, probably just int32 and the like. If ...
10 years, 11 months ago (2010-01-04 23:52:48 UTC) #10
brettw
10 years, 11 months ago (2010-01-05 18:19:25 UTC) #11
On Mon, Jan 4, 2010 at 3:10 PM, Alastair Patrick <apatrick@google.com> wrote:
> Ideally we don't want the client command_buffer code to be directly
> dependent on base because it'll be linked with NaCl modules. We could break
> the dependency with a callback function for reporting diagnostics, if
> logging is the only issue:
>
> typedef void LogFunc(const char* message, const char* file, int line);
>
> Or something like that. I'm not sure where the best to put it would be.

This sounds fine to me. It sounds better than having a weird different
logging in base.

Brett

Powered by Google App Engine
This is Rietveld 408576698