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
a932fdcb
Commit
a932fdcb
authored
Apr 05, 2009
by
Roderick Colenbrander
Committed by
Alexandre Julliard
Apr 06, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Update NVidia pci ids.
parent
ef385d2e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
4 deletions
+47
-4
directx.c
dlls/wined3d/directx.c
+42
-4
wined3d_gl.h
dlls/wined3d/wined3d_gl.h
+5
-0
No files found.
dlls/wined3d/directx.c
View file @
a932fdcb
...
...
@@ -1088,13 +1088,29 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
* shader capabilities, so we use the shader capabilities to distinguish between FX and 6xxx/7xxx.
*/
if
(
WINE_D3D9_CAPABLE
(
gl_info
)
&&
(
gl_info
->
vs_nv_version
==
VS_VERSION_30
))
{
/* Geforce GTX - highend */
if
(
strstr
(
gl_info
->
gl_renderer
,
"GTX 280"
))
{
/* Geforce 200 - highend */
if
(
strstr
(
gl_info
->
gl_renderer
,
"GTX 280"
)
||
strstr
(
gl_info
->
gl_renderer
,
"GTX 285"
)
||
strstr
(
gl_info
->
gl_renderer
,
"GTX 295"
))
{
gl_info
->
gl_card
=
CARD_NVIDIA_GEFORCE_GTX280
;
vidmem
=
1024
;
}
/* Geforce9 - highend */
else
if
(
strstr
(
gl_info
->
gl_renderer
,
"9800"
))
{
/* Geforce 200 - midend high */
if
(
strstr
(
gl_info
->
gl_renderer
,
"GTX 275"
))
{
gl_info
->
gl_card
=
CARD_NVIDIA_GEFORCE_GTX275
;
vidmem
=
896
;
}
/* Geforce 200 - midend */
if
(
strstr
(
gl_info
->
gl_renderer
,
"GTX 260"
))
{
gl_info
->
gl_card
=
CARD_NVIDIA_GEFORCE_GTX260
;
vidmem
=
1024
;
}
/* Geforce9 - highend / Geforce 200 - midend (GTS 150/250 are based on the same core) */
else
if
(
strstr
(
gl_info
->
gl_renderer
,
"9800"
)
||
strstr
(
gl_info
->
gl_renderer
,
"GTS 150"
)
||
strstr
(
gl_info
->
gl_renderer
,
"GTS 250"
))
{
gl_info
->
gl_card
=
CARD_NVIDIA_GEFORCE_9800GT
;
vidmem
=
512
;
}
...
...
@@ -1103,6 +1119,28 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
gl_info
->
gl_card
=
CARD_NVIDIA_GEFORCE_9600GT
;
vidmem
=
384
;
/* The 9600GSO has 384MB, the 9600GT has 512-1024MB */
}
/* Geforce9 - midend low / Geforce 200 - low*/
else
if
(
strstr
(
gl_info
->
gl_renderer
,
"9500"
)
||
strstr
(
gl_info
->
gl_renderer
,
"GT 120"
)
||
strstr
(
gl_info
->
gl_renderer
,
"GT 130"
))
{
gl_info
->
gl_card
=
CARD_NVIDIA_GEFORCE_9500GT
;
vidmem
=
256
;
/* The 9500GT has 256-1024MB */
}
/* Geforce9 - lowend */
else
if
(
strstr
(
gl_info
->
gl_renderer
,
"9400"
))
{
gl_info
->
gl_card
=
CARD_NVIDIA_GEFORCE_9400GT
;
vidmem
=
256
;
/* The 9400GT has 256-1024MB */
}
/* Geforce9 - lowend low */
else
if
(
strstr
(
gl_info
->
gl_renderer
,
"9100"
)
||
strstr
(
gl_info
->
gl_renderer
,
"9200"
)
||
strstr
(
gl_info
->
gl_renderer
,
"9300"
)
||
strstr
(
gl_info
->
gl_renderer
,
"G 100"
))
{
gl_info
->
gl_card
=
CARD_NVIDIA_GEFORCE_9200
;
vidmem
=
256
;
/* The 9100-9300 cards have 256MB */
}
/* Geforce8 - highend */
else
if
(
strstr
(
gl_info
->
gl_renderer
,
"8800"
))
{
gl_info
->
gl_card
=
CARD_NVIDIA_GEFORCE_8800GTS
;
...
...
dlls/wined3d/wined3d_gl.h
View file @
a932fdcb
...
...
@@ -3320,8 +3320,13 @@ typedef enum _GL_Cards {
CARD_NVIDIA_GEFORCE_8600GT
=
0x0402
,
CARD_NVIDIA_GEFORCE_8600MGT
=
0x0407
,
CARD_NVIDIA_GEFORCE_8800GTS
=
0x0193
,
CARD_NVIDIA_GEFORCE_9200
=
0x086d
,
CARD_NVIDIA_GEFORCE_9400GT
=
0x042c
,
CARD_NVIDIA_GEFORCE_9500GT
=
0x0640
,
CARD_NVIDIA_GEFORCE_9600GT
=
0x0622
,
CARD_NVIDIA_GEFORCE_9800GT
=
0x0614
,
CARD_NVIDIA_GEFORCE_GTX260
=
0x05e2
,
CARD_NVIDIA_GEFORCE_GTX275
=
0x05e6
,
CARD_NVIDIA_GEFORCE_GTX280
=
0x05e1
,
CARD_INTEL_845G
=
0x2562
,
...
...
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