mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
This change is for the QNX (Photon) platform only. It will not affect the
runtime or build of other Mozilla platforms since QNX source is not part of Tinderbox builds. You can contact me at: mfeil@qnx.com This fixes a problem where shared memory is destroyed too soon. The draw stream generated by the image draw was not being processed in time by regular priority (10) drivers like phrelay, resulting in portions of images not drawn. This only affected images the first time they were loaded in a session (since they load in pieces) and only seemed to affect the embedded version of mozilla (mozserver with Voyager client). r=amardare%qnx.com
This commit is contained in:
parent
eec04f4dc2
commit
85014169e2
@ -339,6 +339,7 @@ NS_IMETHODIMP nsImagePh :: Draw(nsIRenderingContext &aContext, nsIDrawingSurface
|
||||
if ( mPhImageZoom ) {
|
||||
if( mImageFlags & ZOOM_SHMEM ) {
|
||||
PgFlushCx( dc );
|
||||
PgWaitHWIdle();
|
||||
PgShmemDestroy( mPhImageZoom->image );
|
||||
}
|
||||
else free( mPhImageZoom->image );
|
||||
|
Loading…
Reference in New Issue
Block a user