Notepad3/Build
METANEOCORTEX\Kotti 4339223594 Fix ARM64 flickering/rendering issues on Windows 11 25H2
Addresses reported flickering and rendering problems on ARM64 devices
running Windows 11 25H2 by implementing ARM64-specific rendering
defaults, build configuration fixes, and redraw optimizations.

Rendering fixes:
- Default to SC_TECHNOLOGY_DIRECTWRITERETAIN on ARM64 to preserve
  back buffer between frames, avoiding blank flashes with Qualcomm
  Adreno GPUs and Win11 25H2 DWM compositor changes
- Wrap MsgThemeChanged() in WM_SETREDRAW FALSE/TRUE to suppress
  N intermediate repaints during heavy theme/DPI transitions
- Add WS_EX_COMPOSITED to main window on ARM64 for system-level
  double-buffering
- Remove RDW_ERASE from DarkMode ListView/TreeView RedrawWindow()
  calls to avoid background erase flash during theme changes

Build configuration fixes:
- Add _WIN64 preprocessor define to Scintilla, SciLexer, Lexilla
  ARM64 configurations (was missing, could cause 32-bit code paths)
- Add TargetMachine=MachineARM64 to all ARM64 linker sections across
  Notepad3, Scintilla, SciLexer, Lexilla projects
- Add CETCompat=false to Scintilla and SciLexer ARM64 configurations
  (CET is x86/x64 only, not compatible with ARM64)

Platform code improvements:
- Add _M_ARM64 detection for GrepWin binary selection (ARM64 was
  silently mapped to x64 binary via _WIN64 check)
- Add NP3_BUILD_ARM64 helper macro in TypeDefs.h for future
  ARM64-specific code paths
- Document RenderingTechnology setting in Build/Notepad3.ini with
  per-resolution override syntax and ARM64 troubleshooting tips

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-06 17:19:34 +02:00
..
Docs MUI - Cleanup and add missing files in NP3PortableApp 2026-04-03 11:48:25 +02:00
scripts fix: PortableApps Platform build should use PA's grepWinPortable - do not bundle grepWin with Notepad3Portable. 2026-04-04 12:04:50 +02:00
Themes Add extensions "ts"and "tsx" in Tcl Script lexer 2025-10-21 16:38:15 +02:00
Build_ARM64.cmd Add ARM64 configuration support and build scripts 2026-01-19 02:12:15 +02:00
build_non_mui_ver.txt + Upd: Version files and Changes.txt 2021-08-22 19:30:01 +02:00
Build_Win32.cmd Add ARM64 configuration support and build scripts 2026-01-19 02:12:15 +02:00
Build_x64_AVX2.cmd MUI - Migration of the MS VS2022 compiler to MS VS2026 2026-02-14 18:22:12 +01:00
Build_x64.cmd Add ARM64 configuration support and build scripts 2026-01-19 02:12:15 +02:00
BuildAll.cmd Add ARM64 configuration support and build scripts 2026-01-19 02:12:15 +02:00
Changes.txt Update BETA version to 7.26.314 2026-03-26 23:52:32 +01:00
Clean.cmd Add ARM64 configuration support and build scripts 2026-01-19 02:12:15 +02:00
Ignore.txt MUI - Cleanup and add missing files in NP3PortableApp 2026-04-03 11:48:25 +02:00
make_portable_alpha(.7z).cmd fix: build-scripts 2026-04-06 16:20:09 +02:00
make_portable_beta(.7z).cmd fix: build-scripts 2026-04-06 16:20:09 +02:00
make_portable_rel(.zip).cmd fix: build-scripts 2026-04-06 16:20:09 +02:00
minipath.ini Add extensions "ts"and "tsx" in Tcl Script lexer 2025-10-21 16:38:15 +02:00
Notepad3_pap.ini fix: PortableApps Platform build should use PA's grepWinPortable - do not bundle grepWin with Notepad3Portable. 2026-04-04 12:04:50 +02:00
Notepad3.ini Fix ARM64 flickering/rendering issues on Windows 11 25H2 2026-04-06 17:19:34 +02:00