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

Side by Side Diff: mojo/gles2/gles2_impl.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 4 years, 12 months 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.cc ('k') | mojo/message_pump/handle_watcher.h » ('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 <stdint.h>
6
5 #include <utility> 7 #include <utility>
6 8
7 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
8 #include "base/threading/thread_local.h" 10 #include "base/threading/thread_local.h"
9 #include "gpu/GLES2/gl2extchromium.h" 11 #include "gpu/GLES2/gl2extchromium.h"
10 #include "gpu/command_buffer/client/gles2_interface.h" 12 #include "gpu/command_buffer/client/gles2_interface.h"
11 #include "mojo/gles2/gles2_context.h" 13 #include "mojo/gles2/gles2_context.h"
12 // Even though this isn't used here, we need to include it to get the symbols to 14 // Even though this isn't used here, we need to include it to get the symbols to
13 // be exported in component build. 15 // be exported in component build.
14 #include "mojo/public/c/gles2/chromium_extension.h" 16 #include "mojo/public/c/gles2/chromium_extension.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 #define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \ 95 #define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \
94 ReturnType GL_APIENTRY gl##Function PARAMETERS { \ 96 ReturnType GL_APIENTRY gl##Function PARAMETERS { \
95 DCHECK(g_gpu_interface.Get().Get()); \ 97 DCHECK(g_gpu_interface.Get().Get()); \
96 return g_gpu_interface.Get().Get()->Function ARGUMENTS; \ 98 return g_gpu_interface.Get().Get()->Function ARGUMENTS; \
97 } 99 }
98 #include "mojo/public/c/gles2/gles2_call_visitor_autogen.h" 100 #include "mojo/public/c/gles2/gles2_call_visitor_autogen.h"
99 #include "mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h" 101 #include "mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h"
100 #undef VISIT_GL_CALL 102 #undef VISIT_GL_CALL
101 103
102 } // extern "C" 104 } // extern "C"
OLDNEW
« no previous file with comments | « mojo/gles2/gles2_context.cc ('k') | mojo/message_pump/handle_watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698