summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-04-17 20:09:44 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-04-17 20:31:55 +0200
commitfcae7cab276c2d3b19bb913ad908b67b7dd33089 (patch)
tree7008ebc815184309ccc284c9e7e1b05abbb55028 /src/modules/evas/engines
parente50b43d02fdb0b608f2c99014357c95a1a746c43 (diff)
eolian gen: enable constness generation on property getter impls
This changes a lot of things all across the EFL. Previously, methods tagged @const had both their external prototype and internal impl generated with const on object, while property getters only had const on the external API. This is now changed and it all has const everywhere. Ref T6859.
Diffstat (limited to 'src/modules/evas/engines')
-rw-r--r--src/modules/evas/engines/gl_generic/evas_ector_gl_buffer.c6
-rw-r--r--src/modules/evas/engines/gl_generic/evas_ector_gl_image_buffer.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/evas/engines/gl_generic/evas_ector_gl_buffer.c b/src/modules/evas/engines/gl_generic/evas_ector_gl_buffer.c
index 3610fcd61d..f0a0b0c20a 100644
--- a/src/modules/evas/engines/gl_generic/evas_ector_gl_buffer.c
+++ b/src/modules/evas/engines/gl_generic/evas_ector_gl_buffer.c
@@ -190,7 +190,7 @@ _evas_ector_gl_buffer_evas_ector_buffer_engine_image_release(Eo *obj EINA_UNUSED
190} 190}
191 191
192EOLIAN static void 192EOLIAN static void
193_evas_ector_gl_buffer_ector_buffer_size_get(Eo *obj EINA_UNUSED, 193_evas_ector_gl_buffer_ector_buffer_size_get(const Eo *obj EINA_UNUSED,
194 Evas_Ector_GL_Buffer_Data *pd, 194 Evas_Ector_GL_Buffer_Data *pd,
195 int *w, int *h) 195 int *w, int *h)
196{ 196{
@@ -199,7 +199,7 @@ _evas_ector_gl_buffer_ector_buffer_size_get(Eo *obj EINA_UNUSED,
199} 199}
200 200
201EOLIAN static Efl_Gfx_Colorspace 201EOLIAN static Efl_Gfx_Colorspace
202_evas_ector_gl_buffer_ector_buffer_cspace_get(Eo *obj EINA_UNUSED, 202_evas_ector_gl_buffer_ector_buffer_cspace_get(const Eo *obj EINA_UNUSED,
203 Evas_Ector_GL_Buffer_Data *pd) 203 Evas_Ector_GL_Buffer_Data *pd)
204{ 204{
205 if (pd->alpha_only) 205 if (pd->alpha_only)
@@ -209,7 +209,7 @@ _evas_ector_gl_buffer_ector_buffer_cspace_get(Eo *obj EINA_UNUSED,
209} 209}
210 210
211EOLIAN static Ector_Buffer_Flag 211EOLIAN static Ector_Buffer_Flag
212_evas_ector_gl_buffer_ector_buffer_flags_get(Eo *obj EINA_UNUSED, 212_evas_ector_gl_buffer_ector_buffer_flags_get(const Eo *obj EINA_UNUSED,
213 Evas_Ector_GL_Buffer_Data *pd EINA_UNUSED) 213 Evas_Ector_GL_Buffer_Data *pd EINA_UNUSED)
214{ 214{
215 return ECTOR_BUFFER_FLAG_CPU_READABLE | ECTOR_BUFFER_FLAG_DRAWABLE | 215 return ECTOR_BUFFER_FLAG_CPU_READABLE | ECTOR_BUFFER_FLAG_DRAWABLE |
diff --git a/src/modules/evas/engines/gl_generic/evas_ector_gl_image_buffer.c b/src/modules/evas/engines/gl_generic/evas_ector_gl_image_buffer.c
index a14375dc43..2a85948eee 100644
--- a/src/modules/evas/engines/gl_generic/evas_ector_gl_image_buffer.c
+++ b/src/modules/evas/engines/gl_generic/evas_ector_gl_image_buffer.c
@@ -126,14 +126,14 @@ _evas_ector_gl_image_buffer_evas_ector_buffer_engine_image_release(Eo *obj EINA_
126} 126}
127 127
128EOLIAN static Ector_Buffer_Flag 128EOLIAN static Ector_Buffer_Flag
129_evas_ector_gl_image_buffer_ector_buffer_flags_get(Eo *obj EINA_UNUSED, 129_evas_ector_gl_image_buffer_ector_buffer_flags_get(const Eo *obj EINA_UNUSED,
130 Evas_Ector_GL_Image_Buffer_Data *pd EINA_UNUSED) 130 Evas_Ector_GL_Image_Buffer_Data *pd EINA_UNUSED)
131{ 131{
132 return ECTOR_BUFFER_FLAG_CPU_READABLE | ECTOR_BUFFER_FLAG_DRAWABLE; 132 return ECTOR_BUFFER_FLAG_CPU_READABLE | ECTOR_BUFFER_FLAG_DRAWABLE;
133} 133}
134 134
135EOLIAN static void 135EOLIAN static void
136_evas_ector_gl_image_buffer_ector_buffer_size_get(Eo *obj EINA_UNUSED, 136_evas_ector_gl_image_buffer_ector_buffer_size_get(const Eo *obj EINA_UNUSED,
137 Evas_Ector_GL_Image_Buffer_Data *pd, 137 Evas_Ector_GL_Image_Buffer_Data *pd,
138 int *w, int *h) 138 int *w, int *h)
139{ 139{
@@ -142,7 +142,7 @@ _evas_ector_gl_image_buffer_ector_buffer_size_get(Eo *obj EINA_UNUSED,
142} 142}
143 143
144EOLIAN static Efl_Gfx_Colorspace 144EOLIAN static Efl_Gfx_Colorspace
145_evas_ector_gl_image_buffer_ector_buffer_cspace_get(Eo *obj EINA_UNUSED, 145_evas_ector_gl_image_buffer_ector_buffer_cspace_get(const Eo *obj EINA_UNUSED,
146 Evas_Ector_GL_Image_Buffer_Data *pd EINA_UNUSED) 146 Evas_Ector_GL_Image_Buffer_Data *pd EINA_UNUSED)
147{ 147{
148 return EFL_GFX_COLORSPACE_ARGB8888; 148 return EFL_GFX_COLORSPACE_ARGB8888;