mutter/clutter
Neil Roberts 8247bdf4f9 cogl-framebuffer: Return gboolean from try_creating_fbo
When try_creating_fbo fails it returns 0 to report the error and if it
succeeds it returns ‘flags’. However cogl_offscreen_new_to_texture
also passes in 0 for the flags as the last fallback to create the fbo
with nothing but the color buffer. In that case it will return 0
regardless of whether it succeeded so the last fallback will always be
considered a failure.

To fix this it now just returns a gboolean to indicate whether it
succeeded and the flags used for each attempt is assigned when passing
the argument rather than from the return value of the function.

Also if the only configuration that succeeded was with flags==0 then
it would always try all combinations because last_working_flags would
also be zero. To avoid this it now uses a separate gboolean to mark
whether we found a successful set of flags.

http://bugzilla.openedhand.com/show_bug.cgi?id=1873
2010-01-14 14:10:05 +00:00
..
cogl cogl-framebuffer: Return gboolean from try_creating_fbo 2010-01-14 14:10:05 +00:00
eglnative Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
eglx Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
fruity Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
glx cogl: Remove the CGL_* defines 2010-01-12 17:10:15 +00:00
json build: Use QUIET_GEN when building ClutterJson GIR 2009-10-18 17:11:42 +01:00
osx osx: Fix a warning on Snow Leopard 2009-11-06 11:48:42 +00:00
sdl Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
win32 win32: Remove the check for GL 1.2 2009-11-13 17:23:13 +00:00
x11 x11: Switch back to RGB visuals by default 2010-01-08 15:09:21 +00:00
clutter-actor.c profiling: Adds initial UProf support across clutter 2010-01-08 20:19:49 +00:00
clutter-actor.h Merge branch 'internal-flag' into ebassi-next 2009-12-20 17:33:51 +00:00
clutter-alpha.c docs: Document the AnimationMode definition 2009-11-13 15:01:17 +00:00
clutter-alpha.h
clutter-animatable.c
clutter-animatable.h
clutter-animation.c animation: Keep a weak reference on actors 2009-11-24 16:59:24 +00:00
clutter-animation.h [animation] Add Animation::update() 2009-08-25 12:16:41 +01:00
clutter-backend.c profiling: Adds initial UProf support across clutter 2010-01-08 20:19:49 +00:00
clutter-backend.h [backends] Remove the idea of offscreen stages from all backends 2009-10-16 18:58:47 +01:00
clutter-behaviour-depth.c
clutter-behaviour-depth.h
clutter-behaviour-ellipse.c Remove the last few fixed-point entry points 2009-06-19 16:38:35 +01:00
clutter-behaviour-ellipse.h Remove the last few fixed-point entry points 2009-06-19 16:38:35 +01:00
clutter-behaviour-opacity.c
clutter-behaviour-opacity.h
clutter-behaviour-path.c
clutter-behaviour-path.h docs: Fix the 'Since' annotation for some functions 2009-11-19 11:51:21 +00:00
clutter-behaviour-rotate.c Remove the last few fixed-point entry points 2009-06-19 16:38:35 +01:00
clutter-behaviour-rotate.h Remove the last few fixed-point entry points 2009-06-19 16:38:35 +01:00
clutter-behaviour-scale.c Remove the last few fixed-point entry points 2009-06-19 16:38:35 +01:00
clutter-behaviour-scale.h Remove the last few fixed-point entry points 2009-06-19 16:38:35 +01:00
clutter-behaviour.c behaviour: Implement the implicit alpha parsing 2009-11-06 11:39:30 +00:00
clutter-behaviour.h
clutter-bezier.c
clutter-bezier.h
clutter-bin-layout.c bin-layout: Add get_child_meta_type() override 2009-11-05 12:26:10 +00:00
clutter-bin-layout.h [layout, docs] Clean up BinLayout documentation 2009-10-14 11:31:29 +01:00
clutter-binding-pool.c Pass the interned string value to the binding callback 2009-11-17 21:32:17 +00:00
clutter-binding-pool.h
clutter-box-layout.c box-layout: Remove the allocations hash table 2009-12-23 10:36:46 +00:00
clutter-box-layout.h box-layout: Add knobs for controlling animations 2009-12-13 01:15:02 +00:00
clutter-box.c box: Add relative packing methods 2009-12-04 16:54:22 +00:00
clutter-box.h box: Add relative packing methods 2009-12-04 16:54:22 +00:00
clutter-cairo-texture.c
clutter-cairo-texture.h
clutter-child-meta.c
clutter-child-meta.h
clutter-clone.c clone: Set :source as CONSTRUCT 2009-10-22 15:51:06 +01:00
clutter-clone.h
clutter-color.c color: Fix HLS-to-RGB conversion 2009-10-26 16:29:31 +00:00
clutter-color.h [misc] Update headers #endif comments 2009-06-29 21:37:02 +02:00
clutter-container.c [container] Remove the unused 'object' variable in destroy_child_meta 2009-09-22 17:55:04 +01:00
clutter-container.h [docs] Fixes for the API reference 2009-05-28 17:18:13 +01:00
clutter-debug.h [debug] Adds a dump-pick-buffers CLUTTER_DEBUG option 2009-09-24 21:41:49 +01:00
clutter-deprecated.h Fix copy-and-paste errors in the deprecation macros 2009-07-21 09:22:38 +01:00
clutter-enum-types.c.in
clutter-enum-types.h.in
clutter-event.c Add clutter_get_current_event 2009-12-10 22:20:36 +00:00
clutter-event.h Add clutter_get_current_event 2009-12-10 22:20:36 +00:00
clutter-feature.c Hide clutter_context_get_default() 2009-06-18 14:20:28 +01:00
clutter-feature.h
clutter-fixed-layout.c [layout] Update FixedLayout 2009-10-14 11:31:30 +01:00
clutter-fixed-layout.h [layout, docs] Document FixedLayout 2009-10-14 11:31:29 +01:00
clutter-fixed.c
clutter-fixed.h
clutter-flow-layout.c flow-layout: Use the natural size 2009-12-03 15:38:05 +00:00
clutter-flow-layout.h [layout] Remove FlowLayout:wrap 2009-10-14 11:31:30 +01:00
clutter-frame-source.c
clutter-frame-source.h
clutter-group.c actor: Add a NO_LAYOUT flag for actors 2009-12-07 14:14:35 +00:00
clutter-group.h
clutter-id-pool.c [clutter-id-pool] Also warn if the ID refers to a deleted actor 2009-10-07 12:53:19 +01:00
clutter-id-pool.h
clutter-interval.c Simple coding style fix for commit c5551184 2009-10-16 15:57:21 +01:00
clutter-interval.h
clutter-json.h.in [json] Include only json-glib.h 2009-08-12 15:31:16 +01:00
clutter-keysyms-table.h
clutter-keysyms.h
clutter-layout-manager.c layout-manager: Document the animation support 2009-12-23 10:37:10 +00:00
clutter-layout-manager.h layout: Let begin_animation() return the Alpha 2009-12-13 01:23:54 +00:00
clutter-layout-meta.c [layout] Add LayoutMeta 2009-10-14 11:31:26 +01:00
clutter-layout-meta.h layout: Add padding to LayoutMeta 2009-12-02 11:36:25 +00:00
clutter-list-model.c
clutter-list-model.h
clutter-main.c stage: Add the delete-event signal 2010-01-12 15:58:27 +00:00
clutter-main.h Remove clutter_set_default_text_direction() 2009-12-07 19:00:55 +00:00
clutter-marshal.list Added ClutterText::insert-text and ClutterText::delete-text signals 2010-01-04 12:01:51 +00:00
clutter-master-clock.c master-clock: Add profiling timers 2010-01-14 12:30:48 +00:00
clutter-master-clock.h ensure next iteration 2009-07-10 11:38:42 +01:00
clutter-media.c media: Add an API to specify which font should be used for subtitles 2010-01-11 13:04:16 +00:00
clutter-media.h media: Add an API to specify which font should be used for subtitles 2010-01-11 13:04:16 +00:00
clutter-model-private.h
clutter-model.c [docs] Clutter's model implementation is called ClutterListModel 2009-09-10 13:28:54 +01:00
clutter-model.h
clutter-path.c [path] Add GValue transform functions from and to G_TYPE_STRING 2009-10-07 16:06:26 +01:00
clutter-path.h [path] MOVE_TO and LINE_TO only use a pair of coordinates 2009-10-06 10:43:41 +01:00
clutter-private.h Merge branch 'internal-flag' into ebassi-next 2009-12-20 17:33:51 +00:00
clutter-profile.c profiling: Allow limiting statisics just to picking 2010-01-08 20:19:50 +00:00
clutter-profile.h profiling: Allow limiting statisics just to picking 2010-01-08 20:19:50 +00:00
clutter-rectangle.c Revert "[rectangle] Avoid modifying materials mid scene" 2009-06-30 17:13:38 +01:00
clutter-rectangle.h
clutter-score.c
clutter-score.h
clutter-script-parser.c script: Copy the JSON node in PropertyInfo 2010-01-05 10:55:28 +00:00
clutter-script-private.h behaviour: Implement the implicit alpha parsing 2009-11-06 11:39:30 +00:00
clutter-script.c script: Coding style clean-ups 2009-11-06 14:07:46 +00:00
clutter-script.h
clutter-scriptable.c
clutter-scriptable.h
clutter-shader-types.c Convert gint to GLints in the Shader types wrapper 2009-07-27 15:01:52 +01:00
clutter-shader-types.h
clutter-shader.c
clutter-shader.h
clutter-stage-manager.c docs: Documentation fixes 2009-10-19 12:01:38 +01:00
clutter-stage-manager.h docs: Annotate StageManager 2009-12-02 11:38:04 +00:00
clutter-stage-window.c [stage] Rework the Stage implementation class 2009-09-08 10:52:58 +01:00
clutter-stage-window.h [stage] Rework the Stage implementation class 2009-09-08 10:52:58 +01:00
clutter-stage.c stage: Add the delete-event signal 2010-01-12 15:58:27 +00:00
clutter-stage.h stage: Add the delete-event signal 2010-01-12 15:58:27 +00:00
clutter-text.c text: Zero out the cursor_pos member 2010-01-11 17:10:00 +00:00
clutter-text.h docs: Documentation fixes 2009-10-19 12:01:38 +01:00
clutter-texture.c texture: Remove reading the texture data back in ::unrealize() 2010-01-13 15:13:10 +00:00
clutter-texture.h
clutter-timeline.c [timeline] Account for clock roll backs between frames 2009-09-16 11:57:57 +01:00
clutter-timeline.h Remove the last few fixed-point entry points 2009-06-19 16:38:35 +01:00
clutter-timeout-interval.c
clutter-timeout-interval.h
clutter-timeout-pool.c
clutter-timeout-pool.h
clutter-types.h Add ActorBox animation methods 2009-12-11 23:48:58 +00:00
clutter-units.c Merge branch 'bug-1846' 2009-10-16 15:55:05 +01:00
clutter-units.h units: Cache the pixels value inside Units 2009-10-16 15:25:37 +01:00
clutter-util.c
clutter-util.h
clutter-version.h.in Add run-time version checks 2009-10-30 11:02:35 +00:00
clutter.h layout: Add BoxLayout, a single line layout manager 2009-10-14 11:31:48 +01:00
Makefile.am Add gcov support to the build 2010-01-13 17:15:06 +00:00