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

Side by Side Diff: mojo/gles2/gles2_impl.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.cc ('k') | mojo/mojo_base.gyp » ('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/public/c/gles2/gles2.h" 5 #include "third_party/mojo/src/mojo/public/c/gles2/gles2.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "base/threading/thread_local.h" 8 #include "base/threading/thread_local.h"
9 #include "gpu/GLES2/gl2extchromium.h" 9 #include "gpu/GLES2/gl2extchromium.h"
10 #include "gpu/command_buffer/client/gles2_interface.h" 10 #include "gpu/command_buffer/client/gles2_interface.h"
11 #include "mojo/gles2/gles2_context.h" 11 #include "mojo/gles2/gles2_context.h"
12 // Even though this isn't used here, we need to include it to get the symbols to 12 // Even though this isn't used here, we need to include it to get the symbols to
13 // be exported in component build. 13 // be exported in component build.
14 #include "third_party/mojo/src/mojo/public/c/gles2/chromium_extension.h" 14 #include "third_party/mojo/src/mojo/public/c/gles2/chromium_extension.h"
15 15
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 void* MojoGLES2GetContextSupport(MojoGLES2Context context) { 88 void* MojoGLES2GetContextSupport(MojoGLES2Context context) {
89 return static_cast<GLES2Context*>(context)->context_support(); 89 return static_cast<GLES2Context*>(context)->context_support();
90 } 90 }
91 91
92 #define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \ 92 #define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \
93 ReturnType GL_APIENTRY gl##Function PARAMETERS { \ 93 ReturnType GL_APIENTRY gl##Function PARAMETERS { \
94 DCHECK(g_gpu_interface.Get().Get()); \ 94 DCHECK(g_gpu_interface.Get().Get()); \
95 return g_gpu_interface.Get().Get()->Function ARGUMENTS; \ 95 return g_gpu_interface.Get().Get()->Function ARGUMENTS; \
96 } 96 }
97 #include "mojo/public/c/gles2/gles2_call_visitor_autogen.h" 97 #include "third_party/mojo/src/mojo/public/c/gles2/gles2_call_visitor_autogen.h"
98 #include "mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h" 98 #include "third_party/mojo/src/mojo/public/c/gles2/gles2_call_visitor_chromium_e xtension_autogen.h"
99 #undef VISIT_GL_CALL 99 #undef VISIT_GL_CALL
100 100
101 } // extern "C" 101 } // extern "C"
OLDNEW
« no previous file with comments | « mojo/gles2/gles2_context.cc ('k') | mojo/mojo_base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698