<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gtk+.git, branch avoid-gl-texture-download</title>
<subtitle>gitlab.gnome.org: GNOME/gtk.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/gtk+.git/'/>
<entry>
<title>gsk: Avoid downloading GL textures when possible</title>
<updated>2020-09-27T01:55:28+00:00</updated>
<author>
<name>Matthias Clasen</name>
<email>mclasen@redhat.com</email>
</author>
<published>2020-09-27T01:55:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/gtk+.git/commit/?id=9ca9f42452700b29ccbe40449127018d7077fc7c'/>
<id>9ca9f42452700b29ccbe40449127018d7077fc7c</id>
<content type='text'>
I found that the gears demo was spending 40% cpu
downloading a GL texture every frame, only to
upload it again to another context.

While the GSK rendering and the GtkGLArea use different
GL contexts, they are (usually) connected by sharing data
with the same global context, so we can just use the
texture without the download/upload dance. This brings
gears down to &lt; 10% cpu.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I found that the gears demo was spending 40% cpu
downloading a GL texture every frame, only to
upload it again to another context.

While the GSK rendering and the GtkGLArea use different
GL contexts, they are (usually) connected by sharing data
with the same global context, so we can just use the
texture without the download/upload dance. This brings
gears down to &lt; 10% cpu.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'BUG_gtktreeview_headers_focus_on_click_GTK4' into 'master'</title>
<updated>2020-09-26T22:50:23+00:00</updated>
<author>
<name>Matthias Clasen</name>
<email>mclasen@redhat.com</email>
</author>
<published>2020-09-26T22:50:23+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/gtk+.git/commit/?id=92e551f8958b917885579a6b2cf887aa9546465a'/>
<id>92e551f8958b917885579a6b2cf887aa9546465a</id>
<content type='text'>
GtkTreeviewColumn: don't focus-on-click header buttons

See merge request GNOME/gtk!1806</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GtkTreeviewColumn: don't focus-on-click header buttons

See merge request GNOME/gtk!1806</pre>
</div>
</content>
</entry>
<entry>
<title>testupload: Test more formats</title>
<updated>2020-09-26T21:26:12+00:00</updated>
<author>
<name>Matthias Clasen</name>
<email>mclasen@redhat.com</email>
</author>
<published>2020-09-26T21:26:12+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/gtk+.git/commit/?id=593907f7b0ae5b573138b5de8fc1542d7b0c4b30'/>
<id>593907f7b0ae5b573138b5de8fc1542d7b0c4b30</id>
<content type='text'>
Copy the format conversion code from GdkMemoryTexture
so we can produce all formats, and test them all.

The upload fast paths assume that the stride is a
multiple of four, so some of the padding values cause
it to fail. Apart from that, things seem to work for
all combinations.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Copy the format conversion code from GdkMemoryTexture
so we can produce all formats, and test them all.

The upload fast paths assume that the stride is a
multiple of four, so some of the padding values cause
it to fail. Apart from that, things seem to work for
all combinations.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'matthiasc/for-master' into 'master'</title>
<updated>2020-09-26T14:00:32+00:00</updated>
<author>
<name>Matthias Clasen</name>
<email>mclasen@redhat.com</email>
</author>
<published>2020-09-26T14:00:32+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/gtk+.git/commit/?id=34ec226852d8f670270ba5002e85c8791b1e6435'/>
<id>34ec226852d8f670270ba5002e85c8791b1e6435</id>
<content type='text'>
Matthiasc/for master

See merge request GNOME/gtk!2626</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Matthiasc/for master

See merge request GNOME/gtk!2626</pre>
</div>
</content>
</entry>
<entry>
<title>Add a test for various texture uploads</title>
<updated>2020-09-26T13:20:00+00:00</updated>
<author>
<name>Matthias Clasen</name>
<email>mclasen@redhat.com</email>
</author>
<published>2020-09-26T03:02:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/gtk+.git/commit/?id=d56ad7c40cfa971d24fc093d99163d270d19b226'/>
<id>d56ad7c40cfa971d24fc093d99163d270d19b226</id>
<content type='text'>
Create textures with various characteristics (alpha, premultiplication,
stride) that trigger different code paths in the gl texture upload
function, and show the resulting images. If all goes well, they all
should look the same.

On my system, this tests texture upload for memory formats
GDK_MEMORY_B8G8R8A8_PREMULTIPLIED, GDK_MEMORY_R8G8B8A8, and
GDK_MEMORY_R8G8B8, and it works with both gl and gles.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Create textures with various characteristics (alpha, premultiplication,
stride) that trigger different code paths in the gl texture upload
function, and show the resulting images. If all goes well, they all
should look the same.

On my system, this tests texture upload for memory formats
GDK_MEMORY_B8G8R8A8_PREMULTIPLIED, GDK_MEMORY_R8G8B8A8, and
GDK_MEMORY_R8G8B8, and it works with both gl and gles.
</pre>
</div>
</content>
</entry>
<entry>
<title>NEWS: Updates</title>
<updated>2020-09-26T13:04:42+00:00</updated>
<author>
<name>Matthias Clasen</name>
<email>mclasen@redhat.com</email>
</author>
<published>2020-09-26T01:27:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/gtk+.git/commit/?id=ae09e20e8a19ab67f10c7341fcd721dc3c70171d'/>
<id>ae09e20e8a19ab67f10c7341fcd721dc3c70171d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'fix-texture-upload-more' into 'master'</title>
<updated>2020-09-26T12:52:25+00:00</updated>
<author>
<name>Matthias Clasen</name>
<email>mclasen@redhat.com</email>
</author>
<published>2020-09-26T12:52:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/gtk+.git/commit/?id=54944c9cea983669c571861e0ca15f25d0e4b8c3'/>
<id>54944c9cea983669c571861e0ca15f25d0e4b8c3</id>
<content type='text'>
More texture upload fixes

Closes #3198

See merge request GNOME/gtk!2624</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
More texture upload fixes

Closes #3198

See merge request GNOME/gtk!2624</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'matthiasc/for-master' into 'master'</title>
<updated>2020-09-26T02:02:13+00:00</updated>
<author>
<name>Matthias Clasen</name>
<email>mclasen@redhat.com</email>
</author>
<published>2020-09-26T02:02:13+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/gtk+.git/commit/?id=fe8986f2d51605a6ff11d015b0adbea45a8fbf23'/>
<id>fe8986f2d51605a6ff11d015b0adbea45a8fbf23</id>
<content type='text'>
gl: Make debug spew more complete

Closes #3197

See merge request GNOME/gtk!2623</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gl: Make debug spew more complete

Closes #3197

See merge request GNOME/gtk!2623</pre>
</div>
</content>
</entry>
<entry>
<title>More texture upload fixes</title>
<updated>2020-09-26T01:59:33+00:00</updated>
<author>
<name>Matthias Clasen</name>
<email>mclasen@redhat.com</email>
</author>
<published>2020-09-26T01:59:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/gtk+.git/commit/?id=d6912a6791f178da16f2877d5885e9aaf3cf29b6'/>
<id>d6912a6791f178da16f2877d5885e9aaf3cf29b6</id>
<content type='text'>
In some cases, with bpp == 3 and a rowstride
that is divisible by 4, we were passing invalid
parameters to GL.

Fixes: #3198
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In some cases, with bpp == 3 and a rowstride
that is divisible by 4, we were passing invalid
parameters to GL.

Fixes: #3198
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'add-child-clash' into 'master'</title>
<updated>2020-09-26T01:17:08+00:00</updated>
<author>
<name>Matthias Clasen</name>
<email>mclasen@redhat.com</email>
</author>
<published>2020-09-26T01:17:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/gtk+.git/commit/?id=db4b7e3d11ceb8b07a155f73043dde437b84eb03'/>
<id>db4b7e3d11ceb8b07a155f73043dde437b84eb03</id>
<content type='text'>
Make GtkBuildable vfunc accessor functions private

Closes #3191

See merge request GNOME/gtk!2619</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make GtkBuildable vfunc accessor functions private

Closes #3191

See merge request GNOME/gtk!2619</pre>
</div>
</content>
</entry>
</feed>
