scenes/xrender: Remove SceneXRenderShadow::buildQuads()
It's effectively the same as Shadow::buildQuads().
This commit is contained in:
parent
86ce04a7fc
commit
1a464530bd
2 changed files with 0 additions and 13 deletions
|
@ -960,18 +960,6 @@ void SceneXRenderShadow::layoutShadowRects(QRect& top, QRect& topRight,
|
|||
bottomRight = QRect(bottomRightQuad.left(), bottomRightQuad.top(), (bottomRightQuad.right()-bottomRightQuad.left()), (bottomRightQuad.bottom()-bottomRightQuad.top()));
|
||||
}
|
||||
|
||||
void SceneXRenderShadow::buildQuads()
|
||||
{
|
||||
Shadow::buildQuads();
|
||||
|
||||
if (shadowQuads().count() == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
QRect stlr, str, strr, srr, sbrr, sbr, sblr, slr;
|
||||
layoutShadowRects(str, strr, srr, sbrr, sbr, sblr, slr, stlr);
|
||||
}
|
||||
|
||||
bool SceneXRenderShadow::prepareBackend()
|
||||
{
|
||||
if (hasDecorationShadow()) {
|
||||
|
|
|
@ -157,7 +157,6 @@ public:
|
|||
xcb_render_picture_t picture(ShadowElements element) const;
|
||||
|
||||
protected:
|
||||
void buildQuads() override;
|
||||
bool prepareBackend() override;
|
||||
private:
|
||||
XRenderPicture* m_pictures[ShadowElementsCount];
|
||||
|
|
Loading…
Reference in a new issue