evas/map: code refactoring.

use array for easier indexing in the coming anti-alias logic code.
evas/map: add comments for readability.
evas/map : set antialias context for map rendering.
evas/map: support aa in basic c computation.
evas/map: removed unnecessary.
evas/map: revise draw code.

reverted draw logic and applying aa drawing better safely.
textblock: correct text position for RTL text with margins

Summary:
If a RTL textblock has right margin, text is wrongly placed
(right margin is moved to left).
This patch fixes this issue.
Test cases are also added to test text position with margins.

@fix

Reviewers: tasn, herdsman

Subscribers: woohyun, cedric

Differential Revision: https://phab.enlightenment.org/D1691
evas/map: correct last 1 pixel handling in spans.

Clipper causes the different rendering result by last 1 pixel on the width.
Because the left edge x range (0 ~ (w - 1)) and right edge x range (0  ~ w) is different.
This fix won't be memory over access problem even if x span position is on the end of the edge.
Because the span width(x2 - x1) will be 0, and it restuls in skipping drawing.
It's hardly find the problem but you can detect the subtle rendering difference when some arbitrary meshes with map is
You can compare image and rectangle map drawing for this.

@fix
evas/examples: add map anti aliasing example.
evas/example - fix wrong image size.
edje entry: improve selection performance

Summary:
The selection performance is slow if we select large chunk of text.
This is caused by many rectangles created and deleted.
This patch provides a way to improve it by combine selection rectangles
of line in middle into one rectangles (i.e, if we have N lines,
the selection rectangle for lines 2 to N-1 will be combined into one.)

@feature

Reviewers: raster, cedric, tasn

Subscribers: herdsman, woohyun, cedric

Differential Revision: https://phab.enlightenment.org/D1508
Evas GL: Fix indirect rendering surfaces for GLES 1.1

Carefully select the requested EGL config and match it with
the available visual from X, including the following options:
- Stencil
- Depth
- MSAA

TODO: The same thing for GLX. And fix direct rendering as well.
ecore-drm: remove unnecessary setting file's flag of O_RDWR that are ignored.

Summary: setting flag of O_RDWR by F_SETFL is no effect. it's ignored.

@fix

Reviewers: gwanglim, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1695
ecore-drm: close fd handle if _ecore_drm_tty_setup() is failed in ecore_drm_tty_open().

Summary: added code to close fd handle and clear data.

@fix

Test Plan: N/A

Reviewers: gwanglim, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1701
ecore-drm: Sending Active to login1.Session

Summary:
Resolved TODO to set Active and State property of login1.Session
Set Active = true and State = 'active' via eldbus_proxy_property_set

@fix

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1696
ecore-drm: Fixup formatting from D1696 patch

Signed-off-by: Chris Michael <cp.michael@samsung.com>
ecore-drm: pass appropriate arguments to eldbus_message_arguments_get(), so that it can be return as success in _cb_device_resumed().

Summary: it seems eldbus_message_arguments_get() should be received all arguments to return success.

@fix

Reviewers: devilhorns, gwanglim

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1703
Evas GL: Remove unnecessary check

We already checked that re->func.get_pixels wasn't NULL.
Eolian lua: Fix typo in function name
Evas GL: Remove useless field

- fbo_attached is not used.
- buffers_allocated is just a bool