After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 759074 - Port cairo test to ClutterCanvas
Port cairo test to ClutterCanvas
Status: RESOLVED OBSOLETE
Product: clutter
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2015-12-05 23:20 UTC by Lionel Landwerlin
Modified: 2021-06-10 11:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test: interactive: port cairo flowers to ClutterCanvas (2.22 KB, patch)
2015-12-05 23:20 UTC, Lionel Landwerlin
committed Details | Review
test: interactive: port cairo clock to ClutterCanvas (3.31 KB, patch)
2015-12-05 23:20 UTC, Lionel Landwerlin
committed Details | Review
test: interactive: port easing test to ClutterCanvas (2.66 KB, patch)
2015-12-07 00:41 UTC, Lionel Landwerlin
none Details | Review
test: interactive: port easing test to ClutterCanvas (2.61 KB, patch)
2015-12-07 00:42 UTC, Lionel Landwerlin
none Details | Review

Description Lionel Landwerlin 2015-12-05 23:20:17 UTC
While doing some tests with tiled based rendering I found myself wanting to
run some tests. So here is a port of a couple of tests using the old
deprecated ClutterCairoTexture to ClutterCanvas.
Comment 1 Lionel Landwerlin 2015-12-05 23:20:22 UTC
Created attachment 316825 [details] [review]
test: interactive: port cairo flowers to ClutterCanvas
Comment 2 Lionel Landwerlin 2015-12-05 23:20:27 UTC
Created attachment 316826 [details] [review]
test: interactive: port cairo clock to ClutterCanvas
Comment 3 Emmanuele Bassi (:ebassi) 2015-12-06 00:57:35 UTC
Review of attachment 316825 [details] [review]:

Looks good, with one minimal change.

::: tests/interactive/test-cairo-flowers.c
@@ +142,3 @@
+  ClutterContent *canvas;
+
+{

You need to unref the canvas instance, otherwise you're going to leak it.
Comment 4 Emmanuele Bassi (:ebassi) 2015-12-06 00:58:41 UTC
Review of attachment 316826 [details] [review]:

Looks good.
Comment 5 Lionel Landwerlin 2015-12-07 00:00:38 UTC
Review of attachment 316825 [details] [review]:

Pushed to master with your review.

::: tests/interactive/test-cairo-flowers.c
@@ +142,3 @@
+  ClutterContent *canvas;
+
+{

Done.
Comment 6 Lionel Landwerlin 2015-12-07 00:00:53 UTC
Review of attachment 316826 [details] [review]:

Pushed to master.
Comment 7 Lionel Landwerlin 2015-12-07 00:41:44 UTC
Created attachment 316860 [details] [review]
test: interactive: port easing test to ClutterCanvas

https://bugzilla.gnome.org/show_bug.cgi?id=759080
Comment 8 Lionel Landwerlin 2015-12-07 00:42:43 UTC
Created attachment 316861 [details] [review]
test: interactive: port easing test to ClutterCanvas
Comment 9 André Klapper 2021-06-10 11:34:11 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of clutter, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a ticket at
  https://gitlab.gnome.org/GNOME/clutter/-/issues/

Thank you for your understanding and your help.