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

Side by Side Diff: mojo/public/c/include/MGL/mgl_types.h

Issue 2236083002: Move mojo/public/c/gpu/* to mojo/public/c/include. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: foo Created 4 years, 4 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 | « mojo/public/c/include/MGL/mgl_signal_sync_point.h ('k') | mojo/public/mojo_application.gni » ('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 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 // Note: This header should be compilable as C. 5 // Note: This header should be compilable as C.
6 6
7 #ifndef MOJO_PUBLIC_C_GPU_MGL_TYPES_H_ 7 #ifndef MOJO_PUBLIC_C_INCLUDE_MGL_TYPES_H_
8 #define MOJO_PUBLIC_C_GPU_MGL_TYPES_H_ 8 #define MOJO_PUBLIC_C_INCLUDE_MGL_TYPES_H_
9 9
10 #ifdef __cplusplus 10 #include <mojo/macros.h>
11 extern "C" { 11
12 #endif 12 MOJO_BEGIN_EXTERN_C
13 13
14 typedef struct MGLContextPrivate* MGLContext; 14 typedef struct MGLContextPrivate* MGLContext;
15 typedef void (*MGLContextLostCallback)(void* closure); 15 typedef void (*MGLContextLostCallback)(void* closure);
16 typedef void (*MGLSignalSyncPointCallback)(void* closure); 16 typedef void (*MGLSignalSyncPointCallback)(void* closure);
17 17
18 // This is a generic function pointer type, which must be cast to the proper 18 // This is a generic function pointer type, which must be cast to the proper
19 // type and calling convention before use. 19 // type and calling convention before use.
20 typedef void (*MGLMustCastToProperFunctionPointerType)(void); 20 typedef void (*MGLMustCastToProperFunctionPointerType)(void);
21 21
22 #ifdef __cplusplus 22 MOJO_END_EXTERN_C
23 } // extern "C"
24 #endif
25 23
26 #endif // MOJO_PUBLIC_C_GPU_MGL_TYPES_H_ 24 #endif // MOJO_PUBLIC_C_INCLUDE_MGL_TYPES_H_
OLDNEW
« no previous file with comments | « mojo/public/c/include/MGL/mgl_signal_sync_point.h ('k') | mojo/public/mojo_application.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698