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

Dave Airlie airlied at gmail.com
Wed Jul 4 04:44:01 PDT 2012


On Wed, Jul 4, 2012 at 1:07 AM, Aaron Plattner <aplattner at nvidia.com> wrote:
> 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?
>

Well for slave output and dri2 offload its not possible to need to
render glyphs from what I can see,
for GPU switching I'll be fixing that up alright, but for 1.13 this
should be fine.

Dave.


More information about the xorg-devel mailing list