git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2430 c5f82cb5-29bc-0310-9cd0-bff59a50e3bcrocklinux
@ -0,0 +1,17 @@ |
|||||
|
|
||||
|
w/ XFree86 Radeon hardware acceleration (at least on iBook) the |
||||
|
NV extension does produce major pixel garbage. |
||||
|
|
||||
|
- Rene Rebe <rene@rocklinux.org> |
||||
|
|
||||
|
--- evas-2004-02-25/src/lib/engines/gl_common/evas_gl_context.c.orig 2004-02-27 03:12:11.000000000 +0100
|
||||
|
+++ evas-2004-02-25/src/lib/engines/gl_common/evas_gl_context.c 2004-02-27 03:12:49.000000000 +0100
|
||||
|
@@ -64,7 +64,7 @@
|
||||
|
if (ext) |
||||
|
{ |
||||
|
if (strstr(ext, "GL_SGIS_generate_mipmap")) gc->ext.sgis_generate_mipmap = 1; |
||||
|
- if (strstr(ext, "GL_NV_texture_rectangle")) gc->ext.nv_texture_rectangle = 1;
|
||||
|
+ if (strstr(ext, "GL_NV_texture_rectangle")) gc->ext.nv_texture_rectangle = 0;
|
||||
|
/* technically this should work, as its a compatible */ |
||||
|
/* implementation of the nvidia texture_rectangle extension */ |
||||
|
/* since the #define value is the same as is the description */ |
@ -0,0 +1,21 @@ |
|||||
|
|
||||
|
GL_UNSIGNED_BYTE does produce incorrect (incorrectly byte-swapped) results |
||||
|
with both software rendering (MESA) and the radeon accelerator ... |
||||
|
|
||||
|
- Rene Rebe <rene@rocklinux.org> |
||||
|
|
||||
|
--- evas-2004-02-25/src/lib/engines/gl_common/evas_gl_private.h 2004-02-04 05:38:34.000000000 +0100
|
||||
|
+++ evas-2004-02-25-hacking/src/lib/engines/gl_common/evas_gl_private.h 2004-02-27 05:05:52.000000000 +0100
|
||||
|
@@ -78,8 +78,10 @@
|
||||
|
/* evas ARGB pixel config */ |
||||
|
#define NATIVE_PIX_FORMAT GL_BGRA |
||||
|
/* fast on vidia */ |
||||
|
-/*#define NATIVE_PIX_UNIT GL_UNSIGNED_INT_8_8_8_8_REV*/
|
||||
|
+/* #define NATIVE_PIX_UNIT GL_UNSIGNED_INT_8_8_8_8_REV /*
|
||||
|
/* fast on ati compared to GL_UNSIGNED_INT_8_8_8_8_REV */ |
||||
|
-#define NATIVE_PIX_UNIT GL_UNSIGNED_BYTE
|
||||
|
+/* #define NATIVE_PIX_UNIT GL_UNSIGNED_BYTE */
|
||||
|
+/* works compared to GL_UNSIGNED_BYTE -ReneR */
|
||||
|
+#define NATIVE_PIX_UNIT GL_UNSIGNED_INT_8_8_8_8_REV
|
||||
|
|
||||
|
#endif |