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

Side by Side Diff: mojo/public/c/gles2/chromium_pixel_transfer_buffer_object.h

Issue 1185963002: Add some Mojo C thunks used by cc when turning on impl-side painting. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebase Created 5 years, 6 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef MOJO_PUBLIC_C_GLES2_OCCLUSION_QUERY_EXT_H_ 5 #ifndef MOJO_PUBLIC_C_GLES2_CHROMIUM_PIXEL_TRANSFER_BUFFER_OBJECT_H_
6 #define MOJO_PUBLIC_C_GLES2_OCCLUSION_QUERY_EXT_H_ 6 #define MOJO_PUBLIC_C_GLES2_CHROMIUM_PIXEL_TRANSFER_BUFFER_OBJECT_H_
7 7
8 // Note: This header should be compilable as C. 8 // Note: This header should be compilable as C.
9 9
10 #include <stdint.h> 10 #include <stdint.h>
11 #include <GLES2/gl2.h> 11 #include <GLES2/gl2.h>
12 12
13 #include "mojo/public/c/gles2/gles2_export.h" 13 #include "mojo/public/c/gles2/gles2_export.h"
14 #include "mojo/public/c/gles2/gles2_types.h" 14 #include "mojo/public/c/gles2/gles2_types.h"
15 #include "mojo/public/c/system/types.h" 15 #include "mojo/public/c/system/types.h"
16 16
17 #ifdef __cplusplus 17 #ifdef __cplusplus
18 extern "C" { 18 extern "C" {
19 #endif 19 #endif
20 20
21 #define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \ 21 #define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \
22 MOJO_GLES2_EXPORT ReturnType GL_APIENTRY gl##Function PARAMETERS; 22 MOJO_GLES2_EXPORT ReturnType GL_APIENTRY gl##Function PARAMETERS;
23 #include "mojo/public/c/gles2/gles2_call_visitor_occlusion_query_ext_autogen.h" 23 #include "mojo/public/c/gles2/gles2_call_visitor_chromium_pixel_transfer_buffer_ object_autogen.h"
24 #undef VISIT_GL_CALL 24 #undef VISIT_GL_CALL
25 25
26 #ifdef __cplusplus 26 #ifdef __cplusplus
27 } // extern "C" 27 } // extern "C"
28 #endif 28 #endif
29 29
30 #endif // MOJO_PUBLIC_C_GLES2_OCCLUSION_QUERY_EXT_H_ 30 #endif // MOJO_PUBLIC_C_GLES2_CHROMIUM_PIXEL_TRANSFER_BUFFER_OBJECT_H_
OLDNEW
« no previous file with comments | « mojo/public/c/gles2/chromium_image.h ('k') | mojo/public/c/gles2/gles2_call_visitor_chromium_copy_texture_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698