Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
de97fa7a
Commit
de97fa7a
authored
Aug 19, 2006
by
Roderick Colenbrander
Committed by
Alexandre Julliard
Aug 21, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Better GPU detection.
parent
09eb0c40
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
9 deletions
+27
-9
directx.c
dlls/wined3d/directx.c
+0
-0
wined3d_private.h
dlls/wined3d/wined3d_private.h
+6
-0
wined3d_gl.h
include/wine/wined3d_gl.h
+21
-9
No files found.
dlls/wined3d/directx.c
View file @
de97fa7a
This diff is collapsed.
Click to expand it.
dlls/wined3d/wined3d_private.h
View file @
de97fa7a
...
...
@@ -394,6 +394,12 @@ DWORD get_flexible_vertex_size(DWORD d3dvtVertexType);
/* Routine to fill gl caps for swapchains and IWineD3D */
BOOL
IWineD3DImpl_FillGLCaps
(
IWineD3D
*
iface
,
Display
*
display
);
/* Macros for doing basic GPU detection based on opengl capabilities */
#define WINE_D3D6_CAPABLE(gl_info) (gl_info->supported[ARB_MULTITEXTURE])
#define WINE_D3D7_CAPABLE(gl_info) (gl_info->supported[ARB_TEXTURE_COMPRESSION] && gl_info->supported[ARB_TEXTURE_CUBE_MAP] && gl_info->supported[ARB_TEXTURE_ENV_DOT3])
#define WINE_D3D8_CAPABLE(gl_info) WINE_D3D7_CAPABLE(gl_info) && (gl_info->supported[ARB_MULTISAMPLE] && gl_info->supported[ARB_TEXTURE_BORDER_CLAMP])
#define WINE_D3D9_CAPABLE(gl_info) WINE_D3D8_CAPABLE(gl_info) && (gl_info->supported[ARB_FRAGMENT_PROGRAM] && gl_info->supported[ARB_VERTEX_SHADER])
/*****************************************************************************
* Internal representation of a light
*/
...
...
include/wine/wined3d_gl.h
View file @
de97fa7a
...
...
@@ -1332,17 +1332,29 @@ typedef enum _GL_Vendors {
typedef
enum
_GL_Cards
{
CARD_WINE
=
0x0
,
CARD_ATI_RAGE_128PRO
=
0x5246
,
CARD_ATI_RADEON_7200
=
0x5144
,
CARD_ATI_RADEON_8500
=
0x514c
,
CARD_ATI_RADEON_9700PRO
=
0x4e44
,
CARD_ATI_RADEON_9800PRO
=
0x4e48
,
CARD_ATI_RADEON_9500
=
0x4144
,
CARD_ATI_RADEON_X700
=
0x5e4c
,
CARD_ATI_RADEON_X1600
=
0x71c2
,
CARD_NVIDIA_GEFORCE4_TI4600
=
0x0250
,
CARD_NVIDIA_GEFORCE4_TI4200
=
0x0281
,
CARD_NVIDIA_GEFORCEFX_5900ULTRA
=
0x0330
,
CARD_NVIDIA_QUADROFX_3000
=
0x0338
,
CARD_NVIDIA_GEFORCE_6800ULTRA
=
0x0040
,
CARD_NVIDIA_QUADROFX_4000
=
0x004e
,
CARD_NVIDIA_GEFORCE_7800ULTRA
=
0x0090
,
CARD_NVIDIA_RIVA_128
=
0x0018
,
CARD_NVIDIA_RIVA_TNT
=
0x0020
,
CARD_NVIDIA_RIVA_TNT2
=
0x0028
,
CARD_NVIDIA_GEFORCE
=
0x0100
,
CARD_NVIDIA_GEFORCE2_MX
=
0x0110
,
CARD_NVIDIA_GEFORCE2
=
0x0150
,
CARD_NVIDIA_GEFORCE3
=
0x0200
,
CARD_NVIDIA_GEFORCE4_MX
=
0x0170
,
CARD_NVIDIA_GEFORCE4_TI4200
=
0x0253
,
CARD_NVIDIA_GEFORCEFX_5200
=
0x0320
,
CARD_NVIDIA_GEFORCEFX_5600
=
0x0312
,
CARD_NVIDIA_GEFORCEFX_5800
=
0x0302
,
CARD_NVIDIA_GEFORCE_6200
=
0x014f
,
CARD_NVIDIA_GEFORCE_6600GT
=
0x0140
,
CARD_NVIDIA_GEFORCE_6800
=
0x0041
,
CARD_NVIDIA_GEFORCE_7800GT
=
0x0092
,
CARD_INTEL_845G
=
0x2562
,
CARD_INTEL_I830G
=
0x3577
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment