diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-10-20 21:48:52 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-10-20 21:48:52 (GMT) |
commit | 7997279bc22d30bf1d1a30a567bda33ecc9aeb2d (patch) | |
tree | b64fa0752888bdde01b747763da7ee9a2822c348 /src/plugins/gfxdrivers | |
parent | 1315bcdd1e2add0ce26f0cb9a4d2a95477434315 (diff) | |
download | Qt-7997279bc22d30bf1d1a30a567bda33ecc9aeb2d.zip Qt-7997279bc22d30bf1d1a30a567bda33ecc9aeb2d.tar.gz Qt-7997279bc22d30bf1d1a30a567bda33ecc9aeb2d.tar.bz2 |
Increase PowerVR memory alignment from 8 to 32 for SGX systems.
Increasing the alignment does not seem to affect MBX.
Diffstat (limited to 'src/plugins/gfxdrivers')
-rw-r--r-- | src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwsdrawable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwsdrawable.c b/src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwsdrawable.c index 17345a9..a9c22ef 100644 --- a/src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwsdrawable.c +++ b/src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwsdrawable.c @@ -662,7 +662,7 @@ int pvrQwsAllocBuffers(PvrQwsDrawable *drawable) PVR2DMemFree(pvrQwsDisplay.context, drawable->backBuffers[index]); } } - drawable->stridePixels = (drawable->rect.width + 7) & ~7; + drawable->stridePixels = (drawable->rect.width + 31) & ~31; drawable->strideBytes = drawable->stridePixels * pvrQwsDisplay.screens[drawable->screen].bytesPerPixel; |