[Xorg-driver-geode] Rendering in geode

Huang, FrankR FrankR.Huang at amd.com
Mon Jun 28 02:38:18 PDT 2010

Jonathan and Danzer,

	We change the FB size from 24MB to 32MB, the bug in firefox is disappearing. In my patch, I use the off-screen memory, so I suspect in some condition, this memory space is not enough or destroyed by other use that leads to the missing of the glyph cache..
	The rendering patch itself is correct. I feel good about that:).
	Research more...


-----Original Message-----
From: Jonathan Morton [mailto:jonathan.morton at movial.com] 
Sent: 2010?6?22? 20:23
To: Huang, FrankR
Cc: Matt Dew; xorg-driver-geode at lists.x.org; xorg-devel at lists.x.org
Subject: RE: Rendering in geode

On Tue, 2010-06-22 at 17:40 +0800, Huang, FrankR wrote:
> We do need a complete description on the condition that the Source
> coordinates are outside the image. Because when I fixed this, another
> rendering issue in firefox is appearing with my patch. Some characters
> are missing in the rendering in firefox.

Assuming that you are rejecting all attributes that you cannot handle at
all (eg. transforms, component-alpha, etc.), the situation with
coordinates is not very complex.  The handling of coordinates outside a
source image's native rectangle depends entirely on the Repeat attribute
and the operation being performed, as I have already described.

The one remaining subtlety is that the same rules apply to images
provided as masks.  All of the same attributes apply separately to mask
images as to source images.  As a result, if coordinates land outside
the mask image with it's Repeat attribute cleared, these areas will also
become no-ops in Over mode or zero-fills in Src mode.

Finally, remember that source images with 1x1 dimensions and the Repeat
attribute set are very common, especially during text rendering, and are
to be treated as solid colours.  Mask images with these properties are
less common but still legal.  Both of these conditions can be detected
at setup time.

From: Jonathan Morton
      jonathan.morton at movial.com

More information about the Xorg-driver-geode mailing list