This was prompted by a bug mentioning some fairly impossible errors coming from plugin-container running flash on a NV34 card. I identified two issues -- the major one is that NV3x cards don't support NPOT textures, so pretty much everything vdpau does won't work as is. NV4x cards do support NPOT textures though, so those should be more OK. (Both driven by the nv30 driver.)
In the process I was also asked to change the error handling of the functions I was changing, and those turned out to have had completely bogus error handling in the first place, so that's broken out as a separate patch. Ilia Mirkin (3): st/vdpau: don't return a device if the screen doesn't support NPOT st/vdpau: fix bogus error handling in output/bitmap creation st/vdpau: check surface params before creating surfaces src/gallium/state_trackers/vdpau/bitmap.c | 30 +++++++++----- src/gallium/state_trackers/vdpau/device.c | 5 +++ src/gallium/state_trackers/vdpau/output.c | 50 ++++++++++++------------ src/gallium/state_trackers/vdpau/vdpau_private.h | 8 ++++ 4 files changed, 59 insertions(+), 34 deletions(-) -- 1.8.3.2 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev