зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
c909d1e658
Коммит
e54cbd532b
|
@ -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 );
|
||||
|
|
Загрузка…
Ссылка в новой задаче