diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/evas/src/modules/engines/buffer/evas_engine.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libraries/evas/src/modules/engines/buffer/evas_engine.h b/libraries/evas/src/modules/engines/buffer/evas_engine.h index 21c988c..af82477 100644 --- a/libraries/evas/src/modules/engines/buffer/evas_engine.h +++ b/libraries/evas/src/modules/engines/buffer/evas_engine.h | |||
@@ -52,14 +52,17 @@ struct _Outbuf | |||
52 | 52 | ||
53 | void *dest; | 53 | void *dest; |
54 | unsigned int dest_row_bytes; | 54 | unsigned int dest_row_bytes; |
55 | void *switch_data; | ||
55 | 56 | ||
56 | int alpha_level; | 57 | int alpha_level; |
57 | DATA32 color_key; | 58 | DATA32 color_key; |
58 | char use_color_key : 1; | 59 | char use_color_key : 1; |
60 | char first_frame : 1; | ||
59 | 61 | ||
60 | struct { | 62 | struct { |
61 | void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes); | 63 | void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes); |
62 | void (*free_update_region) (int x, int y, int w, int h, void *data); | 64 | void (*free_update_region) (int x, int y, int w, int h, void *data); |
65 | void * (*switch_buffer) (void *data, void *dest_buffer); | ||
63 | } func; | 66 | } func; |
64 | 67 | ||
65 | struct { | 68 | struct { |
@@ -74,12 +77,15 @@ void evas_buffer_outbuf_buf_free (Outbuf *buf); | |||
74 | 77 | ||
75 | Outbuf *evas_buffer_outbuf_buf_setup_fb (int w, int h, Outbuf_Depth depth, void *dest, int dest_row_bytes, int use_color_key, DATA32 color_key, int alpha_level, | 78 | Outbuf *evas_buffer_outbuf_buf_setup_fb (int w, int h, Outbuf_Depth depth, void *dest, int dest_row_bytes, int use_color_key, DATA32 color_key, int alpha_level, |
76 | void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes), | 79 | void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes), |
77 | void (*free_update_region) (int x, int y, int w, int h, void *data)); | 80 | void (*free_update_region) (int x, int y, int w, int h, void *data), |
81 | void * (*switch_buffer)(void *switch_data, void *dest), | ||
82 | void *switch_data); | ||
78 | 83 | ||
79 | 84 | ||
80 | RGBA_Image *evas_buffer_outbuf_buf_new_region_for_update (Outbuf *buf, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch); | 85 | RGBA_Image *evas_buffer_outbuf_buf_new_region_for_update (Outbuf *buf, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch); |
81 | void evas_buffer_outbuf_buf_free_region_for_update (Outbuf *buf, RGBA_Image *update); | 86 | void evas_buffer_outbuf_buf_free_region_for_update (Outbuf *buf, RGBA_Image *update); |
82 | void evas_buffer_outbuf_buf_push_updated_region (Outbuf *buf, RGBA_Image *update, int x, int y, int w, int h); | 87 | void evas_buffer_outbuf_buf_push_updated_region (Outbuf *buf, RGBA_Image *update, int x, int y, int w, int h); |
88 | void evas_buffer_outbuf_buf_switch_buffer (Outbuf *buf); | ||
83 | 89 | ||
84 | #endif | 90 | #endif |
85 | 91 | ||