Matthew Waters
267bf848de
[671/906] win32: #include GL/glext.h on windows
...
also add some GL default variables if some GL types are not defined
2017-12-09 19:31:27 +00:00
Matthew Waters
dba83ebbd3
[670/906] display: replace glib deprecated api
2017-12-09 19:31:27 +00:00
Matthew Waters
7d4d1f50d4
[669/906] window: seperate object creation and context creation
2017-12-09 19:31:27 +00:00
Matthew Waters
63a5d9e981
[668/906] shader: fix gles2 segfault
2017-12-09 19:31:27 +00:00
Matthew Waters
0cc3150e37
[658/906] mixer: fix eos timestamp check
2017-12-09 19:31:27 +00:00
Matthew Waters
535074cc87
[655/906] download: remove erronous ReadBuffer call
...
- it was causing segfaults in mesa
- we didn't set the readbuffer so we shouldn't reset it
2017-12-09 19:31:27 +00:00
Matthew Waters
ccfa7d674a
[652/906] bumper: port to non-GLEW + arrays
2017-12-09 19:31:27 +00:00
Matthew Waters
847e6540fb
[651/906] up/download: fix some typos when removing GLEW
2017-12-09 19:31:27 +00:00
Matthew Waters
173467e48a
[650/906] filter: fix _draw_texture()'s wrong vertices
2017-12-09 19:31:27 +00:00
Matthew Waters
6bee9b9c93
[647/906] remove dependecy on glew
2017-12-09 19:31:27 +00:00
Matthew Waters
17fdb480d0
[646/906] some gl header fixes/additions
2017-12-09 19:31:27 +00:00
Matthew Waters
2f2916dd50
[645/906] fix gles2 compilation
2017-12-09 19:31:27 +00:00
Matthew Waters
57e209a423
[644/906] update .gitignore for some new files
2017-12-09 19:31:27 +00:00
Matthew Waters
c692a610de
[643/906] display: privatise most of the struct
2017-12-09 19:31:26 +00:00
Matthew Waters
e983f02e87
[642/906] add gstglconfig.h for apps to find out what our capabilites are
...
ie libgstgl can be compiled with any combination of opengl/gles2
2017-12-09 19:31:26 +00:00
Matthew Waters
8375116c4b
[641/906] display: feature check for GL extension functions
2017-12-09 19:31:26 +00:00
Matthew Waters
a87b070abb
[640/906] build: add missing file to built sources
2017-12-09 19:31:26 +00:00
Matthew Waters
4a886e91e4
[639/906] add get_proc_address implementations for egl and glx
2017-12-09 19:31:26 +00:00
Matthew Waters
4a024734da
[638/906] window: add get_proc_address + stub for retrieving gl functions
2017-12-09 19:31:26 +00:00
Matthew Waters
87e5cd6777
[637/906] x11_egl: add prelim support for choosing opengl or gles
2017-12-09 19:31:26 +00:00
Matthew Waters
59cb56fa4d
[636/906] window_x11: compact debug info
2017-12-09 19:31:26 +00:00
Matthew Waters
17e6d70dba
[635/906] fixup compile errors
2017-12-09 19:31:26 +00:00
Matthew Waters
68b4ddff12
[634/906] wayland egl: deactivate context before we destroy it
...
avoids a segfault with dri drivers
2017-12-09 19:31:26 +00:00
Matthew Waters
db236c510f
[633/906] display: fail properly in context creation in order to minimize a race condition
...
previously, on context creation, when we failed to get a valid context
we would still atempt to run the window mainloop as well as setting an error
on the display. This would cause the calling element to finalize the display
and therefore attempt to quit the window mainloop. However the mainloop
may not have started running. Thus when the window mainloop ran it would
never a get a quit message and never end.
2017-12-09 19:31:26 +00:00
Matthew Waters
12b045af81
[631/906] remove redefinition warnings in compiling tests
2017-12-09 19:31:26 +00:00
Matthew Waters
1ec4ffc824
[630/906] display: add gl api checking
...
i.e. check for cases where the window wants a different API than
what the library was compiled with
2017-12-09 19:31:26 +00:00
Matthew Waters
c3526080aa
[629/906] window: add GError for error handling of context creation
2017-12-09 19:31:26 +00:00
Matthew Waters
6c0e32864a
[627/906] shader: check for invalid objects
2017-12-09 19:31:26 +00:00
Matthew Waters
fd06db00b0
[625/906] add vtable for opengl functions
...
The vtable provides the ability for one to compile (but not link)
against both OpenGL and GL|ES and starts the move away from GLEW
2017-12-09 19:31:26 +00:00
Matthew Waters
344253e860
[624/906] OPENGL_ES2 => HAVE_GLES2 and add HAVE_OPENGL
...
use GstGLAPI to determine which code paths to execute.
perform some cleanups
2017-12-09 19:31:26 +00:00
Matthew Waters
ee992ec531
[623/906] move GL includes into a single file
2017-12-09 19:31:26 +00:00
Matthew Waters
4e46ef4a3f
[622/906] add missing GL_STENCIL_ATTACHMENT for gles2 compatability
2017-12-09 19:31:26 +00:00
Matthew Waters
0be301af24
[621/906] GstGLRendererAPI => GstGLAPI and get GstGLAPI from a window
2017-12-09 19:31:26 +00:00
Matthew Waters
e1ec48b6cf
[620/906] wayland_egl: attempt at resizing the video
2017-12-09 19:31:26 +00:00
Matthew Waters
62e6b36cd0
[619/906] fix typo for win32 debug variables
2017-12-09 19:31:26 +00:00
Matthew Waters
ccabf4545a
[618/906] add wayland-egl window backend
2017-12-09 19:31:26 +00:00
Matthew Waters
d169907472
[617/906] fix 'set but not used' compiler warnings
2017-12-09 19:31:26 +00:00
Matthew Waters
80fdf4c30c
[616/906] move window-specific code into seperate subfolders
2017-12-09 19:31:26 +00:00
Matthew Waters
cc1f734857
[615/906] preliminary support for Win32 EGL
2017-12-09 19:31:26 +00:00
Matthew Waters
d378a9d1d9
[614/906] try GLX first when using ANY | OPENGL | OPENGL3
2017-12-09 19:31:26 +00:00
Matthew Waters
fc4619f8a9
[613/906] window_cocoa: fix segfault with gst-launch-1.0 -e ... and sending SIGINT (Ctrl-C)
...
GNUstep has a signal handler for SIGINT which runs in the main thread.
However that thread has never been 'registered' with GNUstep so
the autorelease magic of objective-c causes a segfault from accessing
a null NSThread object somewhere deep in GNUstep.
2017-12-09 19:31:26 +00:00
Matthew Waters
517db226fe
[612/906] remove GNUstep makefiles
2017-12-09 19:31:26 +00:00
Matthew Waters
b36b9f4a4a
[611/906] cocoa port of determining gl platform at runtime
2017-12-09 19:31:25 +00:00
Matthew Waters
22aa2e093d
[610/906] WindowX11EGL: remove get_platform call
2017-12-09 19:31:25 +00:00
Matthew Waters
d857c58015
[609/906] win32 port of determining GL platform at runtime
...
- add GstGLWindowWin32 and GstGLWindowWin32WGL along the same lines as the
X11 variants
2017-12-09 19:31:25 +00:00
Matthew Waters
4d88e9977e
[608/906] add GST_GL_PLATFORM_ANY for choosing any platform
2017-12-09 19:31:25 +00:00
Matthew Waters
af658df918
[607/906] remove get_platform and get_window_handle vfuncs
...
- rename choose_visual() to choose_format() for later incorporating
win32 changes and new GstGLPlatform for WGL, EGL, GLX, etc.
2017-12-09 19:31:25 +00:00
Matthew Waters
538643e3c0
[606/906] determine the GL platform to use at runtime
...
- Make GstGLWindow subclassablerather than specified at compile time.
- Add GstGLWindowX11 for x11 windows and two subclasses, GstGLWindowX11GLX
and GstGLWindwX11EGL for GLX and EGL repectively. (win32 and cocoa
ports to come)
- Also cleanup GL library detection in configure.ac
2017-12-09 19:31:25 +00:00
Matthew Waters
9dd6570ca9
[605/906] shader: move to gst debugging
2017-12-09 19:31:25 +00:00
Matthew Waters
4c35d682c9
[603/906] update FSF address
2017-12-09 19:31:25 +00:00
Matthew Waters
9267372466
[601/906] fix typo causing shader compilation failure for uploading I420
2017-12-09 19:31:25 +00:00
Matthew Waters
d55bbf7f55
[600/906] docs: add docs for new objects and expand on some existing ones
2017-12-09 19:31:25 +00:00
Matthew Waters
7baddfbcbe
[599/906] GL|ES2: fix typos from recent changes and make downloading RGB formats work again
2017-12-09 19:31:25 +00:00
Matthew Waters
2a8de21658
[594/906] filter: update for up/download API changes and scaling fixes
2017-12-09 19:31:25 +00:00
Matthew Waters
09b60b563c
[592/906] memory: update for up/download API changes
2017-12-09 19:31:25 +00:00
Matthew Waters
776a5e536f
[591/906] mixer: save the upload object instead of querying for it every frame
2017-12-09 19:31:25 +00:00
Matthew Waters
39866ea830
[590/906] up/download: fix scaling on transfer
...
i.e. uploading from a 10x10 video frame to a 20x20 texture into another 30x30 videoframe
2017-12-09 19:31:25 +00:00
Matthew Waters
89569276c5
[587/906] mixer: mirror the changes done for filter
2017-12-09 19:31:25 +00:00
Matthew Waters
67f5b303c8
[586/906] fix up some debug statements to get them into the right categories
2017-12-09 19:31:25 +00:00
Matthew Waters
c7f49800e3
[583/906] deinterlace: change for new API
...
also allow elements to call the _filter_texture vfunc if they want
2017-12-09 19:31:25 +00:00
Matthew Waters
eed7e15ed2
[581/906] filter: add seperate filter function for operating on textures instead of buffers
2017-12-09 19:31:25 +00:00
Matthew Waters
fa5d1efaa3
[580/906] bufferpool: remove obselete gl meta buffer pool options
2017-12-09 19:31:25 +00:00
Matthew Waters
9306c201f8
[579/906] download: fix YV12 format
...
same as I420 but plane 1+2 swapped
2017-12-09 19:31:25 +00:00
Matthew Waters
75734e663c
[578/906] {up,down}load: add variants that can be called in the gl thread
2017-12-09 19:31:25 +00:00
Matthew Waters
574612f129
[576/906] remove uneeded GstGLMeta (use GstVideoMeta)
2017-12-09 19:31:25 +00:00
Matthew Waters
2de5a925c1
[575/906] filter: port to new upload/download
2017-12-09 19:31:25 +00:00
Matthew Waters
84ec07072d
[574/906] memory: implement transperent upload/download for data
...
(not async yet)
2017-12-09 19:31:25 +00:00
Matthew Waters
3ee54d3135
[573/906] add upload and download library objects
...
allows multiple upload pipelines that previously wasn't possible
(i.e. upload RGB and I420 and ... on the same GstGLDisplay)
2017-12-09 19:31:25 +00:00
Matthew Waters
3283e9e7de
[571/906] mixer: fix deadlock on shutdown
...
didn't reiterate over the sinkpad's displays and reactivate them causing a deadlock
2017-12-09 19:31:25 +00:00
Matthew
2dff52334c
[568/906] window: fix public definitions
2017-12-09 19:31:25 +00:00
Matthew
4a424d6d2c
[567/906] fix OpenGL|ES2 ifdef'ed code
2017-12-09 19:31:25 +00:00
Matthew Waters
6e6ee999a9
[564/906] glmemory: remove unused typedef
2017-12-09 19:31:24 +00:00
Matthew Waters
c4332505a9
[563/906] readd support for hanging GL pipelines e.g. ... ! gleffects ! fakesink
2017-12-09 19:31:24 +00:00
Matthew Waters
a1a653c8ed
[562/906] gldisplay: fix download of YUV formats
2017-12-09 19:31:24 +00:00
Matthew Waters
c0235ddafa
[561/906] gldisplay: fix endianess issues on RGB download
2017-12-09 19:31:24 +00:00
Matthew Waters
23ec206053
[559/906] glmixer: pass the mixpad's display to the querying element
2017-12-09 19:31:24 +00:00
Matthew Waters
9761f2cfa1
[555/906] Make the query for a GstGLDisplay a pad peer query
...
Allows the query to pass through bin boundaries and makes it possible for
arbitrary gl elements to be placed in bins.
2017-12-09 19:31:24 +00:00
Matthew Waters
c7ddead74b
[554/906] GstGLMemory: update for GstAllocator API changes
2017-12-09 19:31:24 +00:00
Matthew Waters
56bf6e2fb3
[544/906] fix memory leaks from not g_free()ing string returned by gst_element_get_name
2017-12-09 19:31:24 +00:00
Matthew Waters
7a79d684e2
[543/906] GstGLDisplay: fix segfault from GST_PTR_FORMAT trying to expand the object
2017-12-09 19:31:24 +00:00
Matthew Waters
83401761eb
[542/906] GstGLMixer: add allocation and bufferpool methods
...
based off GstBaseTransform
2017-12-09 19:31:24 +00:00
Matthew Waters
3f174671ec
[532/906] GstGLFilter: implement allocation vfuncs
2017-12-09 19:31:24 +00:00
Matthew Waters
e02e620055
[528/906] GstGLMeta: seperate upload/download/normal GL caps video formats
...
differentiate between upload, download and GL caps
2017-12-09 19:31:24 +00:00
Matthew Waters
38b6bdfa8b
[527/906] GstGLDisplay: add some trace debugging
2017-12-09 19:31:24 +00:00
Matthew Waters
0d5b8bbc38
[524/906] GstGLDisplay: rework the download code
...
data paramaters now take GstVideoFrame
remove redundant parameters
2017-12-09 19:31:24 +00:00
Matthew Waters
be177b01b7
[522/906] GstGLDisplay: add forgotten function definition
2017-12-09 19:31:24 +00:00
Matthew Waters
fe216ac6b2
[521/906] GstGLMemory: update for GstAllocator changes
2017-12-09 19:31:24 +00:00
Matthew Waters
590cf80c31
[520/906] GstGLMixer: fix for GstChildProxy changes
2017-12-09 19:31:24 +00:00
Matthew Waters
a8b1853755
[517/906] add GstGLBufferPool
...
which adds GstGLMeta to buffers
2017-12-09 19:31:24 +00:00
Matthew Waters
8527e1cd66
[516/906] add skeleton GstGLMeta
...
the GstVideoMeta _map/unmap functions still need implementing
2017-12-09 19:31:24 +00:00
Matthew Waters
6528aba8c9
[515/906] GstGLDisplay: rework gen_texture and upload
...
rename functions so that other code can create textures in the GL thread
change upload functions to take a GstVideoFrame
default to GLSL for upload conversion
2017-12-09 19:31:24 +00:00
Matthew Waters
ffdc6d496e
[514/906] add GstGLMemory and allocator
...
implement custom GstMemory for GL textures
currently map/unmap returns NULL although it might be favourable to upload/download/cache the image data
2017-12-09 19:31:24 +00:00
Matthew Waters
eb362969f1
[513/906] Remove GstGLBuffer (to be replaced by GstGLMeta)
2017-12-09 19:31:24 +00:00
Matthew Waters
25aa8a4042
[512/906] GstGLMixer: update for 1.0 based on the videomixer2 element in -good
2017-12-09 19:31:24 +00:00
Matthew Waters
3e18471e8e
[509/906] GstGLDisplay: update for 1.0
2017-12-09 19:31:24 +00:00
Matthew Waters
683c001f91
[504/906] GstGLFilter: update for 1.0
...
-fix up function definitions
-remove _prepare_output_buffer (functionality taken over by GstBufferPool).
2017-12-09 19:31:24 +00:00
Matthew Waters
f7bc5dcf83
[503/906] Rename GST_BOILERPLATE_* to G_DEFINE_TYPE_* and move _base_init into _class_init
2017-12-09 19:31:24 +00:00
Matthew Waters
1a034ba18d
[502/906] Update versioning for gstreamer 1.0
...
Renames GST_MAJORMINOR to GST_API_VERSION in build files
removes -lgstinterfaces from _LDADD flags
2017-12-09 19:31:24 +00:00
Raimo Järvi
563f0f2e57
[501/906] Fix building on 64 bit mingw-w64
...
https://bugzilla.gnome.org/show_bug.cgi?id=676428
2017-12-09 19:31:24 +00:00
Julien Isorce
20c429684e
[500/906] gldisplay: do not call glCheckFramebufferStatus if 0 is bound
...
Indeed it may return GL_FRAMEBUFFER_UNDEFINED if there is no
default framebuffer.
It seems to be the case on MacOSX
2017-12-09 19:31:24 +00:00