Henri Verbeet
41346a1dae
wined3d: Setting render target 0 to NULL in an application error.
2010-07-28 12:22:55 +02:00
Henri Verbeet
ea2bb2a904
wined3d: Invalid NP2 fixup info is an internal error.
2010-07-28 12:22:52 +02:00
Henri Verbeet
0d25da0c0d
wined3d: Properly take both input and output masks into account in handle_ps3_input().
2010-07-28 12:22:50 +02:00
Henri Verbeet
ce39714228
wined3d: Check for unread registers in a more logical way in handle_ps3_input().
...
~0U always >= (in_count + 2).
2010-07-28 12:22:40 +02:00
Matteo Bruni
20f51c29a9
wined3d: Setup target if offscreen rendering setting changed.
2010-07-26 18:38:33 +02:00
Henri Verbeet
3e37b27d37
wined3d: Cleanup Get/SetRenderState traces a bit.
2010-07-26 18:38:31 +02:00
Henri Verbeet
6874743e78
wined3d: Add a missing return statement to surface_prepare_texture().
...
Calling surface_prepare_texture_internal() twice on the same surface is
harmless, but unnecessary.
2010-07-26 18:38:31 +02:00
Henri Verbeet
0bf68b846a
wined3d: Merge strect_rect_fbo() and surface_load_srgb_fbo().
2010-07-26 18:38:31 +02:00
Henri Verbeet
943fb2fb57
wined3d: Do RGB <=> sRGB transfers using FBO blits.
...
Concept based on a patch by Stefan.
2010-07-26 18:38:31 +02:00
Henri Verbeet
2f028f0340
wined3d: Avoid loading the destination surface in stretch_rect_fbo() if it will be completely overwritten.
2010-07-23 11:46:55 +02:00
Henri Verbeet
d374d85055
wined3d: Clear all render targets in an MRT setup.
2010-07-23 11:46:47 +02:00
Stefan Dösinger
068915a4f1
wined3d: Check the writemask before activating the oC0 optimization.
...
The comment above the code correctly mentions that this optimization
does not work if oC0 is written partially, but the code doesn't
actually check for this condition.
2010-07-22 10:22:46 +02:00
Stefan Dösinger
6b794cbd64
wined3d: Only perform sRGB write correction on formats that advertise it.
2010-07-22 10:22:26 +02:00
Henri Verbeet
3d8ff7f27a
wined3d: Framebuffer blits are affected by the color mask.
2010-07-22 10:13:36 +02:00
Henri Verbeet
4817a65091
wined3d: Preload resources before FBO setup.
2010-07-22 10:13:30 +02:00
Henri Verbeet
f7760656f3
wined3d: Remove LoadLocation() from the public wined3d surface interface.
2010-07-22 10:13:24 +02:00
Henri Verbeet
147f24dd78
wined3d: Remove ModifyLocation() from the public wined3d surface interface.
2010-07-22 10:13:13 +02:00
Alexandre Julliard
b86d515ed6
dlls: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:36 +02:00
Luke Bratch
c63c568731
wined3d: Add Nvidia 8800GTX detection.
2010-07-21 13:23:59 +02:00
Henri Verbeet
c411b45da9
wined3d: Use a more consistent name for the normalized texrect "extension".
2010-07-21 09:33:18 +02:00
Henri Verbeet
0344bc429d
wined3d: Just implement BindTexture() for GDI surfaces in surface_gdi.c.
2010-07-21 09:33:05 +02:00
Henri Verbeet
aae8f13610
wined3d: Remove an unused prototype.
2010-07-21 09:33:01 +02:00
Henri Verbeet
9976e078cb
wined3d: Add some missing flags to debug_d3dusage().
2010-07-21 09:32:55 +02:00
Henri Verbeet
4b850ed121
wined3d: Remove restoring the read buffer from read_from_framebuffer_texture().
...
The few functions that care about the read buffer should explicitly set it
themselves, instead of assuming any particular state.
2010-07-20 13:13:04 +02:00
Henri Verbeet
d6e08f8074
wined3d: Consolidate surface related prototypes in wined3d_private.h.
2010-07-20 13:13:04 +02:00
Florian Köberle
2c1e8decfc
wined3d: Let GetRasterStatus return D3DERR_INVALIDCALL.
2010-07-19 15:12:14 +02:00
Rico Schüller
894a150f69
wined3d: Add GL_NV_point_sprite extension.
2010-07-19 15:10:32 +02:00
Seth Shelnutt
b5a5db910f
wined3d: Nvidia Geforce 8400 and 8500 are now reported as 8400GS instead of 8300GS.
2010-07-19 14:38:16 +02:00
Henri Verbeet
3ecaa4a41a
wined3d: Invalidate STATE_STREAMSRC in IWineD3DDeviceImpl_EvictManagedResources().
2010-07-08 17:33:37 +02:00
Francois Gouget
7649c75b40
Assorted typo and spelling fixes.
2010-06-24 10:37:05 +02:00
Francois Gouget
620087c545
wined3d: Remove spaces after '\n's.
2010-06-24 10:33:46 +02:00
Henri Verbeet
b769c912cc
wined3d: read_from_framebuffer_texture() isn't suitable for readback of onscreen surfaces.
2010-06-22 13:51:30 +02:00
Matteo Bruni
6585bec5ac
wined3d: Check for error conditions in GL call.
2010-06-22 11:22:38 +02:00
Roderick Colenbrander
eb0a032a8c
wined3d: Add NPOT quirk for GeforceFX 5200.
2010-06-18 11:19:03 +02:00
Rico Schüller
c223e73bbb
wined3d: Improve fglrx glsl spam filter.
2010-06-15 19:58:30 +02:00
Henri Verbeet
b1abafcf8d
wined3d: Also flip the point sprite coordinate origin when rendering offscreen.
2010-06-11 16:22:25 +02:00
Henri Verbeet
64e2525ba0
wined3d: Release the context on an error path in buffer_PreLoad().
2010-06-07 12:22:44 +02:00
Henri Verbeet
eb3c81fd69
wined3d: Sampler states are 1-based.
...
0 isn't a valid sampler state, and including it would overflow the
stateblock's contained_sampler_states array in
stateblock_init_contained_states().
2010-06-02 11:53:39 +02:00
Wolfram Sang
ddd1c72574
wined3d: Clarify some comments about Intel cards.
2010-06-01 13:37:18 +02:00
Henri Verbeet
1b5cc39a86
wined3d: Get rid of some dead code.
2010-06-01 11:03:56 +02:00
Dan Kegel
f99e1d80e2
wined3d: Fix size of buffer in swapchain_create_context_for_thread().
2010-05-31 12:46:08 +02:00
Henri Verbeet
6f57aabc0a
wined3d: Handle a zero source value for WINED3DSIH_POW.
2010-05-27 14:46:43 +02:00
Roderick Colenbrander
39eaaeaa27
wined3d: Add support for mobile Geforce 3xx GPUs.
2010-05-27 14:46:43 +02:00
Roderick Colenbrander
c44603a559
wined3d: Mark Geforce GT 140 as a Geforce 9600GT.
2010-05-27 14:46:43 +02:00
Roderick Colenbrander
036295c37a
wined3d: Add Geforce 2xx lowend models.
2010-05-27 14:46:43 +02:00
Roderick Colenbrander
c471724a2a
wined3d: Add Geforce 4x0 cards to GPU database.
2010-05-27 14:46:43 +02:00
Roderick Colenbrander
3e10c3d547
wined3d: Update Nvidia Geforce6+ driver version to latest 197.45 WHQL version.
2010-05-27 14:46:43 +02:00
Roderick Colenbrander
ba09e7a2a1
wined3d: Don't use blit_supported() in d3dfmt_get_conv for now.
2010-05-27 14:46:43 +02:00
Roderick Colenbrander
e54f06183c
wined3d: Replace set_shader call with unset_shader in blt_to_drawable.
...
The blit_shader is activated before draw_textured_quad, so after use
it should be deactivated instead of being activated again.
2010-05-27 14:46:43 +02:00
Henri Verbeet
e8ac9bbd7f
wined3d: Get rid of GLINFO_LOCATION.
2010-05-25 13:29:00 +02:00