Debian Codegraph @

xbmc/windowing/osx/OpenGL/OSXGLView.h

raw
1 #pragma once
2
3 /*
4 * Copyright (C) 2021- Team Kodi
5 * This file is part of Kodi - https://kodi.tv
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 * See LICENSES/README.md for more information.
9 */
10
11 #import <Cocoa/Cocoa.h>
12
13 @interface OSXGLView : NSOpenGLView
14
15 - (id)initWithFrame:(NSRect)frameRect;
16 - (CGLContextObj)getGLContextObj;
17
18 /**
19 * @brief Update the current OpenGL context (view is set before updating)
20 */
21 - (void)Update;
22 /**
23 * @brief Copies the back buffer to the front buffer of the OpenGL context.
24 */
25 - (void)FlushBuffer;
26
27 @end