forked from enlightenment/efl
evas/render: Move REND_DGB macro to evas_private.h.
This will make it easier to enable it, since the changes to evas_render_mapped signature will can be done everywhere, not only inside evas_render.c. SVN revision: 76552
This commit is contained in:
parent
ce85aa2b48
commit
bc3f053287
|
@ -2351,7 +2351,11 @@ _proxy_subrender(Evas *e, Evas_Object *source)
|
||||||
evas_render_mapped(e, source, ctx, source->proxy.surface,
|
evas_render_mapped(e, source, ctx, source->proxy.surface,
|
||||||
-source->cur.geometry.x,
|
-source->cur.geometry.x,
|
||||||
-source->cur.geometry.y,
|
-source->cur.geometry.y,
|
||||||
1, 0, 0, e->output.w, e->output.h);
|
1, 0, 0, e->output.w, e->output.h
|
||||||
|
#ifdef REND_DGB
|
||||||
|
, 1
|
||||||
|
#endif
|
||||||
|
);
|
||||||
e->engine.func->context_free(e->engine.data.output, ctx);
|
e->engine.func->context_free(e->engine.data.output, ctx);
|
||||||
source->proxy.surface = e->engine.func->image_dirty_region
|
source->proxy.surface = e->engine.func->image_dirty_region
|
||||||
(e->engine.data.output, source->proxy.surface, 0, 0, w, h);
|
(e->engine.data.output, source->proxy.surface, 0, 0, w, h);
|
||||||
|
|
|
@ -5,8 +5,10 @@
|
||||||
#include "evas_cs2_private.h"
|
#include "evas_cs2_private.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// debug rendering
|
/* debug rendering
|
||||||
/* #define REND_DGB 1 */
|
* NOTE: Define REND_DGB 1 in evas_private.h to enable debugging. Don't define
|
||||||
|
* it here since the flag is used on other places too. */
|
||||||
|
|
||||||
/* #define STDOUT_DBG 1 */
|
/* #define STDOUT_DBG 1 */
|
||||||
|
|
||||||
#ifdef REND_DGB
|
#ifdef REND_DGB
|
||||||
|
|
|
@ -22,6 +22,8 @@
|
||||||
|
|
||||||
#define RENDER_METHOD_INVALID 0x00000000
|
#define RENDER_METHOD_INVALID 0x00000000
|
||||||
|
|
||||||
|
/* #define REND_DGB 1 */
|
||||||
|
|
||||||
typedef struct _Evas_Layer Evas_Layer;
|
typedef struct _Evas_Layer Evas_Layer;
|
||||||
typedef struct _Evas_Size Evas_Size;
|
typedef struct _Evas_Size Evas_Size;
|
||||||
typedef struct _Evas_Aspect Evas_Aspect;
|
typedef struct _Evas_Aspect Evas_Aspect;
|
||||||
|
@ -1072,7 +1074,11 @@ EAPI const char *_evas_module_libdir_get(void);
|
||||||
Eina_Bool evas_render_mapped(Evas *e, Evas_Object *obj,
|
Eina_Bool evas_render_mapped(Evas *e, Evas_Object *obj,
|
||||||
void *context, void *surface,
|
void *context, void *surface,
|
||||||
int off_x, int off_y, int mapped,
|
int off_x, int off_y, int mapped,
|
||||||
int ecx, int ecy, int ecw, int ech);
|
int ecx, int ecy, int ecw, int ech
|
||||||
|
#ifdef REND_DGB
|
||||||
|
, int level
|
||||||
|
#endif
|
||||||
|
);
|
||||||
void evas_render_invalidate(Evas *e);
|
void evas_render_invalidate(Evas *e);
|
||||||
void evas_render_object_recalc(Evas_Object *obj);
|
void evas_render_object_recalc(Evas_Object *obj);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue