#endif
#define LOG_TAG "MM_EVAS_RENDER"
//#define _INTERNAL_DEBUG_ /* debug only */
+#define SWAP(a, b) ({int t; t = a; a = b; b = t; })
#if 0
#define MMER_FENTER(); LOGD("<ENTER>");
result->x = 0;
result->y = 0;
+ if (evas_info->rotate_angle == DEGREE_90 || evas_info->rotate_angle == DEGREE_270) {
+ SWAP(evas_info->w, evas_info->h);
+#ifdef _INTERNAL_DEBUG_
+ LOGD("swapped width %d, height %d", evas_info->w, evas_info->h);
+#endif
+ }
+
switch (evas_info->display_geometry_method) {
case DISP_GEO_METHOD_LETTER_BOX:
/* set black padding for letter box mode */
LOGW("unsupported mode.");
break;
}
+
+ if (evas_info->rotate_angle == DEGREE_90 || evas_info->rotate_angle == DEGREE_270)
+ SWAP(evas_info->w, evas_info->h);
+
LOGD("geometry result [%d, %d, %d, %d]", result->x, result->y, result->w, result->h);
MMER_FLEAVE();