OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 // This file is auto-generated from | |
6 // gpu/command_buffer/build_gles2_cmd_buffer.py | |
7 // It's formatted by clang-format using chromium coding style: | |
8 // clang-format -i -style=chromium filename | |
9 // DO NOT EDIT! | |
10 | |
11 #include "mojo/public/platform/native/gles2_impl_ext_multisampled_render_to_text
ure_thunks.h" | |
12 | |
13 #include <assert.h> | |
14 | |
15 #include "mojo/public/platform/native/thunk_export.h" | |
16 | |
17 static struct MojoGLES2ImplEXTMultisampledRenderToTextureThunks | |
18 g_impl_ext_multisampled_render_to_texture_thunks = {0}; | |
19 | |
20 #define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \ | |
21 ReturnType GL_APIENTRY gl##Function PARAMETERS { \ | |
22 assert(g_impl_ext_multisampled_render_to_texture_thunks.Function); \ | |
23 return g_impl_ext_multisampled_render_to_texture_thunks \ | |
24 .Function ARGUMENTS; \ | |
25 } | |
26 #include "mojo/public/platform/native/gles2/call_visitor_ext_multisampled_render
_to_texture_autogen.h" | |
27 #undef VISIT_GL_CALL | |
28 | |
29 THUNK_EXPORT size_t MojoSetGLES2ImplEXTMultisampledRenderToTextureThunks( | |
30 const struct MojoGLES2ImplEXTMultisampledRenderToTextureThunks* | |
31 gles2_impl_ext_multisampled_render_to_texture_thunks) { | |
32 if (gles2_impl_ext_multisampled_render_to_texture_thunks->size >= | |
33 sizeof(g_impl_ext_multisampled_render_to_texture_thunks)) | |
34 g_impl_ext_multisampled_render_to_texture_thunks = | |
35 *gles2_impl_ext_multisampled_render_to_texture_thunks; | |
36 return sizeof(g_impl_ext_multisampled_render_to_texture_thunks); | |
37 } | |
OLD | NEW |