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

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

Issue 1543603002: Switch to standard integer types in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 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 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 <stddef.h>
8 #include <stdint.h>
9
7 #include <utility> 10 #include <utility>
8 11
9 #include "gpu/command_buffer/client/gles2_cmd_helper.h" 12 #include "gpu/command_buffer/client/gles2_cmd_helper.h"
10 #include "gpu/command_buffer/client/gles2_implementation.h" 13 #include "gpu/command_buffer/client/gles2_implementation.h"
11 #include "gpu/command_buffer/client/transfer_buffer.h" 14 #include "gpu/command_buffer/client/transfer_buffer.h"
12 #include "mojo/public/c/gles2/gles2.h" 15 #include "mojo/public/c/gles2/gles2.h"
13 #include "mojo/public/cpp/system/core.h" 16 #include "mojo/public/cpp/system/core.h"
14 17
15 namespace gles2 { 18 namespace gles2 {
16 19
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 &command_buffer_)); 63 &command_buffer_));
61 return implementation_->Initialize(kDefaultStartTransferBufferSize, 64 return implementation_->Initialize(kDefaultStartTransferBufferSize,
62 kDefaultMinTransferBufferSize, 65 kDefaultMinTransferBufferSize,
63 kDefaultMaxTransferBufferSize, 66 kDefaultMaxTransferBufferSize,
64 gpu::gles2::GLES2Implementation::kNoLimit); 67 gpu::gles2::GLES2Implementation::kNoLimit);
65 } 68 }
66 69
67 void GLES2Context::ContextLost() { lost_callback_(closure_); } 70 void GLES2Context::ContextLost() { lost_callback_(closure_); }
68 71
69 } // namespace gles2 72 } // 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