~unity-team/clutk/clutk.opengles

Viewing all changes in revision 215.

  • Committer: Jay Taoko
  • Date: 2010-06-15 18:47:16 UTC
  • Revision ID: jay.taoko@canonical.com-20100615184716-d91trfzn5djb43y7
OpenGL ES compatibility: removing glBegin/glEnd

[modified]
  clutk/ctk-arb-asm-private.c
  clutk/ctk-arb-asm-private.h
    - OpenGL ES compatibility
    - Using triangle strip with glDrawArrays. OpenGL ES does not allow GL_QUADS
    - Converted the Gaussian function to be OpenGL ES compatible
    -Save and then restore client state attributes after rendering

  clutk/ctk-effect-blur.c
  clutk/ctk-effect-glow.c
  clutk/ctk-effect-drop-shadow.c
    - Cleanup

  clutk/ctk-effect.c
  clutk/ctk-effect.h
    - Invalidate effect when a parameter changes
    - Changed maximum blur strength

  clutk/ctk-layer-actor.c
    - Changed to use and OpenGL ES comaptible rendering

  tests/Makefile.am
    - Added build for new tests


[added]
  tests/test-clutk-glow.c
  tests/test-clutk-drop-shadow.c
  tests/test-clutk-blur.c
    - Effect tests

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: