lp:~smspillaz/compiz/compiz.animation-refactor

Created by Sam Spilsbury on 2016-07-04 and last modified on 2016-07-04
Get this branch:
bzr branch lp:~smspillaz/compiz/compiz.animation-refactor
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:
Development

Recent revisions

4026. By Sam Spilsbury <email address hidden> on 2016-07-04

animation: Begin to break the dependency on CompWindow for Animation

This commit removes the need for CompWindow when querying outputRect,
borderRect, winRect and inputRect.

4025. By Sam Spilsbury <email address hidden> on 2016-06-01

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

4024. By Sam Spilsbury <email address hidden> on 2016-05-26

debian: Add animationsjc to compiz-plugins.install

4023. By Sam Spilsbury <email address hidden> on 2016-05-24

animationjc: Re-add the animationjc plugin

(Thanks MC Return)

4022. By Sam Spilsbury <email address hidden> on 2016-05-23

CMakeLists: Enable building animationaddon

4021. By Sam Spilsbury <email address hidden> on 2016-05-23

animationaddon: Provide damage box for dissolveAnim

4020. By Sam Spilsbury <email address hidden> on 2016-05-23

animationaddon: Use opacity which actually fades out for dissolve.

4019. By Sam Spilsbury <email address hidden> on 2016-05-23

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> on 2016-05-23

animation: Just set values in paint attrib directly

4017. By Sam Spilsbury <email address hidden> on 2016-05-23

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.

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.13
This branch contains Public information 
Everyone can see this information.

Subscribers