Route Shape mesh operations through renderer GL
This commit is contained in:
@@ -206,7 +206,10 @@ Known local toolchain state:
|
||||
validates renderer API primitive-topology to OpenGL draw-mode mapping, Shape
|
||||
index-type, fill/stroke primitive-mode, buffer target, static upload usage,
|
||||
and vertex attribute component/normalization mapping used by
|
||||
the legacy mesh draw path, plus the PanoPainter cube-face to OpenGL
|
||||
the legacy mesh draw path. Legacy `Shape` mesh buffer/VAO creation, zero-byte
|
||||
dynamic-buffer creation, dynamic vertex/index uploads, fill/stroke draw
|
||||
calls, and buffer/VAO deletion now consume tested dispatch contracts here,
|
||||
plus the PanoPainter cube-face to OpenGL
|
||||
texture-target mapping used by `TextureCube`.
|
||||
It also owns and validates sampler wrap S/T/R, min/mag filter, and desktop
|
||||
border-color parameter mapping used by legacy `Sampler`, plus renderer API
|
||||
|
||||
@@ -657,7 +657,11 @@ live in `pp_renderer_gl`. `RTT` no longer spells GL enum names directly.
|
||||
Renderer API primitive-topology to OpenGL draw-mode mapping, mesh index-type
|
||||
and primitive-mode decisions used by legacy `Shape` drawing, plus Shape buffer
|
||||
targets, static upload usage, and vertex attribute component/normalization
|
||||
tokens, also live in `pp_renderer_gl`. The PanoPainter cube-face to
|
||||
tokens, also live in `pp_renderer_gl`. Legacy `Shape` mesh buffer/VAO
|
||||
creation, dynamic vertex/index uploads, fill/stroke draws, and buffer/VAO
|
||||
deletion now execute through tested `pp_renderer_gl` dispatch contracts,
|
||||
leaving the retained shape utility with thin GL adapter functions. The
|
||||
PanoPainter cube-face to
|
||||
OpenGL texture-target mapping used by `TextureCube` also lives in
|
||||
`pp_renderer_gl`. The legacy app delegates extension, upload-format,
|
||||
framebuffer diagnostic, framebuffer blit, render-target setup, clear-state,
|
||||
@@ -1125,6 +1129,10 @@ Results:
|
||||
attribute rebinding, active-uniform count/enumeration, and uniform-location
|
||||
discovery also execute through tested `pp_renderer_gl` dispatch contracts,
|
||||
leaving only thin GL adapter functions in the retained `Shader` utility.
|
||||
Legacy `Shape` mesh buffer/VAO creation, zero-byte dynamic-buffer creation,
|
||||
dynamic buffer uploads, indexed and non-indexed draws, and resource deletion
|
||||
now execute through tested `pp_renderer_gl` dispatch contracts, leaving only
|
||||
thin GL adapter functions in the retained shape utility.
|
||||
- `pp_renderer_gl_command_plan_tests` covers the headless OpenGL command
|
||||
planner for recorded render-pass clear masks/values, viewport/scissor state,
|
||||
blend/depth/sampler state, texture format mapping, mesh/draw primitive modes,
|
||||
|
||||
Reference in New Issue
Block a user