On Wed, Oct 3, 2018 at 9:36 AM Christian König
<ckoenig.leichtzumer...@gmail.com> wrote:
>
> What the heck are you talking about? As far as I can see this patch is
> about adding hw specific alignment to vlVaCreateImage which is a state
> tracker function.
>
> Completely agree that vlVaGetImage should respect the parameters given
> instead of using the one from the surface, but that sounds like a
> different problem.
>
> Maybe mixing mail threads?

The stated reason (when I originally asked why this was being done)
was that vlVaGetImage would overwrite bits past the image created with
vlVaCreateImage (because it uses the full surface size, rather than
the x/y/width/height clipped to both the image and the surface). My
comment was that the fix needs to go into vlVaGetImage, not into
vlVaCreateImage.

Cheers,

  -ilia
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to