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
ca1b35aa
Commit
ca1b35aa
authored
Apr 04, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Rename some GL vendors.
GL_VENDOR_ATI -> GL_VENDOR_FGLRX because it's much more specific. Besides, AMD also works on the Mesa drivers.
parent
b8211a67
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
directx.c
dlls/wined3d/directx.c
+6
-5
wined3d_private.h
dlls/wined3d/wined3d_private.h
+2
-2
No files found.
dlls/wined3d/directx.c
View file @
ca1b35aa
...
...
@@ -571,7 +571,7 @@ static BOOL match_apple_nonr500ati(const struct wined3d_gl_info *gl_info, const
static
BOOL
match_fglrx
(
const
struct
wined3d_gl_info
*
gl_info
,
const
char
*
gl_renderer
,
enum
wined3d_gl_vendor
gl_vendor
,
enum
wined3d_pci_vendor
card_vendor
,
enum
wined3d_pci_device
device
)
{
return
(
gl_vendor
==
GL_VENDOR_ATI
)
;
return
gl_vendor
==
GL_VENDOR_FGLRX
;
}
...
...
@@ -1197,7 +1197,7 @@ static enum wined3d_gl_vendor wined3d_guess_gl_vendor(struct wined3d_gl_info *gl
return
GL_VENDOR_NVIDIA
;
if
(
strstr
(
gl_vendor_string
,
"ATI"
))
return
GL_VENDOR_
ATI
;
return
GL_VENDOR_
FGLRX
;
if
(
strstr
(
gl_vendor_string
,
"Intel(R)"
)
||
strstr
(
gl_renderer
,
"Intel(R)"
)
...
...
@@ -1214,9 +1214,10 @@ static enum wined3d_gl_vendor wined3d_guess_gl_vendor(struct wined3d_gl_info *gl
||
strstr
(
gl_renderer
,
"Gallium"
))
return
GL_VENDOR_MESA
;
FIXME_
(
d3d_caps
)(
"Received unrecognized GL_VENDOR %s. Returning GL_VENDOR_WINE.
\n
"
,
debugstr_a
(
gl_vendor_string
));
FIXME_
(
d3d_caps
)(
"Received unrecognized GL_VENDOR %s. Returning GL_VENDOR_UNKNOWN.
\n
"
,
debugstr_a
(
gl_vendor_string
));
return
GL_VENDOR_
WINE
;
return
GL_VENDOR_
UNKNOWN
;
}
static
enum
wined3d_pci_vendor
wined3d_guess_card_vendor
(
const
char
*
gl_vendor_string
,
const
char
*
gl_renderer
)
...
...
@@ -1916,7 +1917,7 @@ static const struct vendor_card_selection vendor_card_select_table[] =
{
GL_VENDOR_APPLE
,
HW_VENDOR_NVIDIA
,
"Apple OSX NVidia binary driver"
,
select_card_nvidia_binary
},
{
GL_VENDOR_APPLE
,
HW_VENDOR_ATI
,
"Apple OSX AMD/ATI binary driver"
,
select_card_ati_binary
},
{
GL_VENDOR_APPLE
,
HW_VENDOR_INTEL
,
"Apple OSX Intel binary driver"
,
select_card_intel_binary
},
{
GL_VENDOR_
ATI
,
HW_VENDOR_ATI
,
"AMD/ATI binary driver"
,
select_card_ati_binary
},
{
GL_VENDOR_
FGLRX
,
HW_VENDOR_ATI
,
"AMD/ATI binary driver"
,
select_card_ati_binary
},
{
GL_VENDOR_MESA
,
HW_VENDOR_ATI
,
"Mesa AMD/ATI driver"
,
select_card_ati_mesa
},
{
GL_VENDOR_MESA
,
HW_VENDOR_NVIDIA
,
"Mesa Nouveau driver"
,
select_card_nvidia_mesa
},
{
GL_VENDOR_MESA
,
HW_VENDOR_INTEL
,
"Mesa Intel driver"
,
select_card_intel_mesa
}
...
...
dlls/wined3d/wined3d_private.h
View file @
ca1b35aa
...
...
@@ -1259,9 +1259,9 @@ typedef struct WineD3D_PixelFormat
enum
wined3d_gl_vendor
{
GL_VENDOR_
WINE
,
GL_VENDOR_
UNKNOWN
,
GL_VENDOR_APPLE
,
GL_VENDOR_
ATI
,
GL_VENDOR_
FGLRX
,
GL_VENDOR_INTEL
,
GL_VENDOR_MESA
,
GL_VENDOR_NVIDIA
,
...
...
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