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:
maxf%magma.ca 2005-03-21 16:01:54 +00:00
Родитель c909d1e658
Коммит e54cbd532b
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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 );