[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#165473: marked as done (libevas0: uses infinite texture coordinates)



Your message dated Mon, 21 Jul 2003 07:32:35 -0400
with message-id <E19eYuB-0002SA-00@auric.debian.org>
and subject line Bug#165473: fixed in evas 0.6.0-4
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 19 Oct 2002 15:58:45 +0000
>From michel@daenzer.net Sat Oct 19 10:58:44 2002
Return-path: <michel@daenzer.net>
Received: from dclient217-162-21-227.hispeed.ch (tibook) [217.162.21.227] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 182vzv-0002n2-00; Sat, 19 Oct 2002 10:58:44 -0500
Received: from daenzer by tibook with local (Exim 3.36 #1 (Debian))
	id 182vzk-0006s5-00; Sat, 19 Oct 2002 17:58:35 +0200
From: "Michel Dänzer" <daenzer@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libevas0: uses infinite texture coordinates
X-Mailer: reportbug 1.50
Date: Sat, 19 Oct 2002 17:58:32 +0200
Message-Id: <E182vzk-0006s5-00@tibook>
Sender: Michel Daenzer <michel@daenzer.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-0.5 required=5.0
	tests=PATCH_UNIFIED_DIFF,PGP_SIGNATURE,SPAM_PHRASE_00_01
	version=2.41
X-Spam-Level: 

Package: libevas0
Version: 0.6.0-2
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The evas OpenGL implemntation uses infinite texture coordinates under some
circumstances, the result of which is undefined, and which in fact e.g. causes
Radeons not to draw affected primitives.

diff -up -ru evas-0.6.0.orig/src/evas_gl_routines.c evas-0.6.0/src/evas_gl_routines.c
- --- evas-0.6.0.orig/src/evas_gl_routines.c	2001-08-28 04:06:40.000000000 +0200
+++ evas-0.6.0/src/evas_gl_routines.c	2002-10-19 17:50:10.000000000 +0200
@@ -2,6 +2,7 @@
 #include <sys/stat.h>
 #include <unistd.h>
 #include <sys/types.h>
+#include <math.h>
 #include <assert.h>
 
 /* uncomment this is partial buffer swaps slow - problem with glcopypixels? */
@@ -1476,6 +1477,10 @@ __evas_gl_image_intern_draw(Evas_GL_Imag
 			      }
 			 }
 		       __evas_gl_window_use_texture(glw, tm->textures[t++], smooth);
+		       if (isinf(tx1)) tx1 = 1.0;
+		       if (isinf(ty1)) ty1 = 1.0;
+		       if (isinf(tx2)) tx2 = 1.0;
+		       if (isinf(ty2)) ty2 = 1.0;
 		       glBegin(GL_QUADS);
 		       glTexCoord2d(tx1, ty1); glVertex2d(x1, y1);
 		       glTexCoord2d(tx2, ty1); glVertex2d(x2, y1);


- -- System Information
Debian Release: testing/unstable
Architecture: powerpc
Kernel: Linux tibook 2.4.20-pre9-ben0-xfs-lolat-freeswan #2 Fre Okt 4 20:09:40 CEST 2002 ppc
Locale: LANG=de_CH, LC_CTYPE=de_CH

Versions of packages libevas0 depends on:
ii  libc6                  2.2.5-14.3        GNU C Library: Shared libraries an
ii  libimlib2              1.0.5-2           Powerful image loading and renderi
ii  libttf2                1.4pre.20011029-1 FreeType 1, The FREE TrueType Font
ii  xlibmesa3-dri-trunk [l 2002.10.02-2      DRI CVS trunk version of Mesa 3D g
ii  xlibs                  4.2.1-3           X Window System client libraries

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9sYErWoGvjmrbsgARAuwTAKCfRMeSSzBCO1xSOrdF6KHtbButhgCfb7v3
fuU/rvYnTANihrGad2xyPwE=
=Uo3x
-----END PGP SIGNATURE-----

---------------------------------------
Received: (at 165473-close) by bugs.debian.org; 21 Jul 2003 11:35:04 +0000
>From katie@auric.debian.org Mon Jul 21 06:35:04 2003
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19eYwa-0001pM-00; Mon, 21 Jul 2003 06:35:04 -0500
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 19eYuB-0002SA-00; Mon, 21 Jul 2003 07:32:35 -0400
From: Steven Barker <steve@blckknght.org>
To: 165473-close@bugs.debian.org
X-Katie: $Revision: 1.34 $
Subject: Bug#165473: fixed in evas 0.6.0-4
Message-Id: <E19eYuB-0002SA-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Mon, 21 Jul 2003 07:32:35 -0400
Delivered-To: 165473-close@bugs.debian.org

We believe that the bug you reported is fixed in the latest version of
evas, which is due to be installed in the Debian FTP archive:

evas-demo_0.6.0-4_i386.deb
  to pool/main/e/evas/evas-demo_0.6.0-4_i386.deb
evas_0.6.0-4.diff.gz
  to pool/main/e/evas/evas_0.6.0-4.diff.gz
evas_0.6.0-4.dsc
  to pool/main/e/evas/evas_0.6.0-4.dsc
libevas0-dev_0.6.0-4_i386.deb
  to pool/main/e/evas/libevas0-dev_0.6.0-4_i386.deb
libevas0_0.6.0-4_i386.deb
  to pool/main/e/evas/libevas0_0.6.0-4_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 165473@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steven Barker <steve@blckknght.org> (supplier of updated evas package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri,  7 Mar 2003 15:48:42 -0500
Source: evas
Binary: libevas0-dev libevas0 evas-demo
Architecture: source i386
Version: 0.6.0-4
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Steven Barker <steve@blckknght.org>
Description: 
 evas-demo  - evas library demo
 libevas0   - enlightenment advanced canvas library
 libevas0-dev - development files for libevas
Closes: 165473 182154
Changes: 
 evas (0.6.0-4) unstable; urgency=low
 .
   * QA upload.
   * debian/control: Update QA email address.
   * src/evas_renderer_routines.c: Fix char signedness assumptions.
     (Closes: #182154)
   * src/evas_object.c: Fix function order bug that may have broken
     arches where sizeof(int) != sizeof(void *).
   * src/eval_gl_routines.c: Fix use of infinate texture coordonates,
     using patch from Michel Daenzer <michel@daenzer.net>.
     (Closes: #165473)
Files: 
 eaf5aece3c44d26f6f2f3560d0cfa822 680 libs optional evas_0.6.0-4.dsc
 9e671d9063e3afa774a2fa04855b0ea9 160120 libs optional evas_0.6.0-4.diff.gz
 86b415cea3614b5cb55ef11cac8ed4f6 71332 libs optional libevas0_0.6.0-4_i386.deb
 767b41ac06333cc0ea8bcc8b8c3d1e8b 77614 devel optional libevas0-dev_0.6.0-4_i386.deb
 203c2ab5cebd4af4d682b3af1c0fee92 8433712 graphics optional evas-demo_0.6.0-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/G8o+BEnrTWk1E4cRAmVJAJ421v+3LEvTUw37MCwkpDfCgakYsACeP8pa
kMla2j416IR3+X9fZ88Im+E=
=p4dQ
-----END PGP SIGNATURE-----



Reply to: