[Xorg-driver-geode] [PATCH 4/7] Put the one pixel drawing work to the server to handle
Otavio Salvador
otavio at ossystems.com.br
Thu Jun 10 04:20:31 PDT 2010
Hello,
On Thu, Jun 10, 2010 at 4:03 AM, Huang, FrankR <FrankR.Huang at amd.com> wrote:
> From: Frank Huang <frankr.huang at amd.com>
>
> Signed-off-by: Frank Huang <frankr.huang at amd.com>
> ---
> src/lx_exa.c | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/src/lx_exa.c b/src/lx_exa.c
> index 29c8056..9fb92c4 100644
> --- a/src/lx_exa.c
> +++ b/src/lx_exa.c
> @@ -586,6 +586,11 @@ lx_check_composite(int op, PicturePtr pSrc, PicturePtr
> pMsk, PicturePtr pDst)
> if (pSrc->format == PICT_a8 || pDst->format == PICT_a8)
> return FALSE;
>
> + /* This is one pixel drawing, return it to server to draw it */
> +
> + if (pMsk && (!pSrc->repeat))
> + return FALSE;
>
Dropping the empty line makes it easier to read (between the command the
the if block).
--
Otavio Salvador O.S. Systems
E-mail: otavio at ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-driver-geode/attachments/20100610/1c65bd48/attachment.htm>
More information about the Xorg-driver-geode
mailing list