diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-11-01 23:10:09 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-11-01 23:10:09 (GMT) |
commit | 0dc3e7f6b482d359b10bfe4e0a3032644b77c94b (patch) | |
tree | f07e5b62329383609a24cd07bc79ce1a05a7fd8d /src/plugins/gfxdrivers | |
parent | 49134383c2fd81b9253207b70aaf2530526b044d (diff) | |
download | Qt-0dc3e7f6b482d359b10bfe4e0a3032644b77c94b.zip Qt-0dc3e7f6b482d359b10bfe4e0a3032644b77c94b.tar.gz Qt-0dc3e7f6b482d359b10bfe4e0a3032644b77c94b.tar.bz2 |
Increase PowerVR memory alignment from 8 to 32 for SGX systems.
Increasing the alignment does not seem to affect MBX.
Back port of 7997279bc22d30bf1d1a30a567bda33ecc9aeb2d
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; |