Add proper decRef, virtualize destructor and mute native window base debugging

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
Mute fbdev with TRACE()

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
Add proper glEGLImageTargetTexture2DOES handling

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
Merge pull request #6 from stskeeps/texture2does_decref_fbdev

Proper glEGLImageTargetTexture2DOES, some muting and reference handling
egl: install missing support.h header file

Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge pull request #7 from morphis/for-upstream/add-missing-support-header

egl: install missing support.h header file
fix config.status dependency tracking

variable expansion doesn't work in automake _SOURCES variables,
so config.status would create a "$(LNKR)" directory rather than
expand the variable.

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
Merge pull request #8 from groleo/master

fix config.status dependency tracking
lights: cast to correct pointer type

Signed-off-by: Simon Busch <morphis@gravedo.de>
tests: include correct header file for exit method to avoid compiler warning

Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge pull request #1 from morphis/for-upstream/further-fixes

For upstream/further fixes
hybris: install missing ui_compatibility_layer.h header file

Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge pull request #9 from morphis/for-upstream/install-ui-header

hybris: install missing ui_compatibility_layer.h header file
Switch to be using plugins for windowing systems

Remove offscreen rendering temporarily as well.

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
Merge pull request #10 from stskeeps/window_systems_in_modules

Switch to be using plugins for windowing systems
Add eglplatformcommon, server-side wayland enablement

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
Merge pull request #11 from stskeeps/waylandserverside

Add eglplatformcommon, server-side wayland enablement
hooks: add a hook for the __sF symbol (stdin, stdout, stderr)

The goal here is to catch the call to file methods where the FILE* pointer is either stdin, stdout or stderr, and translate that pointer to a valid glibc  pointer.

Limitation: Currently, only fputs is managed.


Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
hooks: use a constant to refer to the size of the FILE structure of bionic's libc.

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
hooks: redirect FILE* usage in all the stdio methods

 * All the methods of bionic's stdio that use a FILE* argument are now redirected, so that we can use the correct stdin,stdout or stderr if needed
 * fopen, fdopen, popen are hooked to the glibc version of the functions
 * __isthreaded symbol has been hooked to force the programs to use the thread-safe version of some stdio methods instead of an inline hard-coded implementation that uses the bionic FILE structure directly. See comments in hooks.c for details.


Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>