<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mutter.git/cogl, branch document-button-values</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>cogl/onscreen/egl: Remove platform pointer</title>
<updated>2021-03-08T15:02:30+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2021-03-08T10:08:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=ec14f51ae3917d4f3d5f16b0c8c69b780f928568'/>
<id>ec14f51ae3917d4f3d5f16b0c8c69b780f928568</id>
<content type='text'>
It's not used anymore, so remove it.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1759&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's not used anymore, so remove it.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1759&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cogl/frame-info: Add VSYNC flag</title>
<updated>2021-03-08T09:48:11+00:00</updated>
<author>
<name>Ivan Molodetskikh</name>
<email>yalterz@gmail.com</email>
</author>
<published>2021-01-30T18:14:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=47183a94eb36b196212401e9e5473a8b3915ca2b'/>
<id>47183a94eb36b196212401e9e5473a8b3915ca2b</id>
<content type='text'>
Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1484&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1484&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cogl/frame-info: Add ZERO_COPY flag</title>
<updated>2021-03-08T09:48:11+00:00</updated>
<author>
<name>Ivan Molodetskikh</name>
<email>yalterz@gmail.com</email>
</author>
<published>2021-01-28T08:17:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=9123aa4e848e4c65ff302321b11566508ac50011'/>
<id>9123aa4e848e4c65ff302321b11566508ac50011</id>
<content type='text'>
Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1484&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1484&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cogl/frame-info: Add sequence</title>
<updated>2021-03-08T09:48:11+00:00</updated>
<author>
<name>Ivan Molodetskikh</name>
<email>yalterz@gmail.com</email>
</author>
<published>2021-01-30T20:27:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=c96fb181abd3234784e6a77a87d46cef17699874'/>
<id>c96fb181abd3234784e6a77a87d46cef17699874</id>
<content type='text'>
It will be used for the presentation-time Wayland protocol.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1484&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It will be used for the presentation-time Wayland protocol.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1484&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cogl: Remove get_monotonic_time_ns()</title>
<updated>2021-03-08T09:48:11+00:00</updated>
<author>
<name>Ivan Molodetskikh</name>
<email>yalterz@gmail.com</email>
</author>
<published>2020-10-09T08:21:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=5d8cb2786b096916ecd177abed0d63f997902c05'/>
<id>5d8cb2786b096916ecd177abed0d63f997902c05</id>
<content type='text'>
It's no longer needed. Everything else uses and assumes
g_get_monotonic_time().

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1484&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's no longer needed. Everything else uses and assumes
g_get_monotonic_time().

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1484&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cogl: Remove cogl_get_clock_time()</title>
<updated>2021-03-08T09:48:11+00:00</updated>
<author>
<name>Ivan Molodetskikh</name>
<email>yalterz@gmail.com</email>
</author>
<published>2020-10-09T08:20:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=4ba2df0bd2e62fd623f50e4c0e2445a9515fa1dc'/>
<id>4ba2df0bd2e62fd623f50e4c0e2445a9515fa1dc</id>
<content type='text'>
It's no longer used.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1484&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's no longer used.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1484&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cogl: Make presentation time always MONOTONIC</title>
<updated>2021-03-08T09:48:11+00:00</updated>
<author>
<name>Ivan Molodetskikh</name>
<email>yalterz@gmail.com</email>
</author>
<published>2021-01-30T20:14:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=48101648850c841317e1c04e6ebc13f2adae143d'/>
<id>48101648850c841317e1c04e6ebc13f2adae143d</id>
<content type='text'>
This concerns only the cases when the presentation timestamp is received
directly from the device (from KMS or from GLX). In the majority of
cases this timestamp is already MONOTONIC. When it isn't, after this
commit, the current value of the MONOTONIC clock is sampled instead.

The alternative is to store the clock id alongside the timestamp, with
possible values of MONOTONIC, REALTIME (from KMS) and GETTIMEOFDAY (from
GLX; this might be the same as REALTIME, I'm not sure), and then
"convert" the timestamp to MONOTONIC when needed. An example of such a
conversion was done in compositor.c (removed in this commit). It would
also be needed for the presentation-time Wayland protocol. However, it
seems that the vast majority of up-to-date systems are using MONOTONIC
anyway, making this effort not justified.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1484&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This concerns only the cases when the presentation timestamp is received
directly from the device (from KMS or from GLX). In the majority of
cases this timestamp is already MONOTONIC. When it isn't, after this
commit, the current value of the MONOTONIC clock is sampled instead.

The alternative is to store the clock id alongside the timestamp, with
possible values of MONOTONIC, REALTIME (from KMS) and GETTIMEOFDAY (from
GLX; this might be the same as REALTIME, I'm not sure), and then
"convert" the timestamp to MONOTONIC when needed. An example of such a
conversion was done in compositor.c (removed in this commit). It would
also be needed for the presentation-time Wayland protocol. However, it
seems that the vast majority of up-to-date systems are using MONOTONIC
anyway, making this effort not justified.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1484&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cogl: Report presentation time in microseconds</title>
<updated>2021-03-08T09:48:10+00:00</updated>
<author>
<name>Ivan Molodetskikh</name>
<email>yalterz@gmail.com</email>
</author>
<published>2021-01-28T07:18:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=d8606829c4571a0f2c7b18897ff26c1b73fa2ddf'/>
<id>d8606829c4571a0f2c7b18897ff26c1b73fa2ddf</id>
<content type='text'>
KMS and GLX device timestamps have microsecond precision, and whenever
we sample the time ourselves it's not the real presentation time anyway,
so nanosecond precision for that case is unnecessary.

The presentation timestamp in ClutterFrameInfo is in microseconds, too,
so this commit makes them have the same precision.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1484&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
KMS and GLX device timestamps have microsecond precision, and whenever
we sample the time ourselves it's not the real presentation time anyway,
so nanosecond precision for that case is unnecessary.

The presentation timestamp in ClutterFrameInfo is in microseconds, too,
so this commit makes them have the same precision.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1484&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cogl/frame-info: Add HW_CLOCK flag</title>
<updated>2021-03-08T09:48:10+00:00</updated>
<author>
<name>Ivan Molodetskikh</name>
<email>yalterz@gmail.com</email>
</author>
<published>2021-01-28T07:03:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=9d54ef3994edd61c80f7f9535da3969a47476302'/>
<id>9d54ef3994edd61c80f7f9535da3969a47476302</id>
<content type='text'>
A flag indicating whether the presentation timestamp was provided by the
display hardware (rather than sampled in user space).

It will be used for the presentation-time Wayland protocol.

This is definitely the case for page_flip_handler(), and I'm assuming
this is also the case for the two instances in the GLX code.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1484&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A flag indicating whether the presentation timestamp was provided by the
display hardware (rather than sampled in user space).

It will be used for the presentation-time Wayland protocol.

This is definitely the case for page_flip_handler(), and I'm assuming
this is also the case for the two instances in the GLX code.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1484&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cogl: Stop using GSlice</title>
<updated>2021-02-22T12:51:30+00:00</updated>
<author>
<name>Robert Mader</name>
<email>robert.mader@posteo.de</email>
</author>
<published>2020-10-18T11:46:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=df4508e8cf990762a6f3d1bbc8fe2256efb7c533'/>
<id>df4508e8cf990762a6f3d1bbc8fe2256efb7c533</id>
<content type='text'>
It has been inofficially deprecated for years, is known to cause issues
with valgrind and potentially hides memory corruption.
Lets stop using it.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1512&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It has been inofficially deprecated for years, is known to cause issues
with valgrind and potentially hides memory corruption.
Lets stop using it.

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