Lionel Ulmer [Wed, 4 Jun 2003 23:22:13 +0000 (23:22 +0000)]
Refactoring of the texture upload code.
Lionel Ulmer [Wed, 4 Jun 2003 23:19:14 +0000 (23:19 +0000)]
Fix texture parameters handling on texture change.
Lionel Ulmer [Wed, 4 Jun 2003 23:18:24 +0000 (23:18 +0000)]
- remove some extraneous saving of the read buffer settings
- cleaned-up the GL / device critical section handling
Lionel Ulmer [Wed, 4 Jun 2003 23:17:23 +0000 (23:17 +0000)]
- protect viewport setting with GL lock
- no need anymore to flush to FB on execute buffer calling
Lionel Ulmer [Wed, 4 Jun 2003 23:16:28 +0000 (23:16 +0000)]
Some threading fixes (prevents some dead-locks).
Lionel Ulmer [Wed, 4 Jun 2003 23:10:38 +0000 (23:10 +0000)]
- implement FB => Texture blits
- fix compilation on non-recent glext.h systems
Raphael Junqueira [Wed, 4 Jun 2003 23:05:46 +0000 (23:05 +0000)]
- cleaning of volume.c/volumetexture.c as done previously for
surface.c/*texture.c (with add of lockable, locked and Dirty flags)
- add of dirtyRect/dirtyBox for better dirtification management (not
used yet, but huge optimisation can be possible now)
- fix some debug traces (well it's better to use debug_d3dpool)
- fix some stupid regression on point parameters (forgot to check
extension on fillcaps)
Raphael Junqueira [Wed, 4 Jun 2003 23:01:49 +0000 (23:01 +0000)]
- add a new private header d3dcore_gl.h that declares needed opengl
defines and the caps defines
- cleanup of device.c using the caps defines (avoid the #ifdef
nigthmare)
- add {Set,Get}GammaRamp support
Raphael Junqueira [Wed, 4 Jun 2003 22:55:19 +0000 (22:55 +0000)]
- some cleanup and warning fixes
- split of CreateDevice gl/gxl detection code into FillGLCaps
- implementation of resolution change (using ChangeDisplaySettings)
but desactived as ChangeDisplaySettings don't seem to work well
- begin of swap chain support (now need to split/clean
gxlpbuffer/glxpixmap code for swap chain use)
Jason Edmeades [Wed, 4 Jun 2003 22:51:14 +0000 (22:51 +0000)]
Fix the glRead call when pRect != NULL, resolve the file format of the
saved snapshot correctly.
Raphael Junqueira [Wed, 4 Jun 2003 22:47:53 +0000 (22:47 +0000)]
- fix another time the stupid locking bug (i had already fixed it in
ActiveRender)
- fix stupid rescaling of colors values on SaveSnapshot
Raphael Junqueira [Wed, 4 Jun 2003 22:45:57 +0000 (22:45 +0000)]
- pixel shader program dump code
- pixel shader code split into a new "COM object" (as done before for
vertex shader)
- some fixes on Validate* functions call types
- add pixel shader (ie fragment_program) detection on caps code
Jason Edmeades [Wed, 4 Jun 2003 22:20:47 +0000 (22:20 +0000)]
Add support for a lot of the remaining texture ops, move code into the
utils module, and clean up the main code path.
Raphael Junqueira [Wed, 4 Jun 2003 22:12:34 +0000 (22:12 +0000)]
- some cleanups
- more cubetextures fixes (now d3d8 sdk cubemap sample work almost
perfectly)
- add a new debug function "debug_d3dpool" and use it
- add a new param (the device) for the conversions functions (because
we need to check caps to see how to convert)
- some crashes fixed in render to surface code with no stencil-depth
surface
- a very simple cliplane fix
- a stupid palettes fix (stupid language)
- begin of anisotropic filter support
- begin of compressed textures support
- a very useful debug functions: IDirect3DSurface8Impl_SaveSnapshot to
dump surfaces as png ;)
- many useful surfaces debug code (using SaveSnapshot)
Jason Edmeades [Wed, 4 Jun 2003 22:04:44 +0000 (22:04 +0000)]
Correct specular enable renderstate.
Jason Edmeades [Wed, 4 Jun 2003 22:02:06 +0000 (22:02 +0000)]
Avoid the use of glGet when we know the information locally.
Jason Edmeades [Wed, 4 Jun 2003 22:01:05 +0000 (22:01 +0000)]
Opengl 1.4 added stencil wrap support as per directx (also in the
GL_EXT_stencil_wrap extension).
Raphael Junqueira [Wed, 4 Jun 2003 21:55:29 +0000 (21:55 +0000)]
- implemented render to surfaces (and render to new rendertargets)
using glx pbuffers (with a useful debug code to display rendered
surface into window drawable)
- better cubetextures
- split utilities functions into utils.c and added more
- more readable debug again
- a better caps code (not perfect but i'll use glx code later)
- use of the new caps code
- begin of UpdateTexture
- begin of Cursor support
- cleaning most of deprecated #if 0/#endif
- correct some lockable/unlockable behavior
- correct some returns code
Lionel Ulmer [Wed, 4 Jun 2003 21:53:43 +0000 (21:53 +0000)]
- do not search for attached surfaces if the texture doesn't have the
MIPMAP flag set
- add GL crit. section support for matrix setting
- support the various BLEND texture operations
Yorick Hardy [Wed, 4 Jun 2003 21:52:46 +0000 (21:52 +0000)]
Added the D3DTBLEND_DECAL render state.
Francois Gouget [Wed, 4 Jun 2003 20:29:05 +0000 (20:29 +0000)]
Fix some typos.
Robert Reif [Wed, 4 Jun 2003 20:28:04 +0000 (20:28 +0000)]
Added a dynamically growing ring buffer for oss, alsa, arts, and nas.
Tom Wickline [Wed, 4 Jun 2003 20:26:34 +0000 (20:26 +0000)]
Updated my e-mail address.
Paul Laufer [Wed, 4 Jun 2003 20:25:55 +0000 (20:25 +0000)]
Work around for flex brain damage.
Marcus Meissner [Wed, 4 Jun 2003 20:24:56 +0000 (20:24 +0000)]
Implemented localeconv() with libc function.
Antonio Larrosa Jiménez [Wed, 4 Jun 2003 20:24:16 +0000 (20:24 +0000)]
Added CLOCKS_PER_SEC.
Antonio Larrosa Jiménez [Wed, 4 Jun 2003 20:23:58 +0000 (20:23 +0000)]
Added WSASetEvent forward.
Tom Wickline [Wed, 4 Jun 2003 20:22:09 +0000 (20:22 +0000)]
Added 10 new mci extensions.
Mike Hearn [Wed, 4 Jun 2003 20:21:45 +0000 (20:21 +0000)]
Update listbox directory mode to new FindFirstFile error code.
Vitaliy Margolen [Wed, 4 Jun 2003 20:21:21 +0000 (20:21 +0000)]
DrawTextEx: honor clipping for underscores.
Robert Reif [Wed, 4 Jun 2003 20:20:36 +0000 (20:20 +0000)]
Added DirectSound entries.
Jason Edmeades [Wed, 4 Jun 2003 20:19:33 +0000 (20:19 +0000)]
With >256 colours, there is no need to realize a palette, so skip it
and return that no palette entries had to change.
Dimitrie O. Paun [Wed, 4 Jun 2003 20:19:11 +0000 (20:19 +0000)]
Remove bFirstPain funky optimization, it is causing too much grief.
Jukka Heinonen [Wed, 4 Jun 2003 20:17:52 +0000 (20:17 +0000)]
Migrate most int21 ioctl routines to winedos.
Migrate int21 set drive routine to winedos.
Lionel Ulmer [Wed, 4 Jun 2003 20:17:00 +0000 (20:17 +0000)]
Implemented a semi-stub for GetProcessPriorityBoost.
Dmitry Timoshkov [Wed, 4 Jun 2003 20:16:17 +0000 (20:16 +0000)]
Revert some really unwanted changes to the DDE code.
Yorick Hardy [Wed, 4 Jun 2003 20:15:59 +0000 (20:15 +0000)]
Improve CDROM_GetIdeInterface (becomes CDROM_GetInterfaceInfo), in
order to better support SCSI drives.
Yorick Hardy [Wed, 4 Jun 2003 20:15:39 +0000 (20:15 +0000)]
Include sys/time.h for struct timeval definition.
Yorick Hardy [Wed, 4 Jun 2003 20:15:10 +0000 (20:15 +0000)]
Use SA_RESTART on NetBSD.
Jukka Heinonen [Wed, 4 Jun 2003 20:14:47 +0000 (20:14 +0000)]
Wineconsole curses backend now works even if terminal is smaller than
console size. Cursor is no longer left into wrong location after
screen updates.
Jukka Heinonen [Wed, 4 Jun 2003 20:14:24 +0000 (20:14 +0000)]
Timer routines must check for NULL timer name.
Eric Pouech [Wed, 4 Jun 2003 20:13:54 +0000 (20:13 +0000)]
- added some missing strings to resources
- made the decompression code a bit more pedantic to avoid crashes
- fixed startup without .HLP filename passed on command line
- passed a few more commands from remote applications to the macros
Alexandre Julliard [Wed, 4 Jun 2003 20:13:21 +0000 (20:13 +0000)]
Authors: Mike McCormack <mike@codeweavers.com>, Lionel Ulmer <lionel.ulmer@free.fr>
Make DDraw not linked 'statically' to OpenGL.
Mark Westcott [Wed, 4 Jun 2003 20:11:56 +0000 (20:11 +0000)]
DInput keyboard handling checks for incoming X11 events.
Ove Kaaven [Wed, 4 Jun 2003 20:11:34 +0000 (20:11 +0000)]
Preliminary support for COM apartments.
Jason Edmeades [Wed, 4 Jun 2003 20:10:43 +0000 (20:10 +0000)]
Fill in lots of unimplemented render states.
Duane Clark [Thu, 22 May 2003 20:56:04 +0000 (20:56 +0000)]
Fix compile error.
Alexandre Julliard [Thu, 22 May 2003 03:44:01 +0000 (03:44 +0000)]
Start to make use of the proper PEB structure for process
information.
Alexandre Julliard [Thu, 22 May 2003 03:41:43 +0000 (03:41 +0000)]
Warning fix.
Alexandre Julliard [Thu, 22 May 2003 03:41:27 +0000 (03:41 +0000)]
Beep() is still needed in ntdll, move it back to some random file.
Alexandre Julliard [Thu, 22 May 2003 03:40:41 +0000 (03:40 +0000)]
Added dependency on libntdll to make sure that everything links
properly.
Robert Reif [Thu, 22 May 2003 03:39:32 +0000 (03:39 +0000)]
Add 3d primary and secondary buffer tests.
Check reference count at object release.
Remove redundant cooperative level setting.
Robert Reif [Thu, 22 May 2003 03:39:13 +0000 (03:39 +0000)]
- make parameter checking and error notification consistent
- propagate driver and local function errors where needed
- fix error returns where pointer is given for returned data
- add 3d listener to primary buffer when needed
- copy 3d part of buffer when duplicated
- fix bug when primary buffer is reopened with smaller buffer
- loosen requirements on caps data size check
- set caps for emulated mode based on actual driver caps
Lionel Ulmer [Thu, 22 May 2003 03:38:22 +0000 (03:38 +0000)]
- remove fogging too when doing the flush of the frame buffer
- handle dest rect in the Blt DEPTH_FILL case
- fix QueryInterface on the D3D Device
Maxime Bellengé [Thu, 22 May 2003 03:37:10 +0000 (03:37 +0000)]
Fix listview custom draw notification for CDDS_ITEMPREPAINT and
CDDS_SUBITEMPREPAINT messages.
Ove Kaaven [Thu, 22 May 2003 03:36:26 +0000 (03:36 +0000)]
DCOM IDL file based on the DCOM specification.
Ove Kaaven [Thu, 22 May 2003 03:36:00 +0000 (03:36 +0000)]
Initial support for RPC call failures, by catching RPC server
exceptions and returning simple failure packets, and throwing
exceptions on the client side when unmarshalling the failure packet.
Jason Edmeades [Thu, 22 May 2003 03:35:24 +0000 (03:35 +0000)]
Avoid setting and resetting the same values when there are many
rectangles.
Robert Shearman [Thu, 22 May 2003 03:34:54 +0000 (03:34 +0000)]
Update ordering on insertion of an item.
Mike McCormack [Wed, 21 May 2003 18:50:53 +0000 (18:50 +0000)]
Remove code that starts wineshelllink, instead create a windows
compatible shortcut (*.lnk) file. After creating that file, start a
link processor (winemenubuilder) on it, which reads it back then calls
wineshelllink.
Rework CreateStreamFromFile to create an IStream object that is
writeable.
Alexandre Julliard [Wed, 21 May 2003 18:34:29 +0000 (18:34 +0000)]
Reset SIGCHLD handler to default if we need to wait. Reset SIGPIPE
handler before exec.
Alexandre Julliard [Wed, 21 May 2003 18:32:17 +0000 (18:32 +0000)]
Moved a couple of 16-bit module functions from to loader/ne/module.c.
Alexandre Julliard [Wed, 21 May 2003 18:31:01 +0000 (18:31 +0000)]
Moved misc/error.c to dlls/kernel/error16.c.
Get rid of misc/main.c.
Mike McCormack [Wed, 21 May 2003 18:28:49 +0000 (18:28 +0000)]
Implemented GdiComment for enhanced metafiles.
Alexandre Julliard [Wed, 21 May 2003 18:26:00 +0000 (18:26 +0000)]
Fixed wrong length argument in getInterfacePhysicalByName.
Dimitrie O. Paun [Wed, 21 May 2003 18:25:10 +0000 (18:25 +0000)]
Inserting column zero should not modify the main item (spotted by
Robert Shearman).
Eric Anholt [Wed, 21 May 2003 18:24:34 +0000 (18:24 +0000)]
Added CPU detection for FreeBSD.
Gerald Pfeifer [Wed, 21 May 2003 18:23:20 +0000 (18:23 +0000)]
Avoid "might be used uninitialized" warning in exercizeServer().
Ove Kaaven [Wed, 21 May 2003 18:23:06 +0000 (18:23 +0000)]
For RPC servers, don't deallocate the RPC request packet before the
RPC reply packet is sent, in case marshalling the reply needs any of
the request data.
Ove Kaaven [Wed, 21 May 2003 18:22:49 +0000 (18:22 +0000)]
Added semi-stub for NdrProxyErrorHandler.
Fixed a case of potential stack trashing.
Alexandre Julliard [Tue, 20 May 2003 19:21:43 +0000 (19:21 +0000)]
Moved all process initialisation code to process.c and removed
loader/main.c.
Eric Pouech [Tue, 20 May 2003 19:20:42 +0000 (19:20 +0000)]
Implemented NtQueryObject and NtSetInformationObject for the
ObjectDataInformation class.
Dmitry Timoshkov [Tue, 20 May 2003 19:18:57 +0000 (19:18 +0000)]
Make the Global* memory API functions thread safe.
Carlos Lozano [Tue, 20 May 2003 19:18:37 +0000 (19:18 +0000)]
Avoid printing an uninitialized buffer.
Yorick Hardy [Tue, 20 May 2003 19:17:04 +0000 (19:17 +0000)]
Implement CDROM_ScsiPassThrough and CDROM_ScsiPassThroughDirect on
NetBSD.
Alexandre Julliard [Tue, 20 May 2003 17:50:59 +0000 (17:50 +0000)]
Moved system.dll implementation to dlls/kernel.
Steven Edwards [Tue, 20 May 2003 17:50:18 +0000 (17:50 +0000)]
Win16/32 separation of olecli32.
Christian Costa [Tue, 20 May 2003 17:49:40 +0000 (17:49 +0000)]
Remove all openGL calls in execute buffers and use the Direct3D7 APIs.
Enable retrieving the render target surface of a device through its
QueryInterface method.
Avoid lights updating when a viewport and a device have not been
associated to them.
Clear the Z buffer only when we're asked to by Checking D3DBTL_FILL
flag.
Jukka Heinonen [Tue, 20 May 2003 17:49:04 +0000 (17:49 +0000)]
Added some long filename functions.
Yorick Hardy [Tue, 20 May 2003 17:48:40 +0000 (17:48 +0000)]
Implemented GetSystemInfo on NetBSD.
Eric Pouech [Tue, 20 May 2003 04:32:53 +0000 (04:32 +0000)]
Implement anonymous pipes on top of named pipes.
Lionel Ulmer [Tue, 20 May 2003 04:27:04 +0000 (04:27 +0000)]
- some tracing fixes
- flush the right buffer to the screen
Lionel Ulmer [Tue, 20 May 2003 04:21:46 +0000 (04:21 +0000)]
No need to flush the surface back if last lock was a RO lock.
Alexandre Julliard [Tue, 20 May 2003 04:14:45 +0000 (04:14 +0000)]
Moved timer functions to dlls/kernel.
Ove Kaaven [Tue, 20 May 2003 04:13:58 +0000 (04:13 +0000)]
Handle requests for CLSID_PSDispatch.
Ove Kaaven [Tue, 20 May 2003 04:13:44 +0000 (04:13 +0000)]
Fixed NdrDllRegisterProxy so it registers the key names that ole32
expects. Better debug traces (include name of interface).
Lionel Ulmer [Tue, 20 May 2003 04:10:22 +0000 (04:10 +0000)]
- fix bug in 'Blt DEPTH_FILL' override
- added a lock around the flushing of a surface to the frame buffer
- optimize texture loading my minimizing the cases where a conversion
needs to occur and also by reusing the allocated memory
Eric Pouech [Tue, 20 May 2003 04:00:42 +0000 (04:00 +0000)]
Implemented timer related functions in ntdll and make the kernel32
functions use them.
Alexandre Julliard [Tue, 20 May 2003 03:58:35 +0000 (03:58 +0000)]
Use the trace macro for debugging output.
Lionel Ulmer [Tue, 20 May 2003 03:58:01 +0000 (03:58 +0000)]
Have Lights and Clipplanes transformed properly.
Alexandre Julliard [Tue, 20 May 2003 02:32:26 +0000 (02:32 +0000)]
Only create the 16-bit dummy module when we need really it.
Huw Davies [Tue, 20 May 2003 02:24:50 +0000 (02:24 +0000)]
Look up the printer's port in the registry if neither CreateDC or
StartDoc specify one.
Photoshop 7 has a bug that results in cbInput being 2 less than the
length of the string rather than 2 more. So use the WORD at
in_data[0] instead.
Huw Davies [Tue, 20 May 2003 02:22:25 +0000 (02:22 +0000)]
CUPS uses the ppd file to store the default paper size, so we'll read
it from here.
If the ppd doesn't contain an explicit resolution then default to
300dpi.
Alexandre Julliard [Tue, 20 May 2003 02:20:48 +0000 (02:20 +0000)]
Added value for default Unix codepage to all the locale definitions.
Ove Kaaven [Tue, 20 May 2003 02:17:49 +0000 (02:17 +0000)]
Implemented "dereference" pointer flag.
Added NdrClearOutParameters stub.
Ove Kaaven [Tue, 20 May 2003 02:17:15 +0000 (02:17 +0000)]
Portability fix. Better debug messages (display IID of interface to
marshal).
Francesco Di Punzio [Tue, 20 May 2003 02:16:17 +0000 (02:16 +0000)]
Italian translation of the README file.
Lionel Ulmer [Tue, 20 May 2003 02:15:24 +0000 (02:15 +0000)]
- implement the TFACTOR texture stage state
- support Texture matrices
- various misc. clean-ups
Dmitry Timoshkov [Mon, 19 May 2003 23:27:16 +0000 (23:27 +0000)]
Expect multiple DNS_ flags.
Partially implemented DdeEnableCallback.
Call a callback with XTYP_CONNECT_CONFIRM after an accepted
XTYP_CONNECT.
Added traces, clarify data types, other cosmetics.
Alexandre Julliard [Mon, 19 May 2003 23:24:30 +0000 (23:24 +0000)]
Fixed return value of GetTextFaceA.