summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-12-10 15:12:23 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-01-05 15:43:44 +0900
commite3af2783ff0921bf914d3edf0f0cd6253da27b8d (patch)
tree7c6df9669bc76da9495701a725509803faba112f
parentc461c10ff8f09b63a1e0d3c51c7d6e65ff31a8fd (diff)
Evas filters: Minor debug improvement
-rw-r--r--src/lib/evas/filters/evas_filter.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/lib/evas/filters/evas_filter.c b/src/lib/evas/filters/evas_filter.c
index b7d8370973..6aa18902cd 100644
--- a/src/lib/evas/filters/evas_filter.c
+++ b/src/lib/evas/filters/evas_filter.c
@@ -371,8 +371,9 @@ evas_filter_context_buffers_allocate_all(Evas_Filter_Context *ctx)
371 if (fillmode & EVAS_FILTER_FILL_MODE_STRETCH_Y) 371 if (fillmode & EVAS_FILTER_FILL_MODE_STRETCH_Y)
372 sh = h; 372 sh = h;
373 373
374 XDBG("Allocating temporary buffer of size %ux%u %s", sw, sh, in->alpha_only ? "alpha" : "rgba");
375 fb = evas_filter_buffer_alloc_new(ctx, sw, sh, in->alpha_only); 374 fb = evas_filter_buffer_alloc_new(ctx, sw, sh, in->alpha_only);
375 XDBG("Allocated temporary buffer #%d of size %ux%u %s",
376 fb ? fb->id : -1, sw, sh, in->alpha_only ? "alpha" : "rgba");
376 if (!fb) goto alloc_fail; 377 if (!fb) goto alloc_fail;
377 fb->transient = EINA_TRUE; 378 fb->transient = EINA_TRUE;
378 } 379 }
@@ -386,8 +387,9 @@ evas_filter_context_buffers_allocate_all(Evas_Filter_Context *ctx)
386 if (in->w) sw = in->w; 387 if (in->w) sw = in->w;
387 if (in->h) sh = in->h; 388 if (in->h) sh = in->h;
388 389
389 XDBG("Allocating temporary buffer of size %ux%u %s", sw, sh, in->alpha_only ? "alpha" : "rgba");
390 fb = evas_filter_buffer_alloc_new(ctx, sw, sh, in->alpha_only); 390 fb = evas_filter_buffer_alloc_new(ctx, sw, sh, in->alpha_only);
391 XDBG("Allocated temporary buffer #%d of size %ux%u %s",
392 fb ? fb->id : -1, sw, sh, in->alpha_only ? "alpha" : "rgba");
391 if (!fb) goto alloc_fail; 393 if (!fb) goto alloc_fail;
392 fb->transient = EINA_TRUE; 394 fb->transient = EINA_TRUE;
393 } 395 }
@@ -411,8 +413,9 @@ evas_filter_context_buffers_allocate_all(Evas_Filter_Context *ctx)
411 continue; 413 continue;
412 } 414 }
413 415
414 XDBG("Allocating buffer of size %ux%u %s", fb->w, fb->h, fb->alpha_only ? "alpha" : "rgba");
415 fb->backing = _rgba_image_alloc(fb, NULL); 416 fb->backing = _rgba_image_alloc(fb, NULL);
417 XDBG("Allocating buffer #%d of size %ux%u %s",
418 fb->id, fb->w, fb->h, fb->alpha_only ? "alpha" : "rgba");
416 if (!fb->backing) goto alloc_fail; 419 if (!fb->backing) goto alloc_fail;
417 } 420 }
418 421
@@ -435,7 +438,7 @@ evas_filter_buffer_empty_new(Evas_Filter_Context *ctx, Eina_Bool alpha_only)
435 438
436 fb->transient = EINA_FALSE; 439 fb->transient = EINA_FALSE;
437 440
438 XDBG("Created context buffer %d", fb->id); 441 XDBG("Created context buffer %d %s", fb->id, alpha_only ? "alpha" : "rgba");
439 return fb->id; 442 return fb->id;
440} 443}
441 444