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

Side by Side Diff: mojo/gles2/gles2_context.cc

Issue 1435063002: Eliminate third_party/mojo/src from all targets' include paths (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « mojo/gles2/gles2_context.h ('k') | mojo/gles2/gles2_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "mojo/gles2/gles2_context.h" 5 #include "mojo/gles2/gles2_context.h"
6 6
7 #include "gpu/command_buffer/client/gles2_cmd_helper.h" 7 #include "gpu/command_buffer/client/gles2_cmd_helper.h"
8 #include "gpu/command_buffer/client/gles2_implementation.h" 8 #include "gpu/command_buffer/client/gles2_implementation.h"
9 #include "gpu/command_buffer/client/transfer_buffer.h" 9 #include "gpu/command_buffer/client/transfer_buffer.h"
10 #include "mojo/public/c/gles2/gles2.h" 10 #include "third_party/mojo/src/mojo/public/c/gles2/gles2.h"
11 #include "mojo/public/cpp/system/core.h" 11 #include "third_party/mojo/src/mojo/public/cpp/system/core.h"
12 12
13 namespace gles2 { 13 namespace gles2 {
14 14
15 namespace { 15 namespace {
16 const size_t kDefaultCommandBufferSize = 1024 * 1024; 16 const size_t kDefaultCommandBufferSize = 1024 * 1024;
17 const size_t kDefaultStartTransferBufferSize = 1 * 1024 * 1024; 17 const size_t kDefaultStartTransferBufferSize = 1 * 1024 * 1024;
18 const size_t kDefaultMinTransferBufferSize = 1 * 256 * 1024; 18 const size_t kDefaultMinTransferBufferSize = 1 * 256 * 1024;
19 const size_t kDefaultMaxTransferBufferSize = 16 * 1024 * 1024; 19 const size_t kDefaultMaxTransferBufferSize = 16 * 1024 * 1024;
20 } 20 }
21 21
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 &command_buffer_)); 57 &command_buffer_));
58 return implementation_->Initialize(kDefaultStartTransferBufferSize, 58 return implementation_->Initialize(kDefaultStartTransferBufferSize,
59 kDefaultMinTransferBufferSize, 59 kDefaultMinTransferBufferSize,
60 kDefaultMaxTransferBufferSize, 60 kDefaultMaxTransferBufferSize,
61 gpu::gles2::GLES2Implementation::kNoLimit); 61 gpu::gles2::GLES2Implementation::kNoLimit);
62 } 62 }
63 63
64 void GLES2Context::ContextLost() { lost_callback_(closure_); } 64 void GLES2Context::ContextLost() { lost_callback_(closure_); }
65 65
66 } // namespace gles2 66 } // namespace gles2
OLDNEW
« no previous file with comments | « mojo/gles2/gles2_context.h ('k') | mojo/gles2/gles2_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698