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

Unified Diff: gpu/command_buffer/service/gpu_processor.cc

Issue 465040: Added CommandBufferClient, CommandBufferStub and some IPC messages.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/service/gpu_processor.h ('k') | gpu/command_buffer/service/gpu_processor_mock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gpu_processor.cc
===================================================================
--- gpu/command_buffer/service/gpu_processor.cc (revision 34314)
+++ gpu/command_buffer/service/gpu_processor.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -7,7 +7,7 @@
using ::base::SharedMemory;
-namespace command_buffer {
+namespace gpu {
GPUProcessor::~GPUProcessor() {
}
@@ -20,16 +20,16 @@
int commands_processed = 0;
while (commands_processed < commands_per_update_ && !parser_->IsEmpty()) {
- command_buffer::parse_error::ParseError parse_error =
+ gpu::parse_error::ParseError parse_error =
parser_->ProcessCommand();
switch (parse_error) {
- case command_buffer::parse_error::kParseUnknownCommand:
- case command_buffer::parse_error::kParseInvalidArguments:
+ case gpu::parse_error::kParseUnknownCommand:
+ case gpu::parse_error::kParseInvalidArguments:
command_buffer_->SetParseError(parse_error);
break;
- case command_buffer::parse_error::kParseInvalidSize:
- case command_buffer::parse_error::kParseOutOfBounds:
+ case gpu::parse_error::kParseInvalidSize:
+ case gpu::parse_error::kParseOutOfBounds:
command_buffer_->SetParseError(parse_error);
command_buffer_->RaiseErrorStatus();
return;
@@ -75,4 +75,4 @@
command_buffer_->SetToken(token);
}
-} // namespace command_buffer
+} // namespace gpu
« no previous file with comments | « gpu/command_buffer/service/gpu_processor.h ('k') | gpu/command_buffer/service/gpu_processor_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698