summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* desaturate-effect: Use the new CoglSnippet APIwip/neil/effect-snippetsNeil Roberts2011-11-281-91/+69
|
* offscreen-effect: Add clutter_offscreen_effect_get_textureNeil Roberts2011-11-283-30/+59
| | | | | | | Sometimes a subclass of ClutterOffscreenEffect wants to paint with a completely custom material. In that case it is awkward to modify the material returned owned by ClutterOffscreenEffect so it makes more sense to just get the texture and manage its own material.
* Fix building with profiling enabledNeil Roberts2011-11-281-1/+1
| | | | | | | There was an #ifdef'd section of code for profiling that was using the wrong variable name so it would not build. Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
* offscreen-effect: Track the size of the actor separatelyNeil Roberts2011-11-281-2/+15
| | | | | | | | | | | | | | | Previously the offscreen effect was keeping track of the size of the texture so that it could detect when a different size is requested and create a new texture. However this breaks if a subclass overrides create_texture to make the texture bigger because in that case the size of the texture will always be different from the calculated size of the actor. This patch makes it also track the size of the fbo that was requested before being passed through create_texture() and it instead uses that to detect when a new FBO is needed. https://bugzilla.gnome.org/show_bug.cgi?id=665040 Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
* conform: Add markers parsing to the timeline unitEmmanuele Bassi2011-11-274-0/+53
| | | | | We should check that the newly added custom parser for timeline markers is working as intended.
* timeline: Add custom parser for "markers"Emmanuele Bassi2011-11-271-32/+230
| | | | | | | | | | | | | | It should be possible to define markers in ClutterScript when describing a ClutterTimeline. The syntax is a trivial: "markers" : [ { "name", <marker-name>, "time" : <msecs> } ] While at it, we should document it inside the API reference, as well as fleshing out the ClutterTimeline description.
* Updated Slovenian translationMatej Urbančič2011-11-251-439/+453
|
* script: Don't skip introspection for connect_signals_full()Bastian Winkler2011-11-251-2/+2
| | | | | | | To allow language bindings to properly override Script.connect_signals() they'll need access access to Script.connect_signals_full(). Thanks to Jeremy Moles for reporting.
* pc: Fix unexpanded variablesEmmanuele Bassi2011-11-231-2/+2
| | | | PkgConfig doesn't like those.
* Updated Romanian translationLucian Adrian Grijincu2011-11-221-0/+2262
|
* Post-release version bump to 1.9.3Emmanuele Bassi2011-11-221-1/+1
|
* Release Clutter 1.9.2 (snapshot)1.9.2Emmanuele Bassi2011-11-221-1/+1
|
* build: Fix distcheckEmmanuele Bassi2011-11-223-43/+42
|
* Update NEWS fileEmmanuele Bassi2011-11-221-0/+96
|
* conform: Bail out GLSL-based testsEmmanuele Bassi2011-11-222-0/+9
| | | | If we don't have GLSL support on the platform.
* docs: Fixes for the API referenceEmmanuele Bassi2011-11-223-0/+20
|
* Add missing includeFlorian Müllner2011-11-181-0/+1
| | | | | clutter-profile.h used to be included via clutter-debug.h, but no more (8a4dc3c011) ...
* debug: Simple whitespace cleanupsEmmanuele Bassi2011-11-181-8/+6
|
* debug: Clean up profile/debug symbolsEmmanuele Bassi2011-11-184-37/+25
| | | | | | | Since we have a _clutter_debug_message() function compiled in unconditionally we have no further need for the equivalent conditional version defined in clutter-profile.[ch]: we can simply do the work in one function.
* debug: Remove CLUTTER_GLERREmmanuele Bassi2011-11-181-9/+0
| | | | | The macro hasn't been used in a long while, as Cogl had its own version of it; and Clutter hasn't been using pure GL for some time now.
* debug: Remove CLUTTER_MARKEmmanuele Bassi2011-11-183-15/+0
| | | | The debug macro is seldom used, and it's a bit lame at that.
* conform/cogl-pixel-buffer: Remove unused variableEmmanuele Bassi2011-11-181-5/+0
|
* cairo-texture: Skip ::draw emission for 0x0 surfacesEmmanuele Bassi2011-11-181-0/+6
| | | | This also avoids an assertion failure.
* Fix 'make dist'Rico Tzschichholz2011-11-181-5/+12
|
* tests: Remove some trailing spacesRico Tzschichholz2011-11-181-3/+4
|
* build: Clean up the VS build rulesEmmanuele Bassi2011-11-184-33/+32
| | | | | Some minor cleanups of the Visual Studio rules in the interactive and conformance test suites.
* build: Make sure test-unit-names.h is generatedRico Tzschichholz2011-11-181-1/+1
|
* Merge branch 'master' into msvc-support-mastermsvc-support-masterChun-wei Fan2011-11-174-396/+10
|\
| * docs: Document the DeformEffect wrap-mode changeEmmanuele Bassi2011-11-161-0/+10
| | | | | | | | | | | | | | | | | | The change from CoglVertexBuffer to CoglPrimitive led to a change of the default wrap-mode for the pipeline. Since using REPEAT can introduce artifacts when sampling outside the [ 0, 1 ] texture coordinates range, and since the default wrap mode was not documented anyway, we want to keep the change from REPEAT to CLAMP, but it's worth adding an entry in the release notes.
| * interactive: Remove test-modelEmmanuele Bassi2011-11-162-238/+0
| | | | | | | | The model API is already tested in the conformance test suite.
| * interactive: Remove test-unprojectEmmanuele Bassi2011-11-162-158/+0
| | | | | | | | | | | | | | The coordinate transformation code is exercised throughout the conformance and interactive tests, so there's no need to have a specific interactive test that doesn't do anything more complicated than calling clutter_actor_transform_stage_point().
* | Merge branch 'master' into msvc-support-masterChun-wei Fan2011-11-1611-257/+299
|\ \ | |/
| * Deprecate some more old, useless APIEmmanuele Bassi2011-11-155-13/+29
| | | | | | | | | | | | | | | | | | We still ship clutter_get_show_fps() and clutter_get_debug_enabled() as public entry points. Yet another case of missing API review prior to the 1.0 release, so really the bucket stops around my desk. Let's deprecate these two useless functions, and reduce the API footprint of Clutter.
| * Deprecate clutter_get_timestamp()Emmanuele Bassi2011-11-153-3/+17
| | | | | | | | | | | | This function should have never been made public in the first place; its output depends on a configuration option of Clutter, and it's basically useful only for internal debugging.
| * Rework debug outputEmmanuele Bassi2011-11-154-39/+54
| | | | | | | | | | | | Make it consistent across the various build options (with or without profiling enabled), and add a timestamp using the monotonic clock to every debug message.
| * Remove CLUTTER_TIMESTAMP debug macroEmmanuele Bassi2011-11-154-26/+10
| | | | | | | | | | | | It's pretty much unused, and it doesn't print out really informative messages. We should make CLUTTER_NOTE print out a decent timestamp instead.
| * Remove the GTimer used by clutter_get_timestamp()Emmanuele Bassi2011-11-152-22/+2
| | | | | | | | Use g_get_monotonic_time() instead, which does the right thing.
| * texture: Do not use clutter_get_timestamp()Emmanuele Bassi2011-11-151-4/+3
| | | | | | | | | | | | The clutter_get_timestamp() output depends on whether Clutter was compiled with debugging support — it's meant to be used only by the debugging notes, and it should not be used for anything else.
| * deform-effect: Use CoglPipeline instead of setting legacy stateNeil Roberts2011-11-151-108/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of calling cogl_set_depth_test_enabled and cogl_set_backface_culling_enabled ClutterDeformEffect now uses the experimental CoglPipeline API. Those global state functions will soon be deprecated in Cogl and they are implemented by flushing a temporary override pipline which isn't ideal. Using the new culling API we can also avoid having a separate buffer of indices for the back of the texture by just changing the culling mode to cull front baces instead of the back. https://bugzilla.gnome.org/show_bug.cgi?id=663636
| * deform-effect: Use CoglPrimitives instead of CoglVertexBuffersNeil Roberts2011-11-151-122/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes ClutterDeformEffect to use a CoglAttributeBuffer with a CoglPrimitive instead of the old CoglVertexBuffer. The old vertex buffer code is now implemented in terms of the attribute buffer code and it will eventually be deprecated. Using CoglPrimitives should be slightly more efficient. This also changes the struct we store the vertices to be CoglVertexP3T2C4 instead of CoglTextureVertex. The latter is technically not compatible with neither vertex buffers nor attribute buffers because it contains a CoglColor and the internal members of that are private so it is not valid to assume it contains 4 bytes and use that as an attribute. Also it contains padding so it ends up redundantly creating a larger buffer. CoglTextureVertex is in the public API for the deform_vertex virtual so we still have to maintain that. Instead of directly manipulating the array to upload, the application is now passed a stack allocated temporary struct which gets converted to a CoglVertexP3T2C4. This also means that we can map the buffer as write only and still let the application read-write the vertex. The paint debug code to draw line strips for the deform mesh was previously trying to set a red source material. However this wasn't working because the material color was being overwritten by the color attribute in the vertex buffer. This patch fixes that by creating a seperate primitive for the lines and not adding the color attribute. The lines code was also drawing both the front and back indices. I don't think that entirely makes sense so I've just changed it to draw only the front indices. Maybe painting both would make more sense if backface culling was still enabled. https://bugzilla.gnome.org/show_bug.cgi?id=663636
* | Visual C++ support updateChun-wei Fan2011-11-1528-0/+2731
| | | | | | | | Add Projects to compile the performance test files.
* | test-picking.c: Use G_PI rather than M_PIChun-wei Fan2011-11-151-4/+4
| | | | | | | | M_PI is not universally available...
* | Update interactive/conformance .bat namesChun-wei Fan2011-11-152-6/+6
| | | | | | | | Add a -clutter suffix to avoid confustion with others, such as COGL.
* | Fix up VS property sheetsChun-wei Fan2011-11-152-2/+2
| | | | | | | | | | Should be ..\..\..\clutter\deprecated\clutter-keysyms.h, not ..\..\..\clutter\deprecated\clutter-keysyms-deprecated.h
* | Update Visual C++ projectsChun-wei Fan2011-11-152-16/+16
| | | | | | | | | | | | Update output DLL/LIB names to be consistent with the autotools output, due to the newl-introduced multi-backend feature (only the Win32 backend is supported here for now, GDK3 support will be added when it stabilizes)
* | Merge branch 'master' into msvc-support-masterChun-wei Fan2011-11-153-10/+15
|\ \ | |/
| * Store the master clock pointer in the main contextEmmanuele Bassi2011-11-142-6/+7
| | | | | | | | Let's try and move all singletons into ClutterMainContext.
| * stage-manager: Store the stage manager into the main contextEmmanuele Bassi2011-11-142-4/+8
| | | | | | | | | | Use the main context to store the stage manager singleton, instead of a static pointer inside clutter-stage-manager.c.
* | Merge branch 'master' into msvc-support-masterChun-wei Fan2011-11-14135-518/+944
|\ \ | |/
| * deform-effect: do not redraw actor on invalidateLionel Landwerlin2011-11-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | When invalidating the deform effect, we are invalidating the vertices shaping the deformation of an actor. Therefore, there is no need to trigger a redraw of the associated actor, we can just repaint the effect. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@linux.intel.com> https://bugzilla.gnome.org/show_bug.cgi?id=663720