<feed xmlns='http://www.w3.org/2005/Atom'>
<title>spice.git/common, branch 0.8.0</title>
<subtitle>Spice</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/'/>
<entry>
<title>common/sw_canvas: remove unused error val</title>
<updated>2011-01-27T10:48:35+00:00</updated>
<author>
<name>Alon Levy</name>
<email>alevy@redhat.com</email>
</author>
<published>2011-01-24T22:38:16+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/commit/?id=143452477df2a095406f69a154d1056953fda229'/>
<id>143452477df2a095406f69a154d1056953fda229</id>
<content type='text'>
This is the only unused var change I'll want to revisit eventually,
I'm submitting anyway since it doesn't change current behavior. I'm
talking about ignoring the return value from canvas creation. Adding
a print is possible but I didn't test (may be too verbose, also
preferable to be a debug print if so, and we don't have that option
in the code atm - probably an environment variable will do, or adding
some spice_server_set_logging_level api, maybe even
spice_server_set_logging_fd?)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the only unused var change I'll want to revisit eventually,
I'm submitting anyway since it doesn't change current behavior. I'm
talking about ignoring the return value from canvas creation. Adding
a print is possible but I didn't test (may be too verbose, also
preferable to be a debug print if so, and we don't have that option
in the code atm - probably an environment variable will do, or adding
some spice_server_set_logging_level api, maybe even
spice_server_set_logging_fd?)
</pre>
</div>
</content>
</entry>
<entry>
<title>common/canvas_base.c: remove unused variables</title>
<updated>2011-01-27T10:48:30+00:00</updated>
<author>
<name>Alon Levy</name>
<email>alevy@redhat.com</email>
</author>
<published>2011-01-24T22:37:45+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice.git/commit/?id=bd1ae4a6e14b0b141ce4ecacbc7b148ec4658129'/>
<id>bd1ae4a6e14b0b141ce4ecacbc7b148ec4658129</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>common, canvas_get_jpeg_alpha: let top_down be any value</title>
<updated>2011-01-17T16:48:50+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=f0e27a2636361bc0336cdebd69a44ecde2752ca2'/>
<id>f0e27a2636361bc0336cdebd69a44ecde2752ca2</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>
</feed>
