<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mutter.git/src/tests/clutter/interactive, branch main</title>
<subtitle>gitlab.gnome.org: GNOME/mutter.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/'/>
<entry>
<title>tests/clutter: Use a dummy actor for some interactive tests</title>
<updated>2023-01-30T13:17:19+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2022-10-13T16:59:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=64c3b824fa53ec83b7c48d85824c8592bf94f3b1'/>
<id>64c3b824fa53ec83b7c48d85824c8592bf94f3b1</id>
<content type='text'>
While completely untested, at least this makes it work "in theory"
again. Before it'd listen to signals on the stage, but have an incorrect
type signature to handle the test paint procedures, meaning it'd
probably crash or cause memory corruptions.

What was needed was a signal which in the callback the test could call
some cogl functions to paint on the framebuffer. While there is no such
signal on the stage, and the ClutterActor::paint signal (which they
probably used in the past) is long gone, lets add a "test actor" that is
just a wrapper that adds that paint signal with a paint context.

The tests that need it are changed to add this actor to the stage, and
to listen to the paint signal on the actor instead of incorrectly
listening on stage signals.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2807&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While completely untested, at least this makes it work "in theory"
again. Before it'd listen to signals on the stage, but have an incorrect
type signature to handle the test paint procedures, meaning it'd
probably crash or cause memory corruptions.

What was needed was a signal which in the callback the test could call
some cogl functions to paint on the framebuffer. While there is no such
signal on the stage, and the ClutterActor::paint signal (which they
probably used in the past) is long gone, lets add a "test actor" that is
just a wrapper that adds that paint signal with a paint context.

The tests that need it are changed to add this actor to the stage, and
to listen to the paint signal on the actor instead of incorrectly
listening on stage signals.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2807&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>clutter: Pass 'ClutterFrame' in all stage update signals</title>
<updated>2023-01-23T14:57:50+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2022-10-13T15:50:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=08b0e563d4d0088e19d24f3199626a2d27349d09'/>
<id>08b0e563d4d0088e19d24f3199626a2d27349d09</id>
<content type='text'>
That means before-update, prepare-paint, before-paint, paint-view, after-paint,
after-update. While yet to be used, it will be used as a transient frame
book keeping object, to maintain object and state that is only valid
during a frame dispatch.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2795&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
That means before-update, prepare-paint, before-paint, paint-view, after-paint,
after-update. While yet to be used, it will be used as a transient frame
book keeping object, to maintain object and state that is only valid
during a frame dispatch.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2795&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/interactive: Port to cogl_texture_2d_new_from_data</title>
<updated>2022-05-31T19:28:16+00:00</updated>
<author>
<name>Georges Basile Stavracas Neto</name>
<email>georges.stavracas@gmail.com</email>
</author>
<published>2022-03-31T16:05:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=0b47554f7420bd69a56270b6d4d35e494192215b'/>
<id>0b47554f7420bd69a56270b6d4d35e494192215b</id>
<content type='text'>
Same old story.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2355&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Same old story.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2355&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/interactive: Replace cogl_texture_new_from_file</title>
<updated>2022-05-31T19:25:11+00:00</updated>
<author>
<name>Georges Basile Stavracas Neto</name>
<email>georges.stavracas@gmail.com</email>
</author>
<published>2022-03-31T15:32:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=8f6469f6cb5b04f2ce5af5c19e855e1f251d76c4'/>
<id>8f6469f6cb5b04f2ce5af5c19e855e1f251d76c4</id>
<content type='text'>
The interactive tests are the last users use this deprecated API, so
port them to the appropriate alternatives - either CoglTexture2D or
CoglTexture2DSliced.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2355&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The interactive tests are the last users use this deprecated API, so
port them to the appropriate alternatives - either CoglTexture2D or
CoglTexture2DSliced.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2355&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/interactive: Drop test-cogl-image-convert</title>
<updated>2022-05-31T19:25:11+00:00</updated>
<author>
<name>Georges Basile Stavracas Neto</name>
<email>georges.stavracas@gmail.com</email>
</author>
<published>2022-03-31T15:30:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=ca0e467a3b0668c9bf9ce8efa770a0be20002fbd'/>
<id>ca0e467a3b0668c9bf9ce8efa770a0be20002fbd</id>
<content type='text'>
This test exercises a form of image conversion that isn't exposed in
the new CoglTexture2D APIs, which is about to be removed. Drop this
test.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2355&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This test exercises a form of image conversion that isn't exposed in
the new CoglTexture2D APIs, which is about to be removed. Drop this
test.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2355&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/interactive: Replace most CoglHandles by CoglTextures</title>
<updated>2022-05-31T19:25:11+00:00</updated>
<author>
<name>Georges Basile Stavracas Neto</name>
<email>georges.stavracas@gmail.com</email>
</author>
<published>2022-03-31T14:46:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=da8353dbcd3dd1e258786499e16b870ae2b034b6'/>
<id>da8353dbcd3dd1e258786499e16b870ae2b034b6</id>
<content type='text'>
There are 2 remaining CoglHandles, but they're for shaders, which
actually return CoglHandle as part of the API signature.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2355&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are 2 remaining CoglHandles, but they're for shaders, which
actually return CoglHandle as part of the API signature.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2355&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/interactive: Drop empty test_coglbox_finalize</title>
<updated>2022-05-31T19:25:11+00:00</updated>
<author>
<name>Georges Basile Stavracas Neto</name>
<email>georges.stavracas@gmail.com</email>
</author>
<published>2022-03-31T14:40:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=9f3191fe9c7e082584186c79fcaa3ce63a1eaecc'/>
<id>9f3191fe9c7e082584186c79fcaa3ce63a1eaecc</id>
<content type='text'>
All of them were devoid of code.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2355&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All of them were devoid of code.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2355&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/interactive: Make TestCoglbox final</title>
<updated>2022-05-31T19:25:11+00:00</updated>
<author>
<name>Georges Basile Stavracas Neto</name>
<email>georges.stavracas@gmail.com</email>
</author>
<published>2022-03-31T14:38:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=dbae8d7aa7eb786b84e0c2f7309fade4c74fff81'/>
<id>dbae8d7aa7eb786b84e0c2f7309fade4c74fff81</id>
<content type='text'>
This cleans up a lot of boilerplate code.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2355&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This cleans up a lot of boilerplate code.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2355&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/interactive: Cleanup tabs</title>
<updated>2022-05-31T19:25:11+00:00</updated>
<author>
<name>Georges Basile Stavracas Neto</name>
<email>georges.stavracas@gmail.com</email>
</author>
<published>2022-03-31T14:24:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=83e0553534031e7a3899edb525ed4436476dfa80'/>
<id>83e0553534031e7a3899edb525ed4436476dfa80</id>
<content type='text'>
I also sneaked in some code style fixes on the lines that were
touched. Judge me freely, it's all for the greater good.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2355&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I also sneaked in some code style fixes on the lines that were
touched. Judge me freely, it's all for the greater good.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2355&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Move away from clutter_event_get_source()</title>
<updated>2022-03-04T10:58:28+00:00</updated>
<author>
<name>Carlos Garnacho</name>
<email>carlosg@gnome.org</email>
</author>
<published>2022-02-25T12:06:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=5dd818cf1a83165e20e5aa0318d8410e044f1972'/>
<id>5dd818cf1a83165e20e5aa0318d8410e044f1972</id>
<content type='text'>
The target actor as seen by the stage is equivalent, so use that.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2311&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The target actor as seen by the stage is equivalent, so use that.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2311&gt;
</pre>
</div>
</content>
</entry>
</feed>
