mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-03 02:28:26 +02:00
radeon: move debug symbol add DRI2
This commit is contained in:
parent
61da612a4f
commit
e7d06a55c5
5 changed files with 14 additions and 13 deletions
|
|
@ -82,9 +82,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#include "vblank.h"
|
||||
#include "utils.h"
|
||||
#include "xmlpool.h" /* for symbolic values of enum-type options */
|
||||
#ifndef R200_DEBUG
|
||||
int R200_DEBUG = (0);
|
||||
#endif
|
||||
|
||||
/* Return various strings for glGetString().
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -84,6 +84,8 @@ static const GLubyte *radeonGetString(GLcontext * ctx, GLenum name)
|
|||
radeon->radeonScreen->AGPMode;
|
||||
const char* chipname;
|
||||
|
||||
|
||||
|
||||
if (IS_R300_CLASS(radeon->radeonScreen))
|
||||
chipname = "R300";
|
||||
else
|
||||
|
|
@ -93,15 +95,18 @@ static const GLubyte *radeonGetString(GLcontext * ctx, GLenum name)
|
|||
agp_mode);
|
||||
|
||||
if (IS_R300_CLASS(radeon->radeonScreen)) {
|
||||
sprintf(&buffer[offset], " %sTCL",
|
||||
(radeon->radeonScreen->chip_flags & RADEON_CHIPSET_TCL)
|
||||
? "" : "NO-");
|
||||
sprintf(&buffer[offset], " %sTCL",
|
||||
(radeon->radeonScreen->chip_flags & RADEON_CHIPSET_TCL)
|
||||
? "" : "NO-");
|
||||
} else {
|
||||
sprintf(&buffer[offset], " %sTCL",
|
||||
!(radeon->TclFallback & RADEON_TCL_FALLBACK_TCL_DISABLE)
|
||||
? "" : "NO-");
|
||||
!(radeon->TclFallback & RADEON_TCL_FALLBACK_TCL_DISABLE)
|
||||
? "" : "NO-");
|
||||
}
|
||||
|
||||
if (radeon->radeonScreen->driScreen->dri2.enabled)
|
||||
strcat(buffer, " DRI2");
|
||||
|
||||
return (GLubyte *) buffer;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -65,6 +65,10 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#include "common_misc.h"
|
||||
#include "common_lock.h"
|
||||
|
||||
#ifndef RADEON_DEBUG
|
||||
int RADEON_DEBUG = (0);
|
||||
#endif
|
||||
|
||||
/* =============================================================
|
||||
* Scissoring
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -75,10 +75,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#include "vblank.h"
|
||||
#include "utils.h"
|
||||
#include "xmlpool.h" /* for symbolic values of enum-type options */
|
||||
#ifndef RADEON_DEBUG
|
||||
int RADEON_DEBUG = (0);
|
||||
#endif
|
||||
|
||||
|
||||
/* Return various strings for glGetString().
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -212,7 +212,6 @@ DRI_CONF_END;
|
|||
static const GLuint __driNConfigOptions = 17;
|
||||
|
||||
#ifndef RADEON_DEBUG
|
||||
int RADEON_DEBUG = 0;
|
||||
|
||||
static const struct dri_debug_control debug_control[] = {
|
||||
{"fall", DEBUG_FALLBACKS},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue