Emmanuele Bassi
a32eca26b6
2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com>
...
Bug 1212 - Allow only a single include file for Clutter
* clutter/*.h: Only allow including clutter.h in third
party code.
* clutter/cogl/cogl-color.h:
* clutter/cogl/cogl-fixed.h:
* clutter/cogl/cogl.h.in: Only allow including cogl.h in
third party code.
* clutter/cogl/common/Makefile.am:
* clutter/cogl/gl/Makefile.am:
* clutter/cogl/gles/Makefile.am:
* clutter/eglnative/Makefile.am:
* clutter/eglx/Makefile.am:
* clutter/fruity/Makefile.am:
* clutter/glx/Makefile.am:
* clutter/glx/clutter-glx.h:
* clutter/osx/Makefile.am:
* clutter/pango/Makefile.am:
* clutter/sdl/Makefile.am:
* clutter/win32/Makefile.am:
* clutter/x11/Makefile.am: Fix build environment.
* clutter/x11/clutter-x11-texture-pixmap.h:
* clutter/x11/clutter-x11.h: Fix inclusion rules.
* tests/test-pixmap.c: Fix inclusion of GdkPixbuf header.
* README: Update release notes.
2008-10-30 17:04:34 +00:00
Emmanuele Bassi
8867c1bae5
2008-04-11 Emmanuele Bassi <ebassi@openedhand.com>
...
* README: Add a note about the Shader API changes.
* clutter/clutter-deprecated.h: Add deprecation symbols.
* clutter/clutter-shader.[ch]: Rename the :bound read-only
property to :compiled. Also rename clutter_shader_bind()
and clutter_shader_is_bound() to clutter_shader_compil() and
clutter_shader_is_compiled(), respectively.
* clutter/glx/clutter-stage-glx.c:
(clutter_stage_glx_unrealize): Update after
clutter_shader_release_all() rename.
* tests/test-shader.c (button_release_cb), (main): Update.
2008-04-11 12:00:50 +00:00
Emmanuele Bassi
5eecda2dba
2007-12-15 Emmanuele Bassi <ebassi@openedhand.com>
...
* clutter/clutter-actor.c:
* clutter/clutter-alpha.h:
* clutter/clutter-event.h:
* clutter/clutter-fixed.[ch]:
* clutter/clutter-model.h:
* clutter/clutter-shader.[ch]:
* clutter/clutter-stage.c: Documentation fixes.
2007-12-15 14:36:27 +00:00
Øyvind Kolås
5220f68e17
Refined the ClutterShader API based on a patch from Emmanuele Bassi.
...
* clutter/clutter-actor.c: (clutter_actor_paint),
(clutter_actor_apply_shader): queue a redraw of actor when shader is
set.
* clutter/clutter-actor.h: indentation.
* clutter/clutter-shader.[ch]: made the fragment and vertex shader
sources properties. Report error through GError when binding shaders.
* tests/test-shader.c: modified to use newer API.
2007-12-11 14:49:41 +00:00
Øyvind Kolås
4de11937e6
* clutter/clutter-shader.[ch]: do not include GL.h.
2007-12-03 17:14:49 +00:00
Øyvind Kolås
e92b864dff
Support for shaders in clutter. At the moment limited to drivers
...
providing GLSL support.
* clutter/cogl/cogl.h: added rather direct binding of needed for glsl
shaders.
* clutter/cogl/gl/cogl-defines.h.in:
* clutter/cogl/gl/cogl.c:
* clutter/cogl/gles/cogl-defines.h: added stubs.
* clutter/cogl/gles/cogl.c: added stubs.
* clutter/glx/clutter-stage-glx.c:
(clutter_stage_glx_realize): unrelated memory management sanity fix.
(clutter_stage_glx_unrealize): unbind all shaders on stage unrealize.
* clutter/Makefile.am: added clutter-shader.[ch]
* clutter/clutter-actor.[ch]: adding shader capability to
actors.
* clutter/clutter-feature.h: added CLUTTER_FEATURE_SHADERS_GLSL
* clutter/clutter-private.h: added stack of shaders to context.
* clutter/clutter-shader.[ch]: new.
* tests/Makefile.am: added shader test.
* tests/test-shader.c: (frame_cb), (main): simple shader test,
cycle through the inline shader with right/left mouse buttons.
2007-12-03 16:29:18 +00:00