Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/modules/engines/cairo_common


Modified Files:
        evas_cairo_common.h 


Log Message:


same as previous commit.

===================================================================
RCS file: 
/cvs/e/e17/libs/evas/src/modules/engines/cairo_common/evas_cairo_common.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evas_cairo_common.h 25 Apr 2006 04:00:20 -0000      1.1
+++ evas_cairo_common.h 30 Sep 2006 10:18:34 -0000      1.2
@@ -23,7 +23,6 @@
 typedef struct _Evas_Cairo_Image                     Evas_Cairo_Image;
 typedef struct _Evas_Cairo_Polygon                   Evas_Cairo_Polygon;
 typedef struct _Evas_Cairo_Polygon_Point             Evas_Cairo_Polygon_Point;
-typedef struct _Evas_Cairo_Gradient                  Evas_Cairo_Gradient;
 
 struct _Evas_Cairo_Context
 {
@@ -45,11 +44,6 @@
    DATA32             *mulpix;
    cairo_surface_t    *surface;
    cairo_pattern_t    *pattern;
-#if 0
-   Evas_Cairo_Context *cc;
-   char                dirty : 1;
-   char                cached : 1;
-#endif
 };
 
 struct _Evas_Cairo_Polygon
@@ -61,109 +55,5 @@
 {
    int x, y;
 };
-
-#if 0
-struct _Evas_Cairo_Context
-{
-   unsigned char   r, g, b, a;
-
-   struct {
-      char         size : 1;
-      char         dither : 1;
-      char         blend : 1;
-      char         color : 1;
-      char         texture : 1;
-      char         clip : 1;
-      char         buf : 1;
-      char         other : 1;
-   } change;
-
-   struct {
-      char         active : 1;
-      int          x, y, w, h;
-   } clip;
-
-   struct {
-      int checked : 1;
-      int sgis_generate_mipmap : 1;
-      int nv_texture_rectangle : 1;
-   } ext;
-
-   int             references;
-
-   Evas_List      *images;
-};
-
-struct _Evas_Cairo_Image
-{
-   Evas_Cairo_Context *cc;
-   RGBA_Image         *im;
-   cairo_surface_t    *surf;
-   DATA32             *mulpix;
-   int                 references;
-   char                dirty : 1;
-   char                cached : 1;
-};
-
-struct _Evas_Cairo_Polygon
-{
-   Evas_List *points;
-};
-
-struct _Evas_Cairo_Polygon_Point
-{
-   int x, y;
-};
-
-struct _Evas_Cairo_Gradient
-{
-   RGBA_Gradient   *grad;
-};
-#endif
-
-/*
-Evas_GL_Context  *evas_gl_common_context_new(void);
-void              evas_gl_common_context_free(Evas_GL_Context *gc);
-void              evas_gl_common_context_use(Evas_GL_Context *gc);
-void              evas_gl_common_context_resize(Evas_GL_Context *gc, int w, 
int h);
-void              evas_gl_common_context_color_set(Evas_GL_Context *gc, int r, 
int g, int b, int a);
-void              evas_gl_common_context_blend_set(Evas_GL_Context *gc, int 
blend);
-void              evas_gl_common_context_dither_set(Evas_GL_Context *gc, int 
dither);
-void              evas_gl_common_context_texture_set(Evas_GL_Context *gc, 
Evas_GL_Texture *tex, int smooth, int w, int h);
-void              evas_gl_common_context_font_texture_set(Evas_GL_Context *gc, 
Evas_GL_Font_Texture *ft);
-void              evas_gl_common_context_clip_set(Evas_GL_Context *gc, int on, 
int x, int y, int w, int h);
-void              evas_gl_common_context_read_buf_set(Evas_GL_Context *gc, 
GLenum buf);
-void              evas_gl_common_context_write_buf_set(Evas_GL_Context *gc, 
GLenum buf);
-
-Evas_GL_Texture  *evas_gl_common_texture_new(Evas_GL_Context *gc, RGBA_Image 
*im, int smooth);
-void              evas_gl_common_texture_update(Evas_GL_Texture *tex, 
RGBA_Image *im, int smooth);
-void              evas_gl_common_texture_free(Evas_GL_Texture *tex);
-void              evas_gl_common_texture_mipmaps_build(Evas_GL_Texture *tex, 
RGBA_Image *im, int smooth);
-
-Evas_GL_Image    *evas_gl_common_image_load(Evas_GL_Context *gc, char *file, 
char *key);
-Evas_GL_Image    *evas_gl_common_image_new_from_data(Evas_GL_Context *gc, int 
w, int h, int *data);
-Evas_GL_Image    *evas_gl_common_image_new_from_copied_data(Evas_GL_Context 
*gc, int w, int h, int *data);
-Evas_GL_Image    *evas_gl_common_image_new(Evas_GL_Context *gc, int w, int h);
-void              evas_gl_common_image_free(Evas_GL_Image *im);
-void              evas_gl_common_image_dirty(Evas_GL_Image *im);
-
-Evas_GL_Polygon  *evas_gl_common_poly_point_add(Evas_GL_Polygon *poly, int x, 
int y);
-Evas_GL_Polygon  *evas_gl_common_poly_points_clear(Evas_GL_Polygon *poly);
-
-Evas_GL_Gradient *evas_gl_common_gradient_color_add(Evas_GL_Gradient *gr, int 
r, int g, int b, int a, int distance);
-Evas_GL_Gradient *evas_gl_common_gradient_colors_clear(Evas_GL_Gradient *gr);
-
-void              evas_gl_common_swap_rect(Evas_GL_Context *gc, int x, int y, 
int w, int h);
-
-void              evas_gl_common_rect_draw(Evas_GL_Context *gc, 
RGBA_Draw_Context *dc, int x, int y, int w, int h);
-void              evas_gl_common_image_draw(Evas_GL_Context *gc, 
RGBA_Draw_Context *dc, Evas_GL_Image *im, int sx, int sy, int sw, int sh, int 
dx, int dy, int dw, int dh, int smooth);
-void              evas_gl_common_line_draw(Evas_GL_Context *gc, 
RGBA_Draw_Context *dc, int x1, int y1, int x2, int y2);
-void              evas_gl_common_poly_draw(Evas_GL_Context *gc, 
RGBA_Draw_Context *dc, Evas_GL_Polygon *poly);
-void              evas_gl_common_gradient_draw(Evas_GL_Context *gc, 
RGBA_Draw_Context *dc, Evas_GL_Gradient *gr, int x, int y, int w, int h, double 
angle);
-
-Evas_GL_Font_Texture *evas_gl_font_texture_new(Evas_GL_Context *gc, 
RGBA_Font_Glyph *fg);
-void                  evas_gl_font_texture_free(Evas_GL_Font_Texture *ft);
-void                  evas_gl_font_texture_draw(Evas_GL_Context *gc, void 
*surface, RGBA_Draw_Context *dc, RGBA_Font_Glyph *fg, int x, int y);
-*/
 
 #endif



-------------------------------------------------------------------------
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

Reply via email to