summaryrefslogtreecommitdiffstats
path: root/src/egl/main/egldisplay.h
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-10-23 02:52:14 +0800
committerChia-I Wu <olv@lunarg.com>2010-10-23 11:20:41 +0800
commite32ac5b8a963202dcdfb91354f77979765083000 (patch)
tree4814ea72fe3cda7306a88922f5ffe1810d4811b2 /src/egl/main/egldisplay.h
parent37213ceacc2d7b309de7641da501282f8f24c8c2 (diff)
egl: Fix _eglModeLookup.
Internally a mode belongs to a screen. But functions like eglGetModeAttribMESA treat a mode as a display resource: a mode can be looked up without a screen. Considering how KMS works, it is better to stick to the current implementation. To properly support looking up a mode without a screen, this commit assigns each mode (of all screens) a unique ID.
Diffstat (limited to 'src/egl/main/egldisplay.h')
0 files changed, 0 insertions, 0 deletions