On 10/10/2013 01:15 AM, Topi Pohjolainen wrote:
Fixes a bug spotted by Chad.

The initial support allowed the stride of the source content in
the dma buffer creation to have some padding but it had to be
less than the padding in the target dma buffer being created.

Moreover the implementation also unnecessarily copied any
padding present in the source to the destination. By copying
only the actual pixel values one not only fixes this but also
allows the source to have greater padding than the destination.

CC: Chad Versace <[email protected]>
Signed-off-by: Topi Pohjolainen <[email protected]>
---
  tests/util/piglit-framework-gl/piglit_drm_dma_buf.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

Thanks. Committed.

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to