1
0
mirror of https://github.com/narzoul/DDrawCompat synced 2024-12-30 08:55:36 +01:00

Commit Graph

  • 950bde4161 Always take window client DCs from cache narzoul 2021-01-23 20:17:33 +01:00
  • 259f2bef20 Exclude copied window regions from further preserved regions narzoul 2021-01-21 20:52:57 +01:00
  • c5a867bac5 Invalidate windows beneath hidden WS_EX_TRANSPARENT windows narzoul 2021-01-21 19:17:43 +01:00
  • 0e7f397863 Moved palettized presentation handling to driver level narzoul 2021-01-16 12:42:56 +01:00
  • affc5ab17e Release DirectDraw critical section between GetDC/ReleaseDC narzoul 2021-01-13 22:11:50 +01:00
  • 240ddbda57 Discard invalid bits from D3DDDIRS_WRAP render state values narzoul 2021-01-12 21:06:32 +01:00
  • 324b4a77f0 Replace RHW=INFINITY with RHW=1 narzoul 2021-01-12 20:17:52 +01:00
  • e9a2bdc83f Remove deleted textures from device state narzoul 2021-01-09 12:13:57 +01:00
  • 7b660e1396 Bypass restrictions on maximum render target size (2048x2048) narzoul 2021-01-08 01:17:04 +01:00
  • 050248a552 Moved z-buffer bit depth caps fix to driver level narzoul 2021-01-07 01:06:37 +01:00
  • f3718272cd Hook ASCII window procedures for menus and scroll bars narzoul 2021-01-04 21:21:05 +01:00
  • 2ae5287bcf Disable window ghosting narzoul 2021-01-03 20:26:54 +01:00
  • 337c5a9c5a Use SWP_NOCOPYBITS for child window movements narzoul 2021-01-03 20:25:34 +01:00
  • 13ab654665 Moved presentation window implementation to separate file narzoul 2021-01-02 22:31:23 +01:00
  • 481b09f489 Fixed clipping of desktop DC narzoul 2021-01-02 16:14:58 +01:00
  • a0919dcaa6 Fixed invalidation of resized windows narzoul 2021-01-01 19:02:14 +01:00
  • 453dc4d681 Renamed PaintHandlers to User32WndProcs narzoul 2020-12-31 18:17:17 +01:00
  • 7e9ceb3c9c Fixed highlighting stuck on scroll bar shaft after releasing mouse button narzoul 2020-12-31 18:12:30 +01:00
  • 5911951d08 Use window region to emulate pre-DWM system region narzoul 2020-12-27 17:08:44 +01:00
  • 679bd94629 Fixed issues caused by unnecessary redraws during ScrollWindow(Ex) narzoul 2020-12-21 14:26:02 +01:00
  • 4104540c14 Update original DC's current position after redirection narzoul 2020-12-19 20:54:13 +01:00
  • 9b3e900faf Fixed errors in copying valid bits of moved child windows narzoul 2020-12-19 13:20:16 +01:00
  • 4370990dfb Fixed an issue with D3DDDITSS_TEXTURECOLORKEYVAL optimization on NVIDIA drivers narzoul 2020-12-18 20:17:08 +01:00
  • f6ed6bcefa Added optimization for D3DDDITSS_TEXTURECOLORKEYVAL narzoul 2020-12-18 12:04:33 +01:00
  • b42e1584e5 Detect and disable broken source color key hardware support narzoul 2020-12-14 16:07:41 +01:00
  • dee081c083 Fixed black taskbar icons narzoul 2020-11-29 16:23:17 +01:00
  • 12944404e8 Fixed WM_SETTEXT drawing over previous caption text narzoul 2020-11-28 12:48:36 +01:00
  • 29f311ddc7 Improved logging of wParam/lParam for window messages narzoul 2020-09-27 23:03:55 +02:00
  • a75739e5da Use window procedure override instead of CallWndRetProc narzoul 2020-08-18 10:52:53 +02:00
  • 799e9a95ae Removed dependency on D3DKMTPresent narzoul 2020-07-13 23:44:05 +02:00
  • b8bff744e5 Fixed sysmem/vidmem synchronization issues on integrated AMD GPUs narzoul 2020-06-27 11:12:13 +02:00
  • 4ca4e5d6ca Fixed overlap detection in Blitter narzoul 2020-06-21 13:42:49 +02:00
  • 2ce97329a9 Limit GlobalMemoryStatus values to 2GB narzoul 2020-06-20 13:26:02 +02:00
  • ff5bcc031c Eliminate redundant device state changes narzoul 2020-06-17 23:44:04 +02:00
  • bb8ce374e2 Aggregate Draw(Indexed)Primitive calls narzoul 2020-06-16 22:08:50 +02:00
  • 8e07040750 Moved dynamic index/vertex buffers to separate class narzoul 2020-06-01 22:58:11 +02:00
  • b5e3de76cb Use QueryThreadCycleTime for mitigation of busy waiting narzoul 2020-06-01 17:12:34 +02:00
  • e7d0fa8f10 Prevent some redundant state changes from execute buffers narzoul 2020-05-30 21:23:49 +02:00
  • 6799ecc1a9 Added missing CommonLog.h/cpp files narzoul 2020-05-30 18:16:50 +02:00
  • d8bf209d7a Fixed presentation window leak and eliminated unnecessary position changes narzoul 2020-05-28 00:20:35 +02:00
  • bff7253ecd Improved rendering performance for indexed and system memory primitives narzoul 2020-05-26 00:28:17 +02:00
  • ca9404ec6f Suppress flushes from execute buffers narzoul 2020-05-18 00:52:28 +02:00
  • 8f67fd158c Set per-monitor DPI awareness on Windows 8.1/10 narzoul 2020-05-09 21:15:09 +02:00
  • c67437d5bf Separate log files per process name and instance number narzoul 2020-05-05 23:59:21 +02:00
  • 757f648385 Support injection via dciman32.dll narzoul 2020-05-05 20:36:49 +02:00
  • b7aae9e403 Disable apphelp DirectDraw COM hooks narzoul 2020-05-01 19:57:23 +02:00
  • 10f61c11e9 Emulate disabled font smoothing narzoul 2020-04-28 01:06:13 +02:00
  • e4f8cc97d9 Disable DWM 8/16 bit mitigation display setting hooks narzoul 2020-04-26 23:31:33 +02:00
  • 9de2102909 Wait for vertical blank during gamma ramp changes narzoul 2020-04-23 20:22:00 +02:00
  • d06fe4e6ba Hook Direct3D execute buffer interface narzoul 2020-04-19 01:31:15 +02:00
  • 652bf67706 Hook Direct3D light and material interfaces narzoul 2020-04-17 23:53:18 +02:00
  • 1294e5df0d Improved GetDeviceCaps for 8 bit display DCs narzoul 2020-04-16 23:23:55 +02:00
  • bbb850faf1 Create 8-bit render target primary surface in system memory narzoul 2020-04-13 13:22:54 +02:00
  • ec7a40333e Attempt to mitigate thread scheduling issues caused by busy waiting narzoul 2020-04-12 12:31:37 +02:00
  • 32bcf16dc8 Removed DirectInputCreateA hook narzoul 2020-04-11 18:16:46 +02:00
  • 4eb28cc596 Handle child window position changes narzoul 2020-04-11 17:50:23 +02:00
  • 4d46189aa8 Handle window region changes (used by ComboBox drop-down animation) narzoul 2020-04-11 11:20:43 +02:00
  • 169b4c0534 Handle child window parent change to desktop (used by ComboLBox) narzoul 2020-04-11 10:56:11 +02:00
  • 3cc5a47156 Replace Ramp Emulation device with RGB Emulation narzoul 2020-04-05 21:09:44 +02:00
  • 13f3b0ced7 Alternative workaround for VirtualizeDesktopPainting shim narzoul 2020-04-04 20:49:04 +02:00
  • e9ecc5adbe Fixed presentation window Z order, deadlocks and WS_EX_LAYERED changes narzoul 2020-04-04 11:16:13 +02:00
  • e78d3f2b69 Moved WIN32_LEAN_AND_MEAN macro to compiler switches narzoul 2020-01-26 17:11:05 +01:00
  • aeaeeaed4d Log window message names narzoul 2020-01-26 16:17:07 +01:00
  • b898519aa0 Avoid hooking ntdll stubs narzoul 2020-01-03 00:40:41 +01:00
  • 6f14ddf9ae Fixed menu bar highlighting when window is not in top-left corner of desktop narzoul 2019-12-31 11:40:27 +01:00
  • 743d19bf25 Fixed popup menu scrolling narzoul 2019-12-14 15:54:50 +01:00
  • e8491e65c2 Disable immersive context menus (updated for Win10 v1809) narzoul 2019-12-14 13:14:57 +01:00
  • cb7a46cd5e Log module path and offset for function hooks narzoul 2019-11-05 22:05:04 +01:00
  • 6aaf12b0a4 Added critical section to all user-mode display driver functions narzoul 2019-11-02 22:55:55 +01:00
  • a49a19c448 Fixed compilation error after Visual Studio update narzoul 2019-11-02 11:20:52 +01:00
  • 2a129c41c9 Removed dependency on context handle for driver hooks narzoul 2019-09-02 22:29:39 +02:00
  • 81c2748027 Improved hooking of user32 window procedures narzoul 2019-09-01 15:45:36 +02:00
  • c7b94700d3 Use IAT hooks for D3DKMT* functions narzoul 2019-08-28 21:04:28 +02:00
  • d1cd6658c9 Fixed deadlock in VirtualScreen::createSurface narzoul 2019-08-26 22:58:00 +02:00
  • 66e0d20897 Fixed GDI updates interrupted by presentation sync narzoul 2019-08-25 12:09:35 +02:00
  • 77bdff3f1c Added bounds checking to blits and color fills narzoul 2019-08-24 21:23:27 +02:00
  • b8456cc1d4 Fixed deadlock in ScrollWindow(Ex) narzoul 2019-08-24 15:50:29 +02:00
  • 898c7e819c Added timeout for sysmem preference of blits narzoul 2019-08-22 20:47:24 +02:00
  • a45e5768ae Restrict lock surfaces to off-screen plain and render target surfaces narzoul 2019-08-22 12:24:36 +02:00
  • 590b6f1ad0 Use HeapAlloc for lock surface memory allocations narzoul 2019-08-21 14:51:48 +02:00
  • 55e08f62d4 Avoid initial lock surface copy for unmodified surfaces narzoul 2019-08-19 22:42:48 +02:00
  • d0289de9a2 Fixed a crash when DPI scaling is set higher than 100% narzoul 2019-08-19 12:51:18 +02:00
  • 32a67548ae Changed surface alignment to work around performance issues on some drivers narzoul 2019-08-19 12:50:03 +02:00
  • 8cc73dc68d Moved lock surface handling to UMD level narzoul 2019-08-11 22:29:36 +02:00
  • 9b24a9b306 Removed the GetDDInterface override narzoul 2019-08-11 12:48:02 +02:00
  • bb6092e0bd Partial workaround for black D3DTA_DIFFUSE color on some drivers when RHW=0 narzoul 2019-08-10 14:02:51 +02:00
  • 7068d282ff Improved palette handling narzoul 2019-08-02 22:16:44 +02:00
  • b747448330 Readded buffer overflow fix for Diablo 1 narzoul 2019-08-01 21:55:56 +02:00
  • f9f4b6fb00 Fixed bitmap orientation for Create*Bitmap functions narzoul 2019-07-29 23:56:40 +02:00
  • b6f6f2acf0 Limit maximum video memory narzoul 2019-07-29 23:13:52 +02:00
  • e83371afed Moved GDI synchronization to UMD level narzoul 2019-07-29 19:12:37 +02:00
  • 7b6b7c911c Resync source surface from system memory during presentation blit narzoul 2019-07-27 18:08:15 +02:00
  • d23904afd2 Prefer color fills in system memory narzoul 2019-07-26 00:26:44 +02:00
  • c526cc2506 Prefer locks and blits in system memory narzoul 2019-07-25 22:51:11 +02:00
  • 545b08c55b Minor logging improvements narzoul 2019-07-19 19:56:21 +02:00
  • 063cefb46e Simplified Surface implementation narzoul 2019-07-19 19:46:01 +02:00
  • b0c5736bbf Updated project to VS2019 and SDK/WDK 10.0.17763.0 narzoul 2019-06-08 16:29:49 +02:00
  • 07de716af9 Reworked oversized surface support narzoul 2019-04-23 12:44:13 +02:00
  • 3e0eada40d Refactored adapter and device references narzoul 2019-04-07 12:30:17 +02:00
  • d817c4bfb3 Simplified 8/16 bit display mode emulation narzoul 2019-01-12 16:55:53 +01:00