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

Side by Side Diff: mojo/public/c/include/MGL/mgl_onscreen.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_echo.h ('k') | mojo/public/c/include/MGL/mgl_signal_sync_point.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 MOJO_PUBLIC_C_GPU_MGL_MGL_ONSCREEN_H_ 7 #ifndef MOJO_PUBLIC_C_INCLUDE_MGL_MGL_ONSCREEN_H_
8 #define MOJO_PUBLIC_C_GPU_MGL_MGL_ONSCREEN_H_ 8 #define MOJO_PUBLIC_C_INCLUDE_MGL_MGL_ONSCREEN_H_
9 9
10 #include <MGL/mgl_types.h>
11 #include <mojo/macros.h>
10 #include <stdint.h> 12 #include <stdint.h>
11 13
12 #include "mojo/public/c/gpu/MGL/mgl_types.h" 14 MOJO_BEGIN_EXTERN_C
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 15
18 // Resizes the default framebuffer for the currently bound onscreen MGLContext. 16 // Resizes the default framebuffer for the currently bound onscreen MGLContext.
19 void MGLResizeSurface(uint32_t width, uint32_t height); 17 void MGLResizeSurface(uint32_t width, uint32_t height);
20 18
21 // Presents the default framebuffer for the currently bound onscreen MGLContext 19 // Presents the default framebuffer for the currently bound onscreen MGLContext
22 // to the windowing system or display. 20 // to the windowing system or display.
23 void MGLSwapBuffers(void); 21 void MGLSwapBuffers(void);
24 22
25 #ifdef __cplusplus 23 MOJO_END_EXTERN_C
26 } // extern "C"
27 #endif
28 24
29 #endif // MOJO_PUBLIC_C_GPU_MGL_MGL_ONSCREEN_H_ 25 #endif // MOJO_PUBLIC_C_INCLUDE_MGL_MGL_ONSCREEN_H_
OLDNEW
« no previous file with comments | « mojo/public/c/include/MGL/mgl_echo.h ('k') | mojo/public/c/include/MGL/mgl_signal_sync_point.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698