scene: Drop ItemRendererOpenGL::RenderNode::scale
It's unused.
This commit is contained in:
parent
47ee47dcc8
commit
c958a75e2b
2 changed files with 0 additions and 5 deletions
|
@ -164,7 +164,6 @@ void ItemRendererOpenGL::createRenderNode(Item *item, RenderContext *context)
|
|||
.opacity = context->opacityStack.top(),
|
||||
.hasAlpha = true,
|
||||
.coordinateType = UnnormalizedCoordinates,
|
||||
.scale = scale,
|
||||
.colorDescription = item->colorDescription(),
|
||||
.bufferReleasePoint = nullptr,
|
||||
});
|
||||
|
@ -179,7 +178,6 @@ void ItemRendererOpenGL::createRenderNode(Item *item, RenderContext *context)
|
|||
.opacity = context->opacityStack.top(),
|
||||
.hasAlpha = true,
|
||||
.coordinateType = UnnormalizedCoordinates,
|
||||
.scale = scale,
|
||||
.colorDescription = item->colorDescription(),
|
||||
.bufferReleasePoint = nullptr,
|
||||
});
|
||||
|
@ -196,7 +194,6 @@ void ItemRendererOpenGL::createRenderNode(Item *item, RenderContext *context)
|
|||
.opacity = context->opacityStack.top(),
|
||||
.hasAlpha = pixmap->hasAlphaChannel(),
|
||||
.coordinateType = NormalizedCoordinates,
|
||||
.scale = scale,
|
||||
.colorDescription = item->colorDescription(),
|
||||
.bufferReleasePoint = surfaceItem->bufferReleasePoint(),
|
||||
});
|
||||
|
@ -211,7 +208,6 @@ void ItemRendererOpenGL::createRenderNode(Item *item, RenderContext *context)
|
|||
.opacity = context->opacityStack.top(),
|
||||
.hasAlpha = imageItem->image().hasAlphaChannel(),
|
||||
.coordinateType = NormalizedCoordinates,
|
||||
.scale = scale,
|
||||
.colorDescription = item->colorDescription(),
|
||||
.bufferReleasePoint = nullptr,
|
||||
});
|
||||
|
|
|
@ -30,7 +30,6 @@ public:
|
|||
qreal opacity = 1;
|
||||
bool hasAlpha = false;
|
||||
TextureCoordinateType coordinateType = UnnormalizedCoordinates;
|
||||
qreal scale = 1.0;
|
||||
ColorDescription colorDescription;
|
||||
std::shared_ptr<SyncReleasePoint> bufferReleasePoint;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue