Page MenuHomePhabricator

Elementary label text sliding is jerky
Open, Pending on user inputPublic

Description

When we run label slide test in elementary_test, the text sliding is jerky.
Same behaviour we observe in real life label text sliding applications.

We profiled the text sliding using callgrind,
evas_gl_common_context_font_push seems to take a large time (~25% of the total execution time).
The callgrind profile report snapshot is here:

1,993,201,588 workspace_uifw/upstream/efl/src/modules/evas/engines/gl_common/evas_gl_context.c:evas_gl_common_context_font_push [/usr/local/lib/evas/modules/engines/gl_generic/v-1.18/module.so]

880,897,158  ???:0x0000000004221d00 [???]
761,959,755  workspace_uifw/upstream/efl/src/modules/evas/engines/gl_common/evas_gl_context.c:_evas_gl_common_context_push [/usr/local/lib/evas/modules/engines/gl_generic/v-1.18/module.so]
734,740,714  workspace_uifw/upstream/efl/src/modules/evas/engines/gl_common/evas_gl_font.c:evas_gl_font_texture_draw [/usr/local/lib/evas/modules/engines/gl_generic/v-1.18/module.so]
439,488,422  workspace_uifw/upstream/efl/src/modules/evas/engines/gl_common/evas_gl_shader.c:evas_gl_common_shader_program_get [/usr/local/lib/evas/modules/engines/gl_generic/v-1.18/module.so]
333,600,162  workspace_uifw/upstream/efl/src/lib/evas/common/evas_font_draw.c:evas_common_font_rgba_draw [/usr/local/lib/libevas.so.1.18.0]
231,795,699  workspace_uifw/upstream/efl/src/lib/eina/eina_hash.c:eina_hash_find_by_hash [/usr/local/lib/libeina.so.1.18.0]
201,944,453  /build/eglibc-oGUzwX/eglibc-2.19/malloc/malloc.c:_int_malloc [/lib/x86_64-linux-gnu/libc-2.19.so]
194,225,983  workspace_uifw/upstream/efl/src/modules/evas/engines/gl_common/evas_gl_context.c:pipe_region_expand [/usr/local/lib/evas/modules/engines/gl_generic/v-1.18/module.so]
191,356,667  workspace_uifw/upstream/efl/src/lib/eina/eina_hash.c:eina_hash_find [/usr/local/lib/libeina.so.1.18.0]
180,244,116  workspace_uifw/upstream/efl/src/modules/evas/engines/gl_common/evas_gl_context.c:evas_gl_common_context_image_push [/usr/local/lib/evas/modules/engines/gl_generic/v-1.18/module.so]
alok25 created this task.Aug 4 2016, 12:09 AM
alok25 assigned this task to tasn.Aug 4 2016, 1:45 AM
alok25 updated the task description. (Show Details)
alok25 added a subscriber: herdsman.
alok25 added subscribers: id213sin, minudf.
alok25 raised the priority of this task from Normal to Incoming Queue.Aug 24 2016, 3:12 AM
stefan_schmidt triaged this task as Normal priority.Feb 10 2017, 6:56 AM
zmike edited projects, added Restricted Project; removed efl.Jun 11 2018, 6:59 AM
zmike edited projects, added efl: rendering; removed Restricted Project.Jun 11 2018, 7:56 AM
zmike reassigned this task from tasn to ManMower.
zmike added a subscriber: tasn.
ManMower lowered the priority of this task from Normal to Pending on user input.Jun 11 2018, 8:05 AM

I see a smooth framerate in testing here, however the matched speed labels at the bottom don't properly match speed.

Is the problem this ticket is about still present?

ManMower removed ManMower as the assignee of this task.Feb 14 2019, 12:18 PM
ManMower added a subscriber: ManMower.