summaryrefslogtreecommitdiff
path: root/src/lib/ector/gl/ector_gl_buffer.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-12-16 16:44:57 -0800
committerJean-Philippe Andre <jp.andre@samsung.com>2016-01-05 15:43:44 +0900
commite3a7f657d91631d0d3828e70d092b94429ead098 (patch)
tree92d8b1cc6db81be7f963149a134b072929292ce4 /src/lib/ector/gl/ector_gl_buffer.c
parent116fe3c65cd541b85623820605e237c4076024f2 (diff)
ector: add Ector.GL.Buffer.* support.
Diffstat (limited to 'src/lib/ector/gl/ector_gl_buffer.c')
-rw-r--r--src/lib/ector/gl/ector_gl_buffer.c43
1 files changed, 3 insertions, 40 deletions
diff --git a/src/lib/ector/gl/ector_gl_buffer.c b/src/lib/ector/gl/ector_gl_buffer.c
index e3732b9c74..19840f77b0 100644
--- a/src/lib/ector/gl/ector_gl_buffer.c
+++ b/src/lib/ector/gl/ector_gl_buffer.c
@@ -1,50 +1,14 @@
1#ifdef HAVE_CONFIG_H 1#ifdef HAVE_CONFIG_H
2# include "config.h" 2# include "config.h"
3#else
4# define EFL_BETA_API_SUPPORT
5#endif 3#endif
6 4
7#include <Eo.h> 5#include <Ector.h>
8#include "Ector_GL.h" 6#include "Ector_GL.h"
9#include "ector_private.h" 7#include "ector_private.h"
10#include "ector_gl_private.h" 8#include "ector_gl_private.h"
11#include "ector_generic_buffer.eo.h" 9#include "ector_buffer.h"
12#include "ector_gl_buffer_base.eo.h"
13 10
14typedef struct _Ector_GL_Buffer_Base_Data Ector_GL_Buffer_Base_Data; 11#define MY_CLASS ECTOR_GL_BUFFER_CLASS
15struct _Ector_GL_Buffer_Base_Data
16{
17};
18
19static Ector_Buffer_Flag
20_ector_gl_buffer_base_ector_generic_buffer_flags_get(Eo *obj, Ector_GL_Buffer_Base_Data *pd)
21{
22}
23
24static Eina_Bool
25_ector_gl_buffer_base_ector_generic_buffer_pixels_set(Eo *obj, Ector_GL_Buffer_Base_Data *pd, void *pixels, int width, int height, int stride, Efl_Gfx_Colorspace cspace, Eina_Bool writable, unsigned char l, unsigned char r, unsigned char t, unsigned char b)
26{
27}
28
29static uint8_t *
30_ector_gl_buffer_base_ector_generic_buffer_span_get(Eo *obj, Ector_GL_Buffer_Base_Data *pd, int x, int y, unsigned int w, Efl_Gfx_Colorspace cspace, unsigned int *length)
31{
32}
33
34static void
35_ector_gl_buffer_base_ector_generic_buffer_span_free(Eo *obj, Ector_GL_Buffer_Base_Data *pd, uint8_t *data)
36{
37}
38
39static uint8_t *
40_ector_gl_buffer_base_ector_generic_buffer_map(Eo *obj, Ector_GL_Buffer_Base_Data *pd, int *offset, unsigned int *length, Ector_Buffer_Access_Flag mode, unsigned int x, unsigned int y, unsigned int w, unsigned int h, Efl_Gfx_Colorspace cspace, unsigned int *stride)
41{
42}
43
44static void
45_ector_gl_buffer_base_ector_generic_buffer_unmap(Eo *obj, Ector_GL_Buffer_Base_Data *pd, void *data, int offset, unsigned int length)
46{
47}
48 12
49static Eo_Base * 13static Eo_Base *
50_ector_gl_buffer_eo_base_constructor(Eo *obj, void *pd) 14_ector_gl_buffer_eo_base_constructor(Eo *obj, void *pd)
@@ -57,4 +21,3 @@ _ector_gl_buffer_eo_base_destructor(Eo *obj, void *pd)
57} 21}
58 22
59#include "ector_gl_buffer.eo.c" 23#include "ector_gl_buffer.eo.c"
60#include "ector_gl_buffer_base.eo.c"