Kimmo Myllyvirta
d738e6ffd2
wined3d: Add NVIDIA GeForce GTX 680.
2012-05-29 10:53:44 +02:00
Henri Verbeet
aa71065d9b
wined3d: Properly preload index buffers.
2012-05-29 10:44:50 +02:00
Karsten Elfenbein
9d7a39656a
wined3d: Add Nvidia GTX 670.
2012-05-22 18:08:24 +02:00
Henri Verbeet
e3ecfa5974
wined3d: Store user clip planes as 4-component float vectors.
2012-05-22 18:07:02 +02:00
Henri Verbeet
481514eab2
wined3d: Get rid of the conv_mat macro.
2012-05-22 18:06:54 +02:00
Henri Verbeet
69bdff6253
wined3d: Avoid moving buffers while they're mapped.
2012-05-22 18:06:51 +02:00
Henri Verbeet
0d45d50342
wined3d: Don't evict resources that are currently mapped in wined3d_device_evict_managed_resources().
2012-05-21 21:31:02 +02:00
Henri Verbeet
5ec56c9bc4
wined3d: Get rid of SFLAG_LOCKED.
2012-05-21 21:30:56 +02:00
Henri Verbeet
f2fb3f11f9
wined3d: Move the resource map count field up to wined3d_resource.
2012-05-21 21:30:52 +02:00
Francois Gouget
fac36c55e9
Assorted typo, spelling, wording and case fixes.
2012-05-15 16:26:43 +02:00
Henri Verbeet
a331ed032e
wined3d: Properly check for transformed position in buffer_check_attribute().
2012-05-03 23:45:21 +02:00
Henri Verbeet
6b9018ccd2
wined3d: Use the wined3d_matrix structure for the identity matrix.
2012-05-03 23:45:09 +02:00
Henri Verbeet
29893d8162
wined3d: Determine index buffer location based on vertex buffer locations.
2012-05-03 11:18:03 +02:00
Henri Verbeet
9267148705
wined3d: The wined3d object doesn't need a parent.
2012-05-03 11:18:00 +02:00
Alexandre Julliard
c054d7bc6f
wined3d: CreateDIBSection doesn't need a DC for the DIB_RGB_COLORS case.
2012-05-02 12:02:33 +02:00
Henri Verbeet
a8a201cf61
wined3d: Figure out the index data pointer inside drawPrimitive().
...
We want to do this after context_apply_draw_state(), when resource locations
are all setup.
2012-05-02 11:59:14 +02:00
Henri Verbeet
64e41dae8a
wined3d: Figure out the index size inside drawPrimitive().
2012-05-02 11:59:10 +02:00
Henri Verbeet
42b835754b
wined3d: Keep track of "all_vbo" in the stream info structure.
2012-05-01 14:44:15 +02:00
Henri Verbeet
de43de510a
wined3d: Move the resource bind_count field up to wined3d_resource.
2012-04-26 19:26:14 +02:00
Henri Verbeet
49c4623b2f
wined3d: device_clear_render_targets() never fails.
2012-04-16 12:05:15 +02:00
Henri Verbeet
3ba95e2f3e
wined3d: Move the present() back buffer check to the common wined3d_swapchain_present() code.
2012-04-16 12:05:09 +02:00
Henri Verbeet
8cef8b3587
wined3d: Unify the wined3d_mapped_rect and wined3d_mapped_box structures.
2012-04-13 10:48:51 +02:00
Henri Verbeet
cd0c18f56b
wined3d: Simplify the data.buffer_object assignment in surface_load_texture().
...
The surface pbo field should be 0 is SFLAG_PBO is not set.
2012-04-09 12:02:47 +02:00
Henri Verbeet
baff64a27a
wined3d: Properly determine the viewport size for front buffer blits in SetupForBlit().
2012-04-05 11:56:19 +02:00
Henri Verbeet
12369f9f4d
wined3d: Fix the VBO check in device_stream_info_from_declaration().
2012-03-29 20:49:14 +02:00
Henri Verbeet
7017ed4587
wined3d: Drop a questionable FIXME in device_stream_info_from_declaration().
2012-03-29 20:49:13 +02:00
Henri Verbeet
c7d3a8a478
wined3d: Drop the "vbo" check in wined3d_device_process_vertices().
...
We care about individual streams having a VBO or not, and there's no way for
device_stream_info_from_declaration() to properly express that, so just check
the individual streams.
2012-03-29 20:49:13 +02:00
Matteo Bruni
7e3c7840e3
wined3d: Support WINED3D_TTFF_COUNT3 texture projection in the ARB backend.
2012-03-28 15:09:18 +02:00
Matteo Bruni
439097c810
wined3d: Update the correct draw buffers mask.
2012-03-28 15:09:09 +02:00
Henri Verbeet
426535a7dd
wined3d: Recognise AMD HD 6770M and HD 6750M with closed drivers.
2012-03-28 11:36:46 +02:00
Henri Verbeet
00a4011425
wined3d: Drop the ORM_BACKBUFFER special case in surface_unmap().
2012-03-27 11:39:26 +02:00
Henri Verbeet
d1e00648ff
wined3d: Only update the drawable on surface unmap for the frontbuffer.
2012-03-27 11:39:23 +02:00
Henri Verbeet
6f8b8bda2d
wined3d: Load the backbuffer in the correct location before presenting in swapchain_gl_present().
2012-03-27 11:39:19 +02:00
Henri Verbeet
337b63d878
wined3d: Drop an Apple hack.
...
The hack actually breaks things on cards that do support more than 256
uniforms in GLSL.
2012-03-27 11:39:13 +02:00
Henri Verbeet
a0264eb101
wined3d: Move the WGL extension detection code to the same place as regular GL extension detection.
2012-03-16 11:08:59 +01:00
Henri Verbeet
bb08fafdf0
wined3d: Use the same code for parsing the WGL extension string as for the regular GL extension string.
2012-03-16 11:08:54 +01:00
Henri Verbeet
00ba167c71
wined3d: Introduce a separate function for parsing the GL extension string.
2012-03-16 11:08:49 +01:00
Henri Verbeet
02ae22d984
wined3d: The current WGL DC should never be NULL in wined3d_adapter_init_gl_caps().
2012-03-16 11:08:42 +01:00
Henri Verbeet
6396ad9e45
wined3d: GL_MAX_TEXTURE_COORDS_ARB is not available without ARB_fragment_program.
2012-03-12 10:44:01 +01:00
Henri Verbeet
112e2e219f
wined3d: Also recognise the "classic" Mesa Nouveau driver for GeForce 4 and earlier cards.
2012-03-12 10:44:00 +01:00
Henri Verbeet
ab4474c19b
wined3d: surface_cpu_blt() should always receive valid source and destination rectangles.
2012-03-12 10:44:00 +01:00
Henri Verbeet
29468906bb
wined3d: Pass correctly offset pointers to surface_cpu_blt_compressed().
...
This was debugged by Alexey Loukianov.
2012-03-12 10:43:59 +01:00
Matteo Bruni
4ed605f081
wined3d: Clamp fog coordinate in the ARB backend too.
2012-03-09 17:26:01 +01:00
Matteo Bruni
2d810bdc89
wined3d: Clamp fog coordinate in the vertex shader.
2012-03-09 17:25:57 +01:00
Henri Verbeet
06aab27197
wined3d: Remove a texture dimension check in state_alpha().
...
I don't think there's any reason color-keying shouldn't work on e.g. cube
textures, although it probably isn't very common either.
2012-03-09 11:32:22 +01:00
Henri Verbeet
6eb5c891ac
wined3d: Use ARB_texture_rg for WINED3DFMT_R16G16_UNORM textures when available.
2012-03-09 11:32:16 +01:00
Henri Verbeet
b8a22ebef0
wined3d: Remove an outdated comment from load_vertex_data().
2012-03-08 17:58:02 +01:00
Henri Verbeet
3d5ca7ab64
wined3d: Remove an outdated comment in state_zwritenable().
...
We actually do have tests for this.
2012-03-08 17:57:58 +01:00
Henri Verbeet
6d483c2d9d
wined3d: Don't use floating point for surface height scaling.
...
This is the follow-up to commit a4e5bcff4c
.
2012-03-08 17:57:54 +01:00
Henri Verbeet
639ea0f49c
wined3d: Remove a transformed vertex loading hack in load_vertex_data().
...
This should never be used, we fall back to drawStridedSlow() for transformed vertices.
2012-03-08 17:57:46 +01:00