OSDN Git Service

android: fix llvmpipe software rendering
authorChih-Wei Huang <cwhuang@linux.org.tw>
Sat, 18 Jun 2016 13:57:23 +0000 (21:57 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 3 Aug 2016 11:07:50 +0000 (19:07 +0800)
commitdd087180e6cffab379e540946171b25d689c1ddc
tree58719f86ceda06d27e041ea8f65616dd821c07f2
parentda3af9265c75e3872cb7550e425ad8bbf1bb4d99
android: fix llvmpipe software rendering

The commit 8093990 changed the prototype of dri2_create_image_from_winsys
and the stride handling. Note whandle.stride is measured in bytes, but
buf->stride is in pixels. The patch honours the new semantics.
include/GL/internal/dri_interface.h
src/egl/drivers/dri2/platform_android.c
src/gallium/state_trackers/dri/drisw.c