summaryrefslogtreecommitdiff
path: root/src/mesa/main/dlist.c
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-10-26 11:31:37 +0800
committerChia-I Wu <olv@lunarg.com>2010-11-02 14:43:35 +0800
commit16ee7a55ae269612263468195f2af998cb9ef695 (patch)
tree868970ddf003098218bb905309f6d592e6b271fc /src/mesa/main/dlist.c
parentfdede1efaae32d23caf3b351cc766df12e3c5f8d (diff)
mesa: Allow contexts of different APIs to coexist.
This effectively redoes 1741ddb747ca0be284315adb4b6fe67ddf292d03 in a way that allows contexts of different APIs to coexist. First, the changes to the remap table are reverted. The remap table (driDispatchRemapTable) is always initialized in the same way regardless of the context API. es_generator.py is updated to use a local remap table, whose sole purpose is to help initialize its dispatch table. The local remap table and the global one are always different, as they use different glapidispatch.h. But the dispatch tables initialized by both remap tables are always compatible with glapi (libGL.so). Finally, the semantics of one_time_init are changed to per-api one-time initialization.
Diffstat (limited to 'src/mesa/main/dlist.c')
0 files changed, 0 insertions, 0 deletions