<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mutter.git/cogl, branch fix--replace</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/trace: Add getter for trace enabled state</title>
<updated>2021-07-29T13:16:48+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2021-02-02T22:56:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=6d64a43b1f60e38bde8dccad2fda9ea12963dda4'/>
<id>6d64a43b1f60e38bde8dccad2fda9ea12963dda4</id>
<content type='text'>
Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1700&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/1700&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cogl/trace: Add scoped trace anchors</title>
<updated>2021-07-29T13:16:48+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2021-02-02T22:32:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=8bd75747b1ee565f767a5045583649b8f0ce819a'/>
<id>8bd75747b1ee565f767a5045583649b8f0ce819a</id>
<content type='text'>
A trace "anchor" is a trace head (CoglTraceHead) that is placed in a
certain scope (e.g. function scope), but then only triggered in another
scope, e.g. a condition.

This makes it possible to have optional trace instrumentation, that is
enabled only given e.g. a debug flag.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1700&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A trace "anchor" is a trace head (CoglTraceHead) that is placed in a
certain scope (e.g. function scope), but then only triggered in another
scope, e.g. a condition.

This makes it possible to have optional trace instrumentation, that is
enabled only given e.g. a debug flag.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1700&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cogl/trace: Add way to add a description to trace</title>
<updated>2021-07-29T13:16:48+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2021-02-02T22:30:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=b1ac1327cdf85c7b70e630660c8fcf6b630b21da'/>
<id>b1ac1327cdf85c7b70e630660c8fcf6b630b21da</id>
<content type='text'>
This is useful to pass more complex information, generated at runtime.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1700&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is useful to pass more complex information, generated at runtime.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1700&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cogl/trace: Fix argument naming</title>
<updated>2021-07-29T13:16:48+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2021-02-02T22:28:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=dd40e35ab2dd5d79634db1459ee742ec463a9b38'/>
<id>dd40e35ab2dd5d79634db1459ee742ec463a9b38</id>
<content type='text'>
The argument passed to COGL_TRACE() and friends is the "name", not the
optional "description". Clean this up so we can add description handling
too.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1700&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The argument passed to COGL_TRACE() and friends is the "name", not the
optional "description". Clean this up so we can add description handling
too.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1700&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cogl/gl: Handle bogus glGetString(GL_RENDERER) return values</title>
<updated>2021-07-16T16:17:04+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2021-07-14T14:48:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=e4375046e04111fb569ac1686233b40ba75849f7'/>
<id>e4375046e04111fb569ac1686233b40ba75849f7</id>
<content type='text'>
Seems glGetString(GL_RENDERER) in the wild can return NULL, causing
issues with strstr(). Handle this more gracefully by using
g_return_val_if_fail(), that assumes a NULL renderer means software
rendering.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1931&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Seems glGetString(GL_RENDERER) in the wild can return NULL, causing
issues with strstr(). Handle this more gracefully by using
g_return_val_if_fail(), that assumes a NULL renderer means software
rendering.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1931&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cogl: Store CPU and GPU rendering timestamps in frame info</title>
<updated>2021-07-13T08:09:42+00:00</updated>
<author>
<name>Ivan Molodetskikh</name>
<email>yalterz@gmail.com</email>
</author>
<published>2021-01-06T12:39:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=f1024564a2651dda8beee5f39682369eb32dfade'/>
<id>f1024564a2651dda8beee5f39682369eb32dfade</id>
<content type='text'>
Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1762&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/1762&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cogl: Add CPU swap time and GPU rendering query to CoglFrameInfo</title>
<updated>2021-07-13T08:09:42+00:00</updated>
<author>
<name>Ivan Molodetskikh</name>
<email>yalterz@gmail.com</email>
</author>
<published>2021-01-06T12:37:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=8c258d1de1c1b544b170ee971dde7037ec3f4346'/>
<id>8c258d1de1c1b544b170ee971dde7037ec3f4346</id>
<content type='text'>
Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1762&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/1762&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cogl: Add GPU timestamp querying utilities</title>
<updated>2021-07-13T08:09:42+00:00</updated>
<author>
<name>Ivan Molodetskikh</name>
<email>yalterz@gmail.com</email>
</author>
<published>2021-05-15T10:56:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=fbe6740df121db60e1dbe0fbc6b01a72a6401461'/>
<id>fbe6740df121db60e1dbe0fbc6b01a72a6401461</id>
<content type='text'>
Add utilities that allow getting the current GPU timestamp and creating
a query which completes upon completion of all operations currently
submitted on a framebuffer. Combined, these two allow measuring how long
it took the GPU to finish rendering something to a framebuffer.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1762&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add utilities that allow getting the current GPU timestamp and creating
a query which completes upon completion of all operations currently
submitted on a framebuffer. Combined, these two allow measuring how long
it took the GPU to finish rendering something to a framebuffer.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1762&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cogl: Add prototypes for getting timestamp queries</title>
<updated>2021-07-13T08:09:42+00:00</updated>
<author>
<name>Ivan Molodetskikh</name>
<email>yalterz@gmail.com</email>
</author>
<published>2021-01-06T12:32:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=cc08af48f69e2e0b7815d2329387c72d0e13f4fb'/>
<id>cc08af48f69e2e0b7815d2329387c72d0e13f4fb</id>
<content type='text'>
Will be used for measuring GPU rendering duration.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1762&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Will be used for measuring GPU rendering duration.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1762&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cogl/renderer: Add API to bind the right EGL API</title>
<updated>2021-07-07T19:03:26+00:00</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2021-04-13T13:39:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mutter.git/commit/?id=5e45dc15b6c9ac5a109a4521637afa406da580ca'/>
<id>5e45dc15b6c9ac5a109a4521637afa406da580ca</id>
<content type='text'>
We need to call eglBindAPI() with GLES before we setup the secondary
GPU blit. We've been lucky not really needing this, as it has been
GLES default, which is what the secondary blit uses, in order to not
depend on the default, or if we want to create the secondary blit
objects after initializing cogl, we must make sure to bind the right API
at the right time.

As we need to bind the GLES API when setting up the secondary blit, we
need to make sure that cogl gets the right API bound when that's done,
so Cogl can continue working. For this, add a "bind_api()" method on the
CoglRenderer object, that will know what API is correct to bind.

Part-of: &lt;https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1828&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need to call eglBindAPI() with GLES before we setup the secondary
GPU blit. We've been lucky not really needing this, as it has been
GLES default, which is what the secondary blit uses, in order to not
depend on the default, or if we want to create the secondary blit
objects after initializing cogl, we must make sure to bind the right API
at the right time.

As we need to bind the GLES API when setting up the secondary blit, we
need to make sure that cogl gets the right API bound when that's done,
so Cogl can continue working. For this, add a "bind_api()" method on the
CoglRenderer object, that will know what API is correct to bind.

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