Commit Graph

23084 Commits

Author SHA1 Message Date
Stefan Dösinger 81aeae3249 wined3d: Do not specify the viewport origin upside down when doing offscreen rendering.
The gl viewport origin is the lower left corner of the window, in d3d
it is the upper right corner. This is corrected when setting the
viewport. However, when we are doing offscreen rendering, this is
reversed. So do not flip the viewport origin when rendering offscreen.
2007-03-06 22:17:28 +01:00
Stefan Dösinger 6886b237ad wined3d: Disable depth stencil related states without a depth stencil buffer.
Except with fbos, it is not possible to remove the depth stencil
buffer from the opengl frame buffer, so when the d3d app sets a NULL
depth stencil disable all states that work with the depth stencil
buffer.
2007-03-06 22:17:15 +01:00
Stefan Dösinger 5f159452ef wined3d: Clearing the depth stencil buffer fails without a depth stencil buffer. 2007-03-06 22:17:03 +01:00
Stefan Dösinger daeffc897b wined3d: Use an aux buffer as blitting helper if available.
This helps performance a bit because the function does not have to
wait for the 2nd read to finish before returning. Only do that if we
have an aux buffer to mess with for free though.
2007-03-06 22:16:44 +01:00
Stefan Dösinger 5f05906f3b wined3d: Store the number of aux buffers in the gl limits structure. 2007-03-06 22:16:25 +01:00
Stefan Dösinger ae57138eae wined3d: WINED3DFMT_U8V8 is signed.
Plain OpenGL does not provide any signed pixel formats, so the
unsigned GL_RGB is used for loading perturbation data into pixel
shaders that use texbem. For correct loading, the signedness has to be
considered.
2007-03-06 22:16:12 +01:00
Stefan Dösinger e0a271ee0c wined3d: Adjust the rhw transformation for offscreen rendering. 2007-03-06 22:15:57 +01:00
Paul Vriens 8ebcf40043 msvcrt/tests: Properly remove temporary directory. 2007-03-06 22:00:11 +01:00
Paul Vriens 0646dfa58f localspl/tests: Remove tempfile after running the tests. 2007-03-06 21:59:58 +01:00
Paul Vriens c23bf488b3 winspool.drv/tests: Remove tempfile after running the tests. 2007-03-06 21:59:54 +01:00
Michael Stefaniuc 684d72f257 snmpapi: Fix printf format warnings. 2007-03-06 21:59:48 +01:00
Rob Shearman b814c45f00 secur32: NTLM's AcquireCredentialHandleA/W should accept domains and usernames with lengths of 0.
Add tests for these cases.
2007-03-06 21:59:39 +01:00
Rob Shearman d9229bd1c5 secur32: NTLM - don't bother nul terminating the password string as nothing relies on it being nul terminated. 2007-03-06 21:59:34 +01:00
Rob Shearman 3012038e73 secur32: NTLM - don't copy more data from User, Domain and Password
pointers in the SEC_WINNT_AUTH_IDENTITY structure than the
corresponding Length fields say the pointers hold.
2007-03-06 21:59:28 +01:00
Dmitry Timoshkov 7f16f21cf7 gdi32: Add an extensive EnumFontFamilies test, fix some failures when running under Wine. 2007-03-06 21:52:00 +01:00
Francois Gouget 7b0cde8f84 Assorted spelling fixes. 2007-03-06 21:51:35 +01:00
Francois Gouget eeb289ef91 dplayx/tests: Fix compilation on systems that don't support nameless unions. 2007-03-06 21:51:14 +01:00
Francois Gouget 2c595a1a63 dplayx/tests: Add missing '\n' to ok() call. 2007-03-06 21:51:09 +01:00
Byeong-Sik Jeon 52a9d1d934 gdi32: Fix FontSubstitute values for Korean locale. 2007-03-06 21:51:05 +01:00
Byeong-Sik Jeon 0da17ff87b gdi32: Add missing pFT_Done_Face(). 2007-03-06 21:50:58 +01:00
Alexandre Julliard 6fdee15df9 wineps.drv: Return correct values for DESKTOPHORZ/VERTRES since they are used to setup the visible region. 2007-03-06 18:28:17 +01:00
Dmitry Timoshkov d2092ae2bd winex11.drv: Do not ignore the keysyms assigned to a group switch, it leads to side effects like missing KeyRelease events. 2007-03-06 12:25:20 +01:00
Dmitry Timoshkov 7f7d858596 user32: Make the excessive scroll test pass under Windows. 2007-03-06 12:25:15 +01:00
Detlef Riekenberg 5365ce15e4 serialui/tests: Add some tests for CommConfigDialog. 2007-03-06 12:25:11 +01:00
Detlef Riekenberg 20a3298312 serialui: Fix return type for CommConfigDialog. 2007-03-06 12:25:06 +01:00
Detlef Riekenberg 2253edb7a3 localspl: Do not crash when Xcv was opened without a space in the name. 2007-03-06 12:11:56 +01:00
Detlef Riekenberg 753e61fe11 winspool/tests: Vista returns a different status. 2007-03-06 12:11:28 +01:00
Rob Shearman 87155d654f ole32: Compare the class contexts in COM_GetRegisteredClassObject.
Only objects that have been registered for a class context that matches 
the requested class context should be returned.
2007-03-06 12:10:50 +01:00
Rob Shearman 356fdcbb15 ole32: OleLoad should call CoCreateInstance with CLSCTX_INPROC_SERVER as well as CLSCTX_INPROC_HANDLER. 2007-03-06 12:10:47 +01:00
Rob Shearman 25e983d389 credui: Fix a missing ":" in the credential dialog domain name text box. 2007-03-06 12:10:44 +01:00
Andrew Talbot 59bc3545fb msvfw32: Replace const pointer parameter with correct pointer to const. 2007-03-06 12:10:39 +01:00
Andrew Talbot 80103832c8 comctl32: Replace const pointer parameter with correct pointer to const. 2007-03-06 12:10:35 +01:00
Andrew Talbot 7a9b2183d4 msi: Replace const pointer parameters with correct pointers to const. 2007-03-06 12:10:31 +01:00
Mike Schaadt 26390a47c7 snmpapi: Changed %llu to %x%08lx. 2007-03-06 12:10:24 +01:00
Aric Stewart 3744cd8874 gdi32: Set FontSubstitute values by locale. 2007-03-06 12:10:07 +01:00
Paul Vriens a105c6b1de gdi32/tests: Use skip where appropriate. 2007-03-05 18:08:43 +01:00
Paul Vriens 37cba3a9f9 gdi32/tests: Make sure we can run on win9x and NT again. 2007-03-05 18:08:35 +01:00
Chris Robinson 0717c96192 quartz: Improve reference traces. 2007-03-05 18:08:29 +01:00
Alexandre Julliard 1767b4558a server: Expose areas revealed by changes to the window region. 2007-03-05 16:43:27 +01:00
Paul Vriens 69299c7738 advapi32/tests: Move skip to a more appropriate place. 2007-03-05 16:43:27 +01:00
Paul Vriens 71697ec116 advapi32/tests: Don't use FreeLibrary with GetModuleHandle. 2007-03-05 16:43:27 +01:00
Michael Stefaniuc eff5b13043 hhctrl.ocx: Fix a format warning. 2007-03-05 16:43:26 +01:00
Rob Shearman 5267e36ad0 kernel32: Implement CallNamedPipeW. 2007-03-05 16:43:26 +01:00
Rob Shearman 07daeff8f4 wininet: Always make copies of strings passed to INTERNET_SendCallback.
This ensures that applications that change the strings received in
status callbacks don't affect the data needed to successfully connect to
the correct server.
2007-03-05 16:43:26 +01:00
Rob Shearman d72f741a33 credui: The pfSave parameter of CredUIPromptForCredentials is optional. 2007-03-05 16:43:26 +01:00
Rob Shearman 77f6bc4f8d msi: Set the PackageCode property based on the "revision number" data in the summary information.
Add a test to show that PackageCode is set by MSI.
2007-03-05 16:43:26 +01:00
Rob Shearman e2972af436 msi: Rewrite the second loop in ACTION_FinishCustomActions so that it always terminates.
Create an array of handles to wait on so that we can wait without
holding a critical section.
2007-03-05 16:43:26 +01:00
Rob Shearman 95f38b75fb msi: Set the Date, Time and VersionDatabase properties.
Add tests for these properties.
Update the todo list of properties to set.
2007-03-05 16:43:26 +01:00
Stefan Dösinger 2cdced8193 wined3d: Adjust the rhw transformation for offscreen rendering.
When drawing processed vertices with the fixed function pipeline the
projection matrix is set up to map y values from 0 to height to 1.0;
-1.0(gl and d3d coord systems are flipped). This moves the y axis to
the bottom of the drawing area. When later on the y inversion matrix
is applied for offscreen rendering, the coordinate system will get
flipped out of the viewport.

This patch sets the Y range up upside down when using offscreen
rendering, so the invymat will flip it to the correct position. This
has to happen before the 0.375 pixel correction.
2007-03-05 15:31:36 +01:00
Stefan Dösinger 7126b63645 wined3d: Use the scissor test when clearing the full surface too.
It was incorrect to disable the scissor test for full surfaces in my
clear patch. With back buffer offscreen rendering the viewport does
not seem to restrict clearing, and with different sizes of depth
stencil and color buffer the final fantasy XI demo seems to expect the
clear to be restricted.
2007-03-05 15:31:21 +01:00