[gstreamer-bugs] [Bug 599883] [differencematte] regressions after gdkpixbuf to libpng migration
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Oct 28 02:59:54 PDT 2009
https://bugzilla.gnome.org/show_bug.cgi?id=599883
GStreamer | gst-plugins-gl | git
Filippo Argiolas <fargiolas> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|HEAD |0.10.2
--- Comment #1 from Filippo Argiolas <fargiolas at gnome.org> 2009-10-28 10:59:48 CET ---
commit fc1d0f5e3c297fa2f0390d72597307c956ce6d3c
Author: Filippo Argiolas <filippo.argiolas at gmail.com>
Date: Wed Oct 28 10:41:53 2009 +0100
differencematte: fix regressions from gdkpixbuf to libpng migration
The background image needs to be scaled to fit current texture size.
Previously this was done by gdk_pixbuf_scale_simple but that's been
removed.
Create a texture from the background pixbuf with correct dimensions and
use interpolation shader to scale it to the right size. Interpolation
fragment shader doesn't have too much sense if all the textures don't
have the same size so this seemed the most natural place to do the
scaling. It could probably be done with some custom texture mapping
outside the shader but it involved more code.
Fixes bug #599883.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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