Closed Bug 602289 Opened 15 years ago Closed 15 years ago

Add Vendor() function to GLContext

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- beta7+

People

(Reporter: bjacob, Assigned: bjacob)

References

Details

Attachments

(2 files)

Only one glGetString call; also, adding a global inline DoesVendorStringMatch() function that does this parsing in a more fool-proof way than just calling strstr(), and use it also in GLContextProviderGLX.cpp for the xQueryServerString-returned vendor string.
Attachment #481306 - Flags: review?(joe)
Blocks: 602183
Assignee: nobody → bjacob
Comment on attachment 481306 [details] [diff] [review] GL vendor detection Just create an enum for vendor type rather than making a bunch of bools.
Attachment #481306 - Flags: review?(joe) → review+
carrying forward r+
Attachment #481316 - Flags: review+
blocking2.0: --- → beta7+
Summary: Add IsATI(), IsNVIDIA() and IsIntel() functions to GLContext → Add Vendor() function to GLContext
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: