mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
gl/effects: use non-PBO GLMemory for internal textures
middle textures in gleffects do not need to use GstGLMemoryPBO as they aren't transfering data to/from the GPU. This will cost too much DMA memory and cause performance issue. Change the allocator to use non-PBO GstGLMemory. https://bugzilla.gnome.org/show_bug.cgi?id=776072
This commit is contained in:
parent
3357ddb0e1
commit
b1fd1d34bd
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ gst_gl_effects_gl_start (GstGLBaseFilter * base_filter)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
base_alloc = (GstGLBaseMemoryAllocator *)
|
base_alloc = (GstGLBaseMemoryAllocator *)
|
||||||
gst_gl_memory_allocator_get_default (context);
|
gst_allocator_find (GST_GL_MEMORY_ALLOCATOR_NAME);
|
||||||
params =
|
params =
|
||||||
(GstGLAllocationParams *) gst_gl_video_allocation_params_new (context,
|
(GstGLAllocationParams *) gst_gl_video_allocation_params_new (context,
|
||||||
NULL, &filter->out_info, 0, NULL, GST_GL_TEXTURE_TARGET_2D,
|
NULL, &filter->out_info, 0, NULL, GST_GL_TEXTURE_TARGET_2D,
|
||||||
|
|
Loading…
Reference in a new issue