| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
It seems that Red/RG textures aren't supported anymore for zerocopy decoding
with GLES 3.x. Instead use Luminance/Luminance Alpha textures which are.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Leave kCVOpenGLESTextureCacheMaximumTextureAgeKey to the default (1s). We used
to set it to 0 and flush manually, but apparently (looking at the GLES profiler)
0 means "disable the cache entirely".
|
|
|
|
|
| |
Copy the input metas so avfvideosrc and vtenc can fast path to using
CVPixelBuffer(s) even when using GLMemory.
|
|
|
|
|
| |
Always fill buffers with our custom memory. The custom memory will avoid
mapping CV/CM buffers unless necessary.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
The convention is to have the destroy notify last after any user data
|
|
|
|
| |
Fix build after 779dc3132c8f6dd560cb07cc2e2c3c72aeaa7845
|
|
|
|
| |
replaced by equivalent functionality within gst_gl_base_memory_alloc()
|
|
|
|
|
|
| |
It was added back in the day to make texture sharing work by default with
glimagesink inside playbin. These days glimagesink accepts (and converts) YUV
internally so it's no longer needed.
|
|
|
|
|
|
|
| |
Switch to using IOSurface instead of CVOpenGLTextureCache on OSX. The latter can't be
used anymore to do YUV => RGB with opengl3 on El Capitan as GL_YCBCR_422_APPLE
has been removed from the opengl3 driver. Also switch to NV12 from UYVY, which
was the only YUV format supported by CVOpenGLTextureCache.
|
|
First of a few commits to stop using CVOpenGLTextureCache on OSX and use
IOSurfaces directly instead. CVOpenGLTextureCache hasn't been updated for OpenGL
3 which is why texture sharing is currently disabled on OSX.
|