[PATCH 04/36] dix: introduce gpu screens. (v3)

Aaron Plattner aplattner at nvidia.com
Tue Jul 3 17:07:03 PDT 2012


On 07/02/2012 03:12 AM, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
>

> diff --git a/render/glyph.c b/render/glyph.c
> index acb573f..c121e64 100644
> --- a/render/glyph.c
> +++ b/render/glyph.c
> @@ -687,6 +687,8 @@ miGlyphs(CARD8 op,
>
>   PicturePtr GetGlyphPicture(GlyphPtr glyph, ScreenPtr pScreen)
>   {
> +    if (pScreen->isGPU)
> +        return NULL;
>       return GlyphPicture(glyph)[pScreen->myNum];
>   }
>

What's up with this?  How are we supposed to render glyphs without glyph pictures?

-- Aaron


More information about the xorg-devel mailing list