[intel] Make the no_rast option be standard driconf instead of INTEL_NO_RAST.
This commit is contained in:
@@ -548,7 +548,7 @@ intelInitContext(struct intel_context *intel,
|
|||||||
dri_bufmgr_set_debug(intel->bufmgr, GL_TRUE);
|
dri_bufmgr_set_debug(intel->bufmgr, GL_TRUE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (getenv("INTEL_NO_RAST")) {
|
if (driQueryOptionb(&intel->optionCache, "no_rast")) {
|
||||||
fprintf(stderr, "disabling 3D rasterization\n");
|
fprintf(stderr, "disabling 3D rasterization\n");
|
||||||
FALLBACK(intel, INTEL_FALLBACK_USER, 1);
|
FALLBACK(intel, INTEL_FALLBACK_USER, 1);
|
||||||
}
|
}
|
||||||
|
@@ -584,7 +584,7 @@ GLboolean intelInitContext( struct intel_context *intel,
|
|||||||
/* DRI_TEXMGR_DO_TEXTURE_RECT ); */
|
/* DRI_TEXMGR_DO_TEXTURE_RECT ); */
|
||||||
|
|
||||||
/* Force all software fallbacks */
|
/* Force all software fallbacks */
|
||||||
if (getenv("INTEL_NO_RAST")) {
|
if (driQueryOptionb(&intel->optionCache, "no_rast")) {
|
||||||
fprintf(stderr, "disabling 3D rasterization\n");
|
fprintf(stderr, "disabling 3D rasterization\n");
|
||||||
intel->no_rast = 1;
|
intel->no_rast = 1;
|
||||||
}
|
}
|
||||||
|
@@ -51,14 +51,21 @@
|
|||||||
#include "intel_batchbuffer.h"
|
#include "intel_batchbuffer.h"
|
||||||
|
|
||||||
PUBLIC const char __driConfigOptions[] =
|
PUBLIC const char __driConfigOptions[] =
|
||||||
DRI_CONF_BEGIN DRI_CONF_SECTION_PERFORMANCE
|
DRI_CONF_BEGIN
|
||||||
DRI_CONF_FTHROTTLE_MODE(DRI_CONF_FTHROTTLE_IRQS)
|
DRI_CONF_SECTION_PERFORMANCE
|
||||||
DRI_CONF_VBLANK_MODE(DRI_CONF_VBLANK_DEF_INTERVAL_0)
|
DRI_CONF_FTHROTTLE_MODE(DRI_CONF_FTHROTTLE_IRQS)
|
||||||
DRI_CONF_SECTION_END DRI_CONF_SECTION_QUALITY
|
DRI_CONF_VBLANK_MODE(DRI_CONF_VBLANK_DEF_INTERVAL_0)
|
||||||
DRI_CONF_FORCE_S3TC_ENABLE(false)
|
DRI_CONF_SECTION_END
|
||||||
DRI_CONF_ALLOW_LARGE_TEXTURES(1)
|
DRI_CONF_SECTION_QUALITY
|
||||||
DRI_CONF_SECTION_END DRI_CONF_END;
|
DRI_CONF_FORCE_S3TC_ENABLE(false)
|
||||||
const GLuint __driNConfigOptions = 4;
|
DRI_CONF_ALLOW_LARGE_TEXTURES(1)
|
||||||
|
DRI_CONF_SECTION_END
|
||||||
|
DRI_CONF_SECTION_DEBUG
|
||||||
|
DRI_CONF_NO_RAST(false)
|
||||||
|
DRI_CONF_SECTION_END
|
||||||
|
DRI_CONF_END;
|
||||||
|
|
||||||
|
const GLuint __driNConfigOptions = 5;
|
||||||
|
|
||||||
#ifdef USE_NEW_INTERFACE
|
#ifdef USE_NEW_INTERFACE
|
||||||
static PFNGLXCREATECONTEXTMODES create_context_modes = NULL;
|
static PFNGLXCREATECONTEXTMODES create_context_modes = NULL;
|
||||||
|
Reference in New Issue
Block a user