lp:~smspillaz/compiz/compiz.animationsjc-returns

Created by Sam Spilsbury and last modified
Get this branch:
bzr branch lp:~smspillaz/compiz/compiz.animationsjc-returns
Only Sam Spilsbury can upload to this branch. If you are Sam Spilsbury please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Sam Spilsbury
Project:
Compiz
Status:
Merged

Recent revisions

4025. By Sam Spilsbury <email address hidden>

Merge lp:~smspillaz/compiz/compiz.animationaddon-returns

4024. By Sam Spilsbury <email address hidden>

debian: Add animationsjc to compiz-plugins.install

4023. By Sam Spilsbury <email address hidden>

animationjc: Re-add the animationjc plugin

(Thanks MC Return)

4022. By Sam Spilsbury <email address hidden>

CMakeLists: Enable building animationaddon

4021. By Sam Spilsbury <email address hidden>

animationaddon: Provide damage box for dissolveAnim

4020. By Sam Spilsbury <email address hidden>

animationaddon: Use opacity which actually fades out for dissolve.

4019. By Sam Spilsbury <email address hidden>

animationaddon: Port the animationaddon plugin to use modern GL API.

This involved a lot of changes:
 - Removal of glPush/glPop. State is assumed to be off in newer versions
   of compiz, so switch off whatever gets switched on.
 - Switch from glVertexPointer/glDrawArrays/glDrawElements to GLVertexBuffer
 - Changes in primitive assembly: GL_POLYGON doesn't exist in GLES
   so switch to using GL_TRIANGLES. This meant that the indices
   for all the animatons needed to be re-tesselated. That was done
   by hand using a winding rule which just duplicates the first and
   third vertex around the fourth.
 - Dropping of glTexEnv calls.
 - Reworking of the depth test, since writes to the depth buffer
   have been disabled by default.

Some things still don't work:
 - Anything depending on clipping planes: glClipPlane and friends
   were removed on GLES20 and they are quite difficult to implement
   using other methods.
 - Drawing of decoration textures - these appear to be stretched
   and skewed incorrectly.
 - Lighting. This will require special shaders.

4018. By Sam Spilsbury <email address hidden>

animation: Just set values in paint attrib directly

4017. By Sam Spilsbury <email address hidden>

animation: Expose drawGeometry function again

Since glDrawGeometry was dropped post GLES, this function mirrors
glDrawTexture and allows animations to specify their own complete
replacement for it.

4016. By Sam Spilsbury <email address hidden>

animation: Reset the glPaint index each time it is called in MultiAnim

Before we were allowing the wrapable function handler to reset
the index, which means that each copy of the animation had
different behaviour.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:compiz/0.9.12
This branch contains Public information 
Everyone can see this information.

Subscribers