gstreamer/gst-libs/gst/gl
Gwang Yoon Hwang ecfe5b0801 gl: implement GstGLMemoryEGL
Because current GstEGLImageMemory does not inherit GstGLMemory, GLUpload
allocates additional GLMemory and upload the decoded contents from the decoder
which uses EGLImage (e.g. gst-omx in RPi).

This work adds GstGLMemoryEGL to avoid this overhead. Decoders allocate
GstGLMemoryEGL and decode its contents to the EGLImage of GstGLMemoryEGL.  And
GLUpload uses this memory without allocation of additional textures and blit
operations.

[Matthew Waters]: gst-indent the sources and fix a critical retreiving the egl
display from the memory.

https://bugzilla.gnome.org/show_bug.cgi?id=760916
2017-12-09 19:32:19 +00:00
..
android glwindow: Fix android build 2017-12-09 19:32:15 +00:00
cocoa gl/cocoa: Fix incompatible type warning 2017-12-09 19:32:19 +00:00
dispmanx gl: be consistent in gobject boilerpate 2017-12-09 19:32:09 +00:00
eagl gl/cocoa/eagl: don't leak GThread's when dispatching messages 2017-12-09 19:32:19 +00:00
egl gl: implement GstGLMemoryEGL 2017-12-09 19:32:19 +00:00
glprototypes gl: add support for building against GLES3 headers 2017-12-09 19:32:18 +00:00
utils gl: Fix compiler warning about unused const variable with gcc 6 2017-12-09 19:32:17 +00:00
wayland gl: add .def file for msvc builds 2017-12-09 19:32:16 +00:00
win32 gl: be consistent in gobject boilerpate 2017-12-09 19:32:09 +00:00
x11 gl/x11/navigation: add button press to the selected event mask 2017-12-09 19:32:14 +00:00
.gitignore [644/906] update .gitignore for some new files 2017-12-09 19:31:27 +00:00
gl.h gl: move control binding proxy implementation from glvideomixer 2017-12-09 19:32:15 +00:00
gstgl_enums.h gl*memory: document new functionality and objects 2017-12-09 19:32:17 +00:00
gstgl_fwd.h gl: implement GstGLMemoryEGL 2017-12-09 19:32:19 +00:00
gstglapi.c gl: misc docs fixes/additions 2017-12-09 19:32:17 +00:00
gstglapi.h gl: fix gles3 header usage for older platforms 2017-12-09 19:32:19 +00:00
gstglbasefilter.c gl: misc docs fixes/additions 2017-12-09 19:32:17 +00:00
gstglbasefilter.h gl: misc docs fixes/additions 2017-12-09 19:32:17 +00:00
gstglbasememory.c glbasememory: take a pointer as the wrapped gpu handle 2017-12-09 19:32:19 +00:00
gstglbasememory.h glbasememory: take a pointer as the wrapped gpu handle 2017-12-09 19:32:19 +00:00
gstglbuffer.c gl*memory: document new functionality and objects 2017-12-09 19:32:17 +00:00
gstglbuffer.h gl*memory: document new functionality and objects 2017-12-09 19:32:17 +00:00
gstglbufferpool.c glmemory: add wrapped data pointers to setup_buffer 2017-12-09 19:32:19 +00:00
gstglbufferpool.h glbufferpool: use gst_gl_base_memory_alloc as a generic GL allocation framework 2017-12-09 19:32:12 +00:00
gstglcolorconvert.c glviewconvert: Port more things to GLES/GL 3 compatibility 2017-12-09 19:32:19 +00:00
gstglcolorconvert.h glcolorconvert: implement usage of a buffer pool 2017-12-09 19:32:14 +00:00
gstglcontext.c gl: add support for building against GLES3 headers 2017-12-09 19:32:18 +00:00
gstglcontext.h gl: misc docs fixes/additions 2017-12-09 19:32:17 +00:00
gstglcontrolbindingproxy.c gl: move control binding proxy implementation from glvideomixer 2017-12-09 19:32:15 +00:00
gstglcontrolbindingproxy.h gl: move control binding proxy implementation from glvideomixer 2017-12-09 19:32:15 +00:00
gstgldebug.c gl: misc docs fixes/additions 2017-12-09 19:32:17 +00:00
gstgldebug.h gl: misc docs fixes/additions 2017-12-09 19:32:17 +00:00
gstgldisplay.c gl: implement GstGLMemoryEGL 2017-12-09 19:32:19 +00:00
gstgldisplay.h gl: misc docs fixes/additions 2017-12-09 19:32:17 +00:00
gstglfeature.c glfeature add a specific debug category 2017-12-09 19:32:14 +00:00
gstglfeature.h gl: add .def file for msvc builds 2017-12-09 19:32:16 +00:00
gstglfilter.c bad: use new gst_element_class_add_static_pad_template() 2017-12-09 19:32:18 +00:00
gstglfilter.h glfilter: retrieve the shader attributes from the GL thread 2017-12-09 19:32:17 +00:00
gstglformat.c gl*memory: document new functionality and objects 2017-12-09 19:32:17 +00:00
gstglformat.h gl*memory: document new functionality and objects 2017-12-09 19:32:17 +00:00
gstglframebuffer.c gl: initialize output params to 0 before calling gl functions 2017-12-09 19:32:05 +00:00
gstglframebuffer.h bad: Add g_autoptr() support to all types 2017-12-09 19:32:12 +00:00
gstglmemory.c glmemory: add wrapped data pointers to setup_buffer 2017-12-09 19:32:19 +00:00
gstglmemory.h glmemory: add wrapped data pointers to setup_buffer 2017-12-09 19:32:19 +00:00
gstglmemorypbo.c glbasememory: take a pointer as the wrapped gpu handle 2017-12-09 19:32:19 +00:00
gstglmemorypbo.h glmemorypbo: remove our own alloc()/wrapped()/etc functions 2017-12-09 19:32:13 +00:00
gstgloverlaycompositor.c glmemory: add gst_gl_memory_allocator_get_default 2017-12-09 19:32:13 +00:00
gstgloverlaycompositor.h gloverlaycompositor: Hide GstCompsitionOverlay object 2017-12-09 19:32:06 +00:00
gstglquery.c glquery: remove unnecessary pointer check 2017-12-09 19:32:16 +00:00
gstglquery.h gl: add a gstglquery object for arbitrary GL queries 2017-12-09 19:32:15 +00:00
gstglshader.c glshader: add glBindFragDataLocation 2017-12-09 19:32:18 +00:00
gstglshader.h glshader: add glBindFragDataLocation 2017-12-09 19:32:18 +00:00
gstglshaderstrings.c glshaderstrings: fixup the external-oes fragment shader 2017-12-09 19:32:10 +00:00
gstglshaderstrings.h glslstage: expose the default shader strings as public 2017-12-09 19:32:10 +00:00
gstglsl.c glviewconvert: Port more things to GLES/GL 3 compatibility 2017-12-09 19:32:19 +00:00
gstglsl.h gl: add some GLSL utility functions 2017-12-09 19:32:09 +00:00
gstglsl_private.h glviewconvert: Port more things to GLES/GL 3 compatibility 2017-12-09 19:32:19 +00:00
gstglslstage.c glshader: some compatibility changes for GL 1.4 2017-12-09 19:32:17 +00:00
gstglslstage.h gl: misc docs fixes/additions 2017-12-09 19:32:17 +00:00
gstglsyncmeta.c gl: syncmeta: define GL_TIMEOUT_IGNORED in more portable way 2017-12-09 19:32:16 +00:00
gstglsyncmeta.h glsyncmeta: separate out gpu/cpu waits. 2017-12-09 19:32:16 +00:00
gstglupload.c gl: implement GstGLMemoryEGL 2017-12-09 19:32:19 +00:00
gstglupload.h gl: misc docs fixes/additions 2017-12-09 19:32:17 +00:00
gstglutils.c glutils: remove custom code for setting caps features 2017-12-09 19:32:17 +00:00
gstglutils.h glupload: always add texture-target field to GL caps 2017-12-09 19:32:14 +00:00
gstglviewconvert.c glmemory: add wrapped data pointers to setup_buffer 2017-12-09 19:32:19 +00:00
gstglviewconvert.h glviewconvert: Fix stereoscopic handling w/ texture-target 2017-12-09 19:32:14 +00:00
gstglwindow.c glwindow: reduce the number of GMutexes and GConds in send_message() 2017-12-09 19:32:19 +00:00
gstglwindow.h glwindow: Hide navigation specific internal API and add API to asynchronously send navigation events 2017-12-09 19:32:13 +00:00
Makefile.am gl: Fix compiler warning about unused const variable with gcc 6 2017-12-09 19:32:17 +00:00