Sweden-Number/dlls/wined3d
Henri Verbeet f09b8e454d wined3d: Avoid some needless depth buffer copies.
If an application switches between render targets of a different size, but
with the same depth/stencil surface it'll typically clear the depth/stencil
surface before drawing. However, in case of the smaller render target that
wouldn't be a full clear, so we'd have to do a depth copy if we also switched
between onscreen and offscreen rendering. Keeping track of which part of the
depth/stencil surface is current for onscreen/offscreen allows us to avoid
most of these kinds of copies. The current scheme requires the current/dirty
rectangle to have an origin at (0,0). This could be extended to an arbitrary
rectangle, but the bookkeeping becomes somewhat more complex in that case, and
it's not clear that there would be much of a benefit at this point.
2010-04-29 10:19:39 -05:00
..
Makefile.in makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
arb_program_shader.c wined3d: Avoid some needless depth buffer copies. 2010-04-29 10:19:39 -05:00
ati_fragment_shader.c wined3d: Explicitly set the state handler to NULL for states with a representative. 2010-04-01 18:12:42 +02:00
basetexture.c wined3d: Introduce basetexture_get_sub_resource() to simplify retrieving texture sub-resources. 2010-04-25 07:27:57 -05:00
buffer.c wined3d: Don't write past the end of the buffer's conversion_map. 2010-04-12 11:33:32 +02:00
clipper.c wined3d: Get rid of some redundant local variables. 2009-12-22 13:48:25 +01:00
context.c wined3d: Store back buffer surfaces as IWineD3DSurfaceImpl pointers in the swapchain. 2010-04-27 12:02:14 -05:00
cubetexture.c wined3d: Simply pass an IWineD3DSurfaceImpl pointer to surface_add_dirty_rect(). 2010-04-27 12:02:39 -05:00
device.c wined3d: Avoid some needless depth buffer copies. 2010-04-29 10:19:39 -05:00
directx.c wined3d: Fix some more misspellings of "device". 2010-04-21 11:57:32 +02:00
drawprim.c wined3d: Avoid some needless depth buffer copies. 2010-04-29 10:19:39 -05:00
gl_compat.c wined3d: Get rid of the GL_SUPPORT macro. 2009-10-29 13:09:33 +01:00
glsl_shader.c wined3d: Avoid some needless depth buffer copies. 2010-04-29 10:19:39 -05:00
nvidia_texture_shader.c wined3d: Explicitly set the state handler to NULL for states with a representative. 2010-04-01 18:12:42 +02:00
palette.c wined3d: Add a separate function for palette initialization. 2010-04-13 21:13:26 +02:00
query.c wined3d: Simply pass an IWineD3DSurfaceImpl pointer to context_acquire(). 2010-04-22 11:28:17 +02:00
resource.c wined3d: Simply inline dumpResources(). 2010-04-05 11:37:28 +02:00
shader.c wined3d: Avoid some needless depth buffer copies. 2010-04-29 10:19:39 -05:00
shader_sm1.c wined3d: Properly report shader comment sizes. 2010-02-23 12:06:54 +01:00
shader_sm4.c wined3d: Properly report shader comment sizes. 2010-02-23 12:06:54 +01:00
state.c wined3d: Store texture sub-resources in IWineD3DBaseTextureClass. 2010-04-25 07:26:51 -05:00
stateblock.c wined3d: Fix some more misspellings of "device". 2010-04-21 11:57:32 +02:00
surface.c wined3d: Avoid some needless depth buffer copies. 2010-04-29 10:19:39 -05:00
surface_base.c wined3d: Rename GlPixelFormatDesc to wined3d_format_desc. 2010-03-19 14:31:47 +01:00
surface_gdi.c wined3d: Store the front buffer surface as an IWineD3DSurfaceImpl pointer in the swapchain. 2010-04-27 12:01:59 -05:00
swapchain.c wined3d: Avoid some needless depth buffer copies. 2010-04-29 10:19:39 -05:00
swapchain_base.c wined3d: Store back buffer surfaces as IWineD3DSurfaceImpl pointers in the swapchain. 2010-04-27 12:02:14 -05:00
swapchain_gdi.c wined3d: Store back buffer surfaces as IWineD3DSurfaceImpl pointers in the swapchain. 2010-04-27 12:02:14 -05:00
texture.c wined3d: Simply pass an IWineD3DSurfaceImpl pointer to surface_add_dirty_rect(). 2010-04-27 12:02:39 -05:00
utils.c wined3d: Store texture sub-resources in IWineD3DBaseTextureClass. 2010-04-25 07:26:51 -05:00
version.rc wined3d: Add version resource. 2009-11-04 11:54:59 +01:00
vertexdeclaration.c wined3d: Rename "wineD3DDevice" to "device". 2009-12-10 11:54:47 +01:00
view.c wined3d: Add a separate function for rendertarget view initialization. 2010-04-13 21:13:21 +02:00
volume.c wined3d: Rename GlPixelFormatDesc to wined3d_format_desc. 2010-03-19 14:31:47 +01:00
volumetexture.c wined3d: Introduce basetexture_get_sub_resource() to simplify retrieving texture sub-resources. 2010-04-25 07:27:57 -05:00
wined3d.spec d3d8: Use a wined3d cs for wined3d locking. 2009-08-25 11:12:17 +02:00
wined3d_gl.h wined3d: Fix a GL extension prototype. 2010-04-12 11:33:28 +02:00
wined3d_main.c wined3d: Disable strict draw ordering by default. 2010-04-13 21:13:36 +02:00
wined3d_private.h wined3d: Avoid some needless depth buffer copies. 2010-04-29 10:19:39 -05:00