Last change
on this file since 74942 was 72057, checked in by vboxsync, 6 years ago |
FE/Qt: bugref:9049: Move common 2D Video Acceleration code from VBoxFBOverlay class to VBox2DHelpers namespace. To be reused by VBoxGlobal library.
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.2 KB
|
Line | |
---|
1 | /* $Id: VBox2DHelpers.h 72057 2018-04-27 11:55:52Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VBox Qt GUI - 2D Video Acceleration helpers declarations.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2006-2018 Oracle Corporation
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | * available from http://www.virtualbox.org. This file is free software;
|
---|
11 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | * General Public License (GPL) as published by the Free Software
|
---|
13 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | */
|
---|
17 |
|
---|
18 | #ifndef ___VBox2DHelpers_h___
|
---|
19 | #define ___VBox2DHelpers_h___
|
---|
20 |
|
---|
21 | #if defined(VBOX_GUI_USE_QGL) || defined(VBOX_WITH_VIDEOHWACCEL)
|
---|
22 |
|
---|
23 | /* Qt includes: */
|
---|
24 | #include <QtGlobal>
|
---|
25 |
|
---|
26 | /** 2D Video Acceleration Helpers */
|
---|
27 | namespace VBox2DHelpers
|
---|
28 | {
|
---|
29 | /** Returns whether 2D Video Acceleration is available. */
|
---|
30 | bool isAcceleration2DVideoAvailable();
|
---|
31 |
|
---|
32 | /** Returns 2D offscreen video memory required for 2D Video Acceleration. */
|
---|
33 | quint64 required2DOffscreenVideoMemory();
|
---|
34 | };
|
---|
35 |
|
---|
36 | #endif /* VBOX_GUI_USE_QGL || VBOX_WITH_VIDEOHWACCEL */
|
---|
37 |
|
---|
38 | #endif /* !___VBox2DHelpers_h___ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.