Re: [Mesa-dev] Question regarding dri2_egl_display conversion

2014-07-31 Thread Jaeyong Yoo
> > I'm trying to find the definition of "function" dri2_egl_display but failed. > > > Hi Jaeyong, > > The function is wrapped with a help of _EGL_DRIVER_STANDARD_TYPECASTS and > _EGL_DRIVER_TYPECAST macros as defined in src/egl/main/egldriver.h > Thanks, it is exactly what I want :-) Jaeyong

[Mesa-dev] Question regarding dri2_egl_display conversion

2014-07-31 Thread Jaeyong Yoo
Title: Samsung Enterprise Portal mySingle Hello Mesa :-) I'm reading the source code and I've got a simple question.   In egl_dri2.c, I saw the following code:      dri2_dpy = disp->DriverData; which is casting _EGLDisplay->DriverData to dri2_egl_display *.   Also, I saw the following code: