Avoid backing store for texturemapper layers over 8192x8192
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Tue, 17 Mar 2015 15:00:11 +0000 (16:00 +0100)
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Thu, 19 Mar 2015 11:25:49 +0000 (11:25 +0000)
commitd5fd75b1dc0b2d81036bce50b0acce738031690e
tree8a99c7a3202df93f070797acb98a371985ba18eb
parent2810aea1f6c9cca48b93130a7c245f9a2f85637e
Avoid backing store for texturemapper layers over 8192x8192

We already block too large elements from getting a composited layer with
backing store, but in the case where an already composited layer is
resized above the size limit, it may have bad size until relayed out.

This patch blocks the backing store of such a graphics layer from being
instantiated.

Change-Id: I03c1688c00c1f96fdaf7ef251ee285c05c072730
Task-number: QTBUG-44523
Reviewed-by: Florian Bruhin <qt-project.org@the-compiler.org>
Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp