core: refactor renderable size ownership (#4512)

This commit is contained in:
Bart Louwers
2026-09-01 17:35:29 +02:00
committed by GitHub
parent be3f03b86e
commit e5d0fce32a
35 changed files with 131 additions and 122 deletions

View File

@@ -66,6 +66,7 @@ PaintParameters::PaintParameters(gfx::Context& context_,
double tileLodScale_,
double tileLodPitchThreshold_,
TileLodMode tileLodMode_,
Size renderableSize_,
const gfx::ScissorRect& scissorRect_)
: context(context_),
backend(backend_),
@@ -80,6 +81,7 @@ PaintParameters::PaintParameters(gfx::Context& context_,
debugOptions(debugOptions_),
timePoint(timePoint_),
pixelRatio(pixelRatio_),
renderableSize(renderableSize_),
shaders(*staticData_.shaders),
frameCount(frameCount_),
tileLodMinRadius(tileLodMinRadius_),