Skip to content

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

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

rendering: add device-pixel-ratio traversal state#43
tritao wants to merge 23 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 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 27187b8 to 893e991 Compare August 20, 2026 21:59
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from 893e991 to 2e38c0c Compare August 20, 2026 22:12
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from 2e38c0c to 301d6bf Compare August 20, 2026 22:22
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from 301d6bf to 7512ec4 Compare August 20, 2026 22:36
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from 7512ec4 to 86d9cf4 Compare August 20, 2026 22:48
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from 86d9cf4 to 429b4f4 Compare August 20, 2026 22:59
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from 429b4f4 to a6bbd8e Compare August 20, 2026 23:14
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from a6bbd8e to 0312e5b Compare August 21, 2026 00:22
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from 0312e5b to 82928f2 Compare August 21, 2026 00:30
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from 82928f2 to 45aab3e Compare August 21, 2026 01:03
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from 45aab3e to db5c43d Compare August 21, 2026 01:17
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from db5c43d to aff1a0c Compare August 21, 2026 11:42
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from aff1a0c to 8c4f9cb Compare August 21, 2026 11:59
@tritao
tritao force-pushed the stack/device-pixel-ratio branch from 8c4f9cb to 67b3fed Compare August 21, 2026 12:26
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