author | tdv |
Tue, 22 Jul 2008 11:24:32 -0700 | |
changeset 888 | c7009cf0001f |
parent 887 | 0aab8d3fa11a |
child 5506 | 202f599c92aa |
permissions | -rw-r--r-- |
2 | 1 |
|
2 |
/* |
|
888
c7009cf0001f
6728492: typo in copyrights in some files touched by the d3d pipeline port
tdv
parents:
887
diff
changeset
|
3 |
* Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved. |
2 | 4 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 |
* |
|
6 |
* This code is free software; you can redistribute it and/or modify it |
|
7 |
* under the terms of the GNU General Public License version 2 only, as |
|
8 |
* published by the Free Software Foundation. Sun designates this |
|
9 |
* particular file as subject to the "Classpath" exception as provided |
|
10 |
* by Sun in the LICENSE file that accompanied this code. |
|
11 |
* |
|
12 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
|
13 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
14 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
15 |
* version 2 for more details (a copy is included in the LICENSE file that |
|
16 |
* accompanied this code). |
|
17 |
* |
|
18 |
* You should have received a copy of the GNU General Public License version |
|
19 |
* 2 along with this work; if not, write to the Free Software Foundation, |
|
20 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
21 |
* |
|
22 |
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
|
23 |
* CA 95054 USA or visit www.sun.com if you need additional information or |
|
24 |
* have any questions. |
|
25 |
*/ |
|
26 |
||
27 |
#ifndef WINDOWSFLAGS_H |
|
28 |
#define WINDOWSFLAGS_H |
|
29 |
||
30 |
extern BOOL accelReset; // reset registry 2d acceleration settings |
|
31 |
extern BOOL useD3D; // d3d enabled flag |
|
32 |
extern BOOL forceD3DUsage; // force d3d on or off |
|
33 |
extern jboolean g_offscreenSharing; // JAWT accelerated surface sharing |
|
34 |
extern BOOL checkRegistry; // Diag tool: outputs 2d registry settings |
|
35 |
extern BOOL disableRegistry; // Diag tool: disables registry interaction |
|
36 |
extern BOOL setHighDPIAware; // whether to set High DPI Aware flag on Vista |
|
37 |
||
38 |
void SetD3DEnabledFlag(JNIEnv *env, BOOL d3dEnabled, BOOL d3dSet); |
|
39 |
||
887 | 40 |
BOOL IsD3DEnabled(); |
41 |
BOOL IsD3DForced(); |
|
2 | 42 |
|
43 |
#endif WINDOWSFLAGS_H |