| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Note: This header should be compilable as C. | |
| 6 | |
| 7 #ifndef MOJO_PUBLIC_C_INCLUDE_MGL_MGL_ONSCREEN_H_ | |
| 8 #define MOJO_PUBLIC_C_INCLUDE_MGL_MGL_ONSCREEN_H_ | |
| 9 | |
| 10 #include <MGL/mgl_types.h> | |
| 11 #include <mojo/macros.h> | |
| 12 #include <stdint.h> | |
| 13 | |
| 14 MOJO_BEGIN_EXTERN_C | |
| 15 | |
| 16 // Resizes the default framebuffer for the currently bound onscreen MGLContext. | |
| 17 void MGLResizeSurface(uint32_t width, uint32_t height); | |
| 18 | |
| 19 // Presents the default framebuffer for the currently bound onscreen MGLContext | |
| 20 // to the windowing system or display. | |
| 21 void MGLSwapBuffers(void); | |
| 22 | |
| 23 MOJO_END_EXTERN_C | |
| 24 | |
| 25 #endif // MOJO_PUBLIC_C_INCLUDE_MGL_MGL_ONSCREEN_H_ | |
| OLD | NEW |