diff mbox series

[Bug,110443] vaapi/vpp: wrong output for non 64-bytes align width (ex: 1200)

Message ID bug-110443-502-65OskiR5np@http.bugs.freedesktop.org/ (mailing list archive)
State New, archived
Headers show
Series [Bug,110443] vaapi/vpp: wrong output for non 64-bytes align width (ex: 1200) | expand

Commit Message

bugzilla-daemon@freedesktop.org April 18, 2019, 4:51 p.m. UTC
https://bugs.freedesktop.org/show_bug.cgi?id=110443

--- Comment #4 from Julien Isorce <julien.isorce@gmail.com> ---
Something like this:
diff mbox series

Patch

--- a/src/gallium/include/pipe/p_screen.h
+++ b/src/gallium/include/pipe/p_screen.h
@@ -262,6 +262,15 @@  struct pipe_screen {
                                  struct winsys_handle *handle,
                                  unsigned usage);

+   boolean (*resource_get_stride)(struct pipe_screen *screen,
+                                  struct pipe_context *context,
+                                  struct pipe_resource *tex,
+                                  unsigned *stride);
+   boolean (*resource_get_offset)(struct pipe_screen *screen,
+                                  struct pipe_context *context,
+                                  struct pipe_resource *tex,
+                                  unsigned *offset);
+

? Thx