Skip to content

rendering: add device-pixel-ratio traversal state - #43

Open
tritao wants to merge 26 commits into
stack/legacy-blendingfrom
stack/device-pixel-ratio
Open

rendering: add device-pixel-ratio traversal state#43
tritao wants to merge 26 commits into
stack/legacy-blendingfrom
stack/device-pixel-ratio

Conversation

@tritao

@tritao tritao commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add device-pixel-ratio state as shared renderer-independent traversal state.

  • Introduce and register `SoDevicePixelRatioElement`.
  • Add device-pixel-ratio accessors to `SoRenderManager`.
  • Forward the same state through `SoSceneManager`.
  • Propagate DPR through LegacyGL and retained traversal.
  • Make later retained rendering consume physical framebuffer coordinates while preserving toolkit-side logical-coordinate conversion.
  • Add manager and traversal coverage for DPR state.

This layer only establishes pixel-density state; retained rendering is introduced next.

Stack

Layer 9/18, based on PR #36.

@tritao tritao changed the title stack/device pixel ratio rendering: restore device-pixel-ratio traversal state Aug 10, 2026
@tritao tritao changed the title rendering: restore device-pixel-ratio traversal state rendering: add device-pixel-ratio traversal state Aug 10, 2026
@tritao
tritao marked this pull request as ready for review August 11, 2026 09:33
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from cbcba7d to 22ea4fb Compare August 11, 2026 10:50
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from 22ea4fb to 9e46dcf Compare August 11, 2026 13:35
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from 9e46dcf to 34664d9 Compare August 11, 2026 14:05
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from 34664d9 to c14822d Compare August 15, 2026 23:32
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from c14822d to f3de15e Compare August 16, 2026 00:25
@tritao
tritao force-pushed the stack/device-pixel-ratio branch 2 times, most recently from c3b9e86 to b3c0192 Compare August 18, 2026 00:18
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from b3c0192 to 4467a94 Compare August 18, 2026 09:24
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from 4467a94 to f492517 Compare August 18, 2026 14:40
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from f492517 to 8394694 Compare August 18, 2026 14:48
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from 8394694 to 19dd821 Compare August 18, 2026 18:12
@tritao
tritao force-pushed the stack/device-pixel-ratio branch 2 times, most recently from 8340656 to 23a563e Compare August 18, 2026 22:54
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from c238c2b to 8c797b3 Compare August 19, 2026 10:22
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from 8c797b3 to 27187b8 Compare August 19, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant