OLD | NEW |
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 // This file is auto-generated from | 5 // This file is auto-generated from |
6 // gpu/command_buffer/build_gles2_cmd_buffer.py | 6 // gpu/command_buffer/build_gles2_cmd_buffer.py |
7 // It's formatted by clang-format using chromium coding style: | 7 // It's formatted by clang-format using chromium coding style: |
8 // clang-format -i -style=chromium filename | 8 // clang-format -i -style=chromium filename |
9 // DO NOT EDIT! | 9 // DO NOT EDIT! |
10 | 10 |
11 #include "mojo/gpu/mojo_gles2_impl_autogen.h" | 11 #include "mojo/gpu/mojo_gles2_impl_autogen.h" |
12 | 12 |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "third_party/mojo/src/mojo/public/c/gles2/chromium_copy_texture.h" | 14 #include "third_party/mojo/src/mojo/public/c/gles2/chromium_copy_texture.h" |
| 15 #include "third_party/mojo/src/mojo/public/c/gles2/chromium_framebuffer_multisam
ple.h" |
15 #include "third_party/mojo/src/mojo/public/c/gles2/chromium_image.h" | 16 #include "third_party/mojo/src/mojo/public/c/gles2/chromium_image.h" |
16 #include "third_party/mojo/src/mojo/public/c/gles2/chromium_miscellaneous.h" | 17 #include "third_party/mojo/src/mojo/public/c/gles2/chromium_miscellaneous.h" |
17 #include "third_party/mojo/src/mojo/public/c/gles2/chromium_pixel_transfer_buffe
r_object.h" | 18 #include "third_party/mojo/src/mojo/public/c/gles2/chromium_pixel_transfer_buffe
r_object.h" |
18 #include "third_party/mojo/src/mojo/public/c/gles2/chromium_sub_image.h" | 19 #include "third_party/mojo/src/mojo/public/c/gles2/chromium_sub_image.h" |
19 #include "third_party/mojo/src/mojo/public/c/gles2/chromium_sync_point.h" | 20 #include "third_party/mojo/src/mojo/public/c/gles2/chromium_sync_point.h" |
20 #include "third_party/mojo/src/mojo/public/c/gles2/chromium_texture_mailbox.h" | 21 #include "third_party/mojo/src/mojo/public/c/gles2/chromium_texture_mailbox.h" |
21 #include "third_party/mojo/src/mojo/public/c/gles2/gles2.h" | 22 #include "third_party/mojo/src/mojo/public/c/gles2/gles2.h" |
22 #include "third_party/mojo/src/mojo/public/c/gles2/occlusion_query_ext.h" | 23 #include "third_party/mojo/src/mojo/public/c/gles2/occlusion_query_ext.h" |
23 | 24 |
24 namespace mojo { | 25 namespace mojo { |
(...skipping 1189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1214 void MojoGLES2Impl::BlitFramebufferCHROMIUM(GLint srcX0, | 1215 void MojoGLES2Impl::BlitFramebufferCHROMIUM(GLint srcX0, |
1215 GLint srcY0, | 1216 GLint srcY0, |
1216 GLint srcX1, | 1217 GLint srcX1, |
1217 GLint srcY1, | 1218 GLint srcY1, |
1218 GLint dstX0, | 1219 GLint dstX0, |
1219 GLint dstY0, | 1220 GLint dstY0, |
1220 GLint dstX1, | 1221 GLint dstX1, |
1221 GLint dstY1, | 1222 GLint dstY1, |
1222 GLbitfield mask, | 1223 GLbitfield mask, |
1223 GLenum filter) { | 1224 GLenum filter) { |
1224 NOTREACHED() << "Unimplemented BlitFramebufferCHROMIUM."; | 1225 MojoGLES2MakeCurrent(context_); |
| 1226 glBlitFramebufferCHROMIUM(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, |
| 1227 dstY1, mask, filter); |
1225 } | 1228 } |
1226 void MojoGLES2Impl::RenderbufferStorageMultisampleCHROMIUM( | 1229 void MojoGLES2Impl::RenderbufferStorageMultisampleCHROMIUM( |
1227 GLenum target, | 1230 GLenum target, |
1228 GLsizei samples, | 1231 GLsizei samples, |
1229 GLenum internalformat, | 1232 GLenum internalformat, |
1230 GLsizei width, | 1233 GLsizei width, |
1231 GLsizei height) { | 1234 GLsizei height) { |
1232 NOTREACHED() << "Unimplemented RenderbufferStorageMultisampleCHROMIUM."; | 1235 MojoGLES2MakeCurrent(context_); |
| 1236 glRenderbufferStorageMultisampleCHROMIUM(target, samples, internalformat, |
| 1237 width, height); |
1233 } | 1238 } |
1234 void MojoGLES2Impl::RenderbufferStorageMultisampleEXT(GLenum target, | 1239 void MojoGLES2Impl::RenderbufferStorageMultisampleEXT(GLenum target, |
1235 GLsizei samples, | 1240 GLsizei samples, |
1236 GLenum internalformat, | 1241 GLenum internalformat, |
1237 GLsizei width, | 1242 GLsizei width, |
1238 GLsizei height) { | 1243 GLsizei height) { |
1239 NOTREACHED() << "Unimplemented RenderbufferStorageMultisampleEXT."; | 1244 NOTREACHED() << "Unimplemented RenderbufferStorageMultisampleEXT."; |
1240 } | 1245 } |
1241 void MojoGLES2Impl::FramebufferTexture2DMultisampleEXT(GLenum target, | 1246 void MojoGLES2Impl::FramebufferTexture2DMultisampleEXT(GLenum target, |
1242 GLenum attachment, | 1247 GLenum attachment, |
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1719 return 0; | 1724 return 0; |
1720 } | 1725 } |
1721 void MojoGLES2Impl::BlendBarrierKHR() { | 1726 void MojoGLES2Impl::BlendBarrierKHR() { |
1722 NOTREACHED() << "Unimplemented BlendBarrierKHR."; | 1727 NOTREACHED() << "Unimplemented BlendBarrierKHR."; |
1723 } | 1728 } |
1724 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { | 1729 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { |
1725 NOTREACHED() << "Unimplemented ApplyScreenSpaceAntialiasingCHROMIUM."; | 1730 NOTREACHED() << "Unimplemented ApplyScreenSpaceAntialiasingCHROMIUM."; |
1726 } | 1731 } |
1727 | 1732 |
1728 } // namespace mojo | 1733 } // namespace mojo |
OLD | NEW |