Fwd: dri2_init_screen
Daniel Melo Jorge da Cunha <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <CANbfre73hf9naEUYfaVm7NJVKB1y+1aoT9=zeLCP2Wgsf7cvjA@mail.gmail.com> |
---------- Forwarded message ---------- From: Daniel Melo Jorge da Cunha <[email protected]> Date: 2014-02-22 18:03 GMT-04:00 Subject: Fwd: dri2_init_screen To: [email protected] ---------- Forwarded message ---------- From: Daniel Melo Jorge da Cunha <[email protected]> Date: 2014-02-19 13:40 GMT-04:00 Subject: dri2_init_screen To: [email protected] Hi, I'm studying this piece of code but I'm having some difficulties... dri2_init_screen is assigned to InitScreen in the variable const struct __DriverAPIRec driDriverAPI. But I searched in the whole mesa directory and haven't found any call to InitScreen. Except in src/mesa/drivers/dri... But isn't this directory only used for old obsolete dri implementation? And so, who calls InitScreen? Some help... and thanks in advance. Hi again. This may sound like a crying, but indeed it is. I am in love studying mesa3d, but I really got stuck with this InitScreen... Who is calling it? It could not be in the files in src/mesa/drivers/dri... because that is for old obsolete dri implementation as far as I could learn. So, any help are welcomed... it could be just take a look at function x in file y, or just search in file z... anything are welcomed. I'm willingly for any help, thanks If someone cares... or wants to correct me... InitScreen is called by /src/mesa/drivers/dri/common/dri_util.c in *driver_configs = psp->driver->InitScreen(psp); which is up to date, the dri2_init_screen. What is obsolete is (for nouveau, for example) /src/mesa/drivers/dri/nouveau/nouveau_screen.c in const struct __DriverAPIRec nouveau_driver_api = { .InitScreen = nouveau_init_screen2, ... This is not called any more. Hope I'm right... _______________________________________________ mesa-users mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-users