Commit Graph

407 Commits

Author SHA1 Message Date
Ove Kaaven b44a83cf67 Wait for ShmCompletion during Flip. 2000-01-26 02:03:32 +00:00
Ove Kaaven 2527a33351 Added -dxgrab command line option, which confines cursor motion to the
DirectX primary surface.
2000-01-23 22:31:24 +00:00
Marcus Meissner 6fdd8ada09 Corrected arguments to VirtualFree(). 2000-01-23 21:58:56 +00:00
Ove Kaaven b030d20fc4 Supercharged XShm implementation for DirectDraw. 2000-01-23 02:28:48 +00:00
Alexandre Julliard 681c75bf17 Added debugstr_guid function and used it to replace
WINE_StringFromCLSID in all debugging messages.
2000-01-18 05:09:49 +00:00
Marcus Meissner 243f76963d EnumDisplayModes must pass lPitch. 2000-01-17 22:22:41 +00:00
Peter Hunnisett 40d5f4cddc Store reference hdc size into enhanced metafile header when creating. 2000-01-15 22:16:51 +00:00
Alexandre Julliard 24ea884488 Backed out scalable bitmap change (gives ugly results). 2000-01-08 22:27:31 +00:00
Lionel Ulmer 48c0816476 - detect if the OpenGL implementation defines the paletted texture and
color table extensions
- small warning fixes
- fix the double '-lXxf86dga' when having DGA 2.0
2000-01-05 01:51:02 +00:00
Alexandre Julliard 81ee21ddff Cosmetics. 1999-12-27 05:26:00 +00:00
Francois Gouget baa9bf9a23 Buffer overflows and strncpy fixes. 1999-12-27 05:24:06 +00:00
Huw D M Davies c553924ddd Move DCFuncs ExtTextOut and GetTextExtentPoint to Unicode.
Map a few Unicode chars to the first 0xff in psdrv.
Don't expect x11drv to display Unicode chars yet.
1999-12-26 00:47:03 +00:00
Huw D M Davies e175445eae Fix PSDRV_StretchDIBits for non-integer byte src widths (1 & 4bpp). 1999-12-25 22:56:13 +00:00
Dmitry Timoshkov 2da48e3c87 Don't skip usable X fonts. Add support for koi8 fonts. 1999-12-25 22:47:09 +00:00
Huw D M Davies b8e94b6119 Move Bezier code out of x11drv into commmon GDI code; if any driver
does not implement PolyBezier[To] the curve is approximated to lines
and drawn with Polyline.
Implement many GDI-Path recording functions (at least the win9x subset).
Implement FlattenPath and FillPath.
1999-12-20 04:14:48 +00:00
Lionel Ulmer c21de847ab Adds resolution / depth switching with DGA 2.0. 1999-12-20 03:45:54 +00:00
Lionel Ulmer 3ba4be4054 - added support of DGA-2.0 events
- fixed the leaving of DGA-2.0 mode
1999-12-12 19:42:47 +00:00
Andreas Mohr 7fb732e597 Fixed compiler warnings. 1999-12-12 00:47:51 +00:00
Patrik Stridvall cf84434213 Improved the TTY driver. 1999-12-11 23:08:48 +00:00
Dimitrie O. Paun dd03cc19fd Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Huw D M Davies f0f8da5870 Fixes several bugs in gdi path handling.
Adds *Path functions to dc funcs table + add EnhMetaFile recording.
Separate out Polylne/PolylineTo and PolyBezier/PolyBezierTo in dc
funcs table to enable proper enhmetafile recording.
The current position update in *To functions is now handled by the
main function and not in the drivers.
Move USER functions from graphics/painting.c -> windows/painting.c
1999-12-05 23:54:02 +00:00
Marcus Meissner 867c436a48 Merged _all_ lpClipper into common_surface.
Add NULL ptr check to SetClipper.
Some more debug output.
1999-12-05 23:07:23 +00:00
Marcus Meissner 8b7c1906a7 Moved lpClipper into common_directdrawsurface struct
Release old clipper on new set
1999-12-05 02:19:56 +00:00
Lionel Ulmer ba02d1d7d5 First support of DGA 2.0 for DirectDraw. 1999-12-04 04:22:04 +00:00
Peter Hunnisett 6db0502993 Improved stubs for the ddraw clipper routines. 1999-12-04 03:55:58 +00:00
Niels Kristian Bech Jensen c69a80c31d Compiler warnings fixed. 1999-11-28 20:31:04 +00:00
Bradley Baetz 7b5e33c6ac Give the app back the exact font name it asked for. 1999-11-28 20:16:37 +00:00
Patrik Stridvall 4d715fd9dd Improved the stubs. 1999-11-23 23:43:29 +00:00
Ulrich Weigand d1682aab05 Removed some unaligned accesses. 1999-11-21 02:21:17 +00:00
Niels Kristian Bech Jensen 1d5bc469cc Removed extra #include statements. 1999-11-21 02:14:36 +00:00
Eric Pouech be62502611 Fixed a crash in IDirectDrawSurface:BltFast. 1999-11-21 00:51:29 +00:00
Huw D M Davies 395d3705cf Move PostScript driver docs to documentation/ . Add instructions on
how to use regapi to get information into the registry.  Supply sample
input to regapi.
1999-11-13 20:55:31 +00:00
Ove Kaaven 7da242dbd5 DirectX-XShm now waits for the X server to finish the previous frame
before sending another frame down its pipe, avoiding the X server
overload and resulting slowness that used to be.
1999-11-07 22:44:06 +00:00
Huw D M Davies c6a03a70dd If PageSize/InputSlot entry doesn't contain an options translation
string use the option name instead.
1999-11-07 05:32:28 +00:00
Huw D M Davies 815581a544 Add DC_VERSION and DC_TRUETYPE to win16drv DeviceCapabilities. 1999-11-04 01:59:38 +00:00
Huw D M Davies cdeaa85206 Add `Cassette' to PPD -> windows printer-bin mapping. 1999-11-04 01:57:38 +00:00
Ivan de Saedeleer b81e96eb2a Fail when LPRECT contains negative values. 1999-10-31 21:32:42 +00:00
Jim Aston 5f930d89e4 Prevent FillRgn from using a NULL pointer. 1999-10-31 17:42:16 +00:00
Francois Gouget 01c9ac401f Generalized the use of the new ICOM_VFIELD and ICOM_VTBL macros. 1999-10-31 01:59:23 +00:00
Huw D M Davies c0da44e459 It appears that StartDoc sends the STARTDOC escape with the DOCINFO
structure pointed to with the output data parameter.
1999-10-31 01:49:30 +00:00
Huw D M Davies 0f2988565a Stub for EngineRealizeFontExt (used by the win98 pscript driver). 1999-10-31 01:46:21 +00:00
Patrik Stridvall 96336324cf - Added missing configuration #if:s and #includes:s.
- Minor configuration related changes.
1999-10-24 22:13:47 +00:00
Patrik Stridvall 900290aa9f Added Win16 variants of existing Win32 functions. 1999-10-24 21:32:43 +00:00
Ulrich Czekalla e6ab9d308a Make sure that all calls use the extended structures which are a
superset of the regular structures.
1999-10-24 17:26:45 +00:00
Alexandre Julliard 8d29fa9877 Re-applied lost change. 1999-10-23 19:53:57 +00:00
Ove Kaaven 1d4bccc691 Fixed some anonymous union accesses. 1999-10-23 18:52:17 +00:00
Jim Aston e0f604a3cd Added another anonymous union using the DUMMYUNIONNAME style. 1999-10-23 16:55:28 +00:00
Francis Beaudet be5753d35e Removed an illegal character. 1999-10-23 14:50:56 +00:00
Luc Tourangeau f0e0ded125 Some small corrections to the ExtTextOut function. 1999-10-23 14:05:58 +00:00
Eric Pouech bbde86e7ac Fixed X11DRV_DIB_SetImageBits when called for RLE encoded dibs. 1999-10-13 15:42:04 +00:00
Luc Tourangeau 81bc9dfbaa Some adjustments to ExtTextOut. 1999-10-13 13:59:18 +00:00
Stephane Lussier 62efee2345 Fixed the clipping for the postscript driver and turned it on (by setting
PSDRV_SetDeviceClipping in the function table).
1999-10-13 13:58:45 +00:00
Rein Klazes d18dd23598 Correct usage of a scratch array in X11DRV_PolyBezier. 1999-10-13 13:51:09 +00:00
Alexandre Julliard d21dde71b3 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Fixes problems with color drift when switching to/from
logical/physical colors.
1999-10-13 13:48:11 +00:00
Marcus Meissner 2b31a87b5d Use 1 macro for rgbbitdepth -> byte determination.
xshm/image creation now uses 1/8 of the space for every image.
1999-10-13 12:13:35 +00:00
Peter Hunnisett 89391af7e9 - Changed return code for failure on *_DllGetClassObject to
CLASS_E_CLASSNOTAVAILABLE from E_NOTAVAILABLE as documented.
- Replaced memcmps with equivalent IsEqualCLSID or IsEqualGUID macros.
- Changed "return 0;" with S_OK or DS_OK as appropriate.
1999-09-28 16:23:17 +00:00
Alexandre Julliard 3d06d20bab Moved all signal support to a new platform-specific file.
Make use of the per-thread signal stack (Juergen Lock).
Fixed %fs in signal handler for non FS_sig case (Ulrich Weigand).
1999-09-27 10:58:45 +00:00
Noel Borthwick d05b7beb5a - Add clipboard support for copying/pasting bitmaps or Pixmaps between Wine
and native Linux applications.
- Respond to the MULTIPLE selection request target when Wine is the
  selection owner.
- Relax type checking for TARGETS selection.
1999-09-20 15:42:47 +00:00
Ulrich Weigand af1c41fb8d Bugfix: create DDB in X11DRV_DIB_GetDIBits if necessary. 1999-09-19 18:58:16 +00:00
Karl Lessard c73a1fd62d Some more minor GDI fixes. 1999-09-19 14:15:41 +00:00
Huw D M Davies 56a8644718 Extend DRAWMODE struct to win95 spec.
Add some more Escape -> Escape16 conversions.
1999-09-19 14:13:39 +00:00
Huw D M Davies 0098ab6732 Stop trashing devmode if in and out devmodes are the same. 1999-09-19 14:12:52 +00:00
Luc Tourangeau 3471f0f527 Implemented invisible pens. 1999-09-19 12:04:42 +00:00
Huw D M Davies 1bb9860547 Small DIB fixes. 1999-09-19 12:04:17 +00:00
Karl Lessard dee464c4c6 Fixed GetDIBits problems. 1999-09-14 11:51:01 +00:00
Huw D M Davies 304d9a4737 Change interfaces to THUNK_Alloc/Free slightly and make them non-static.
Remove relays for win16drv from CallBack table, instead use build to
generate them directly in graphics/win16drv/prtdrv.c.
If Printer AbortProc is 16bit then allocate thunk and store that as a
32bit proc in DC.  Setting of abortprocs now done in the correct place
(i.e. not in the driver).
1999-09-13 15:15:45 +00:00
Lionel Ulmer 5b68233d57 - fixed the creation of back-buffers in DGA mode
- added a check on the validity of the Locking rectangle
- fixed the enumeration for DX-6.0
1999-09-11 16:24:28 +00:00
Huw D M Davies fd24362356 Winspool DocumentProperties and DeviceCapabilities should now work on
native 16 bit drivers.
1999-09-10 14:38:19 +00:00
Huw D M Davies 6dd35697f9 Add support for a large number of different paper sizes to PostScript
driver.
1999-09-10 14:36:49 +00:00
Nick Holloway 0eac06cce1 If there is not an exact match found for the requested font name,
instead of using the first font defined for the printer, map some
common font families (e.g. Arial -> Helvetica), and search again.
1999-09-10 14:18:18 +00:00
Richard Cohen 8dde3c7f60 Various fixes for the X11 font mapper, particularly:
- size fonts with negative heights correctly
- calculate average width correctly.
1999-09-05 12:18:57 +00:00
Noomen Hamza b309b37385 The fast window frame size should be the same as the frame size used
by NC_DrawFrame function.
1999-09-04 14:25:55 +00:00
Karl Lessard 41875795cc Ian Ward
Dan Langlois
Speed up conversion between XImages and DIBSections.
1999-09-03 16:49:17 +00:00
Kristian Nielsen 3e473f3e43 Fixed CreateDIBSection() called with negative height to set the height
positive in the created DIBSECTION, as per MS knowledgebase Q186586.
1999-08-21 13:07:27 +00:00
Pascal Lessard dff30ac2c7 Now the conversion in the blt functions round up the result. 1999-08-15 14:18:59 +00:00
Marcus Meissner af0cff550d When flipping backbuffer -> frontbuffer, first exchange surfaces, then
copy XImage, since the palette might only be defined in the frontbuffer.
1999-08-04 14:26:50 +00:00
Ulrich Weigand 6c6da674ef Moved various DLLs to dlls/ 1999-08-04 09:49:49 +00:00
Patrik Stridvall 2c684081c1 Fixed some of the issues reported by Solaris Lint. 1999-07-31 17:36:48 +00:00
Patrik Stridvall 0e38aa7fda Various ANSI C compability fixes. 1999-07-31 17:34:43 +00:00
Patrik Stridvall 26ffb3cd76 Fixed/added missing/wrong function prototypes and made internal
functions static.
1999-07-31 14:41:43 +00:00
Huw D M Davies 79e94a7483 PSDRV_WriteArc shouldn't write a newpath. 1999-07-31 11:11:21 +00:00
Luc Tourangeau 63ff31eacd Added a call to the newpath operator immediately before the arc
operator.
1999-07-30 18:04:25 +00:00
Huw D M Davies 0f184bf01f Added more paper sizes and bin names to PPD parser. 1999-07-27 16:09:40 +00:00
Huw D M Davies 815615025e {Start|End}{Doc|Page} go through DCfuncs.
Implement these in the PostScript driver.
Change PSDRV_Escape to use them.
1999-07-25 11:25:59 +00:00
Huw D M Davies 1613e791ff Rewrote PSDRV_SetDeviceClipping to use GetRegionData API. 1999-07-25 11:14:47 +00:00
Huw D M Davies b0dd717da2 Implemented ExtEscape. 1999-07-24 12:13:46 +00:00
Huw D M Davies 28896ee7bf For large font sizes call XLoadQueryFont with a 100 pixel high font
and rescale the metrics.
1999-07-24 12:10:23 +00:00
Huw D M Davies d016b0a02d Implement handling of 32 bit AbortProc. 1999-07-24 12:09:34 +00:00
Huw D M Davies 91547cbf6a Fix stupid `rubbish at end of %%Title' bug.
Don't complain about palette relative RGBs.
If output param to CreateDC is NULL default to `LPT1:' - Hack.
1999-07-24 10:11:05 +00:00
Huw D M Davies bb14056c16 EnumJobs stub.
Update graphics/psdrv/README.
Add warnings to DRIVER_GetDriverName.
1999-07-23 19:23:49 +00:00
Lionel Ulmer 2bce6fea7e - Added a new option 'noxshm'
- Added a 16bpp -> 32 bpp conversion function
1999-07-23 19:19:56 +00:00
Luc Tourangeau effc55ea83 - implementation of SetDeviceClipping
- coordinate system origin fix
1999-07-18 18:34:45 +00:00
Thuy Nguyen 4884396548 Introduced a [psdrv] section in wine.conf with a ppdfile value
specifying the path and name of the PPD file.
1999-07-18 15:25:34 +00:00
Ulrich Weigand 4b32fd0d43 Use position-independent code in assembly glue when building .so.
Include if1632/ and graphics/win16drv/ into WineLib.
Move miscemu/emulate.c into dlls/win87em/.
1999-07-15 14:51:40 +00:00
Marcus Meissner 2637ebc2bd Fixed DirectDrawSurface::Flip, do not change flags, exchange the low
level physical surfaces (verified for XLIB with WC Prophecy).
1999-07-12 13:37:29 +00:00
Huw D M Davies 450270bb03 Implemented GetPrinterA and GetPrinterDriverA. 1999-07-10 11:58:50 +00:00
Huw D M Davies e28224f0ea Added patterned brushes (level 2 PostScript only).
Simple PatBlt for PATCOPY, WHITENESS and BLACKNESS.
1999-07-10 10:21:03 +00:00
Juergen Schmied 56c0bb8bf2 Fixed crash due to invalid GDI_Obj. 1999-07-10 10:10:43 +00:00
Patrik Stridvall 2d0bb2a78c Started on an implementation of Win64 for use on 64 bit platforms. 1999-07-04 15:56:03 +00:00
Patrik Stridvall d96e1f133e Moved code to the X11 driver. 1999-07-04 13:31:03 +00:00