Eduardo Lima (Etrunko)
4c3242ca62
evas/wayland-egl: Don't crash when re->win is NULL
...
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-05-16 15:04:55 -03:00
Carsten Haitzler
be59443d78
remove rect leak in swapbuf flush in dri2 software path of evas
2013-05-15 19:38:16 +09:00
Stefan Schmidt
efb05eb717
evas: No need to finish a block with NULL statement.
2013-05-14 15:45:22 +01:00
Chris Michael
50f446199a
Fix 'return' with no value, in function returning non-void
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-14 10:49:14 +01:00
Sung W. Park
97806103eb
evas: fix evas flushing its command queue to wrong gl context in gl-backends
...
For native surface rendering (glX, egl) in gl-backend, if pixel get callback
function is called for native rendering, there is a case where evas will
try to call evas_gl_common_context_flush() to flush its remaining commands
in its command queue while the context is set current to the native surface/
context that is called within the pixel get callback. So, I've added an
engine function that forces a flush before it enters the pixel get callback
function.
2013-05-13 14:12:36 +09:00
Jiyoun Park
35b8b8fbf5
* Evas: Fix crash if app use native surface in wrong engine.
...
in sw engine, visual cannot be the image data.
2013-05-11 22:40:50 +09:00
Carsten Haitzler
fd8cb707b9
free strings in dri/drm swapper so they don't leak.
2013-05-10 13:35:02 +09:00
ChunEon Park
59429c0e66
evas/gl - and don't try blend as possible.
2013-05-10 01:51:42 +09:00
ChunEon Park
0315565b7b
evas - don't try blend on gl backened if the render option is COPY
2013-05-10 01:33:56 +09:00
Rafael Antognolli
aeb3669c6f
evas/wayland_egl: Implement image_mmap engine method.
...
It looks like several methods like this one should be moved to a common
place (gl_common, maybe).
2013-05-08 17:47:55 -03:00
Sung W. Park
289a666333
evas: Fixed evas_gl multi-window support design issue.
...
Evas engine is created per window but evas_gl engine was not properly
updating the engine info for new windows that are created. So, addressed
the design issue by passing engine_data to evas_gl engine apis..
2013-05-08 18:39:12 +09:00
Cedric Bail
d833244100
evas: add infrastructure to open from Eina_File.
2013-05-08 18:17:00 +09:00
Cedric Bail
c3f9d3b8b8
evas: Make Evas_Loader API public.
2013-05-08 18:16:59 +09:00
Jérémy Zurcher
41e59310a5
remove replace eo_data_get() call
2013-05-07 22:46:10 +02:00
Carsten Haitzler
2aec9927b3
disable glmap/unmap buffer bu default in evas gl engine
...
it seems glmapbuffer can be nasty overhead on some drivers, so go back
to gldrawarrays by default until such a time as we know a lot more...
i'm looking at YOU nvidia! YOU!
2013-05-07 16:20:02 +09:00
Carsten Haitzler
01d816fb96
fix swapregion rect to account for canvas rotation.
2013-05-07 10:26:43 +09:00
Rafael Antognolli
78d42bcb62
evas/wayland_shm: Don't free the swapper while still in use.
...
Wait until all the buffers were released before freeing it.
2013-05-06 15:03:09 -03:00
Rafael Antognolli
868206826a
evas/wayland_egl: Update this engine after flags and attributes move.
2013-05-06 12:53:37 -03:00
Cedric Bail
c5b0d28d73
evas: move flags and attribute around.
2013-05-06 19:02:04 +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