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

Side by Side Diff: mojo/public/c/gpu/MGL/mgl.h

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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/gpu/DEPS ('k') | mojo/public/c/gpu/MGL/mgl_onscreen.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 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 THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_C_GPU_MGL_MGL_H_ 7 #ifndef MOJO_PUBLIC_C_GPU_MGL_MGL_H_
8 #define THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_C_GPU_MGL_MGL_H_ 8 #define MOJO_PUBLIC_C_GPU_MGL_MGL_H_
9 9
10 #include <stdint.h> 10 #include <stdint.h>
11 11
12 #include "third_party/mojo/src/mojo/public/c/gpu/MGL/mgl_types.h" 12 #include "mojo/public/c/gpu/MGL/mgl_types.h"
13 #include "third_party/mojo/src/mojo/public/c/system/types.h" 13 #include "mojo/public/c/system/types.h"
14 14
15 #ifdef __cplusplus 15 #ifdef __cplusplus
16 extern "C" { 16 extern "C" {
17 #endif 17 #endif
18 18
19 typedef uint32_t MGLOpenGLAPIVersion; 19 typedef uint32_t MGLOpenGLAPIVersion;
20 20
21 // OpenGL ES 2.0 21 // OpenGL ES 2.0
22 #define MGL_API_VERSION_GLES2 ((MGLOpenGLAPIVersion)1) 22 #define MGL_API_VERSION_GLES2 ((MGLOpenGLAPIVersion)1)
23 // OpenGL ES 3.0 23 // OpenGL ES 3.0
(...skipping 28 matching lines...) Expand all
52 void MGLMakeCurrent(MGLContext context); 52 void MGLMakeCurrent(MGLContext context);
53 53
54 // Returns the currently bound context for the calling thread or MGL_NO_CONTEXT 54 // Returns the currently bound context for the calling thread or MGL_NO_CONTEXT
55 // if there is none. 55 // if there is none.
56 MGLContext MGLGetCurrentContext(void); 56 MGLContext MGLGetCurrentContext(void);
57 57
58 #ifdef __cplusplus 58 #ifdef __cplusplus
59 } // extern "C" 59 } // extern "C"
60 #endif 60 #endif
61 61
62 #endif // THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_C_GPU_MGL_MGL_H_ 62 #endif // MOJO_PUBLIC_C_GPU_MGL_MGL_H_
OLDNEW
« no previous file with comments | « mojo/public/c/gpu/DEPS ('k') | mojo/public/c/gpu/MGL/mgl_onscreen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698