/* topvwins */
int use_gl, use_hwc, use_multi_layer, hwc, hwc_windows;
int use_buffer_flush, deiconify_approve;
+ int config_engine;
const char *engine;
Eina_List *win_list;
res = eldbus_message_error_get(msg, &name, &text);
EINA_SAFETY_ON_TRUE_GOTO(res, finish);
- res = eldbus_message_arguments_get(msg, "iiiiisiia("VALUE_TYPE_FOR_TOPVWINS")",
+ res = eldbus_message_arguments_get(msg, "iiiiisiiia("VALUE_TYPE_FOR_TOPVWINS")",
&e_info_client.use_gl, &e_info_client.use_hwc, &e_info_client.use_multi_layer,
- &e_info_client.hwc, &e_info_client.hwc_windows, &engine,
+ &e_info_client.hwc, &e_info_client.hwc_windows,
+ &engine, &e_info_client.config_engine,
&e_info_client.use_buffer_flush, &e_info_client.deiconify_approve,
&array);
EINA_SAFETY_ON_FALSE_GOTO(res, finish);
res = eldbus_message_error_get(msg, &name, &text);
EINA_SAFETY_ON_TRUE_GOTO(res, finish);
- res = eldbus_message_arguments_get(msg, "iiiiisiia("VALUE_TYPE_FOR_TOPVWINS")",
- &e_info_client.use_gl, &e_info_client.use_hwc, &e_info_client.use_multi_layer,
- &e_info_client.hwc, &e_info_client.hwc_windows, &engine,
- &e_info_client.use_buffer_flush, &e_info_client.deiconify_approve,
- &array);
+ res = eldbus_message_arguments_get(msg, "a("VALUE_TYPE_FOR_TOPVWINS")", &array);
EINA_SAFETY_ON_FALSE_GOTO(res, finish);
- e_info_client.engine = eina_stringshare_add(engine);
_e_win_info_make_array(array);
goto ec_info;
printf("GL : %s\n", e_info_client.use_gl ? "on":"off");
- printf("ENG: %s\n", e_info_client.engine);
+ printf("ENG: %s (config: %d)\n", e_info_client.engine, e_info_client.config_engine);
if (e_info_client.use_hwc)
{
if (e_info_client.hwc)
Eldbus_Message *reply = eldbus_message_method_return_new(msg);
Eldbus_Message_Iter *iter = eldbus_message_iter_get(reply);
- eldbus_message_iter_basic_append(iter, 'i', e_comp_config_get()->engine);
+ eldbus_message_iter_basic_append(iter, 'i', e_comp_gl_get());
eldbus_message_iter_basic_append(iter, 'i', e_comp_config_get()->hwc);
eldbus_message_iter_basic_append(iter, 'i', e_comp_config_get()->hwc_use_multi_plane);
eldbus_message_iter_basic_append(iter, 'i', e_comp->hwc);
eldbus_message_iter_basic_append(iter, 'i', _e_info_server_is_hwc_windows());
eldbus_message_iter_basic_append(iter, 's', ecore_evas_engine_name_get(e_comp->ee));
+ eldbus_message_iter_basic_append(iter, 'i', e_comp_config_get()->engine);
eldbus_message_iter_basic_append(iter, 'i', e_config->use_buffer_flush);
eldbus_message_iter_basic_append(iter, 'i', e_config->deiconify_approve);
Eldbus_Message *reply = eldbus_message_method_return_new(msg);
Eldbus_Message_Iter *iter = eldbus_message_iter_get(reply);
- eldbus_message_iter_basic_append(iter, 'i', e_comp_config_get()->engine);
- eldbus_message_iter_basic_append(iter, 'i', e_comp_config_get()->hwc);
- eldbus_message_iter_basic_append(iter, 'i', e_comp_config_get()->hwc_use_multi_plane);
- eldbus_message_iter_basic_append(iter, 'i', e_comp->hwc);
- eldbus_message_iter_basic_append(iter, 'i', _e_info_server_is_hwc_windows());
- eldbus_message_iter_basic_append(iter, 's', ecore_evas_engine_name_get(e_comp->ee));
- eldbus_message_iter_basic_append(iter, 'i', e_config->use_buffer_flush);
- eldbus_message_iter_basic_append(iter, 'i', e_config->deiconify_approve);
-
_msg_ecs_append(iter, EINA_TRUE);
return reply;
//{ "method_name", arguments_from_client, return_values_to_client, _method_cb, ELDBUS_METHOD_FLAG },
static const Eldbus_Method methods[] = {
- { "get_window_info", NULL, ELDBUS_ARGS({"iiiiisa("VALUE_TYPE_FOR_TOPVWINS")", "array of ec"}), _e_info_server_cb_window_info_get, 0 },
- { "get_ec_info", NULL, ELDBUS_ARGS({"iiiiisa("VALUE_TYPE_FOR_TOPVWINS")", "array of ec"}), _e_info_server_cb_ec_info_get, 0 },
+ { "get_window_info", NULL, ELDBUS_ARGS({"iiiiisiiia("VALUE_TYPE_FOR_TOPVWINS")", "array of ec"}), _e_info_server_cb_window_info_get, 0 },
+ { "get_ec_info", NULL, ELDBUS_ARGS({"a("VALUE_TYPE_FOR_TOPVWINS")", "array of ec"}),_e_info_server_cb_ec_info_get, 0 },
{ "get_all_window_info", NULL, ELDBUS_ARGS({"a("VALUE_TYPE_FOR_TOPVWINS")", "array of ec"}), _e_info_server_cb_all_window_info_get, 0 },
{ "compobjs", NULL, ELDBUS_ARGS({"a("SIGNATURE_COMPOBJS_CLIENT")", "array of comp objs"}), _e_info_server_cb_compobjs, 0 },
{ "subsurface", NULL, ELDBUS_ARGS({"a("SIGNATURE_SUBSURFACE")", "array of ec"}), _e_info_server_cb_subsurface, 0 },