Increase the draw buffer size for PHOTON only. This was causing us

to be unable to render pages that had images in which a single
line was more than 4096 bytes. PHOTON ONLY.
a=leaf
This commit is contained in:
Jerry.Kirk%Nexwarecorp.com 2000-02-17 00:44:50 +00:00
Родитель 44e1fa9af6
Коммит 8f466b4ecd
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -280,6 +280,8 @@ NS_IMETHODIMP nsDrawingSurfacePh :: Init( PhGC_t * &aGC )
mPixmap = NULL;
mDrawContext = PhDCGetCurrent();
PgSetDrawBufferSize(8 * 1024 );
/* Code to clear the clipping from the GC */
/* Activate this GC */
Select();
@ -309,6 +311,8 @@ NS_IMETHODIMP nsDrawingSurfacePh :: Init( PhGC_t * &aGC, PRUint32 aWidth,
/* Init a Off-Screen Drawing Surface */
PR_LOG(PhGfxLog, PR_LOG_DEBUG, ("nsDrawingSurfacePh::Init with PhGC_t + width/height this=<%p> w,h=(%ld,%ld) aGC=<%p>\n", this, aWidth, aHeight, aGC));
PgSetDrawBufferSize(8 * 1024 );
mGC = aGC;
mWidth = aWidth;
mHeight = aHeight;