summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_common_private.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-09-05 13:53:00 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-09-06 16:55:00 +0900
commitb2d92f2626574efec6d2e159b08d44c7e4936069 (patch)
tree9cf5a444cf4c72bf8cb57ffa7c07327a4df8531d /src/lib/evas/include/evas_common_private.h
parent2f737e8f3bb6705fa981bced09a5337db3ee2bcb (diff)
evas: Implement support for external buffers
This brings support for the eo api for external buffers (like the old data_set / data_get). The new API now works with slices and planes. The internal code still relies on the old cs.data array for YUV color conversion. This makes the code a little bit too complex to my taste. Tested with expedite for RGBA and YUV 422 601 planar, both SW and GL engines (x11).
Diffstat (limited to 'src/lib/evas/include/evas_common_private.h')
-rw-r--r--src/lib/evas/include/evas_common_private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/evas/include/evas_common_private.h b/src/lib/evas/include/evas_common_private.h
index 8d66ad87f7..07ff291761 100644
--- a/src/lib/evas/include/evas_common_private.h
+++ b/src/lib/evas/include/evas_common_private.h
@@ -376,6 +376,8 @@ extern EAPI int _evas_log_dom_global;
376 376
377#define TILE_CACHE_LINE_SIZE 64 377#define TILE_CACHE_LINE_SIZE 64
378 378
379#define RGBA_PLANE_MAX 3
380
379/*****************************************************************************/ 381/*****************************************************************************/
380 382
381#define UNROLL2(op...) op op 383#define UNROLL2(op...) op op
@@ -422,7 +424,6 @@ typedef struct _RGBA_Pipe RGBA_Pipe;
422typedef struct _RGBA_Pipe_Thread_Info RGBA_Pipe_Thread_Info; 424typedef struct _RGBA_Pipe_Thread_Info RGBA_Pipe_Thread_Info;
423#endif 425#endif
424typedef struct _RGBA_Image RGBA_Image; 426typedef struct _RGBA_Image RGBA_Image;
425typedef struct _RGBA_Image_Span RGBA_Image_Span;
426typedef struct _RGBA_Draw_Context RGBA_Draw_Context; 427typedef struct _RGBA_Draw_Context RGBA_Draw_Context;
427typedef struct _RGBA_Polygon_Point RGBA_Polygon_Point; 428typedef struct _RGBA_Polygon_Point RGBA_Polygon_Point;
428typedef struct _RGBA_Map_Point RGBA_Map_Point; 429typedef struct _RGBA_Map_Point RGBA_Map_Point;