1 #ifndef WINDOW_SYSTEM_OSX_GL_H
2 #define WINDOW_SYSTEM_OSX_GL_H
7 * Copyright (C) 2005-2013 Team XBMC
10 * This Program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2, or (at your option)
15 * This Program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with XBMC; see the file COPYING. If not, see
22 * <http://www.gnu.org/licenses/>.
26 #include "WinSystemOSX.h"
27 #include "rendering/gl/RenderSystemGL.h"
28 #include "utils/GlobalsHandling.h"
30 class CWinSystemOSXGL : public CWinSystemOSX, public CRenderSystemGL
34 virtual ~CWinSystemOSXGL();
35 virtual bool ResizeWindow(int newWidth, int newHeight, int newLeft, int newTop);
36 virtual bool SetFullScreen(bool fullScreen, RESOLUTION_INFO& res, bool blankOtherDisplays);
39 virtual bool PresentRenderImpl(const CDirtyRegionList &dirty);
40 virtual void SetVSyncImpl(bool enable);
43 XBMC_GLOBAL_REF(CWinSystemOSXGL,g_Windowing);
44 #define g_Windowing XBMC_GLOBAL_USE(CWinSystemOSXGL)
47 #endif // WINDOW_SYSTEM_H