Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/include Modified Files: evas_common.h evas_private.h Log Message: not complete yet - actually i need help with the fragment shader. in evas_gl_texture.c i have a frag shader, and it tries to use a set of 3 textures that act as the yuv planes, BUT the u and v textures (Utex and Vtex) are simply getting values from the Ytex - regardless of what i try. grrr. what's up with that? =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/include/evas_common.h,v retrieving revision 1.72 retrieving revision 1.73 diff -u -3 -r1.72 -r1.73 --- evas_common.h 15 Nov 2006 16:44:34 -0000 1.72 +++ evas_common.h 17 Dec 2006 15:48:50 -0000 1.73 @@ -353,6 +353,12 @@ unsigned char scale; RGBA_Pipe *pipe; int ref; + struct { + void *data; + int space; + unsigned char no_free : 1; + unsigned char dirty : 1; + } cs; }; struct _RGBA_Gradient_Color_Stop @@ -803,6 +809,8 @@ EAPI void evas_common_image_surface_free (RGBA_Surface *is);/*2*/ EAPI void evas_common_image_surface_alloc (RGBA_Surface *is);/*2*/ EAPI void evas_common_image_surface_dealloc (RGBA_Surface *is);/*2*/ +EAPI void evas_common_image_colorspace_normalize(RGBA_Image *im); +EAPI void evas_common_image_colorspace_dirty (RGBA_Image *im); EAPI void evas_common_image_cache (RGBA_Image *im); /*2*/ EAPI void evas_common_image_uncache (RGBA_Image *im); /*2*/ EAPI void evas_common_image_store (RGBA_Image *im); /*2*/ =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/include/evas_private.h,v retrieving revision 1.78 retrieving revision 1.79 diff -u -3 -r1.78 -r1.79 --- evas_private.h 9 Dec 2006 08:52:08 -0000 1.78 +++ evas_private.h 17 Dec 2006 15:48:50 -0000 1.79 @@ -575,8 +575,8 @@ void (*gradient_draw) (void *data, void *context, void *surface, void *gradient, int x, int y, int w, int h); void *(*image_load) (void *data, const char *file, const char *key, int *error, Evas_Image_Load_Opts *lo); - void *(*image_new_from_data) (void *data, int w, int h, DATA32 *image_data); - void *(*image_new_from_copied_data) (void *data, int w, int h, DATA32 *image_data); + void *(*image_new_from_data) (void *data, int w, int h, DATA32 *image_data, int alpha, int cspace); + void *(*image_new_from_copied_data) (void *data, int w, int h, DATA32 *image_data, int alpha, int cspace); void (*image_free) (void *data, void *image); void (*image_size_get) (void *data, void *image, int *w, int *h); void *(*image_size_set) (void *data, void *image, int w, int h); ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs