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
036295c3
Commit
036295c3
authored
May 26, 2010
by
Roderick Colenbrander
Committed by
Alexandre Julliard
May 27, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add Geforce 2xx lowend models.
parent
c471724a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
directx.c
dlls/wined3d/directx.c
+17
-1
wined3d_private.h
dlls/wined3d/wined3d_private.h
+3
-1
No files found.
dlls/wined3d/directx.c
View file @
036295c3
...
...
@@ -1015,10 +1015,12 @@ static const struct driver_version_information driver_version_table[] =
{
HW_VENDOR_NVIDIA
,
CARD_NVIDIA_GEFORCE_9500GT
,
"NVIDIA GeForce 9500 GT"
,
15
,
11
,
9745
},
{
HW_VENDOR_NVIDIA
,
CARD_NVIDIA_GEFORCE_9600GT
,
"NVIDIA GeForce 9600 GT"
,
15
,
11
,
9745
},
{
HW_VENDOR_NVIDIA
,
CARD_NVIDIA_GEFORCE_9800GT
,
"NVIDIA GeForce 9800 GT"
,
15
,
11
,
9745
},
{
HW_VENDOR_NVIDIA
,
CARD_NVIDIA_GEFORCE_210
,
"NVIDIA GeForce 210"
,
15
,
11
,
9745
},
{
HW_VENDOR_NVIDIA
,
CARD_NVIDIA_GEFORCE_GT220
,
"NVIDIA GeForce GT 220"
,
15
,
11
,
9745
},
{
HW_VENDOR_NVIDIA
,
CARD_NVIDIA_GEFORCE_GT240
,
"NVIDIA GeForce GT 240"
,
15
,
11
,
9745
},
{
HW_VENDOR_NVIDIA
,
CARD_NVIDIA_GEFORCE_GTX260
,
"NVIDIA GeForce GTX 260"
,
15
,
11
,
9745
},
{
HW_VENDOR_NVIDIA
,
CARD_NVIDIA_GEFORCE_GTX275
,
"NVIDIA GeForce GTX 275"
,
15
,
11
,
9745
},
{
HW_VENDOR_NVIDIA
,
CARD_NVIDIA_GEFORCE_GTX280
,
"NVIDIA GeForce GTX 280"
,
15
,
11
,
9745
},
{
HW_VENDOR_NVIDIA
,
CARD_NVIDIA_GEFORCE_GT240
,
"NVIDIA GeForce GT 240"
,
15
,
11
,
9745
},
{
HW_VENDOR_NVIDIA
,
CARD_NVIDIA_GEFORCE_GTX470
,
"NVIDIA GeForce GTX 470"
,
15
,
11
,
9775
},
{
HW_VENDOR_NVIDIA
,
CARD_NVIDIA_GEFORCE_GTX480
,
"NVIDIA GeForce GTX 480"
,
15
,
11
,
9775
},
/* ATI cards. The driver versions are somewhat similar, but not quite the same. Let's hardcode. */
...
...
@@ -1302,6 +1304,20 @@ static enum wined3d_pci_device select_card_nvidia_binary(const struct wined3d_gl
return
CARD_NVIDIA_GEFORCE_GT240
;
}
/* Geforce 200 lowend */
if
(
strstr
(
gl_renderer
,
"GT 220"
))
{
*
vidmem
=
512
;
/* The GT 220 has 512-1024MB */
return
CARD_NVIDIA_GEFORCE_GT220
;
}
/* Geforce 200 lowend */
if
(
strstr
(
gl_renderer
,
"Geforce 210"
)
||
strstr
(
gl_renderer
,
"G 210"
))
{
*
vidmem
=
512
;
return
CARD_NVIDIA_GEFORCE_210
;
}
/* Geforce9 - highend / Geforce 200 - midend (GTS 150/250 are based on the same core) */
if
(
strstr
(
gl_renderer
,
"9800"
)
||
strstr
(
gl_renderer
,
"GTS 150"
)
...
...
dlls/wined3d/wined3d_private.h
View file @
036295c3
...
...
@@ -1343,10 +1343,12 @@ enum wined3d_pci_device
CARD_NVIDIA_GEFORCE_9500GT
=
0x0640
,
CARD_NVIDIA_GEFORCE_9600GT
=
0x0622
,
CARD_NVIDIA_GEFORCE_9800GT
=
0x0614
,
CARD_NVIDIA_GEFORCE_210
=
0x0a23
,
CARD_NVIDIA_GEFORCE_GT220
=
0x0a20
,
CARD_NVIDIA_GEFORCE_GT240
=
0x0ca3
,
CARD_NVIDIA_GEFORCE_GTX260
=
0x05e2
,
CARD_NVIDIA_GEFORCE_GTX275
=
0x05e6
,
CARD_NVIDIA_GEFORCE_GTX280
=
0x05e1
,
CARD_NVIDIA_GEFORCE_GT240
=
0x0ca3
,
CARD_NVIDIA_GEFORCE_GTX470
=
0x06cd
,
CARD_NVIDIA_GEFORCE_GTX480
=
0x06c0
,
...
...
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