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