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:

 

   struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp);

which is converting _EDLDisplay * to dri2_egl_display *.

 

Are those two things the same?

I'm trying to find the definition of "function" dri2_egl_display but failed.

 

Best regards,

Jaeyong

 

 

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to