Commit Graph

673 Commits

Author SHA1 Message Date
Roderick Colenbrander 3b993117c3 wined3d: Separate AMD GPUs in D3D9 and D3D10 models, this allows for a more correct fall back when the GPU table isn't up to date.
D3D10_CAPABLE should work on any AMD OpenGL 3.0 driver (those came out in september 2008) and on OSX 10.5 and up.
2010-04-16 12:38:21 +02:00
Roderick Colenbrander 057c64c5b0 wined3d: Separate AMD Radeon HD2300 from other HD2xxx/HD3xxx GPUs since it is D3D9 instead of D3D10. 2010-04-16 12:38:18 +02:00
Roderick Colenbrander bf73d23d95 wined3d: Separate detection of D3D10+ and D3D9 Nvidia GPUs. 2010-04-14 18:00:47 +02:00
Henri Verbeet 71d484303a wined3d: We always support at least a single modelview matrix. 2010-04-13 21:13:50 +02:00
Roderick Colenbrander e7a71e15b5 wined3d: Turn blit_shader color_fixup_supported into blit_supported. 2010-04-07 18:13:35 +02:00
Roderick Colenbrander 9fec1a02b9 wined3d: Disable paletted texture support. It was only offered on a few cards, so can be missed. 2010-04-06 13:54:06 +02:00
Henri Verbeet 2381c9529d wined3d: Don't use GLSL if the supported version isn't at least 1.20. 2010-04-06 11:48:47 +02:00
Henri Verbeet ca1b35aaff 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.
2010-04-05 11:37:45 +02:00
Henri Verbeet b8211a67d4 wined3d: Rename HW_VENDOR_WINE to HW_VENDOR_SOFTWARE.
Software adapters like the refrast also return a 0 PCI ID on Windows.
2010-04-05 11:37:39 +02:00
Henri Verbeet 224c376528 wined3d: Make some functions static. 2010-04-05 11:37:34 +02:00
Henri Verbeet 5ce986f1de wined3d: Add a separate function for wined3d object initialization. 2010-04-05 11:37:24 +02:00
Henri Verbeet a2344e7288 wined3d: Remove some superfluous white space and braces from the card selection functions. 2010-04-01 18:12:55 +02:00
Henri Verbeet 4651dd86bf wined3d: Implement independent color write masks. 2010-03-26 10:29:29 +01:00
Henri Verbeet 13a57c81f0 wined3d: Add support for EXT_draw_buffers2. 2010-03-26 10:29:23 +01:00
Henri Verbeet 8cf63f0aee wined3d: Add GL locking to match_fbo_tex_update(). 2010-03-26 10:29:13 +01:00
Stefan Dösinger f74de3ab65 wined3d: Don't advertise float formats as supported by WGL. 2010-03-26 10:28:52 +01:00
Stefan Dösinger 7b43cb1877 wined3d: Don't check WGL depth stencil limitations with FBOs. 2010-03-26 10:28:48 +01:00
Roderick Colenbrander 8f604afa96 wined3d: Remove WGL RGBA float support because it doesn't make sense without pbuffers. 2010-03-22 11:41:03 +01:00
Roderick Colenbrander 28a2c7ab29 wined3d: Use the format table instead of WGL-checks in CheckDepthStencilMatch when FBOs are used. 2010-03-22 11:40:52 +01:00
Henri Verbeet 3aaa6ee6e7 wined3d: Rename GlPixelFormatDesc to wined3d_format_desc. 2010-03-19 14:31:47 +01:00
Roderick Colenbrander 27a96e477a wined3d: Start moving paletted texture support to the blit_shader. 2010-03-19 13:15:21 +01:00
Henri Verbeet e5673ddbc3 wined3d: Add a quirk to rebind FBOs when one of their attached textures is updated.
Updating a texture while it is attached to the currently bound FBO is
something GL implementations tend to get wrong. NVIDIA fails at
glTexSubImage2D(), fglrx and Mesa with glTexImage2D(). I'm afraid to try what
happens on OS X. Fortunately we never use glTexImage2D() while a texture is
attached to an FBO, so we only need to care about glTexSubImage2D().
2010-03-18 10:24:41 +01:00
Henri Verbeet 8a107bc63a wined3d: Kill pbuffer offscreen rendering support.
Our pbuffer support is broken, nobody cares.
2010-03-15 15:55:38 +01:00
Paul Andrew Panon 482fbe91e2 wined3d: Update to add Mesa ATI card detection code. 2010-03-05 12:46:46 +01:00
Kusanagi Kouichi f4bce098ea wined3d: Fix a failure of card vendor detection. 2010-03-05 12:39:30 +01:00
Paul Andrew Panon 74a059d21b wined3d: Add Mesa ATI card detection code. 2010-03-03 16:13:23 +01:00
Paul Andrew Panon 85b07b9d38 wined3d: Add a card detection table and refactor wined3d_guess_card. 2010-03-03 16:13:09 +01:00
Paul Andrew Panon 1735b4ee92 wined3d: Adjust the quirks to use the new GL_VENDOR codes. 2010-03-03 16:06:40 +01:00
Paul Andrew Panon 7a9734dc68 wined3d: Add a real GL vendor detection. 2010-03-03 16:06:28 +01:00
Paul Andrew Panon 31573b21b9 wined3d: Rename GL_VENDOR to HW_VENDOR. 2010-03-03 16:06:07 +01:00
Roderick Colenbrander ccea415c77 wined3d: Fix multisampling on cards without 32-bit RGB fbconfigs. 2010-03-02 11:11:49 +01:00
Henri Verbeet 1a880cb1f9 wined3d: Remove some unused extensions. 2010-02-16 10:47:40 +01:00
Henri Verbeet 4c7bcb883b wined3d: Set the texture stage limit based on the fragment pipe caps. 2010-02-05 10:06:08 +01:00
Henri Verbeet b59dd0e4e8 wined3d: Add the general combiner limit to wined3d_gl_info. 2010-02-05 10:06:03 +01:00
Henri Verbeet 576ea95803 wined3d: Remove the unused device type parameter from the shader backend's get_caps() function. 2010-02-04 13:39:27 +01:00
Henri Verbeet 497386dc5c wined3d: Remove the unused device type parameter from the fragment pipe's get_caps() function.
On the subject of actually supporting software devices, we should probably
implement those by creating a software or reference adapter with appropriate
gl_info and pipe implementations and creating a device based on that.
2010-02-04 13:39:26 +01:00
Henri Verbeet 7ff576bbab wined3d: Select the blitter during adapter initialization. 2010-02-03 13:54:02 +01:00
Henri Verbeet cee8e9d881 wined3d: Select the shader backend during adapter initialization. 2010-02-02 14:11:02 +01:00
Henri Verbeet fb21551b2d wined3d: Select the fragment pipeline during adapter initialization. 2010-02-02 14:10:56 +01:00
Stefan Dösinger f6bb86e196 wined3d: Add GL_ARB_map_buffer_range. 2010-02-02 14:09:04 +01:00
Luca Bennati 9f3c90973f wined3d: Add newer ATI/AMD cards vendor recognition. 2010-02-01 12:46:23 +01:00
Henri Verbeet b2e511f391 wined3d: Trace the GLSL version string.
At some point we'll use the GLSL version to check if certain features are
available. For now just print the version.
2010-01-28 11:07:52 +01:00
Henri Verbeet 005eb0bd7d wined3d: Move some macros to directx.c.
Nothing GL specific about these.
2010-01-26 12:08:33 +01:00
Henri Verbeet 98568f0ba1 wined3d: Add support for ARB_vertex_array_bgra. 2010-01-26 12:08:27 +01:00
Henri Verbeet c698171fa3 wined3d: Add support for ARB_sync. 2010-01-26 12:08:18 +01:00
Henri Verbeet 869fc74576 wined3d: Add support for EXT_gpu_shader4. 2010-01-25 12:58:39 +01:00
Henri Verbeet 60ad1aed63 wined3d: Remove unused occlusion query extensions. 2010-01-22 12:12:14 +01:00
Henri Verbeet 2fe633efbc wined3d: Sort our GL extension definitions.
This makes some of the problems in there a bit more obvious.
2010-01-22 12:11:51 +01:00
Stefan Dösinger ccc26a9e01 wined3d: Add GL_APPLE_flush_buffer_range. 2010-01-04 12:09:18 +01:00
Gerald Pfeifer 0cf44ae02e wined3d: Introduce WINED3DFMT_INST and use it in CheckTextureCapability(). 2010-01-04 11:49:58 +01:00