Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c471724a
Commit
c471724a
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 4x0 cards to GPU database.
parent
3e10c3d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
directx.c
dlls/wined3d/directx.c
+16
-1
wined3d_private.h
dlls/wined3d/wined3d_private.h
+2
-0
No files found.
dlls/wined3d/directx.c
View file @
c471724a
...
@@ -1019,7 +1019,8 @@ static const struct driver_version_information driver_version_table[] =
...
@@ -1019,7 +1019,8 @@ static const struct driver_version_information driver_version_table[] =
{
HW_VENDOR_NVIDIA
,
CARD_NVIDIA_GEFORCE_GTX275
,
"NVIDIA GeForce GTX 275"
,
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_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_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. */
/* ATI cards. The driver versions are somewhat similar, but not quite the same. Let's hardcode. */
{
HW_VENDOR_ATI
,
CARD_ATI_RADEON_9500
,
"ATI Radeon 9500"
,
14
,
10
,
6764
},
{
HW_VENDOR_ATI
,
CARD_ATI_RADEON_9500
,
"ATI Radeon 9500"
,
14
,
10
,
6764
},
{
HW_VENDOR_ATI
,
CARD_ATI_RADEON_X700
,
"ATI Radeon X700 SE"
,
14
,
10
,
6764
},
{
HW_VENDOR_ATI
,
CARD_ATI_RADEON_X700
,
"ATI Radeon X700 SE"
,
14
,
10
,
6764
},
...
@@ -1258,6 +1259,20 @@ static enum wined3d_pci_device select_card_nvidia_binary(const struct wined3d_gl
...
@@ -1258,6 +1259,20 @@ static enum wined3d_pci_device select_card_nvidia_binary(const struct wined3d_gl
{
{
if
(
WINE_D3D10_CAPABLE
(
gl_info
))
if
(
WINE_D3D10_CAPABLE
(
gl_info
))
{
{
/* Geforce 400 - highend */
if
(
strstr
(
gl_renderer
,
"GTX 480"
))
{
*
vidmem
=
1536
;
return
CARD_NVIDIA_GEFORCE_GTX480
;
}
/* Geforce 400 - midend high */
if
(
strstr
(
gl_renderer
,
"GTX 470"
))
{
*
vidmem
=
1280
;
return
CARD_NVIDIA_GEFORCE_GTX470
;
}
/* Geforce 200 - highend */
/* Geforce 200 - highend */
if
(
strstr
(
gl_renderer
,
"GTX 280"
)
if
(
strstr
(
gl_renderer
,
"GTX 280"
)
||
strstr
(
gl_renderer
,
"GTX 285"
)
||
strstr
(
gl_renderer
,
"GTX 285"
)
...
...
dlls/wined3d/wined3d_private.h
View file @
c471724a
...
@@ -1347,6 +1347,8 @@ enum wined3d_pci_device
...
@@ -1347,6 +1347,8 @@ enum wined3d_pci_device
CARD_NVIDIA_GEFORCE_GTX275
=
0x05e6
,
CARD_NVIDIA_GEFORCE_GTX275
=
0x05e6
,
CARD_NVIDIA_GEFORCE_GTX280
=
0x05e1
,
CARD_NVIDIA_GEFORCE_GTX280
=
0x05e1
,
CARD_NVIDIA_GEFORCE_GT240
=
0x0ca3
,
CARD_NVIDIA_GEFORCE_GT240
=
0x0ca3
,
CARD_NVIDIA_GEFORCE_GTX470
=
0x06cd
,
CARD_NVIDIA_GEFORCE_GTX480
=
0x06c0
,
CARD_INTEL_845G
=
0x2562
,
CARD_INTEL_845G
=
0x2562
,
CARD_INTEL_I830G
=
0x3577
,
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