path: root/src/lib/evas/canvas/evas_gl.c (follow)
AgeCommit message (Collapse)Author
2015-10-02Evas GL: Add new API to get current Evas GLJean-Philippe Andre
While this seems to go against the rest of the API (because we always pass in the Evas GL object), there is no way right now fully restore a context if there are multiple Evas GL objects. For instance, an app can use Evas GL from an Elm GLView, and also use Cairo with another Evas GL at the same time. In that case Cairo needs to restore the previous Evas GL but the library had no way of getting the current Evas GL. This is the equivalent of eglGetCurrentDisplay(). @feature
2015-07-17Evas GL: Fix sync, wlbuffer and image egl ext functionsJean-Philippe Andre
Before this patch, those EGL/EvasGL functions can not work without a current context. But EGL does not require any current context for those to work, or at least, this should be left to the driver to decide. Evas GL was only able to get a pointer to the display if a context was current. The display pointer should be infered from Evas_GL unless we can find a current display. EGL does not require a context to be current in most of these function calls. This should bring evasgl a little bit closer to EGL in terms of behaviour (those are EGL-only extensions, btw). Thanks @spacegrapher for the quick review @fix
2015-07-16Evas GL: Fix internal function pointerJean-Philippe Andre
evas_gl_native_context_get is an internal function passed around from an evas engine to evas_gl so that we can implement evasglCreateImageForContext without exposing any evas engine internal structure to evas_gl. It's all a ittle bit ugly but the previous solution with dlsym(DEFAULT) didn't work.
2015-06-03Evas GL: support surfaceless make currentDongyeon Kim
Summary: Evas GL now supports surfaceless make current, where evas_gl_make_current can be called with sfc parameter NULL. This closely resembles EGL_KHR_surfaceless_context extension, where applications that only want to render to client API targets can make current to NULL surface instead of creating a dummy egl surface. @feature
2015-03-16Evas GL: Add support for Evas GL 3.0mythri.venugopal
Summary: This should enable applications to use GLES 3.0 through evas gl. Todo: Fix indirect rendering issue occuring because texture objects cannot be shared between different version of GLES contexts. Todo: extension pointers need to be updated for GLES 3.0 Reviewers: wonsik, spacegrapher, jpeg Subscribers: cedric Differential Revision: @feature
2014-10-27Evas GL: string_query returns a const char *Jean-Philippe Andre
Why cast to/from void* in the first place?
2014-10-22Evas GL: Fix unused variableJean-Philippe Andre
CID 1248912
2014-10-20Evas GL: Add support for OpenGL-ES 1.1 (part 1)Jean-Philippe Andre
This commit adds lots of required definitions (GL_ stuff), new API entries in the Evas_GL_API struct, and basic new APIs to create OpenGL-ES 1.1 contexts. @feature
2014-10-20Evas GL: Fix compilation for EGL/GLESJean-Philippe Andre
Configure with --with-opengl=es --enable-egl Fixes runtime link dependencies
2014-10-20Evas GL: Add support for pbuffer surfacesJean-Philippe Andre
Supports only EGL for now :( These pbuffer surfaces can be used to create dummy surfaces for make_current and render threads. @feature
2014-10-20Evas GL: Add evas_gl_surface_queryJean-Philippe Andre
When using EGL, this function should return the properties of a surface. Limited to a subset of known attributes. Right now, this function will only work fine with EGL. GLX support or any other engine is not implemented. @feature
2014-10-20Evas GL: Return safe empty string "" instead of NULLJean-Philippe Andre
This is so dumb.
2014-10-20Evas GL: Add API evas_gl_rotation_getJean-Philippe Andre
This will be used to increase the chances of having direct rendering (no fallback to FBO) even if the window is rotated. The client is then responsible for handling the view rotation. @feature
2014-10-20Evas GL: Fix runtime linking issuesJean-Philippe Andre
There is some mess with gl common functions that need to be called from the engine itself, eg. error set/get.
2014-10-20Evas GL: Add safety checks for missing functionsJean-Philippe Andre
2014-10-20Evas GL: Add APIs to get current surface/contextJean-Philippe Andre
- evas_gl_current_surface_get - evas_gl_current_context_get @feature
2014-10-20Evas GL: Add API evas_gl_error_get()Jean-Philippe Andre
Similar in meaning to eglGetError() @feature
2014-10-20Evas GL: Add some thread safetyJean-Philippe Andre
This is only the core evas gl support. TODO: gl_x11 and other engines
2014-06-30Evas canvas eolian: Fix namespace and class name for the evas canvas.Tom Hacohen
2014-05-07do not use EINA_FALSE instead of NULLJérémy Zurcher
2013-06-20evas: Keep sane name for public headerSebastian Dransfeld
Evas_Common.h should be used for the public header, and rather rename evas_common.h internal header to another name. Sa: Evas_Common_Header.h -> Evas_Common.h evas_common.h -> evas_common_private.h Shouldn't have both Evas_Common.h and evas_common.h because of case insensitive filesystems.
2013-05-02revert the revert... damn you git!Carsten Haitzler (Rasterman)
Revert "Revert "Efl: replace eo_data_get for objects data referencing."" This reverts commit b64a2994b3b277cbe7fce17d7ee275fd0d78c925.
2013-05-02Revert "Efl: replace eo_data_get for objects data referencing."Carsten Haitzler (Rasterman)
This reverts commit 654a3f5f94c2464b8563d27da94a78398c112962.
2013-05-01Efl: replace eo_data_get for objects data referencing.Daniel Zaoui
2012-11-04merge: and now EvasVincent Torri
I've tested make -j 3 install and it works nicely I've tested expedite with software and opengl xlib, and it works. Not tested other engines, so please report any problems (engines or other) on the ML. TODO: examples and tests, I'll add them later ISSUE: Eina_Unicode size check. It indirectly depends on eina_config.h, which is created at the end of the configure script. So its size is always 0. I don't know how that size is used, so I can't do a lot, for now. SVN revision: 78895