mutter/clutter
Neil Roberts 19058afe82 Removed COGLhandle and changed shader and program functions to be
wrapped in reference-counted CoglHandles instead.

	* clutter/cogl/gl/cogl-shader.c: 
	* clutter/cogl/gl/cogl-shader.h: 
	* clutter/cogl/gl/cogl-program.c: 
	* clutter/cogl/gl/cogl-program.h: 
	New files to hold the shader and program functions.

	* clutter/cogl/gl/cogl.c: Removed shader and program functions.

	* clutter/cogl/common/cogl-handle.h: New header to define
	COGL_HANDLE_DEFINE which helps build functions to create
	reference-counted handles. This reduces the amount of duplicated
	code.

	* clutter/cogl/gl/cogl-texture.c: 
	* clutter/cogl/gles/cogl-texture.c: 
	* clutter/cogl/gl/cogl-fbo.c: Converted to use COGL_HANDLE_DEFINE
	from cogl-handle.h to avoid duplicating some of the common code.

	* clutter/cogl/gles/cogl-defines.h.in: 
	* clutter/cogl/gl/cogl-defines.h.in: Removed COGLhandle

	* clutter/cogl/gl/cogl-context.h: Added handle arrays for programs
	and shaders.

	* clutter/cogl/gl/cogl-context.c (cogl_create_context): Added
	initialisers for shader_handles and program_handles.
	(cogl_destroy_context): Added calls to g_array_free for all handle
	arrays.

	* clutter/cogl/gl/Makefile.am (libclutter_cogl_la_SOURCES): Added
	cogl-{program,shader}.{c,h}

	* clutter/cogl/common/Makefile.am
	(libclutter_cogl_common_la_SOURCES): Added cogl-handle.h

	* clutter/cogl/gles/cogl.c:
	* clutter/cogl/cogl.h.in: Programs and shaders are now wrapped in
	CoglHandles instead of COGLhandles. cogl_program_destroy and
	cogl_shader_destroy is now replaced with cogl_program_unref and
	cogl_shader_unref. cogl_program_ref and cogl_shader_ref are also
	added.

	* clutter/clutter-shader.c: Converted to use CoglHandles for the
	programs and shaders instead of COGLhandles.

	* cogl/cogl-sections.txt: Added cogl_shader_ref,
	cogl_shader_unref, cogl_is_shader, cogl_program_ref,
	cogl_program_unref, cogl_is_program and cogl_is_offscreen.
2008-04-29 16:10:37 +00:00
..
cogl Removed COGLhandle and changed shader and program functions to be 2008-04-29 16:10:37 +00:00
eglnative 2008-04-28 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-28 09:33:38 +00:00
eglx Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
fruity Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
glx Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
json 2008-04-09 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-09 14:18:42 +00:00
osx Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
pango Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
sdl Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
win32 Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
x11 2008-04-29 Robert Bragg <bob@o-hand.com> 2008-04-29 13:51:25 +00:00
clutter-actor.c * clutter/cogl/cogl.h.in: renaming of API's in cogl to make the 2008-04-29 15:41:34 +00:00
clutter-actor.h 2008-04-23 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-23 12:53:25 +00:00
clutter-alpha.c 2008-04-18 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-18 15:03:30 +00:00
clutter-alpha.h 2008-04-18 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-18 15:03:30 +00:00
clutter-backend.c 2008-04-04 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-04 17:26:26 +00:00
clutter-backend.h 2008-04-04 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-04 15:02:11 +00:00
clutter-behaviour-bspline.c 2007-11-19 Emmanuele Bassi <ebassi@openedhand.com> 2007-11-19 16:35:46 +00:00
clutter-behaviour-bspline.h * clutter/clutter-behaviour-bspline.[ch]: 2007-11-13 14:12:51 +00:00
clutter-behaviour-depth.c 2008-01-21 Emmanuele Bassi,,, <ebassi@sprite> 2008-01-21 16:07:28 +00:00
clutter-behaviour-depth.h 2008-01-21 Emmanuele Bassi,,, <ebassi@sprite> 2008-01-21 16:07:28 +00:00
clutter-behaviour-ellipse.c 2007-12-17 Tomas Frydrych <tf@openedhand.com> 2007-12-17 17:16:49 +00:00
clutter-behaviour-ellipse.h 2007-11-27 Tomas Frydrych <tf@openedhand.com> 2007-11-27 12:34:28 +00:00
clutter-behaviour-opacity.c 2008-01-18 Emmanuele Bassi <ebassi@openedhand.com> 2008-01-18 11:02:34 +00:00
clutter-behaviour-opacity.h 2008-01-18 Emmanuele Bassi <ebassi@openedhand.com> 2008-01-18 11:02:34 +00:00
clutter-behaviour-path.c 2008-02-08 Emmanuele Bassi <ebassi@openedhand.com> 2008-02-08 15:39:41 +00:00
clutter-behaviour-path.h Even more documentation fixes 2007-08-07 14:03:58 +00:00
clutter-behaviour-rotate.c 2007-12-17 Tomas Frydrych <tf@openedhand.com> 2007-12-17 17:16:49 +00:00
clutter-behaviour-rotate.h Renamed all properties of behaviours (and related 2007-11-13 13:21:56 +00:00
clutter-behaviour-scale.c 2008-02-11 Matthew Allum <mallum@openedhand.com> 2008-02-11 20:31:16 +00:00
clutter-behaviour-scale.h 2007-01-30 Tomas Frydrych <tf@openedhand.com> 2008-01-30 12:13:26 +00:00
clutter-behaviour.c 2008-04-23 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-23 09:46:16 +00:00
clutter-behaviour.h Even more documentation fixes 2007-08-07 14:03:58 +00:00
clutter-clone-texture.c Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
clutter-clone-texture.h 2006-12-12 Emmanuele Bassi <ebassi@openedhand.com> 2006-12-12 20:20:04 +00:00
clutter-color.c 2007-12-24 Emmanuele Bassi <ebassi@openedhand.com> 2007-12-24 14:52:41 +00:00
clutter-color.h Even more documentation fixes 2007-08-07 14:03:58 +00:00
clutter-container.c 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-11 15:40:08 +00:00
clutter-container.h * clutter/clutter-container.[ch]: removed find_child_by_id method 2007-11-05 17:12:11 +00:00
clutter-debug.h 2008-03-28 Matthew Allum <mallum@openedhand.com> 2008-03-28 22:50:55 +00:00
clutter-deprecated.h Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
clutter-effect.c 2007-01-30 Tomas Frydrych <tf@openedhand.com> 2008-01-30 12:13:26 +00:00
clutter-effect.h 2007-01-30 Tomas Frydrych <tf@openedhand.com> 2008-01-30 12:13:26 +00:00
clutter-entry.c 2008-03-06 Emmanuele Bassi <ebassi@openedhand.com> 2008-03-06 12:39:24 +00:00
clutter-entry.h 2008-03-06 Emmanuele Bassi <ebassi@openedhand.com> 2008-03-06 12:39:24 +00:00
clutter-enum-types.c.in 2007-12-25 Emmanuele Bassi <ebassi@openedhand.com> 2007-12-25 11:41:10 +00:00
clutter-enum-types.h.in 2007-08-20 Emmanuele Bassi <ebassi@openedhand.com> 2007-08-20 20:16:15 +00:00
clutter-event.c 2008-03-28 Matthew Allum <mallum@openedhand.com> 2008-03-28 22:50:55 +00:00
clutter-event.h 2008-03-28 Matthew Allum <mallum@openedhand.com> 2008-03-28 22:50:55 +00:00
clutter-feature.c Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
clutter-feature.h Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
clutter-fixed.c 2008-04-28 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-28 13:37:28 +00:00
clutter-fixed.h 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-17 11:09:27 +00:00
clutter-frame-source.c 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-17 20:53:37 +00:00
clutter-frame-source.h Add clutter-frame-source to the repository to fix the build 2008-04-17 20:50:49 +00:00
clutter-group.c 2008-04-28 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-28 15:32:42 +00:00
clutter-group.h 2008-03-28 Matthew Allum <mallum@openedhand.com> 2008-03-28 22:50:55 +00:00
clutter-id-pool.c 2008-03-09 Matthew Allum <mallum@openedhand.com> 2008-03-09 19:07:17 +00:00
clutter-id-pool.h Refactored the integer id->ClutterActor mapping code to be a self 2008-03-07 17:34:40 +00:00
clutter-json.h.in 2008-04-23 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-23 13:58:58 +00:00
clutter-keysyms-table.h 2007-03-22 Emmanuele Bassi <ebassi@openedhand.com> 2007-03-22 18:21:59 +00:00
clutter-keysyms.h Merge gobject-branch into trunk 2006-05-29 08:59:36 +00:00
clutter-label.c 2008-02-20 Emmanuele Bassi <ebassi@openedhand.com> 2008-02-20 10:59:47 +00:00
clutter-label.h 2007-11-19 Emmanuele Bassi <ebassi@openedhand.com> 2007-11-19 21:14:16 +00:00
clutter-list-model.c 2008-03-19 Emmanuele Bassi <ebassi@openedhand.com> 2008-03-19 18:33:33 +00:00
clutter-list-model.h 2008-01-09 Emmanuele Bassi <ebassi@openedhand.com> 2008-01-09 14:40:31 +00:00
clutter-main.c Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
clutter-main.h Applied patch from bug #881 2008-04-17 16:50:23 +00:00
clutter-marshal.list 2008-04-18 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-18 15:03:30 +00:00
clutter-media.c * clutter/clutter-actor.c: 2008-02-15 15:18:02 +00:00
clutter-media.h 2006-11-15 Emmanuele Bassi <ebassi@openedhand.com> 2006-11-15 23:37:53 +00:00
clutter-model-private.h 2008-01-09 Emmanuele Bassi <ebassi@openedhand.com> 2008-01-09 14:18:53 +00:00
clutter-model.c 2008-03-19 Emmanuele Bassi <ebassi@openedhand.com> 2008-03-19 18:33:33 +00:00
clutter-model.h 2008-03-19 Emmanuele Bassi <ebassi@openedhand.com> 2008-03-19 18:33:33 +00:00
clutter-private.h 2008-04-04 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-04 15:02:11 +00:00
clutter-rectangle.c * clutter/cogl/cogl.h.in: renaming of API's in cogl to make the 2008-04-29 15:41:34 +00:00
clutter-rectangle.h
clutter-score.c 2008-03-19 Emmanuele Bassi <ebassi@openedhand.com> 2008-03-19 11:46:57 +00:00
clutter-score.h 2008-03-19 Emmanuele Bassi <ebassi@openedhand.com> 2008-03-19 11:46:57 +00:00
clutter-script-parser.c Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
clutter-script-private.h 2007-11-28 Emmanuele Bassi <ebassi@openedhand.com> 2007-11-28 13:50:24 +00:00
clutter-script.c Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
clutter-script.h 2008-01-18 Emmanuele Bassi <ebassi@openedhand.com> 2008-01-18 11:25:47 +00:00
clutter-scriptable.c 2007-11-14 Emmanuele Bassi <ebassi@openedhand.com> 2007-11-14 11:32:24 +00:00
clutter-scriptable.h 2007-11-23 Emmanuele Bassi <ebassi@openedhand.com> 2007-11-23 13:11:10 +00:00
clutter-shader.c Removed COGLhandle and changed shader and program functions to be 2008-04-29 16:10:37 +00:00
clutter-shader.h 2008-04-11 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-11 12:00:50 +00:00
clutter-stage-manager.c 2008-04-04 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-04 15:02:11 +00:00
clutter-stage-manager.h 2008-03-28 Matthew Allum <mallum@openedhand.com> 2008-03-28 22:50:55 +00:00
clutter-stage-window.c 2008-04-04 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-04 15:02:11 +00:00
clutter-stage-window.h Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
clutter-stage.c Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
clutter-stage.h Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
clutter-texture.c Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
clutter-texture.h Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
clutter-timeline.c * clutter/clutter-timeline.c (clutter_timeline_get_progressx): 2008-04-18 13:51:16 +00:00
clutter-timeline.h 2008-03-18 Emmanuele Bassi <ebassi@openedhand.com> 2008-03-18 22:07:17 +00:00
clutter-timeout-pool.c Applied patch from bug #881 2008-04-17 16:50:23 +00:00
clutter-timeout-pool.h Add copyright license and make ClutterTimeoutPool public 2007-06-09 13:20:06 +00:00
clutter-types.h 2008-03-28 Matthew Allum <mallum@openedhand.com> 2008-03-28 22:50:55 +00:00
clutter-units.c 2008-04-28 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-28 13:37:28 +00:00
clutter-units.h 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-17 11:09:27 +00:00
clutter-util.c * clutter/clutter-texture.c: (texture_get_tile_pixbuf), 2008-02-12 17:17:52 +00:00
clutter-util.h 2007-01-23 Matthew Allum <mallum@openedhand.com> 2007-01-23 20:29:11 +00:00
clutter-version.h.in 2008-03-31 Matthew Allum <mallum@openedhand.com> 2008-03-31 17:15:02 +00:00
clutter.h 2008-01-09 Emmanuele Bassi <ebassi@openedhand.com> 2008-01-09 14:40:31 +00:00
Makefile.am Fixed 'make dist' 2008-04-28 16:57:44 +00:00