[Bug 759679] gl: unused function '_get_plane_width'

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Dec 27 23:46:38 PST 2015


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

--- Comment #3 from Matthew Waters (ystreet00) <ystreet00 at gmail.com> ---
So the difference between tex_width and GL_MEM_WIDTH() is to do with data
transfers.  The only case where the two values are different is when running on
gles2 and (with a non power of two stride or when stride - width * n_components
is > 8).  The associated texture_scaling[2] transforms between the two values.

GL_MEM_WIDTH() is the width that is viewable in the texture.
tex_width is the actual width of the texture.

So for glmemorypbo as all the occurrences of width are only dealing with the
width for data transfer, GL_MEM_WIDTH() is not needed.

Even in glmemory, GL_MEM_WIDTH() is only used to initialize tex_width.

-- 
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