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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 18 16:51:35 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=110443

--- Comment #4 from Julien Isorce <julien.isorce at gmail.com> ---
Something like this:

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190418/966cad55/attachment-0001.html>


More information about the dri-devel mailing list