2012-04-23 18:56:22 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2007-2009 Gabest
|
|
|
|
* http://www.gabest.org
|
|
|
|
*
|
|
|
|
* This Program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
* any later version.
|
|
|
|
*
|
|
|
|
* This Program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with GNU Make; see the file COPYING. If not, write to
|
2012-09-09 18:16:11 +00:00
|
|
|
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA USA.
|
2012-04-23 18:56:22 +00:00
|
|
|
* http://www.gnu.org/copyleft/gpl.html
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
//#define ENABLE_VTUNE
|
2017-01-23 05:14:26 +00:00
|
|
|
//#define ENABLE_PCRTC_DEBUG
|
2017-11-08 06:47:23 +00:00
|
|
|
//#define ENABLE_ACCURATE_BUFFER_EMULATION
|
2012-04-23 18:56:22 +00:00
|
|
|
#define ENABLE_JIT_RASTERIZER
|
|
|
|
|
|
|
|
//#define DISABLE_HW_TEXTURE_CACHE // Slow but fixes a lot of bugs
|
|
|
|
|
|
|
|
//#define DISABLE_BITMASKING
|
|
|
|
|
|
|
|
//#define DISABLE_COLCLAMP
|
|
|
|
|
|
|
|
//#define DISABLE_DATE
|
2013-01-14 09:25:16 +00:00
|
|
|
|
2015-04-30 21:06:54 +00:00
|
|
|
|
2016-05-16 15:08:20 +00:00
|
|
|
#if !defined(NDEBUG) || defined(_DEBUG) || defined(_DEVEL)
|
2013-01-16 18:25:53 +00:00
|
|
|
#define ENABLE_OGL_DEBUG // Create a debug context and check opengl command status. Allow also to dump various textures/states.
|
2015-04-24 21:11:44 +00:00
|
|
|
//#define ENABLE_OGL_DEBUG_FENCE
|
2014-03-24 14:03:02 +00:00
|
|
|
//#define ENABLE_OGL_DEBUG_MEM_BW // compute the quantity of data transfered (debug purpose)
|
2016-10-14 18:24:52 +00:00
|
|
|
//#define ENABLE_TRACE_REG // print GS reg write
|
|
|
|
//#define ENABLE_EXTRA_LOG // print extra log
|
2016-05-16 15:08:20 +00:00
|
|
|
#endif
|
2013-07-28 14:40:43 +00:00
|
|
|
|
2020-04-09 09:32:07 +00:00
|
|
|
#if (defined(__unix__) || defined(__APPLE__)) && !(defined(_DEBUG) || defined(_DEVEL))
|
2015-08-10 06:33:39 +00:00
|
|
|
#define DISABLE_PERF_MON // Burn cycle for nothing in release mode
|
|
|
|
#endif
|