VirtualBox

source: vbox/trunk/src/VBox/Frontends/VBoxFB/Helper.h@ 98419

Last change on this file since 98419 was 98176, checked in by vboxsync, 2 years ago

VBoxFB: Made the code build again (still doesn't actually work) and switched it from the VBOXR3NPEXE to the VBOXMAINCLIENTEXE template. bugref:10348

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1/** @file
2 *
3 * VBox frontends: Framebuffer (FB, DirectFB):
4 * Helper routines
5 */
6
7/*
8 * Copyright (C) 2006-2023 Oracle and/or its affiliates.
9 *
10 * This file is part of VirtualBox base platform packages, as
11 * available from https://www.virtualbox.org.
12 *
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation, in version 3 of the
16 * License.
17 *
18 * This program is distributed in the hope that it will be useful, but
19 * WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, see <https://www.gnu.org/licenses>.
25 *
26 * SPDX-License-Identifier: GPL-3.0-only
27 */
28
29#ifndef VBOX_INCLUDED_SRC_VBoxFB_Helper_h
30#define VBOX_INCLUDED_SRC_VBoxFB_Helper_h
31#ifndef RT_WITHOUT_PRAGMA_ONCE
32# pragma once
33#endif
34
35#define MAX_VIDEOMODES 64
36struct videoMode
37{
38 uint32_t width;
39 uint32_t height;
40 uint32_t bpp;
41};
42extern videoMode g_videoModes[];
43extern uint32_t g_numVideoModes;
44
45DFBEnumerationResult enumVideoModesHandler(int width, int height, int bpp, void *callbackdata);
46int32_t getBestVideoMode(uint32_t width, uint32_t height, uint32_t bpp);
47
48
49#endif /* !VBOX_INCLUDED_SRC_VBoxFB_Helper_h */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette