<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs/Xserver/GL, branch pr/extend_manpage</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://cgit.arctica-project.org/nx-libs/atom?h=pr%2Fextend_manpage</id>
<link rel='self' href='https://cgit.arctica-project.org/nx-libs/atom?h=pr%2Fextend_manpage'/>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/'/>
<updated>2019-11-02T10:48:07+00:00</updated>
<entry>
<title>NXglxext.c: use upstream versions of Dispatch functions</title>
<updated>2019-11-02T10:48:07+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-05-01T19:52:02+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=f3bddad4c69bc83f68b5f1118cb37752593b8c57'/>
<id>urn:sha1:f3bddad4c69bc83f68b5f1118cb37752593b8c57</id>
<content type='text'>
instead of a full copy. We still have our own function because we
need to handle the nxagentGlxTrap. This trap is now set before the
start of the dispatcher while it has been set only directly before
calling the dispatched function.

Saves ~50 duplicated lines.
</content>
</entry>
<entry>
<title>glxext.c: fix another memory leak</title>
<updated>2019-06-18T22:49:57+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-06-18T21:36:45+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=bffdacc48a6bd49e4ac1b4ce5d2fcc8eecdb811c'/>
<id>urn:sha1:bffdacc48a6bd49e4ac1b4ce5d2fcc8eecdb811c</id>
<content type='text'>
==10226== 3,337 bytes in 1 blocks are definitely lost in loss record 295 of 307
==10226==    at 0x483577F: malloc (vg_replace_malloc.c:299)
==10226==    by 0x6281DB9: strdup (strdup.c:42)
==10226==    by 0x2ABA9E: __glXClientInfo (glxcmds.c:2170)
==10226==    by 0x17CA3E: __glXDispatch (NXglxext.c:128)
==10226==    by 0x16EE77: Dispatch (NXdispatch.c:476)
==10226==    by 0x14DCE0: main (main.c:353)

There's no point in trying to free cl-&gt;* after memset(0).

This one is a bug that is found identically in xorg upstream and has
only been fixed during rework of the whole client resource freeing
stuff. So we fix it in glxext.c.
</content>
</entry>
<entry>
<title>Use calloc to zero fill buffers being allocated for replies &amp; events</title>
<updated>2019-02-28T22:11:23+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-02-28T22:11:23+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=c81a45785970aa198736d8dc578beb2d7bbd1b2f'/>
<id>urn:sha1:c81a45785970aa198736d8dc578beb2d7bbd1b2f</id>
<content type='text'>
  commit cdf5bcd420e5bcf4a4a24a275d3133a4e16ce41e
  Author: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
  Date:   Mon Jul 9 19:12:42 2012 -0700

    Use calloc to zero fill buffers being allocated for replies &amp; events

    Ensures padding bytes are zero-filled

    Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
    Reviewed-by: Keith Packard &lt;keithp@keithp.com&gt;
    Tested-by: Daniel Stone &lt;daniel@fooishbar.org&gt;

Attributes ArcticaProject/nx-libs#382
</content>
</entry>
<entry>
<title>reduce usage of uninitialised bytes</title>
<updated>2017-12-27T23:17:54+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2017-12-10T22:57:35+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=6acbfab33133a92dbd7f128284d26f94bfeb1af2'/>
<id>urn:sha1:6acbfab33133a92dbd7f128284d26f94bfeb1af2</id>
<content type='text'>
as reported by valgrind
</content>
</entry>
<entry>
<title>Xserver/GL/glx/glxcmds.c: Cast small-int values through intptr_t when passed as pointers</title>
<updated>2017-12-14T09:40:32+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-12-14T07:05:54+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=8bb1579f40bb74b9dad302e79c124541694b3265'/>
<id>urn:sha1:8bb1579f40bb74b9dad302e79c124541694b3265</id>
<content type='text'>
 Picked from this X.org commit:

 commit b0dd6be2c8703f7062d45ac9fd646550c7d54e3b
 Author: Jamey Sharp &lt;jamey@minilop.net&gt;
 Date:   Thu Oct 8 13:38:44 2009 +1100

    Cast small-int values through intptr_t when passed as pointers

    On 64-bit systems, int and pointers don't have the same size, so GCC gives
    warnings about casts between int and pointer types. However, in the cases
    covered by this patch, it's always a value that fits in int being stored
    temporarily as a pointer and then converted back later, which is safe.
    Casting through the pointer-sized integer type intptr_t convinces the
    compiler that this is OK.

    Signed-off-by: Jamey Sharp &lt;jamey@minilop.net&gt;
    Signed-off-by: Daniel Stone &lt;daniel@fooishbar.org&gt;

 Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
 (Only appropriate location for backporting: Xserver/GL/glx/glxcmds.c).
</content>
</entry>
<entry>
<title>glx: warning fixes</title>
<updated>2017-12-14T09:40:32+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-02-17T13:35:48+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=a6ffabda67a703f6ba7091db9ad8eed623bc4347'/>
<id>urn:sha1:a6ffabda67a703f6ba7091db9ad8eed623bc4347</id>
<content type='text'>
 commit 63ccaec2c39f4b5742383472c951ee2cd35c9e14
 Author: Adam Jackson &lt;ajax@redhat.com&gt;
 Date:   Tue Oct 19 11:59:23 2010 -0400

    render2.c: In function ‘__glXDisp_Map2d’:
    render2.c:127: warning: ‘u1’ may be used uninitialized in this function
    render2.c: In function ‘__glXDisp_Map1d’:
    render2.c:90: warning: ‘u1’ may be used uninitialized in this function

    Remove unnecessary test, and change memcpy to memmove as all users were
    doing overlapping copies.

    Signed-off-by: Adam Jackson &lt;ajax@redhat.com&gt;
    Reviewed-by: Daniel Stone &lt;daniel@fooishbar.org&gt;

 Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
<entry>
<title>Xserver/GL/glx/glxfb.c: Fix compiler warning: pointer-sign.</title>
<updated>2017-12-14T09:40:32+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-02-17T13:30:13+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=16fbdb2a8d4f8d6c2f3c45829e181109b5991a34'/>
<id>urn:sha1:16fbdb2a8d4f8d6c2f3c45829e181109b5991a34</id>
<content type='text'>
 glxfb.c: In function '__glXFBMemSwapBuffers':
 glxfb.c:117:5: warning: pointer targets in passing argument 10 of 'pGC-&gt;ops-&gt;PutImage' differ in signedness [-Wpointer-sign]
      buf);
      ^~~
 glxfb.c:117:5: note: expected 'char *' but argument is of type 'GLubyte * {aka unsigned char *}'
</content>
</entry>
<entry>
<title>fix broken path due to missing /</title>
<updated>2017-11-17T12:10:29+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2017-10-17T22:28:23+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=9a16043722f6d60505a8776048b39cc7f1e799d9'/>
<id>urn:sha1:9a16043722f6d60505a8776048b39cc7f1e799d9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>glxext.c/NXglxext.c: merge two functions into one</title>
<updated>2017-11-17T12:10:29+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2017-10-17T22:21:00+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=fff0d54733b016f225eb767b3d755c06295ac806'/>
<id>urn:sha1:fff0d54733b016f225eb767b3d755c06295ac806</id>
<content type='text'>
This has also been done in Xorg 7.1

This also fixes a little flaw for the swapped case: a check for
glXRenderLarge was missing.
</content>
</entry>
<entry>
<title>Mesa subtree: Adapt build process for building against Mesa that gets pulled in via git subtree.</title>
<updated>2017-06-15T12:16:38+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-02-20T11:54:14+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=c20b946b4abe2aeccfdb85e54f38e65041948741'/>
<id>urn:sha1:c20b946b4abe2aeccfdb85e54f38e65041948741</id>
<content type='text'>
</content>
</entry>
</feed>
