<feed xmlns='http://www.w3.org/2005/Atom'>
<title>spice.git/common, branch 0.6</title>
<subtitle>Spice</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/'/>
<entry>
<title>common, canvas_get_jpeg_alpha: let top_down be any value</title>
<updated>2011-02-10T19:45:10+00:00</updated>
<author>
<name>Alon Levy</name>
<email>alevy@redhat.com</email>
</author>
<published>2011-01-05T13:31:46+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/commit/?id=85f7e9eaa0b7e30f2e7947266a78aa5c3dbdd216'/>
<id>85f7e9eaa0b7e30f2e7947266a78aa5c3dbdd216</id>
<content type='text'>
Allow top_down flag to have any value, only ASSERT it is positive
when needs to be positive and zero otherwise. Allows older server
bug of sending 4 instead of 1 in top down flag to not affect newer
clients (previous patch fixes server).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow top_down flag to have any value, only ASSERT it is positive
when needs to be positive and zero otherwise. Allows older server
bug of sending 4 instead of 1 in top down flag to not affect newer
clients (previous patch fixes server).
</pre>
</div>
</content>
</entry>
<entry>
<title>Initialize variable to avoid compiler warning</title>
<updated>2010-09-29T10:47:15+00:00</updated>
<author>
<name>Alexander Larsson</name>
<email>alexl@redhat.com</email>
</author>
<published>2010-09-29T10:47:15+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/commit/?id=1670b220b5a60bb957967a5d5424d129cbd909ee'/>
<id>1670b220b5a60bb957967a5d5424d129cbd909ee</id>
<content type='text'>
Seems the OSX gcc warns on saveRight not being initialzied.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Seems the OSX gcc warns on saveRight not being initialzied.
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle surface images in DrawOpaque</title>
<updated>2010-09-22T12:36:40+00:00</updated>
<author>
<name>Alexander Larsson</name>
<email>alexl@redhat.com</email>
</author>
<published>2010-09-22T12:36:40+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/commit/?id=c425ed626c19ac5c2401cb8765033dd3e9d558b8'/>
<id>c425ed626c19ac5c2401cb8765033dd3e9d558b8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix crash when resetting pixman image transform</title>
<updated>2010-09-21T18:08:46+00:00</updated>
<author>
<name>Alexander Larsson</name>
<email>alexl@redhat.com</email>
</author>
<published>2010-09-21T18:08:46+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/commit/?id=1cd80764154472cff2744117a792423550e55cd0'/>
<id>1cd80764154472cff2744117a792423550e55cd0</id>
<content type='text'>
Resetting the transform is done by setting it to the identity
transform, not passing in NULL. Passing in NULL causes a crash.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resetting the transform is done by setting it to the identity
transform, not passing in NULL. Passing in NULL causes a crash.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix scaling with large magnification</title>
<updated>2010-08-31T11:31:19+00:00</updated>
<author>
<name>Alexander Larsson</name>
<email>alexl@redhat.com</email>
</author>
<published>2010-08-31T10:07:31+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/commit/?id=012e54bf9f47a4b3085f2933f0dd3a05f919b2a4'/>
<id>012e54bf9f47a4b3085f2933f0dd3a05f919b2a4</id>
<content type='text'>
When scaling part of an image we need to specify the source
coordinates in transformed coordinates. For large magnifications this
means we will get pretty large values.

Now, if e.g. src_x * transform is larger than 32765, then the
coordinate ends up outside the pixman 16bit image size, so the
rendering will not work.

The fix is to make the src_x/y offset part of the transformation.
This means its automatically transformed by the correct scaling, and
the coordinates passed into pixman are not (typically) over 16bit.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When scaling part of an image we need to specify the source
coordinates in transformed coordinates. For large magnifications this
means we will get pretty large values.

Now, if e.g. src_x * transform is larger than 32765, then the
coordinate ends up outside the pixman 16bit image size, so the
rendering will not work.

The fix is to make the src_x/y offset part of the transformation.
This means its automatically transformed by the correct scaling, and
the coordinates passed into pixman are not (typically) over 16bit.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Fix scaling with large magnification"</title>
<updated>2010-08-31T11:31:19+00:00</updated>
<author>
<name>Alexander Larsson</name>
<email>alexl@redhat.com</email>
</author>
<published>2010-08-31T09:48:13+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/commit/?id=2e860b5b4a0ca4558b1978d8325628fb0081e74f'/>
<id>2e860b5b4a0ca4558b1978d8325628fb0081e74f</id>
<content type='text'>
This reverts commit e13be77f33609cb3fdae354ce1f2686ae865f9e0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit e13be77f33609cb3fdae354ce1f2686ae865f9e0.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix scaling with large magnification</title>
<updated>2010-08-30T14:56:41+00:00</updated>
<author>
<name>Alexander Larsson</name>
<email>alexl@redhat.com</email>
</author>
<published>2010-08-30T13:33:36+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/commit/?id=e13be77f33609cb3fdae354ce1f2686ae865f9e0'/>
<id>e13be77f33609cb3fdae354ce1f2686ae865f9e0</id>
<content type='text'>
When scaling part of an image we need to specify the source coordinates
in transformed coordinates. For large magnifications this means
we will get pretty large values.

Now, if e.g. src_x * transform is larger than 32765, then the coordinate
ends up outside the pixman 16bit image size, so the rendering
will not work.

In order to work around this we generate a "sub-image" of the pixman
image such that the src_x/y values we have to specify are zero (or near
zero).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When scaling part of an image we need to specify the source coordinates
in transformed coordinates. For large magnifications this means
we will get pretty large values.

Now, if e.g. src_x * transform is larger than 32765, then the coordinate
ends up outside the pixman 16bit image size, so the rendering
will not work.

In order to work around this we generate a "sub-image" of the pixman
image such that the src_x/y values we have to specify are zero (or near
zero).
</pre>
</div>
</content>
</entry>
<entry>
<title>canvas: Better coordinate rounding in scaling</title>
<updated>2010-08-27T14:33:35+00:00</updated>
<author>
<name>Alexander Larsson</name>
<email>alexl@redhat.com</email>
</author>
<published>2010-08-27T14:33:35+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/commit/?id=9ac9099842a7379a991a70627ddf6fe47462fc4a'/>
<id>9ac9099842a7379a991a70627ddf6fe47462fc4a</id>
<content type='text'>
When scaling in pixman you give the source coordinates in transformed
space rather than in the source coordinates. This is a bit problematic
when both source and destination coordinates are at integer positions, but
the scaling factor is not an exact 16.16 fixed point value. We used
to calculate the transformed source based on the floating point
transformation, which gave the wrong answer sometimes. Now we do the
calculations based on the fixed point transform that we give pixman.

However, even with this patch I can still sometimes see issues related
to this, although they are less bad.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When scaling in pixman you give the source coordinates in transformed
space rather than in the source coordinates. This is a bit problematic
when both source and destination coordinates are at integer positions, but
the scaling factor is not an exact 16.16 fixed point value. We used
to calculate the transformed source based on the floating point
transformation, which gave the wrong answer sometimes. Now we do the
calculations based on the fixed point transform that we give pixman.

However, even with this patch I can still sometimes see issues related
to this, although they are less bad.
</pre>
</div>
</content>
</entry>
<entry>
<title>server: Fix alloc_lz_image_surface stride allocations</title>
<updated>2010-08-26T07:38:36+00:00</updated>
<author>
<name>Alexander Larsson</name>
<email>alexl@redhat.com</email>
</author>
<published>2010-08-25T14:44:16+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/commit/?id=96987ebfde951caa7b5a5a64683e9b6385f776ef'/>
<id>96987ebfde951caa7b5a5a64683e9b6385f776ef</id>
<content type='text'>
All lz surfaces are not 4 bytes per pixel, calculate the right stride
based on the pixman format.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All lz surfaces are not 4 bytes per pixel, calculate the right stride
based on the pixman format.
</pre>
</div>
</content>
</entry>
<entry>
<title>Stride can be negative, so don't use size_t for it</title>
<updated>2010-08-18T14:33:20+00:00</updated>
<author>
<name>Alexander Larsson</name>
<email>alexl@redhat.com</email>
</author>
<published>2010-08-18T14:33:20+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/commit/?id=eb5de022d40462c201a1aa8933f80ebdc7e0deb7'/>
<id>eb5de022d40462c201a1aa8933f80ebdc7e0deb7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
