grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] Framebuffer rotation patch, or why 'unsigned' fails us


From: Michal Suchanek
Subject: Re: [RFC] Framebuffer rotation patch, or why 'unsigned' fails us
Date: Tue, 16 Feb 2010 21:53:37 +0100

2010/2/16 Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden>:
> Michal Suchanek wrote:
>> This also enhances the video interface so that drawing at negative
>> position is representable in the arguments. Iit is then possible to
>> blit a bitmap without first clipping the topleft part by just blitting
>> at negative position which should make some operations easier to carry
>> out.
>>
> It's a good reason then. Just be sure that every code reacts sanely to
> negative integers either by sanitising or correctly handling

Actually it was possible to blit a bitmap at negative position but it
was not possile to draw a rectangle at the same position which was
somewhat odd.

Thanks

Michal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]