Last change
on this file since 82781 was 76581, checked in by vboxsync, 5 years ago |
Fe/QT: scm header guard alignment.
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.2 KB
|
Rev | Line | |
---|
[63305] | 1 | /* $Id: VBox2DHelpers.h 76581 2019-01-01 06:24:57Z vboxsync $ */
|
---|
[22816] | 2 | /** @file
|
---|
[72057] | 3 | * VBox Qt GUI - 2D Video Acceleration helpers declarations.
|
---|
[22816] | 4 | */
|
---|
| 5 |
|
---|
| 6 | /*
|
---|
[76553] | 7 | * Copyright (C) 2006-2019 Oracle Corporation
|
---|
[22816] | 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 | */
|
---|
[23346] | 17 |
|
---|
[76581] | 18 | #ifndef FEQT_INCLUDED_SRC_VBox2DHelpers_h
|
---|
| 19 | #define FEQT_INCLUDED_SRC_VBox2DHelpers_h
|
---|
[76532] | 20 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
| 21 | # pragma once
|
---|
| 22 | #endif
|
---|
[72057] | 23 |
|
---|
[63305] | 24 | #if defined(VBOX_GUI_USE_QGL) || defined(VBOX_WITH_VIDEOHWACCEL)
|
---|
| 25 |
|
---|
[41587] | 26 | /* Qt includes: */
|
---|
[72057] | 27 | #include <QtGlobal>
|
---|
[41587] | 28 |
|
---|
[72057] | 29 | /** 2D Video Acceleration Helpers */
|
---|
| 30 | namespace VBox2DHelpers
|
---|
[24646] | 31 | {
|
---|
[72057] | 32 | /** Returns whether 2D Video Acceleration is available. */
|
---|
| 33 | bool isAcceleration2DVideoAvailable();
|
---|
[24646] | 34 |
|
---|
[72057] | 35 | /** Returns 2D offscreen video memory required for 2D Video Acceleration. */
|
---|
| 36 | quint64 required2DOffscreenVideoMemory();
|
---|
[25583] | 37 | };
|
---|
| 38 |
|
---|
[72057] | 39 | #endif /* VBOX_GUI_USE_QGL || VBOX_WITH_VIDEOHWACCEL */
|
---|
[22816] | 40 |
|
---|
[76581] | 41 | #endif /* !FEQT_INCLUDED_SRC_VBox2DHelpers_h */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.