• Chad Versace's avatar
    core: Aggregate all object vtbl's into wcore_platform_vtbl · 46696e98
    Chad Versace authored
    Functions have always been dispatched at the granularity of platform, not
    of object. Having each object possess a vtbl is unnecessary and just
    overcomplicates things. Virtual dispatch in C is messy business, and we
    should keep it as simple as possible.
    
    This patch moves the vtbl for each of wcore_display, wcore_config,
    wcore_context, and wcore_window into the vtbl of wcore_platform.
    Signed-off-by: default avatarChad Versace <chad.versace@linux.intel.com>
    46696e98
xegl_window.c 3.9 KB