Age | Commit message (Collapse) | Author | Files | Lines |
|
Since they rely on GstVideoAggregator.
Fix detection of things again, and Meson
|
|
Add a function to install the default RGBA pad templates,
but don't make them required so that there can be
GstGLFilter sub-classes with different input/output
caps if they want. Remove the hard-coded RGBA restriction in
the set_caps_features call, as it will be taken care
of by intersecting with the pad templates.
Update all the sub-classes to match
|
|
|
|
As a result we need to bind it on every draw in order to have the
correct state in the GL state machine.
|
|
They can describe in more detail (such as component sizes) the requested format.
|
|
gst_gl_context_del_shader() can be replaced by a g_object_unref().
gst_gl_context_gen_shader() should be replaced by using GstGLSLStage.
|
|
They are mirrors of GstGLBaseFilter's gl_start() and gl_stop() virtual methods
so use them instead.
|
|
The headers we include already define boolean on Windows with MSVC, and
it leads to a typedef redefinition error with jpeglib.h which tries to
redefine it in jmorecfg.h
|
|
There's no need for the jump to an extra thread in most cases, especially
when relying solely on a shader to render. We can use the provided
render_to_target() functions to simplify filter writing.
|
|
This simplifies and consolidates a lot of duplicated code creating
and modifying textures.
|
|
Rather than assuming something. e.g. zerocopy on iOS with GLES3 requires
the use of Luminance/Luminance Alpha formats and does not work with
Red/RG textures.
|
|
Add gst_gl_memory_allocator_get_default to get the default allocator based on
the opengl version. Allows us to stop hardcoding the PBO allocator which isn't
supported on gles2.
Fixes GL upload on iOS9 among other things.
|
|
replaced by equivalent functionality within gst_gl_base_memory_alloc()
|
|
The base class is useful for having multiple backing memory types other
than the default. e.g. IOSurface, EGLImage, dmabuf?
The PBO transfer logic is now inside GstGLMemoryPBO which uses GstGLBuffer
to manage the PBO memory.
This also moves the format utility functions into their own file.
|
|
g_free() is NULL-safe
|
|
Add the various tokens/strings for the differnet texture types (2D, rect, oes)
Changes the GLmemory api to include the GstGLTextureTarget in all relevant
functions.
Update the relevant caps/templates for 2D only textures.
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=749846
|
|
Post an error on the bus if anything bad happens while reading
and parsing the image file.
https://bugzilla.gnome.org/show_bug.cgi?id=749846
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=749846
|
|
We are using shaders everywhere and so they are not needed
|
|
Use them as such. They are also required for GL3 core profile support
with glDrawElements on OS X.
|
|
|
|
onStart/onStop are just duplicates of the basetransform ones, onReset
was never called but was used everywhere when stop should've been used.
|
|
|
|
LibJPEG uses macroblock of 8x8 sample. In this element we use RGB and
Y444, two 24bit formats that are stored in 32bit pixels. This mean we
have 32x32 bytes macroblocks. For this reason, we need to allocate
our buffer slightly larger. We also need to pass the line pointer in
the right order, otherwise the image endup upside-down.
https://bugzilla.gnome.org/show_bug.cgi?id=745109
|
|
This implements support for GstAllocationParams and memory alignments.
The parameters where simply ignored which could lead to crash on
certain platform when used with libav and no luck.
https://bugzilla.gnome.org/show_bug.cgi?id=744246
|
|
This allow saving a copy with libav video decoders or decoders with
similar padding requirement.
https://bugzilla.gnome.org/show_bug.cgi?id=740900
|
|
|
|
Needed so that the pipeline/application can limit the choice of GL api
to what it supports
|
|
|
|
|
|
desktop GL
|
|
also, be nice and disable blending for other elements
|
|
|
|
fixes a memory leak
|
|
- update for shaders
- add alpha property
- image placement properties shamelessly borrowed from gdkpixbufoverlay
- image placement properties are GstController able
- use GstGLMemory for the overlay image data
- add support for gles2
|
|
|
|
|