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

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

Issue 1343303003: Revert of Mandoline: Add WebGL support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | mojo/gpu/mojo_gles2_impl_autogen.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/public/c/gles2/gles2.h" 5 #include "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"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 return static_cast<GLES2Context*>(context)->context_support(); 75 return static_cast<GLES2Context*>(context)->context_support();
76 } 76 }
77 77
78 #define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \ 78 #define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \
79 ReturnType GL_APIENTRY gl##Function PARAMETERS { \ 79 ReturnType GL_APIENTRY gl##Function PARAMETERS { \
80 DCHECK(g_gpu_interface.Get().Get()); \ 80 DCHECK(g_gpu_interface.Get().Get()); \
81 return g_gpu_interface.Get().Get()->Function ARGUMENTS; \ 81 return g_gpu_interface.Get().Get()->Function ARGUMENTS; \
82 } 82 }
83 #include "mojo/public/c/gles2/gles2_call_visitor_autogen.h" 83 #include "mojo/public/c/gles2/gles2_call_visitor_autogen.h"
84 #include "mojo/public/c/gles2/gles2_call_visitor_chromium_copy_texture_autogen.h " 84 #include "mojo/public/c/gles2/gles2_call_visitor_chromium_copy_texture_autogen.h "
85 #include "mojo/public/c/gles2/gles2_call_visitor_chromium_framebuffer_multisampl e_autogen.h"
86 #include "mojo/public/c/gles2/gles2_call_visitor_chromium_image_autogen.h" 85 #include "mojo/public/c/gles2/gles2_call_visitor_chromium_image_autogen.h"
87 #include "mojo/public/c/gles2/gles2_call_visitor_chromium_miscellaneous_autogen. h" 86 #include "mojo/public/c/gles2/gles2_call_visitor_chromium_miscellaneous_autogen. h"
88 #include "mojo/public/c/gles2/gles2_call_visitor_chromium_pixel_transfer_buffer_ object_autogen.h" 87 #include "mojo/public/c/gles2/gles2_call_visitor_chromium_pixel_transfer_buffer_ object_autogen.h"
89 #include "mojo/public/c/gles2/gles2_call_visitor_chromium_sub_image_autogen.h" 88 #include "mojo/public/c/gles2/gles2_call_visitor_chromium_sub_image_autogen.h"
90 #include "mojo/public/c/gles2/gles2_call_visitor_chromium_sync_point_autogen.h" 89 #include "mojo/public/c/gles2/gles2_call_visitor_chromium_sync_point_autogen.h"
91 #include "mojo/public/c/gles2/gles2_call_visitor_chromium_texture_mailbox_autoge n.h" 90 #include "mojo/public/c/gles2/gles2_call_visitor_chromium_texture_mailbox_autoge n.h"
92 #include "mojo/public/c/gles2/gles2_call_visitor_occlusion_query_ext_autogen.h" 91 #include "mojo/public/c/gles2/gles2_call_visitor_occlusion_query_ext_autogen.h"
93 #undef VISIT_GL_CALL 92 #undef VISIT_GL_CALL
94 93
95 } // extern "C" 94 } // extern "C"
OLDNEW
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | mojo/gpu/mojo_gles2_impl_autogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698