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

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

Issue 244883005: Mojo: Update/add README.md files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « mojo/public/c/gles2/DEPS ('k') | mojo/public/c/system/async_waiter.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_GLES2_H_ 5 #ifndef MOJO_PUBLIC_C_GLES2_GLES2_H_
6 #define MOJO_PUBLIC_C_GLES2_GLES2_H_ 6 #define MOJO_PUBLIC_C_GLES2_GLES2_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/environment/async_waiter.h"
13 #include "mojo/public/c/gles2/gles2_export.h" 14 #include "mojo/public/c/gles2/gles2_export.h"
14 #include "mojo/public/c/gles2/gles2_types.h" 15 #include "mojo/public/c/gles2/gles2_types.h"
15 #include "mojo/public/c/system/async_waiter.h"
16 #include "mojo/public/c/system/core.h" 16 #include "mojo/public/c/system/core.h"
17 17
18 #ifdef __cplusplus 18 #ifdef __cplusplus
19 extern "C" { 19 extern "C" {
20 #endif 20 #endif
21 21
22 MOJO_GLES2_EXPORT void MojoGLES2Initialize(MojoAsyncWaiter* async_waiter); 22 MOJO_GLES2_EXPORT void MojoGLES2Initialize(MojoAsyncWaiter* async_waiter);
23 MOJO_GLES2_EXPORT void MojoGLES2Terminate(); 23 MOJO_GLES2_EXPORT void MojoGLES2Terminate();
24 MOJO_GLES2_EXPORT MojoGLES2Context MojoGLES2CreateContext( 24 MOJO_GLES2_EXPORT MojoGLES2Context MojoGLES2CreateContext(
25 MojoHandle handle, 25 MojoHandle handle,
(...skipping 16 matching lines...) Expand all
42 #define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \ 42 #define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \
43 MOJO_GLES2_EXPORT ReturnType GL_APIENTRY gl##Function PARAMETERS; 43 MOJO_GLES2_EXPORT ReturnType GL_APIENTRY gl##Function PARAMETERS;
44 #include "mojo/public/c/gles2/gles2_call_visitor_autogen.h" 44 #include "mojo/public/c/gles2/gles2_call_visitor_autogen.h"
45 #undef VISIT_GL_CALL 45 #undef VISIT_GL_CALL
46 46
47 #ifdef __cplusplus 47 #ifdef __cplusplus
48 } // extern "C" 48 } // extern "C"
49 #endif 49 #endif
50 50
51 #endif // MOJO_PUBLIC_C_GLES2_GLES2_H_ 51 #endif // MOJO_PUBLIC_C_GLES2_GLES2_H_
OLDNEW
« no previous file with comments | « mojo/public/c/gles2/DEPS ('k') | mojo/public/c/system/async_waiter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698