| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This optimization makes use of already stringshare'd text and avoids
unnecessary stringshare_add calls in markup_set. It improves the
performance of edje_calc when reapplying text to the textblock part.
|
|
|
|
|
|
|
|
| |
The last fix 34020ed131c7a5da4d60bb3a452fac0d9ee5fdd1 was missing a
stringshare_del for the NOP case of markup_set. It led to a
constantly increasing ref count of the cached markup.
@fix
|
|
|
|
|
|
| |
The tests were assuming that textblock returns a sanitised utf8 string.
This is not always correct, because textblock may cache and return the
set utf8 markup if the text hasn't changed since the last set.
|
|
|
|
|
| |
This is made possible by inheriting first from an interface
instead of Eo.Base, thus implementing the Eo.Base interface.
|
|
|
|
|
|
|
|
| |
Edje was trying to be smart and ask textblock for its markup and compare
with its own cache before setting it again. This is completely wrong,
and textblock is smart enough to deal with it now.
@fix
|
|
|
|
|
|
|
|
|
|
| |
The markup cache was completely broken. It was not compared correctly,
so it wasn't even used, but regardless it was cleared just after being
set in some of the cases.
This is the first part of a performance regression fix in elm label.
@fix
|
|
|
|
|
|
| |
allow old edc code that was bad with no named parts to still build BUT
punish with a sleep for 10 seconds to help it be noticed, yet still
work.
|
|
|
|
|
|
|
| |
this function may be called repeatedly with no other animator created
in between, leading to invalid object access
@fix
|
|
|
|
| |
Oops...
|
| |
|
| |
|
|
|
|
|
|
|
| |
the struct is already defined in eldbus_general.eoeldbus: eldbus is
already defined in eo
the struct is already defined in eldbus_general.eott
|
| |
|
|
|
|
| |
API looks like this edje_edit_state_size_class_set
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Plenty of new API:
edje_edit_size_classes_list_get - to return total list of size_classes inside of
loaded collection of groups
edje_edit_size_class_add - add new size class into loaded collection
edje_edit_size_class_del - deleting
edje_edit_size_class_name_set - renaming existing size class into something new
and some setters and getters for min and max (width and height) of size class.
|
|
|
|
|
|
|
|
|
| |
xlib immediately crashes upon being passed a null DISPLAY object,
so every function in ecore-x should likely have safety checks such as these.
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Plenty of new API:
edje_edit_text_classes_list_get - to return total list of text_classes inside of
loaded collection of groups
edje_edit_text_class_add - add new text class into loaded collection
edje_edit_text_class_del - deleting
edje_edit_text_class_name_set - renaming existing text class into something new
edje_edit_text_class_font_{get|set} - get/set font name
edje_edit_text_class_size_{get|set} - get/set font size
|
|
|
|
| |
@fix
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: abort compile when unnamed part exists.
Reviewers: raster, reutskiy.v.v
Reviewed By: reutskiy.v.v
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3723
|
|
|
|
|
|
|
|
| |
in the case where a user wants to get the current date/time from a
specified timezone, this function allows a timezone string to be passed
as a parameter
@feature
|
|
|
|
| |
so many tabs
|
|
|
|
|
|
|
|
|
| |
xlib immediately crashes upon being passed a null DISPLAY object,
so every function in ecore-x should likely have safety checks such as these.
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
|
|
|
|
|
|
|
|
|
| |
When we are sending an event for touch motion, we should be specifing
the modifers in the event structure (not setting them to zero).
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
|
|
|
|
| |
forgot i still had them (wa stestign wayland with no printfs in it)
|
|
|
|
|
|
|
|
| |
we counted more requests outstanding than actually existed for x11 as
we sometimes sized to the SAME size or position. this keeps that
number more correct only incremeting outstanding count if we change.
@fix
|
|
|
|
|
| |
seeing these errors is significantly more helpful when debugging why the system
is not responding as expected
|
|
|
|
|
|
|
|
|
| |
pending programs have not started yet, so they are not directly attached
to the part. failing to remove them results in unexpected behavior from programs
ref 71ce70bc3f97853f3cfeb07ab0a9d8c213e322b1
@fix
|
| |
|
|
|
|
|
| |
Here is API for that:
> edje_edit_program_target_insert_at
|
|
|
|
|
|
| |
Check constraits before creating image structures
CID 1351558
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GL_SHADERS_GEN is defined in the Makefile.am of Ector and Evas. As these
Mafile_*.am are included in the same Makefile.am, there is a warning with
multiple defined triggered by automake. So this patch rename these 2 variables
Test Plan: autogen.sH
Reviewers: jpeg, cedric
Differential Revision: https://phab.enlightenment.org/D3711
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: Those defines are already defined in mingw-w64 header files
Test Plan: makE
Reviewers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3713
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
|
|
|
|
|
| |
a count of < 1 will just be a NULL pointer, and a count of > 0 will
be non NULL, so we can simplify these conditionals.
|
|
|
|
| |
Use ecore_drm_device_pointer_warp() to warp the pointer
|
|
|
|
|
| |
Adds a new API: ecore_drm_device_pointer_warp() which warps the pointer
to the specified location. All libinput seats with pointers are warped.
|
|
|
|
|
| |
Remove unused stuff from structs, cut out the EVAS_GL_DRM_BUFFERS env
var - it can't work anyway, gbm decides how many buffers it wants.
|
|
|
|
|
|
|
|
|
|
|
| |
We can't really drive this buffer unlocking from the page flip handler for
a lot of ugly reasons. This will be better in the future when evas
supports multiple target buffers. For now let's cut this down and keep
2 buffers locked at all times.
This gets drm-gl to work without massive tearing artifacts.
@fix
|
|
|
|
|
|
|
| |
If we don't have the right extension for age we probably don't have
partial updates either. The code to get the age calculations right is
actually much nastier than this anyway since gbm can hand back buffers
in arbitrary order, and as many as it feels like.
|
|
|
|
| |
It was a write only variable, kill it.
|
|
|
|
|
| |
Prevents stuttering when a head that was successfully set bounces
back to a previous frame the other head failed to set.
|
|
|
|
|
|
| |
We'll need to set outputs individually from the page flip handle to handle
page flip problems, so we need the per output setting logic in its own
function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Previously if we ever tried to queue up two page flips in less than a
retrace interval (which can easily happen since the evas clock isn't
based on vblank) we'd give up on ever using page flips again, and tear
on every screen update.
This fixes that by using a vblank callback for custom ticks and using
page flips whenever possible.
If a page flip fails it means a page flip raced with the vblank ticker,
so we need to queue up that frame when the current page flip completes.
This ensures that while we might drop interim frames, we will never
lose the most recent.
Now it should only be possible to tear if two ticks fire during the
wait for a page flip to complete. This would result in rendering
taking place in the front buffer. I don't think this can happen,
but an error is logged if it does.
Reviewers: zmike, devilhorns
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3594
|
|
|
|
|
|
|
| |
Revert this in the meanwhile. See discussion on the ML. This should be
enabled though, and issues fixed.
This reverts commit ec2f92e35f5a0836933d82b6b7f518a1d7550afc.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3696
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Oops!
Sorry, missed this one:
lib/edje/edje_edit.c: In function 'edje_edit_program_after_insert_at':
lib/edje/edje_edit.c:9980:14: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
if (place >= eina_list_count(epr->after))
^
Now fixed
|
|
|
|
|
| |
API looks like this:
> edje_edit_program_after_insert_at
|
|
|
|
| |
> edje_edit_state_tween_insert_at
|