[Mesa-dev] [PATCH] st/gbm: renaming pitch to stride on gallium
Elvis Lee
kwangwoong.lee at lge.com
Tue Jul 17 19:51:35 PDT 2012
> Thanks, applied. I'm trying to update it to support the new gbm import
> function now. Did you consider gallium as a dri driver though?
> I'm thinking that maintaining 1) the native gallium interface, 2) the
> gallium dri interface and 3) the intel dri interface is just too much.
> I'd like to drop support for the the gbm gallium state tracker and just
> use the DRI statetracker instead.
>
> Kristian
Actually, I didn't think that much and I don't know well about it.
I just tried to resolve build errors.
Elvis
--
Elvis Lee (이광웅)
Software Engineer @ LG Electronics Inc.
CTO Division / SW Platform Lab. / Advanced OS Tech Team.
Yang-jae dong 221, Seoul, Korea.
>
> > Signed-off-by: Elvis Lee <kwangwoong.lee at lge.com>
> > ---
> > src/gallium/state_trackers/gbm/gbm_drm.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/src/gallium/state_trackers/gbm/gbm_drm.c
> > b/src/gallium/state_trackers/gbm/gbm_drm.c
> > index a327fda..eb426ef 100644
> > --- a/src/gallium/state_trackers/gbm/gbm_drm.c
> > +++ b/src/gallium/state_trackers/gbm/gbm_drm.c
> > @@ -131,7 +131,7 @@ gbm_gallium_drm_bo_create_from_egl_image(struct
> gbm_device *gbm,
> > gdrm->screen->resource_get_handle(gdrm->screen, bo->resource,
> > &whandle);
> >
> > bo->base.base.handle.u32 = whandle.handle;
> > - bo->base.base.pitch = whandle.stride;
> > + bo->base.base.stride = whandle.stride;
> >
> > return &bo->base.base;
> > }
> > @@ -180,7 +180,7 @@ gbm_gallium_drm_bo_create(struct gbm_device *gbm,
> > gdrm->screen->resource_get_handle(gdrm->screen, bo->resource,
> > &whandle);
> >
> > bo->base.base.handle.u32 = whandle.handle;
> > - bo->base.base.pitch = whandle.stride;
> > + bo->base.base.stride = whandle.stride;
> >
> > return &bo->base.base;
> > }
> > --
> > 1.7.9.5
> >
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list