summaryrefslogtreecommitdiff
path: root/src/lib/evas/include
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-08-21 10:36:55 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-08-21 10:36:55 -0400
commit69fae8c7bfa07a53f6e284f7ce302c3ee934197e (patch)
tree7d7fa8bf97b3347470fb36097ade57f7039111d6 /src/lib/evas/include
parentdaaf5ad190ab635567999e0f07ca08781afedb29 (diff)
evas: remove render2
Summary: this is more or less a dead project, having not been actively developed in over 2 years and instead forcing people to expend more time and energy to keep it compiling across refactors fix T7227 Reviewers: stefan_schmidt, Hermet, ManMower, devilhorns Reviewed By: Hermet, devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7227 Differential Revision: https://phab.enlightenment.org/D6878
Diffstat (limited to 'src/lib/evas/include')
-rw-r--r--src/lib/evas/include/evas_inline.x4
-rw-r--r--src/lib/evas/include/evas_private.h10
2 files changed, 0 insertions, 14 deletions
diff --git a/src/lib/evas/include/evas_inline.x b/src/lib/evas/include/evas_inline.x
index 7a2af7de1d..a2b96b1789 100644
--- a/src/lib/evas/include/evas_inline.x
+++ b/src/lib/evas/include/evas_inline.x
@@ -291,12 +291,9 @@ evas_object_clip_dirty(Evas_Object *eo_obj EINA_UNUSED, Evas_Object_Protected_Da
291 evas_object_clip_dirty_do(obj); 291 evas_object_clip_dirty_do(obj);
292} 292}
293 293
294extern Eina_Bool evas_render2_use;
295
296static inline void 294static inline void
297evas_object_async_block(Evas_Object_Protected_Data *obj) 295evas_object_async_block(Evas_Object_Protected_Data *obj)
298{ 296{
299 if (!evas_render2_use) return ;
300 if (EVAS_OBJECT_DATA_VALID(obj)) 297 if (EVAS_OBJECT_DATA_VALID(obj))
301 { 298 {
302 eina_lock_take(&(obj->layer->evas->lock_objects)); 299 eina_lock_take(&(obj->layer->evas->lock_objects));
@@ -307,7 +304,6 @@ evas_object_async_block(Evas_Object_Protected_Data *obj)
307static inline void 304static inline void
308evas_canvas_async_block(Evas_Public_Data *e) 305evas_canvas_async_block(Evas_Public_Data *e)
309{ 306{
310 if (!evas_render2_use) return ;
311 if (e) 307 if (e)
312 { 308 {
313 eina_lock_take(&(e->lock_objects)); 309 eina_lock_take(&(e->lock_objects));
diff --git a/src/lib/evas/include/evas_private.h b/src/lib/evas/include/evas_private.h
index b149c0b19e..9b5a7a2119 100644
--- a/src/lib/evas/include/evas_private.h
+++ b/src/lib/evas/include/evas_private.h
@@ -906,7 +906,6 @@ struct _Evas_Public_Data
906 unsigned char cleanup : 1; 906 unsigned char cleanup : 1;
907 Eina_Bool is_frozen : 1; 907 Eina_Bool is_frozen : 1;
908 Eina_Bool rendering : 1; 908 Eina_Bool rendering : 1;
909 Eina_Bool render2 : 1;
910 Eina_Bool inside_post_render : 1; 909 Eina_Bool inside_post_render : 1;
911 Eina_Bool devices_modified : 1; 910 Eina_Bool devices_modified : 1;
912}; 911};
@@ -1276,15 +1275,6 @@ struct _Evas_Object_Func
1276// preparation - may include rendering content to buffer or loading data 1275// preparation - may include rendering content to buffer or loading data
1277// from disk or uploading to texture etc. 1276// from disk or uploading to texture etc.
1278 void (*render_prepare) (Evas_Object *obj, Evas_Object_Protected_Data *pd, Eina_Bool do_async); 1277 void (*render_prepare) (Evas_Object *obj, Evas_Object_Protected_Data *pd, Eina_Bool do_async);
1279
1280// new render2 functions
1281
1282 void (*render2_walk) (Evas_Object *obj, Evas_Object_Protected_Data *pd,
1283 void *type_private_data, void *updates,
1284 int offx, int offy);
1285// void (*render2) (Evas_Object *obj, Evas_Object_Protected_Data *pd,
1286// void *type_private_data, void *output, void *context,
1287// void *surface, int x, int y);
1288}; 1278};
1289 1279
1290struct _Evas_Func 1280struct _Evas_Func