Code review comment for lp:~brandontschaefer/compiz/window-max-semi-animation

Revision history for this message
Sam Spilsbury (smspillaz) wrote :

On Wed, Jan 16, 2013 at 10:06 AM, Brandon Schaefer
<email address hidden> wrote:
> Cant I also get the paint attributes directly from the glWindow?
>
> opengl.h GLWindowPaintAttrib & paintAttrib ();
>
> or
>
> GLWindowPaintAttrib & lastPaintAttrib ();
>
>
> Though im not srue where I would get the translate data from.

You won't need the translation or scale data. Calling glPaint or
glDraw effectively just draws the the window vertex mesh with the
window texture while providing a set of opacity/brightness/saturation
parameters and affine transformation matrix to the fragment and vertex
shader respectively.

> --
> https://code.launchpad.net/~brandontschaefer/compiz/window-max-semi-animation/+merge/143163
> You are reviewing the proposed merge of lp:~brandontschaefer/compiz/window-max-semi-animation into lp:compiz.

--
Sam Spilsbury

« Back to merge proposal