Sweden-Number/dlls/wined3d
Stefan Dösinger c088edeae7 wined3d: Use GL_ARB_texture_non_power_of_two emulation.
ATI cards prior to the radeon HD series did not have unconditional non
power of two support. So far we've used texture_rectangle for that, or
created a bigger power of two texture with padding. This had the
disadvantage that we had to correct the coordinates, which causes
extreme problems with shaders(doesn't work, pretty much).

Both the MacOS and the fglrx driver have support for
GL_ARB_texture_non_power_of_two, and run it on the hardware as long as
we stay within the texture_rectangle limitations. This allows us to
have conditional non power of two textures with normalized
coordinates. This patch adds an internal extension, and the code
creates a regular GL_TEXTURE_2D texture with NP2 size, but refuses
mipmapping, filtering and texture_rectangle incompatible
operations. This makes np2 textures work with shaders on fglrx and
macos.
2008-07-18 11:41:09 +02:00
..
Makefile.in wined3d: Give the nvts/nvrc code its own pipeline implementation. 2008-07-14 11:44:26 +02:00
arb_program_shader.c wined3d: Move shader_fragment_enable to the fragment pipeline implementation. 2008-07-11 14:32:37 +02:00
ati_fragment_shader.c wined3d: Correct the D3DTOP_LERP parameter order. 2008-07-18 11:40:40 +02:00
baseshader.c wined3d: Improve some shader traces. 2008-07-16 17:54:23 +02:00
basetexture.c wined3d: Use GL_ARB_texture_non_power_of_two emulation. 2008-07-18 11:41:09 +02:00
clipper.c
context.c wined3d: Use rev_tex_unit_map instead of assuming there's a 1:1 mapping between samplers and texture units. 2008-07-16 17:54:41 +02:00
cubetexture.c wined3d: Use GL_ARB_texture_non_power_of_two emulation. 2008-07-18 11:41:09 +02:00
device.c wined3d: Use GL_ARB_texture_non_power_of_two emulation. 2008-07-18 11:41:09 +02:00
directx.c wined3d: Use GL_ARB_texture_non_power_of_two emulation. 2008-07-18 11:41:09 +02:00
drawprim.c wined3d: Don't call shader_select() in depth_blt(). 2008-07-10 20:33:29 +02:00
glsl_shader.c wined3d: Set ffp caps in the ffp backend, not the shader backend. 2008-07-11 14:32:53 +02:00
indexbuffer.c wined3d: Update copyright lines. 2008-04-02 20:22:42 +02:00
nvidia_texture_shader.c wined3d: Move an extension check into the state template. 2008-07-17 11:44:21 +02:00
palette.c wined3d: Don't store primary surface palette in device palettes. 2008-03-25 11:53:55 +01:00
pixelshader.c wined3d: Use gl_Color and gl_SecondaryColor to support more varyings in SM3.0 shaders. 2008-06-19 11:47:52 +02:00
query.c wined3d: Add ENTER_GL/LEAVE_GL in IWineD3DOcclusionQueryImpl_Issue. 2008-04-07 21:18:18 +02:00
resource.c
state.c wined3d: Use GL_ARB_texture_non_power_of_two emulation. 2008-07-18 11:41:09 +02:00
stateblock.c wined3d: Remove unneeded address-of operators from array names. 2008-07-14 11:50:22 +02:00
surface.c wined3d: Use GL_ARB_texture_non_power_of_two emulation. 2008-07-18 11:41:09 +02:00
surface_base.c wined3d: Remove unneeded address-of operators from array names. 2008-07-14 11:50:22 +02:00
surface_gdi.c wined3d: Only copy front buffer to screen in gdi RealizePalette. 2008-05-14 21:51:14 +02:00
swapchain.c wined3d: Restore the gamma when destroying the swapchain. 2008-07-02 12:27:05 +02:00
texture.c wined3d: Use GL_ARB_texture_non_power_of_two emulation. 2008-07-18 11:41:09 +02:00
utils.c wined3d: Enable filtering for D3DFMT_A4R4G4B4. 2008-07-16 19:56:24 +02:00
vertexbuffer.c wined3d: Update copyright lines. 2008-04-02 20:22:42 +02:00
vertexdeclaration.c
vertexshader.c wined3d: Update copyright lines. 2008-04-02 20:22:42 +02:00
volume.c
volumetexture.c wined3d: Use GL_ARB_texture_non_power_of_two emulation. 2008-07-18 11:41:09 +02:00
wined3d.spec
wined3d_main.c wined3d: Remove the DLL load init function. 2008-07-08 21:08:54 +02:00
wined3d_private.h wined3d: Use GL_ARB_texture_non_power_of_two emulation. 2008-07-18 11:41:09 +02:00
wined3d_private_types.h wined3d: Track depth stencil location per-surface. 2008-07-03 11:50:52 +02:00