Stefan Dösinger
|
76195d9a49
|
wined3d: Reorganize stateblock::capture a bit.
|
2007-08-15 09:41:49 +02:00 |
Stefan Dösinger
|
f5e6313cf6
|
wined3d: Restructure Stateblock::apply a bit.
|
2007-08-15 09:41:43 +02:00 |
Stefan Dösinger
|
b21c785482
|
wined3d: Optimize float constants in stateblocks.
|
2007-08-15 09:36:07 +02:00 |
Stefan Dösinger
|
59fb2928b8
|
wined3d: Optimize sampler states in stateblocks.
|
2007-08-15 09:35:49 +02:00 |
Stefan Dösinger
|
6e7a10f550
|
wined3d: Fix a field in the wined3d header.
|
2007-08-15 09:35:39 +02:00 |
Roderick Colenbrander
|
3d58a065df
|
wined3d: Load wglGetProcAddress from opengl32.dll instead of gdi32.dll when USE_WIN32_OPENGL is defined.
|
2007-08-14 20:29:21 +02:00 |
Roderick Colenbrander
|
4ad17c0c38
|
wined3d: Dynamically load OpenGL.
|
2007-08-14 13:32:08 +02:00 |
Roderick Colenbrander
|
b78923d015
|
wined3d: Don't use ENTER_GL/LEAVE_GL on systems without winex11.drv.
|
2007-08-14 12:47:15 +02:00 |
Stefan Dösinger
|
03ffb73450
|
wined3d: Optimize texture stage state applying.
|
2007-08-14 12:29:04 +02:00 |
Stefan Dösinger
|
865b82af2c
|
wined3d: Optimize bool and int pixel shader constants.
|
2007-08-14 12:28:59 +02:00 |
Stefan Dösinger
|
4673b1c68e
|
wined3d: Optimize bool and int vs constants.
|
2007-08-14 12:28:52 +02:00 |
Stefan Dösinger
|
274f77d497
|
wined3d: Do not copy the saved states structure into the primary stateblock.
|
2007-08-14 12:28:45 +02:00 |
Stefan Dösinger
|
92ce028a0b
|
wined3d: Optimize transform state in stateblocks.
|
2007-08-14 12:28:40 +02:00 |
Vitaliy Margolen
|
b56afd0cff
|
wined3d: Activate context before applying fbo state.
|
2007-08-14 12:28:33 +02:00 |
Roderick Colenbrander
|
6b177c44e1
|
wined3d: Pass the proper DeviceName to ChangeDisplaySettings.
|
2007-08-14 12:28:28 +02:00 |
Roderick Colenbrander
|
d391c11d43
|
wined3d: Proper CheckDeviceType / CheckDepthStencilMatch support.
|
2007-08-13 13:02:46 +02:00 |
Roderick Colenbrander
|
1dc0298a55
|
wined3d: Check the results of SetPixelFormat.
|
2007-08-13 12:37:34 +02:00 |
Roderick Colenbrander
|
4cd5298a57
|
wined3d: Add more pixelformats to getColorBits.
|
2007-08-13 12:37:23 +02:00 |
Roderick Colenbrander
|
5754726aeb
|
wined3d: Use the proper depth stencil format.
|
2007-08-13 12:36:55 +02:00 |
Roderick Colenbrander
|
f6260c5b20
|
wined3d: Fix WINED3DFMT D16/L16 bugs in the pixelformat table.
|
2007-08-13 12:36:37 +02:00 |
Stefan Dösinger
|
93155ea087
|
wined3d: Optimize render states in the stateblock.
|
2007-08-13 11:37:25 +02:00 |
Stefan Dösinger
|
28084c5f80
|
wined3d: Remove primary stateblock fixme.
|
2007-08-13 11:36:50 +02:00 |
Stefan Dösinger
|
e7cbb340dc
|
wined3d: Remove stateblock::set.*.
|
2007-08-13 11:36:43 +02:00 |
Stefan Dösinger
|
f41ab3be9b
|
wined3d: Remove ugly code from stateblock init.
|
2007-08-13 11:36:14 +02:00 |
Stefan Dösinger
|
55192882f3
|
wined3d: Remove outdated TODO in D3DDevice::SetTextureStageState.
|
2007-08-13 11:35:56 +02:00 |
Hernan Rajchert
|
6aead911fb
|
wined3d: Fixed error message when glDrawElement fails.
|
2007-08-13 11:32:07 +02:00 |
Chris Robinson
|
c8b6b2b1d8
|
wined3d: Use a safer, more compliant method to parse extension strings.
|
2007-08-10 12:58:17 +02:00 |
Roderick Colenbrander
|
7818cbda4a
|
wined3d: Add better pixelformat selection code for pbuffers.
|
2007-08-10 12:58:17 +02:00 |
Francois Gouget
|
a80903e54b
|
wined3d: '0x' is redundant with the '#' format modifier.
|
2007-08-10 11:56:20 +02:00 |
Francois Gouget
|
93b5a0e934
|
wined3d: Add a '\n' to a Wine trace.
|
2007-08-10 11:56:03 +02:00 |
Roderick Colenbrander
|
4647cbb625
|
wined3d: Better pixelformat selection code.
|
2007-08-09 14:11:19 +02:00 |
Roderick Colenbrander
|
ac3927a73e
|
wined3d: Move over to WGL.
|
2007-08-08 15:32:01 +02:00 |
Roderick Colenbrander
|
58275065a1
|
wined3d: Prepare pbuffer code for WGL transition.
|
2007-08-08 15:32:01 +02:00 |
Roderick Colenbrander
|
107ff2057d
|
wined3d: Move fake context code over to WGL.
|
2007-08-08 15:32:01 +02:00 |
Stefan Dösinger
|
b8dd5839ef
|
wined3d: Store the position_transformed flag in the vdecl.
|
2007-08-08 15:32:00 +02:00 |
Stefan Dösinger
|
06e51c21e1
|
wined3d: Determine used streams at vdecl creation.
|
2007-08-08 15:32:00 +02:00 |
Stefan Dösinger
|
ca0d92f3bc
|
wined3d: Remove link collection from vertexdeclaration.c.
|
2007-08-08 15:32:00 +02:00 |
Stefan Dösinger
|
89dccc7c7c
|
ddraw: Implement IDirect3DDevice7::DrawIndexedPrimitiveStrided.
|
2007-08-08 15:32:00 +02:00 |
Roderick Colenbrander
|
f3af04a8be
|
wined3d: Use UINT instead of uint.
|
2007-08-07 12:36:37 +02:00 |
Roderick Colenbrander
|
e77da5ef8a
|
wined3d: Don't call ActivateContext between ENTER_GL/LEAVE_GL.
|
2007-08-07 12:36:32 +02:00 |
Roderick Colenbrander
|
d1bc63090e
|
wined3d: Another devmode bug.
|
2007-08-06 14:01:42 +02:00 |
Chris Robinson
|
ef561429ee
|
wined3d: Use the macro when querying the current display settings.
|
2007-08-06 14:01:28 +02:00 |
Chris Robinson
|
c6e6eae08c
|
wined3d: Initialize major and minor when filling GL caps.
|
2007-08-06 13:59:38 +02:00 |
Chris Robinson
|
9a319f2857
|
wined3d: Properly setup DevModeW before using it.
|
2007-08-06 13:59:28 +02:00 |
Stefan Dösinger
|
38c7e9356e
|
wined3d: Present requires the swapchain's context.
|
2007-08-06 12:05:50 +02:00 |
Stefan Dösinger
|
dbd338c018
|
wined3d: WINED3DSAMP_MAXMIPLEVEL fixes.
|
2007-08-06 12:05:39 +02:00 |
Stefan Dösinger
|
8de07265a6
|
wined3d: Downgrade an ERR.
|
2007-08-03 12:30:12 +02:00 |
H. Verbeet
|
3ac2271f5c
|
wined3d: Only report 16 bit float declaration types as supported if we support them.
|
2007-08-02 12:18:42 +02:00 |
H. Verbeet
|
82245cb5d7
|
wined3d: Properly load FLOAT16_2 and FLOAT16_4 vertex data.
|
2007-08-02 12:18:41 +02:00 |
H. Verbeet
|
f11ca610ba
|
wined3d: Add definitions and detection for GL_NV_half_float.
|
2007-08-02 12:18:41 +02:00 |
H. Verbeet
|
cfb07e7114
|
wined3d: Set SFLAG_INSYSMEM when WINED3DLOCK_DISCARD is passed to IWineD3DSurfaceImpl_LockRect.
|
2007-08-02 12:18:41 +02:00 |
Francois Gouget
|
5266e57975
|
Assorted spelling fixes.
|
2007-07-31 21:37:50 +02:00 |
Roderick Colenbrander
|
2c12c17ab6
|
wined3d: Compile against standard GL headers.
|
2007-07-31 21:36:56 +02:00 |
Alexandre Julliard
|
af4b9bb85c
|
wined3d: Fix compiler warning.
|
2007-07-30 14:14:01 +02:00 |
Stefan Dösinger
|
5c905b9e8c
|
wined3d: A more dynamic initialization of the gl pixel formats.
|
2007-07-30 12:49:59 +02:00 |
Stefan Dösinger
|
d2016ff892
|
wined3d: Store the gl format table in the gl info structure.
|
2007-07-30 12:49:50 +02:00 |
Stefan Dösinger
|
a0131a3272
|
wined3d: Split up the format table.
|
2007-07-30 12:49:39 +02:00 |
H. Verbeet
|
b4e596e70e
|
wined3d: Flip the scissor rect when rendering offscreen.
|
2007-07-26 11:51:34 +02:00 |
Stefan Dösinger
|
12788f6fc8
|
wined3d: Do not fail if the adapter info can't be initialized.
|
2007-07-26 11:48:45 +02:00 |
Stefan Dösinger
|
59efd5c7ec
|
wined3d: Set the pow2 sizes in gl surface private setup.
|
2007-07-26 11:48:36 +02:00 |
Stefan Dösinger
|
30724a6ec2
|
wined3d: Find the shader constant limit at adapter init time.
|
2007-07-26 11:47:52 +02:00 |
Stefan Dösinger
|
b9379fc389
|
wined3d: Allocate render target management members in Init3D.
|
2007-07-26 11:47:43 +02:00 |
Stefan Dösinger
|
327aa543a4
|
wined3d: Attempt to clean up fbos only if a gl surface is destroyed.
|
2007-07-26 11:47:35 +02:00 |
H. Verbeet
|
d7c7cbf6b6
|
wined3d: Fix the stretch_rect_fbo() declaration to match the implementation.
|
2007-07-25 13:02:53 +02:00 |
H. Verbeet
|
e652128fdf
|
wined3d: Pass the correct target to glMultiTexCoord.
|
2007-07-25 13:02:44 +02:00 |
Michael Stefaniuc
|
25707d4c5d
|
wined3d: Remove a return after a return. Found by Smatch.
|
2007-07-25 13:02:39 +02:00 |
Stefan Dösinger
|
861767f036
|
wined3d: Create the stateblock in Init3D.
|
2007-07-24 13:44:10 +02:00 |
H. Verbeet
|
fc4c73902a
|
wined3d: Trace the declaration element type in primitiveDeclarationConvertToStridedData().
|
2007-07-24 11:25:52 +02:00 |
H. Verbeet
|
be8226593c
|
wined3d: Don't modify the blending parameters in state_blend().
|
2007-07-24 11:25:45 +02:00 |
H. Verbeet
|
34f6d4937f
|
wined3d: Fix the shader version on some instruction tokens.
|
2007-07-23 11:59:08 +02:00 |
H. Verbeet
|
35aa2ce9f2
|
wined3d: Correctly handle normalized vertex declaration data types.
|
2007-07-23 11:59:01 +02:00 |
H. Verbeet
|
2785395080
|
wined3d: glXSwapBuffers needs a GLX context.
|
2007-07-19 11:57:16 +02:00 |
Michael Stefaniuc
|
82a52308ac
|
wined3d: Remove unreachable code: break after return. Found by Smatch.
|
2007-07-18 12:57:58 +02:00 |
H. Verbeet
|
cb4c9b6208
|
wined3d: Fix STATE_IS_ACTIVELIGHT.
|
2007-07-16 14:53:42 +02:00 |
Stefan Dösinger
|
9dedfd71e0
|
wined3d: Store the last active thread.
|
2007-07-10 13:31:19 +02:00 |
Stefan Dösinger
|
1fb168f018
|
wined3d: Make ActivateContext a bit smaller.
|
2007-07-10 13:31:10 +02:00 |
Stefan Dösinger
|
fdadf26c20
|
wined3d: Add CTXUSAGE_CLEAR context usage.
|
2007-07-10 13:30:51 +02:00 |
Stefan Dösinger
|
97cd8bab1b
|
wined3d: Print the fixed and unfixed vertex warning only when needed.
|
2007-07-10 13:30:42 +02:00 |
Stefan Dösinger
|
9ba3f389f6
|
wined3d: Initialize surfaces at creation.
|
2007-07-10 13:30:31 +02:00 |
H. Verbeet
|
8f3c1ad5ea
|
wined3d: Advertise VTF support.
|
2007-07-09 12:16:16 +02:00 |
H. Verbeet
|
f31edc3ce7
|
wined3d: Advertise A32B32G32R32F render target support.
|
2007-07-09 12:16:10 +02:00 |
Stefan Dösinger
|
26ebe396c3
|
wined3d: Implement high order patches.
|
2007-07-06 19:32:47 +02:00 |
Stefan Dösinger
|
714e66acf2
|
wined3d: Do not set streamIsUP in DrawPrimitiveStrided.
|
2007-07-06 19:30:17 +02:00 |
Stefan Dösinger
|
9928a4c4fd
|
wined3d: Offscreen rendering from foreign threads.
|
2007-07-06 19:29:28 +02:00 |
H. Verbeet
|
1c14c180b7
|
wined3d: Implement dsx & dsy shader instructions.
|
2007-07-03 12:32:52 +02:00 |
Stefan Dösinger
|
b462ff0876
|
wined3d: Create multiple contexts for onscreen render targets.
|
2007-07-03 12:32:33 +02:00 |
Stefan Dösinger
|
13f24c3808
|
wined3d: Select onscreen contexts based on the thread id.
|
2007-07-03 12:30:33 +02:00 |
Stefan Dösinger
|
a1f83aae8e
|
wined3d: rsq and rcp use the .w component if no swizzle is given.
|
2007-07-03 12:29:34 +02:00 |
H. Verbeet
|
973496d5e4
|
wined3d: Cleanup shader_glsl_load_psamplers().
|
2007-07-02 13:36:26 +02:00 |
H. Verbeet
|
6421d45f53
|
wined3d: In tex_colorop() & tex_alphaop(), only check the mapped stage against GL_LIMITS(textures) if the texture is used.
|
2007-07-02 13:36:15 +02:00 |
H. Verbeet
|
25c673225b
|
wined3d: Only set GL_SHADER_OPERATION_NV to GL_NONE for supported units.
|
2007-07-02 13:36:07 +02:00 |
H. Verbeet
|
9ed84211c1
|
wined3d: Only call activate_dimensions() if the texture is used.
|
2007-07-02 13:35:59 +02:00 |
H. Verbeet
|
5e78a83cb2
|
wined3d: Call IWineD3DDeviceImpl_FindTexUnitMap for cards without support for NV_REGISTER_COMBINERS as well.
|
2007-07-02 13:35:50 +02:00 |
H. Verbeet
|
860aa6993b
|
wined3d: Get rid of the oneToOneTexUnitMap field.
|
2007-06-29 13:42:26 +02:00 |
H. Verbeet
|
92fc808b05
|
wined3d: In device_map_psamplers(), only touch the sampler mapping for samplers that are used by the shader.
|
2007-06-29 13:42:20 +02:00 |
H. Verbeet
|
99e3abab30
|
wined3d: Cleanup device_map_fixed_function_samplers().
|
2007-06-29 13:42:12 +02:00 |
H. Verbeet
|
47708a7717
|
wined3d: Check more thoroughly if a stage references a texture.
|
2007-06-28 11:01:34 +02:00 |
H. Verbeet
|
d2d6952fd5
|
wined3d: Map vertex samplers to a texturing unit.
|
2007-06-28 11:01:25 +02:00 |
H. Verbeet
|
1d4042cee1
|
wined3d: Implement texldl.
|
2007-06-28 11:01:15 +02:00 |
Michael Stefaniuc
|
0326da9dd5
|
wined3d: Remove superfluous casts of void pointers to other pointer types.
|
2007-06-27 12:53:37 +02:00 |