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
057c64c5
Commit
057c64c5
authored
Apr 16, 2010
by
Roderick Colenbrander
Committed by
Alexandre Julliard
Apr 16, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Separate AMD Radeon HD2300 from other HD2xxx/HD3xxx GPUs since it is…
wined3d: Separate AMD Radeon HD2300 from other HD2xxx/HD3xxx GPUs since it is D3D9 instead of D3D10.
parent
2548742b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
13 deletions
+19
-13
directx.c
dlls/wined3d/directx.c
+18
-12
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-1
No files found.
dlls/wined3d/directx.c
View file @
057c64c5
...
...
@@ -1021,7 +1021,7 @@ static const struct driver_version_information driver_version_table[] =
{
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_X1600
,
"ATI Radeon X1600 Series"
,
14
,
10
,
6764
},
{
HW_VENDOR_ATI
,
CARD_ATI_RADEON_HD23
00
,
"ATI Mobility Radeon HD 230
0"
,
14
,
10
,
6764
},
{
HW_VENDOR_ATI
,
CARD_ATI_RADEON_HD23
50
,
"ATI Mobility Radeon HD 235
0"
,
14
,
10
,
6764
},
{
HW_VENDOR_ATI
,
CARD_ATI_RADEON_HD2600
,
"ATI Mobility Radeon HD 2600"
,
14
,
10
,
6764
},
{
HW_VENDOR_ATI
,
CARD_ATI_RADEON_HD2900
,
"ATI Radeon HD 2900 XT"
,
14
,
10
,
6764
},
{
HW_VENDOR_ATI
,
CARD_ATI_RADEON_HD4350
,
"ATI Radeon HD 4350"
,
14
,
10
,
6764
},
...
...
@@ -1581,16 +1581,17 @@ static enum wined3d_pci_device select_card_ati_binary(const struct wined3d_gl_in
return
CARD_ATI_RADEON_HD2600
;
}
/* Radeon R6xx HD2300/HD2400/HD3400 - lowend */
if
(
strstr
(
gl_renderer
,
"HD 2300"
)
/* Radeon R6xx HD2350/HD2400/HD3400 - lowend
* Note HD2300=DX9, HD2350=DX10 */
if
(
strstr
(
gl_renderer
,
"HD 2350"
)
||
strstr
(
gl_renderer
,
"HD 2400"
)
||
strstr
(
gl_renderer
,
"HD 3470"
)
||
strstr
(
gl_renderer
,
"HD 3450"
)
||
strstr
(
gl_renderer
,
"HD 3430"
)
||
strstr
(
gl_renderer
,
"HD 3400"
))
{
*
vidmem
=
128
;
/* HD2300 uses at least 128MB, HD2400 uses 256
MB */
return
CARD_ATI_RADEON_HD23
0
0
;
*
vidmem
=
256
;
/* HD2350/2400 use 256MB, HD34xx use 256-512
MB */
return
CARD_ATI_RADEON_HD23
5
0
;
}
/* Radeon R6xx/R7xx integrated */
...
...
@@ -1613,14 +1614,19 @@ static enum wined3d_pci_device select_card_ati_binary(const struct wined3d_gl_in
return
CARD_ATI_RADEON_X1600
;
}
/* Radeon R4xx + X1300/X1400/X1450/X1550/X2300 (lowend R5xx) */
/* Radeon R4xx + X1300/X1400/X1450/X1550/X2300/X2500/HD2300 (lowend R5xx)
* Note X2300/X2500/HD2300 are R5xx GPUs with a 2xxx naming but they are still DX9-only */
if
(
strstr
(
gl_renderer
,
"X700"
)
||
strstr
(
gl_renderer
,
"X800"
)
||
strstr
(
gl_renderer
,
"X850"
)
||
strstr
(
gl_renderer
,
"X1300"
)
||
strstr
(
gl_renderer
,
"X1400"
)
||
strstr
(
gl_renderer
,
"X1450"
)
||
strstr
(
gl_renderer
,
"X1550"
))
||
strstr
(
gl_renderer
,
"X1550"
)
||
strstr
(
gl_renderer
,
"X2300"
)
||
strstr
(
gl_renderer
,
"X2500"
)
||
strstr
(
gl_renderer
,
"HD 2300"
)
)
{
*
vidmem
=
128
;
/* x700/x8*0 use 128-256MB, >=x1300 128-512MB */
return
CARD_ATI_RADEON_X700
;
...
...
@@ -1737,12 +1743,12 @@ static enum wined3d_pci_device select_card_ati_mesa(const struct wined3d_gl_info
return
CARD_ATI_RADEON_HD2600
;
}
/* Radeon R6xx HD23
0
0/HD2400/HD3400 - lowend */
/* Radeon R6xx HD23
5
0/HD2400/HD3400 - lowend */
if
(
strstr
(
gl_renderer
,
"RV610"
)
||
strstr
(
gl_renderer
,
"RV620"
))
{
*
vidmem
=
128
;
/* HD2300 uses at least 128MB, HD2400 uses 256
MB */
return
CARD_ATI_RADEON_HD23
0
0
;
*
vidmem
=
256
;
/* HD2350/2400 use 256MB, HD34xx use 256-512
MB */
return
CARD_ATI_RADEON_HD23
5
0
;
}
/* Radeon R6xx/R7xx integrated */
...
...
@@ -1860,8 +1866,8 @@ static enum wined3d_pci_device select_card_ati_mesa(const struct wined3d_gl_info
if
(
strstr
(
gl_renderer
,
"(RV610"
)
||
strstr
(
gl_renderer
,
"(RV620"
))
{
*
vidmem
=
128
;
/* HD2300 uses at least 128MB, HD2400 uses 256
MB */
return
CARD_ATI_RADEON_HD23
0
0
;
*
vidmem
=
256
;
/* HD2350/2400 use 256MB, HD34xx use 256-512
MB */
return
CARD_ATI_RADEON_HD23
5
0
;
}
/* Radeon R6xx/R7xx integrated */
...
...
dlls/wined3d/wined3d_private.h
View file @
057c64c5
...
...
@@ -1301,7 +1301,7 @@ enum wined3d_pci_device
CARD_ATI_RADEON_XPRESS_200M
=
0x5955
,
CARD_ATI_RADEON_X700
=
0x5e4c
,
CARD_ATI_RADEON_X1600
=
0x71c2
,
CARD_ATI_RADEON_HD23
00
=
0x7210
,
CARD_ATI_RADEON_HD23
50
=
0x94c7
,
CARD_ATI_RADEON_HD2600
=
0x9581
,
CARD_ATI_RADEON_HD2900
=
0x9400
,
CARD_ATI_RADEON_HD3200
=
0x9620
,
...
...
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