2008-08-06 18:36:30 +00:00
|
|
|
// This file is part of BOINC.
|
|
|
|
// http://boinc.berkeley.edu
|
2024-05-03 08:15:24 +00:00
|
|
|
// Copyright (C) 2024 University of California
|
2008-08-06 18:36:30 +00:00
|
|
|
//
|
|
|
|
// BOINC is free software; you can redistribute it and/or modify it
|
|
|
|
// under the terms of the GNU Lesser General Public License
|
|
|
|
// as published by the Free Software Foundation,
|
|
|
|
// either version 3 of the License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// BOINC is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
// See the GNU Lesser General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU Lesser General Public License
|
|
|
|
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2005-02-04 21:04:05 +00:00
|
|
|
#ifndef BOINC_X_OPENGL_H
|
|
|
|
#define BOINC_X_OPENGL_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2023-05-05 18:05:20 +00:00
|
|
|
extern int xwin_glut_is_initialized();
|
2005-02-04 21:04:05 +00:00
|
|
|
|
2005-04-19 00:34:41 +00:00
|
|
|
#ifdef __APPLE__
|
2017-09-30 11:57:59 +00:00
|
|
|
extern void MacGLUTFix(bool isScreenSaver);
|
2020-08-06 12:12:49 +00:00
|
|
|
extern void ClearDocumentEditedDot(void);
|
2017-09-30 11:57:59 +00:00
|
|
|
extern void MacPassOffscreenBufferToScreenSaver(void);
|
2005-04-19 00:34:41 +00:00
|
|
|
extern void BringAppToFront(void);
|
2005-09-06 12:58:56 +00:00
|
|
|
extern void HideThisApp(void);
|
2017-09-30 11:57:59 +00:00
|
|
|
extern bool UseSharedOffscreenBuffer(void);
|
2019-11-08 11:40:22 +00:00
|
|
|
extern bool debugSharedOffscreenBuffer;
|
2024-05-03 08:15:24 +00:00
|
|
|
void pass_BOINC_gfx_lib_version_to_ss(void);
|
2017-09-30 11:57:59 +00:00
|
|
|
|
|
|
|
extern void print_to_log_file(const char *format, ...);
|
|
|
|
|
2005-04-19 00:34:41 +00:00
|
|
|
#endif
|
|
|
|
|
2005-02-04 21:04:05 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2004-10-13 22:52:37 +00:00
|
|
|
extern void xwin_graphics_event_loop();
|
2005-02-04 21:04:05 +00:00
|
|
|
|
|
|
|
#endif
|