Route render debug callback through platform services
This commit is contained in:
@@ -472,9 +472,10 @@ before retained platform clipboard bridges continue.
|
||||
startup storage path preparation, clipboard text, cursor visibility,
|
||||
virtual-keyboard visibility, UI-thread lifecycle hooks, render-context
|
||||
acquire/release/present hooks, render-target binding hooks, render-capture
|
||||
frame hooks, render platform hint hooks, external file display, file sharing,
|
||||
recording file cleanup, live asset/layout reload policy, diagnostic
|
||||
stacktrace/crash hooks, image/file/save-file pickers, and directory pickers.
|
||||
frame hooks, render platform hint hooks, render debug callback hooks, external
|
||||
file display, file sharing, recording file cleanup, live asset/layout reload
|
||||
policy, diagnostic stacktrace/crash hooks, image/file/save-file pickers, and
|
||||
directory pickers.
|
||||
Windows installs an injected `WindowsPlatformServices` implementation from
|
||||
`src/platform_windows/windows_platform_services.*` in `pp_platform_windows`;
|
||||
other platforms still route through the debt-tracked legacy fallback adapter
|
||||
@@ -509,6 +510,10 @@ legacy adapter while removing the iOS drawable branch from `App::draw`.
|
||||
Initial render platform hints now also dispatch through `PlatformServices`,
|
||||
preserving the previous Windows/macOS program-point-size and line-smoothing
|
||||
enablement while removing the Windows/macOS branch from `App::init`.
|
||||
Windows OpenGL debug callback setup now dispatches through `PlatformServices`,
|
||||
moving Win32 console coloring, debug-output enablement, and debug-break callback
|
||||
behavior into `WindowsPlatformServices` while keeping other platform adapters
|
||||
as no-ops.
|
||||
Windows RenderDoc frame capture hooks now also dispatch through
|
||||
`PlatformServices`, keeping capture integration in the platform service while
|
||||
leaving non-Windows adapters as no-ops.
|
||||
@@ -1042,10 +1047,11 @@ Results:
|
||||
dispatch, external file display dispatch, file sharing dispatch, native
|
||||
app/window close dispatch, UI-thread lifecycle dispatch, render-context
|
||||
lifecycle dispatch, render-target binding dispatch, render platform hint
|
||||
dispatch, render-capture frame hook dispatch, recording cleanup dispatch,
|
||||
live asset/layout reload policy dispatch, diagnostic hook dispatch, per-frame
|
||||
platform hook dispatch, picker callback dispatch, and prepared-file
|
||||
save/download callback dispatch. The live Windows app now
|
||||
dispatch, render debug callback dispatch, render-capture frame hook dispatch,
|
||||
recording cleanup dispatch, live asset/layout reload policy dispatch,
|
||||
diagnostic hook dispatch, per-frame platform hook dispatch, picker callback
|
||||
dispatch, and prepared-file save/download callback dispatch. The live Windows
|
||||
app now
|
||||
consumes this interface through an injected
|
||||
`WindowsPlatformServices` instance isolated in
|
||||
`src/platform_windows/windows_platform_services.*`; other platforms still
|
||||
|
||||
Reference in New Issue
Block a user