[Bug 769293] vaapi/gl : Uploading to GL texture optimization

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Aug 5 08:51:39 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=769293

--- Comment #7 from Hyunjun Ko <zzoon at igalia.com> ---
Created attachment 332784
  --> https://bugzilla.gnome.org/attachment.cgi?id=332784&action=edit
Proof of Concept: Uploading to GL texture optimization

This is proof-of-concept patch to share opinions.

Changes are following:
- Cut the relationship between GstVaapiVideoMetaTexture and VaapiTexture.
- Then VaapiDisplay has hash table of VaapiTexture instances.
- Each upload call, lookup same name of texture in the hash table and then use
it.

This is working fine with previous glupload patch, with good performance.

Question is:
1. Is it correct taht placing VaapiTexture apart from GstVaapiVideoMetaTexture?
2. Is it correct that VaapiDisplay has texture instances?
3. If reconfigure happens, texture instances should be removed? If so, where?
4. If we should limit the hash table's size, what's maximum size?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list