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

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

Issue 2236083002: Move mojo/public/c/gpu/* to mojo/public/c/include. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: foo Created 4 years, 4 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.h ('k') | mojo/gles2/mgl_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 "gpu/command_buffer/client/gles2_interface.h" 5 #include "gpu/command_buffer/client/gles2_interface.h"
6 #include "mojo/gles2/control_thunks_impl.h" 6 #include "mojo/gles2/control_thunks_impl.h"
7 #include "mojo/public/c/gpu/GLES2/gl2.h" 7 #include "mojo/public/c/include/GLES2/gl2.h"
8 #include "mojo/public/c/gpu/MGL/mgl.h" 8 #include "mojo/public/c/include/MGL/mgl.h"
9 9
10 extern "C" { 10 extern "C" {
11 11
12 #define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \ 12 #define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \
13 ReturnType GL_APIENTRY gl##Function PARAMETERS { \ 13 ReturnType GL_APIENTRY gl##Function PARAMETERS { \
14 auto interface = gles2::ControlThunksImpl::Get()->CurrentGLES2Interface(); \ 14 auto interface = gles2::ControlThunksImpl::Get()->CurrentGLES2Interface(); \
15 DCHECK(interface); \ 15 DCHECK(interface); \
16 return interface->Function ARGUMENTS; \ 16 return interface->Function ARGUMENTS; \
17 } 17 }
18 #include "mojo/public/platform/native/gles2/call_visitor_autogen.h" 18 #include "mojo/public/platform/native/gles2/call_visitor_autogen.h"
19 #include "mojo/public/platform/native/gles2/call_visitor_chromium_bind_uniform_l ocation_autogen.h" 19 #include "mojo/public/platform/native/gles2/call_visitor_chromium_bind_uniform_l ocation_autogen.h"
20 #include "mojo/public/platform/native/gles2/call_visitor_chromium_map_sub_autoge n.h" 20 #include "mojo/public/platform/native/gles2/call_visitor_chromium_map_sub_autoge n.h"
21 #include "mojo/public/platform/native/gles2/call_visitor_chromium_miscellaneous_ autogen.h" 21 #include "mojo/public/platform/native/gles2/call_visitor_chromium_miscellaneous_ autogen.h"
22 #include "mojo/public/platform/native/gles2/call_visitor_chromium_resize_autogen .h" 22 #include "mojo/public/platform/native/gles2/call_visitor_chromium_resize_autogen .h"
23 #include "mojo/public/platform/native/gles2/call_visitor_chromium_sync_point_aut ogen.h" 23 #include "mojo/public/platform/native/gles2/call_visitor_chromium_sync_point_aut ogen.h"
24 #include "mojo/public/platform/native/gles2/call_visitor_chromium_texture_mailbo x_autogen.h" 24 #include "mojo/public/platform/native/gles2/call_visitor_chromium_texture_mailbo x_autogen.h"
25 #include "mojo/public/platform/native/gles2/call_visitor_ext_debug_marker_autoge n.h" 25 #include "mojo/public/platform/native/gles2/call_visitor_ext_debug_marker_autoge n.h"
26 #include "mojo/public/platform/native/gles2/call_visitor_ext_discard_framebuffer _autogen.h" 26 #include "mojo/public/platform/native/gles2/call_visitor_ext_discard_framebuffer _autogen.h"
27 #include "mojo/public/platform/native/gles2/call_visitor_ext_multisampled_render _to_texture_autogen.h" 27 #include "mojo/public/platform/native/gles2/call_visitor_ext_multisampled_render _to_texture_autogen.h"
28 #include "mojo/public/platform/native/gles2/call_visitor_ext_occlusion_query_aut ogen.h" 28 #include "mojo/public/platform/native/gles2/call_visitor_ext_occlusion_query_aut ogen.h"
29 #include "mojo/public/platform/native/gles2/call_visitor_ext_texture_storage_aut ogen.h" 29 #include "mojo/public/platform/native/gles2/call_visitor_ext_texture_storage_aut ogen.h"
30 #include "mojo/public/platform/native/gles2/call_visitor_khr_blend_equation_adva nced_autogen.h" 30 #include "mojo/public/platform/native/gles2/call_visitor_khr_blend_equation_adva nced_autogen.h"
31 #include "mojo/public/platform/native/gles2/call_visitor_oes_vertex_array_object _autogen.h" 31 #include "mojo/public/platform/native/gles2/call_visitor_oes_vertex_array_object _autogen.h"
32 #undef VISIT_GL_CALL 32 #undef VISIT_GL_CALL
33 33
34 } // extern "C" 34 } // extern "C"
OLDNEW
« no previous file with comments | « mojo/gles2/gles2_context.h ('k') | mojo/gles2/mgl_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698