Henri Verbeet
d1254eddb5
wined3d: Properly enable / disable register combiners.
2012-01-20 13:31:07 +01:00
Matteo Bruni
cf5bc7a711
wined3d: Dirtify STATE_FRAMEBUFFER after a FBO depth blit.
2012-01-19 17:08:09 +01:00
Henri Verbeet
bee9adbd05
wined3d: Get rid of the WINED3DDECLUSAGE typedef.
2012-01-19 11:56:47 +01:00
Henri Verbeet
c35c30fa68
wined3d: Get rid of the WINED3DDECLMETHOD typedef.
2012-01-19 11:56:41 +01:00
Henri Verbeet
d0d094dea2
wined3d: Respect SFLAG_PIN_SYSMEM when creating a surface DIB section.
2012-01-19 11:56:30 +01:00
Henri Verbeet
e1cd2453b9
wined3d: Get rid of the mostly unused blockType field in struct wined3d_stateblock.
2012-01-19 11:56:00 +01:00
Akihiro Sagawa
bd97589dba
wined3d: Let GetRasterStatus return D3D_OK, again.
2012-01-19 11:55:48 +01:00
Henri Verbeet
ed417a6f13
wined3d: Get rid of the WINED3DSTATEBLOCKTYPE typedef.
2012-01-18 12:37:38 +01:00
Henri Verbeet
ae2e5d65ff
wined3d: Get rid of the WINED3DQUERYTYPE typedef.
2012-01-18 12:37:38 +01:00
Henri Verbeet
e53a277305
wined3d: Get rid of the WINED3DPOOL typedef.
2012-01-18 12:37:38 +01:00
Henri Verbeet
6a5a098b23
wined3d: Get rid of the WINED3DRESOURCETYPE typedef.
2012-01-18 12:37:38 +01:00
Henri Verbeet
c70e17e806
wined3d: Reset the changed float shader constants in stateblock_init_default_state().
...
The GLSL constant tracking needs these to be correct.
2012-01-18 12:37:37 +01:00
Henri Verbeet
59df293640
wined3d: Don't print an ERR if the depth/stencil surface still has references in wined3d_device_uninit_3d().
...
This is completely legitimate in ddraw.
2012-01-18 12:37:37 +01:00
Austin English
fe30990e8d
wined3d: Recognize Nvidia 540M.
2012-01-17 11:52:26 +01:00
Francois Gouget
cbc7a0361e
wined3d: Add a trailing '\n' to a FIXME() message.
2012-01-16 12:45:34 +01:00
Henri Verbeet
e70990041b
wined3d: Get rid of the WINED3DTEXTUREFILTERTYPE typedef.
2012-01-13 17:34:31 +01:00
Henri Verbeet
a206f43648
wined3d: Get rid of wined3d_surface_set_format().
2012-01-13 17:34:30 +01:00
Henri Verbeet
afb64506ba
ddraw: Implement width and height changes in ddraw_surface7_SetSurfaceDesc().
2012-01-13 17:34:30 +01:00
Matteo Bruni
c6c5c6905e
wined3d: Handle discarded depth-stencil surfaces with SFLAG_LOST.
...
SFLAG_INSYSMEM is already set by surface_add_dirty_rect() for all
surfaces anyway.
2012-01-13 17:34:30 +01:00
Matteo Bruni
cbf641e9e0
wined3d: Modify depth-stencil location flags only after allocating the new location.
2012-01-13 17:34:30 +01:00
Matteo Bruni
add5916c77
wined3d: Set depth textures dirty after modifying the underlying surface.
2012-01-13 17:34:30 +01:00
Henri Verbeet
7dac3e0921
wined3d: Get rid of the WINED3DBASISTYPE typedef.
2012-01-12 12:37:24 +01:00
Henri Verbeet
f38e94af7c
wined3d: Get rid of the WINED3DTRANSFORMSTATETYPE typedef.
2012-01-12 12:37:18 +01:00
Henri Verbeet
be3a9b5ecb
wined3d: Hold the wined3d mutex in device_process_message().
2012-01-12 12:35:50 +01:00
Diego Nieto Cid
759bad0202
wined3d: Convert rtInternal and glGammaInternal.
2012-01-11 19:42:50 +01:00
Henri Verbeet
2650ba4b17
wined3d: Get rid of the WINED3DTEXTUREADDRESS typedef.
2012-01-11 17:47:23 +01:00
Henri Verbeet
b6431d9493
wined3d: Get rid of the WINED3DTEXTUREOP typedef.
2012-01-11 17:47:22 +01:00
Henri Verbeet
b55e3d82cf
wined3d: Set SFLAG_PIN_SYSMEM when the application tries to use surfaces that are currently mapped.
2012-01-11 12:32:55 +01:00
Matteo Bruni
1c14c0d2fc
wined3d: Don't use separate location flags for depth buffers.
2012-01-10 10:48:26 +01:00
Matteo Bruni
e4c0d6abbe
wined3d: Don't try to remove the location flag if it's not there in the first place.
2012-01-10 10:48:13 +01:00
Henri Verbeet
7f7bc520b6
wined3d: Get rid of the WINED3DTEXTURETRANSFORMFLAGS typedef.
2012-01-10 10:47:30 +01:00
Henri Verbeet
43fcbcb36e
wined3d: Get rid of the WINED3DTEXTURESTAGESTATETYPE typedef.
2012-01-10 10:47:27 +01:00
Henri Verbeet
40e8d85426
wined3d: Simplify transform flag handling in find_ps_compile_args().
2012-01-10 10:47:17 +01:00
Henri Verbeet
9a8491045e
wined3d: Get rid of the WINED3DMULTISAMPLE_TYPE typedef.
2012-01-09 12:22:17 +01:00
Henri Verbeet
08545dc739
wined3d: Get rid of the WINED3DSAMPLERSTATETYPE typedef.
2012-01-09 12:22:12 +01:00
Henri Verbeet
f1e2c5df93
wined3d: Only flip SFLAG_DIBSECTION once in flip_surface().
...
We already swap all flags at a later point in flip_surface().
2012-01-09 12:22:03 +01:00
Henri Verbeet
de807eb21c
wined3d: Allow 10-bpc formats as render targets.
2012-01-09 12:21:53 +01:00
Henri Verbeet
3d33887c2f
wined3d: Get rid of the WINED3DSWAPEFFECT typedef.
2012-01-06 19:24:22 +01:00
Henri Verbeet
45f6def784
wined3d: Get rid of the WINED3DBACKBUFFER_TYPE typedef.
2012-01-06 19:24:21 +01:00
Henri Verbeet
c77b414787
wined3d: Get rid of the WINED3DPATCHEDGESTYLE typedef.
2012-01-05 20:54:25 +01:00
Henri Verbeet
c3cc92e472
wined3d: Get rid of the WINED3DMATERIALCOLORSOURCE typedef.
2012-01-05 20:54:24 +01:00
Henri Verbeet
fd8597b2bf
wined3d: Get rid of the WINED3DSTENCILOP typedef.
2012-01-03 23:40:50 +01:00
Henri Verbeet
808e926783
wined3d: Get rid of the WINED3DCULL typedef.
2012-01-03 23:40:46 +01:00
Henri Verbeet
a03eeb5cac
wined3d: Get rid of the WINED3DFILLMODE typedef.
2012-01-03 12:37:31 +01:00
Henri Verbeet
16e9d728f4
wined3d: Get rid of the WINED3DSHADEMODE typedef.
2012-01-03 12:37:30 +01:00
Henri Verbeet
51d54a909c
wined3d: Recognize some more Intel GPUs.
2012-01-03 12:37:29 +01:00
Henri Verbeet
1a3aabf6f2
wined3d: Recognize i915g as Intel.
2012-01-03 12:37:29 +01:00
Matteo Bruni
fb38bad0c4
wined3d: Improve projection TEXTURETRANSFORMFLAGS handling in the ARB fragment ffp implementation.
2011-12-28 18:55:18 +01:00
Matteo Bruni
472fed41dd
wined3d: Improve invalid TEXTURETRANSFORMFLAGS handling.
2011-12-28 18:55:15 +01:00
Henri Verbeet
6623a8cfa9
wined3d: Get rid of the WINED3DFOGMODE typedef.
2011-12-22 10:08:52 +01:00
Henri Verbeet
00096c82fd
wined3d: Get rid of the WINED3DZBUFFERTYPE typedef.
2011-12-22 10:08:48 +01:00
Henri Verbeet
1ec609670f
wined3d: Get rid of the WINED3DCMPFUNC typedef.
2011-12-21 10:14:54 +01:00
Henri Verbeet
b79dc388c3
wined3d: Get rid of the WINED3DVERTEXBLENDFLAGS typedef.
2011-12-21 10:14:50 +01:00
Henri Verbeet
0feb72f000
wined3d: Handle client storage in surface_remove_pbo().
2011-12-21 10:14:44 +01:00
Henri Verbeet
317d5406d5
wined3d: Handle client storage in surface_init_sysmem().
2011-12-21 10:14:41 +01:00
Henri Verbeet
b57d1e7c33
wined3d: Don't call surface_init_sysmem() on surfaces with a PBO.
2011-12-21 10:14:37 +01:00
Henri Verbeet
3082c1a9de
wined3d: Get rid of the WINED3DRENDERSTATETYPE typedef.
2011-12-20 10:11:47 +01:00
Henri Verbeet
5bddd4427d
wined3d: Get rid of the WINED3DDEGREETYPE typedef.
2011-12-20 10:11:39 +01:00
Henri Verbeet
969f3be73f
wined3d: Get rid of the WINED3DBLENDOP typedef.
2011-12-19 20:15:49 +01:00
Henri Verbeet
b39125d2f0
wined3d: Get rid of the WINED3DBLEND typedef.
2011-12-19 20:15:49 +01:00
Henri Verbeet
67bca436ee
wined3d: Get rid of the WINED3DDEVTYPE typedef.
2011-12-13 18:58:58 +01:00
Henri Verbeet
ebb85da5f7
wined3d: Get rid of the WINEDDCAPS typedef.
2011-12-13 18:58:58 +01:00
Henri Verbeet
943fcb0fc4
wined3d: Use the correct source pitch and byte_count for uploading converted surfaces.
2011-12-13 18:58:57 +01:00
Henri Verbeet
e6fb4537f0
ddraw: Move clipper handling to ddraw.
2011-12-13 18:58:37 +01:00
Matteo Bruni
68e0cd430f
wined3d: Ignore invalid texture transform flags.
2011-12-13 14:00:24 +01:00
Matteo Bruni
fdd4df446f
wined3d: Fix some flag checks.
2011-12-13 14:00:24 +01:00
Henri Verbeet
e6a4a86608
wined3d: Get rid of the WINED3DPRIMITIVETYPE typedef.
2011-12-12 10:21:01 +01:00
Henri Verbeet
b55b683b08
wined3d: Get rid of the WINED3DLIGHTTYPE typedef.
2011-12-12 10:20:57 +01:00
Henri Verbeet
d806c37b4a
wined3d: Trace all swapchain_desc fields in wined3d_device_reset().
2011-12-12 10:20:52 +01:00
Henri Verbeet
38c3cde6fd
wined3d: Get rid of the WINED3DPSHADERCAPS2_0 typedef.
2011-12-09 21:15:25 +01:00
Henri Verbeet
af6b98c44b
wined3d: Get rid of the WINED3DVSHADERCAPS2_0 typedef.
2011-12-09 21:15:24 +01:00
Henri Verbeet
f3afa69f8d
wined3d: Introduce a helper function for checking colors against a color key.
2011-12-09 21:15:24 +01:00
Henri Verbeet
d2ca44a597
wined3d: Print the GL_RENDERER string when no "card selector" is available in wined3d_guess_card().
2011-12-09 21:15:24 +01:00
Henri Verbeet
11efbbf140
wined3d: The VertexAttrib*h[v] calls in NV_half_float depend on NV_vertex_program.
...
Based on a patch by Aurélien Couderc.
2011-12-09 21:15:23 +01:00
Henri Verbeet
3dd03f642d
wined3d: Get rid of the WINEDDCOLORKEY typedef.
2011-12-08 10:27:53 +01:00
Henri Verbeet
52231bc467
wined3d: Get rid of the WineDirect3DVertexStridedData typedef.
2011-12-08 10:27:50 +01:00
Henri Verbeet
ada8ad76b9
wined3d: Avoid clearing the current wined3d context in WineD3D_CreateFakeGLContext().
...
There should be no need to clear the thread's current wined3d context as long
as we properly restore the corresponding GL stuff. This avoids hitting the
context restore code in context_enter() when we have e.g. two d3d9 devices,
one of which is inactive, because now we can see that the GL context that's
active belongs to another wined3d context, and we don't need to bother
saving and restoring it.
2011-12-08 10:27:40 +01:00
Henri Verbeet
2d1a941b7d
wined3d: Properly check if a surface has a DIB section in gdi_surface_map().
2011-12-08 10:27:32 +01:00
Henri Verbeet
56e3e05e57
wined3d: Read the PBO back into the DIB section if we have one in surface_remove_pbo().
2011-12-08 10:27:29 +01:00
Henri Verbeet
4c3dfa1bca
wined3d: Get rid of the WineDirect3DStridedData typedef.
2011-12-07 17:49:56 +01:00
Henri Verbeet
5c5216e609
wined3d: Get rid of the WINED3DBOX typedef.
2011-12-07 17:49:56 +01:00
Henri Verbeet
3f455832a3
wined3d: Unbind stateblock resources in wined3d_device_uninit_3d().
2011-12-07 17:49:55 +01:00
Stefan Dösinger
6c423b106f
wined3d: Remove the Apple NV_texture_shader quirk.
2011-12-06 17:06:53 +01:00
Stefan Dösinger
e4f91774ac
wined3d: Remove fglrx GLSL constant quirks.
...
Fglrx does not support r500 and earlier GPUs any longer, making those
quirks obsolete and a problem for r300g.
2011-12-06 17:06:49 +01:00
Henri Verbeet
2fa5a22100
wined3d: Get rid of the WINED3DLOCKED_BOX typedef.
2011-12-06 15:50:58 +01:00
Henri Verbeet
eafebc0491
wined3d: Get rid of the WINED3DLOCKED_RECT typedef.
2011-12-06 15:50:58 +01:00
Henri Verbeet
107369d018
wined3d: Disable client storage in upload_palette().
...
Stack pointers don't work so well with client storage.
2011-12-06 15:50:58 +01:00
Henri Verbeet
66d453ce5c
wined3d: Don't declare more varyings than required by the shader model.
2011-12-06 15:50:58 +01:00
Henri Verbeet
c43aa1ada8
wined3d: Only unload the surface when we're using GL for rendering in updateSurfaceDesc().
2011-12-05 12:23:05 +01:00
Henri Verbeet
31bf03d8a1
wined3d: Only recreate GL contexts when we're using GL for rendering in wined3d_device_reset().
2011-12-05 12:23:02 +01:00
Henri Verbeet
df446ae4fe
wined3d: Create the device state block when the device is created.
2011-12-05 12:22:58 +01:00
Henri Verbeet
360c1114d6
wined3d: Get rid of the WINED3DRASTER_STATUS typedef.
2011-12-02 11:51:33 +01:00
Henri Verbeet
94c9b0b4fc
wined3d: Get rid of the WINED3DPRESENT_PARAMETERS typedef.
2011-12-02 11:51:29 +01:00
Henri Verbeet
94c0da184e
wined3d: Create a PBO in surface_load_location() even if SFLAG_INSYSMEM is already set.
...
In the longer term, sysmem and pbo should be separate resource locations.
2011-12-01 10:06:12 +01:00
Henri Verbeet
39ebb992f7
wined3d: Introduce a separate function to determine if a surface needs a PBO.
2011-12-01 10:06:07 +01:00
Henri Verbeet
4a7cbba0ea
wined3d: Move the surface map counting code to wined3d_surface_map().
2011-12-01 10:06:02 +01:00
Henri Verbeet
3a2921c559
ddraw: Keep the primary surface mapped at the same address for early ddraw versions.
2011-11-30 11:50:58 +01:00
Henri Verbeet
3430e11605
wined3d: Add a flags parameter to wined3d_surface_create().
2011-11-30 11:50:48 +01:00
Henri Verbeet
82dd612d50
ddraw: Resize the swapchain window on mode changes in exclusive mode.
2011-11-30 11:50:42 +01:00
Henri Verbeet
ab73f20e38
wined3d: Use proper texcoord masks for GLSL texm3x3spec / texm3x3vspec.
2011-11-29 13:23:04 +01:00