Cedric Bail
1073084807
evas: change cache API to forward Eo object.
2013-06-14 16:38:18 +09:00
Cedric Bail
ab9c734b7f
evas: cleanup GL texture allocation with some code refactoring.
2013-06-14 16:38:18 +09:00
Carsten Haitzler
745ce709a0
evas: wayland_egl - mirror changes for qcom tile begin/end in wayland egl.
2013-06-14 15:34:51 +09:00
Carsten Haitzler
7a9f40b5ee
evas: wayland egl - mirror changes to gl_x11 for swapbufferswithdamage
2013-06-14 15:32:39 +09:00
Carsten Haitzler
c1190d4539
evas: gl engine: chg eglswapbuffersregion to swapbufferswithdamage extn instead.
2013-06-14 14:42:03 +09:00
Eduardo Lima (Etrunko)
d3292a7ae9
Split .gitignore into multiple files
...
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-11 18:18:50 -03:00
Carsten Haitzler
fdabe06989
evas - partial rendering support now for qualcomm extn too.
2013-06-11 18:12:07 +09:00
Chris Michael
6b1e8905f8
Ok ... Big Wl Egl Overhaul...(evas portion)
...
- Setenv for egl_platform before we init gl/egl, etc
- Ignore check for NULL surface to indicate destroying (this is all
not need now).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-07 15:42:53 +01:00
Chris Michael
b951b98d47
Set render_engine info to new information in eng_setup before we do
...
comparisons.
Add comment about NULL surface being passed in.
Fix segfault when we close windows...uartie, this one's for you ;)
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-06 03:51:57 +01:00
Chris Michael
4d505eed1c
When checking for engine info changes, use the New engine info passed
...
in to us for the checks (not the old existing engine info).
NB: Fixes T134 and T135 buggers
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-05 13:24:09 +01:00
Carsten Haitzler
d32758e2de
evas: mirror partial swap fix in wl egl and move to alloca for rect buf.
2013-06-05 18:11:46 +09:00
Carsten Haitzler
0b8815a7e1
evas: fix partual swap rect output list - coords wrong.
2013-06-05 18:11:46 +09:00
Jiyoun Park
ebf0cd6728
Evas: fix gif cannot decode alpha value correctly.
2013-06-05 15:26:09 +09:00
Carsten Haitzler
20834f0925
match egl changes in x11 with wl.
2013-06-04 15:46:24 +09:00
Carsten Haitzler
2bfe58887d
evas gl: do not assume querying extension strings are extns in glx and egl.
2013-06-04 15:35:15 +09:00
Cedric Bail
080ce9316b
evas: refactorize gl texture creation code.
2013-06-04 15:04:19 +09:00
Cedric Bail
ad5d75dfcd
evas: add support for engine specific extention during thread task.
2013-06-04 11:20:25 +09:00
Simon
23ed5115c0
evas: Fix evas gif image loader for libgif version 5
...
Because arc doesn't like me much at the moment here's a simple patch to
fix the gif loader for the latest libgif version. DGifOpen now takes a
error param as its final argument, if the param is not NULL it will
return a error code if it fails. Similar to another patch i sent a few
months back. The patch has been tested on OBS for old and new versions.
2013-06-03 09:16:25 +01:00
Chris Michael
b524b31256
Add new wayland_egl engine that does buffer age, double/triple
...
buffering, etc, and uses evas gl_common (so glview/simple tests in elm work).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-31 09:43:23 +01:00
Chris Michael
30bd7c27e0
Add evas_wl_main file.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-31 09:43:23 +01:00
Chris Michael
c5355d32ee
Add start of new wayland_egl engine code.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-31 09:43:23 +01:00
Chris Michael
ae9246beae
Add evas_engine header file
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-31 09:43:23 +01:00
Chris Michael
a6dcda0adc
Add new Evas_Engine_Wayland_Egl header.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-31 09:43:23 +01:00
Chris Michael
a0ed1b5b5d
Remove old wayland_egl engine code in prep for rewrite to use gl_common.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-31 09:43:23 +01:00
Carsten Haitzler
6a4cdea904
fix evas partial swapotkeep the full re-render in the rects if it switches to full mode.
2013-05-29 21:38:11 +09:00
Chris Michael
23fc3b3da7
Fix possible memory leak reported by klockwork.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-29 13:11:54 +01:00
Carsten Haitzler
c8256f5fae
fix evas gl engine partial swap to do full swap in full mode.
2013-05-29 17:30:42 +09:00
Chris Michael
e232b629a7
At this stage of engine shutdown, the eina log domain has been removed
...
and is not valid, so don't use ERR to print a message.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-24 21:36:05 +01:00
Chris Michael
5f5ab9d9c6
minor formatting fixes.
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-24 21:34:33 +01:00
Chris Michael
bfc7e7cfd1
Set the surface user data to be the current buffer.
...
NB: This is needed because some compositors (Weston) are expecting
wl_surface_get_user_data to return a buffer.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-21 10:51:15 +01:00
Rafael Antognolli
99be49551e
evas/gl: Use GL_FRAMEBUFFER_BINDING, which is available on both.
...
Instead of a define from GL_DRAW_FRAMEBUFFER_BINDING to the above one,
just use it directly since it's available on gles and full gl.
2013-05-20 14:21:56 -03:00
Carsten Haitzler
0532a992d9
remove about 16m mem for mesa for extra evgl context
...
only creating the extra evasgl context on demand when/if needed and
thus save 16m of memory allocations corresponding to the extra context
2013-05-20 18:09:50 +09:00
Chris Michael
c727ab8088
Fix antognolli build break when --with-opengl=es.
...
Basically, EGL does not define a GL_DRAW_FRAMEBUFFER_BINDING so we
test for that and if not found then define it to be
GL_FRAMEBUFFER_BINDING
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-19 07:13:03 +01:00
Chris Michael
31b1e11d8d
Revert this, there is no build break apparently. Give cookie back to
...
antognolli
Revert "include evas_gl_common.h"
This reverts commit 81cee894e1
.
2013-05-18 17:52:32 +01:00
Chris Michael
81cee894e1
include evas_gl_common.h
...
(Bad antognolli, No cookie !!)
NB: Fixes build break !!! If we are going to use defines from glext.h,
let's be sure to have the necessary header included Yes ?? ;)
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-18 15:56:13 +01:00
Carsten Haitzler
e7349e8005
disable all the waiting on gl - squeeze some more performance out of gl.
2013-05-18 10:04:37 +09:00
Rafael Antognolli
8254bbc5e3
evas/gl: Restore framebuffer after texture creation.
...
If we don't do this, the framebuffer object used on shader_array_flush()
will be wrong.
NOTE: shader_array_flush() should take care of setting the fbo
correctly.
2013-05-17 20:31:06 -03:00
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