[Mesa-dev] [PATCH] st/va:Aligned image width and height to 16.
Ilia Mirkin
imirkin at alum.mit.edu
Wed Oct 3 14:56:11 UTC 2018
On Wed, Oct 3, 2018 at 9:36 AM Christian König
<ckoenig.leichtzumerken at 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
More information about the mesa-dev
mailing list