mesa: Enable remap table in core.
This enables the remap table in core. driInitExtensions is adapted to use the remap table. All uses of extension_helper.h are replaced by remap_helper.h. The chicken-egg problem of the DRI drivers is also solved. It is now also possible to pass NULL extensions to driInitExtensions. It will cause driInitExtensions to map all known functions. This functionality is used by software drivers and EGL_i915. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#include "intel_chipset.h"
|
||||
#include "intel_context.h"
|
||||
#include "intel_extensions.h"
|
||||
#include "utils.h"
|
||||
|
||||
|
||||
#define need_GL_ARB_copy_buffer
|
||||
@@ -63,7 +64,7 @@
|
||||
#define need_GL_VERSION_2_0
|
||||
#define need_GL_VERSION_2_1
|
||||
|
||||
#include "extension_helper.h"
|
||||
#include "main/remap_helper.h"
|
||||
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user