Cedric Bail
6f802ab234
evas: start work on making the loader module a public API.
...
Goal is to be able to remove all internal Evas call from inside all
loader module. To do so we are going to open and hold a reference to the
file from outside of the module, read the header, create the image data,
load the data, close that reference.
Once that done, the next step is to let the file remain open as soon as
the filename/key is set and add an API to set an Eina_File directly. This
way edje can maintain the same file open as it use for an edje object,
keeping things in sync and avoid rendering glitch during update.
2013-05-06 19:02:04 +09:00
Cedric Bail
c5b0d28d73
evas: move flags and attribute around.
2013-05-06 19:02:04 +09:00
Cedric Bail
2b61da5a5a
evas: remove svg loader from inside the merged tree.
2013-05-06 19:02:04 +09:00
Jiyoun Park
e7990ed693
* Evas: Fix gif loader can't load image which has normal frames and
...
error frames
2013-05-05 00:01:57 +09:00
Carsten Haitzler
d47a81ce17
last scissor always scissor stuff broke map. fix it to work again
...
accounting for fbo's and master clip.
2013-05-04 11:43:02 +09:00
Carsten Haitzler
73a088141e
oops merge me
2013-05-03 23:28:30 +09:00
Carsten Haitzler
e0a78afef0
oh copying way too much data into vbo's... we copied alloc size not
...
num size.. and alloc size is much bigger as it makes room for 1024
quads per alloc increase (6*1024 vertexes etc.). literally this drops
e17's cpu usage while compositing stuff by 40%...at least in my test
case.
2013-05-03 23:25:15 +09:00
Carsten Haitzler
1a81f0a8c2
force scissor to always be on indicating partial gl update region so
...
gpu can.. do more sensible things.
2013-05-03 19:31:28 +09:00
Carsten Haitzler
e8228afff6
dont get swapmode (and thus map buffer) unless we have at least SOME
...
update rects for this frame.
2013-05-02 19:31:47 +09:00
Carsten Haitzler
f8c9a8d167
revert the revert... damn you git!
...
Revert "Revert "Efl: replace eo_data_get for objects data referencing.""
This reverts commit b64a2994b3
.
2013-05-02 16:47:16 +09:00
Carsten Haitzler
b64a2994b3
Revert "Efl: replace eo_data_get for objects data referencing."
...
This reverts commit 654a3f5f94
.
2013-05-02 14:17:19 +09:00
Chris Michael
5dde3b3bfd
Add 'mode' and 'lost_back' fields to render_engine.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-01 11:42:05 +01:00
Chris Michael
d7ab7b5c95
Add enum for swap mode.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-01 11:42:05 +01:00
Chris Michael
1f229105f4
Fix check for Outbuf alpha.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-01 11:42:05 +01:00
Chris Michael
67c2a38144
Ensure destination_alpha is set in Outbuf when we (re)configure.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-01 11:42:05 +01:00
Chris Michael
c7192a56f4
Add evas_outbuf_reconfigure function.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-01 11:42:05 +01:00
Chris Michael
ac4f1191ea
Change rotation to unsigned int.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-01 11:42:05 +01:00
Chris Michael
843e5df1e5
Add evas_outbuf_reconfigure function prototype
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-01 11:42:05 +01:00
Chris Michael
e6d993f774
Free any rendering rectangles when we free the render_engine.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-01 11:42:05 +01:00
Daniel Zaoui
654a3f5f94
Efl: replace eo_data_get for objects data referencing.
2013-05-01 10:37:08 +03:00
Chris Michael
53f9d6ce8c
Check for a valid buffer before we free it (this fixes resize issues
...
when async_render).
NB: If buffer is still valid, that means compositor is not finished
with it yet, so don't release it.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 14:55:54 +01:00
Chris Michael
036454746b
Fix update_region to use bpl from the buffer
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 14:55:54 +01:00
Chris Michael
c71edd740c
Add some initial code to create the Outbuf and to free it.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 07:27:20 +01:00
Chris Michael
79b65ab184
Override the output_free engine function.
...
Add code to cleanup on engine shutdown.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 07:23:40 +01:00
Chris Michael
6a369b2a2a
If we have an existing outbuf, then free the old one and try to create
...
a new one.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 07:20:52 +01:00
Chris Michael
021e76aa25
Try to create the Outbuf during initial engine setup.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 07:16:33 +01:00
Chris Michael
248c2f8233
Add initial file for Outbuf
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 07:12:47 +01:00
Chris Michael
a67894a5a7
Add Render_Engine structure
...
Start on code to setup the output buffer.
Add code to init evas_common functions
Add override for engine setup.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 07:10:05 +01:00
Chris Michael
b607e66f68
Add Outbuf structure and some function prototypes
...
NB: These are not finalized yet and may change.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 07:10:05 +01:00
Chris Michael
8ef46df20d
Add rotation, depth, alpha to the engine info structure.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 07:10:05 +01:00
Chris Michael
57052b92e1
Add start of drm engine
...
NB: Nothing to see here, just basic evas_engine setup.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-29 13:02:00 +01:00
Chris Michael
53fd97fd08
Add missing braces
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-29 12:58:02 +01:00
Chris Michael
64a598d053
Add logging macros to drm engine.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-29 12:40:24 +01:00
Chris Michael
e8b7fa49ca
Add start of Drm Engine header.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-29 12:37:58 +01:00
Chris Michael
b8c6d19748
When we free the swap buffer, do Not munmap the buffer data.
...
Buffer data (in this instance) is from the swapper (ie: the creation
of the swapper allocates & mmaps the data). As such, we should not
unmap it when we free buffer(s), just when we free the swapper.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-29 11:32:18 +01:00
Chris Michael
672a2e36e3
Use the width & height from the buffer (actual image size) when
...
calling evas cache image data.
When we push an updated region, be sure to account for the rectangle
position during the conversion function.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-29 11:32:18 +01:00
Chris Michael
66d258d17b
Be sure to set the Render_Engine's info to the new engine info.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-29 11:32:18 +01:00
Chris Michael
1435a48d4d
Remove blank line
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-26 07:14:58 +01:00
Rafael Antognolli
6890a0e452
evas/wayland_shm: Fix resize to the left or top when rotated.
2013-04-25 19:58:05 -03:00
Rafael Antognolli
1ec6dd5fbc
evas/wayland_egl: Fix resize to the left or top when rotated.
2013-04-25 19:58:03 -03:00
Rafael Antognolli
0745e46d12
ecore_evas/wayland: Add support for rotation on wayland_egl backend.
...
Also move the common code for rotation_set from the shm engine to
wayland_common.
2013-04-24 15:24:37 -03:00
Rafael Antognolli
8ef6568ea7
ecore/evas wayland_shm: Add support for window rotation.
2013-04-23 18:52:54 -03:00
Cedric Bail
f2e95b094a
evas: take stride into account with swapbuf.
2013-04-23 16:48:50 +09:00
Carsten Haitzler
36b1b06a60
note in comments som get visual info from fbconfig stuff to mach
...
depths. doesn't help though.
2013-04-23 00:06:47 +09:00
ChunEon Park
529e1d3569
evas/evas_gl - cast arguments properly according to the spec of the gles/gl APIs.
2013-04-21 22:31:58 +09:00
Tom Hacohen
8b6c9449fb
Evas engine gl_x11: Fixed signed, unsigned comparison.
2013-04-18 12:42:06 +01:00
Carsten Haitzler
e5065da29c
fix nvidia texture from pixmap config depth match to be looser to
...
avoid non-matches.
2013-04-18 20:30:39 +09:00
Carsten Haitzler
6e90a37990
comments for sungwoo when he gets back...
2013-04-18 20:30:39 +09:00
Carsten Haitzler
d0f1933923
clean up glx native surface (texture from pixmap code) to be more anal
...
about matching depth etc.
2013-04-18 17:16:41 +09:00
Carsten Haitzler
7cae29becd
fix evas gl_x11 in 16bpp (and similar depths).
2013-04-18 15:17:10 +09:00