Panda3D

config_dxgsg9.h

00001 // Filename: config_dxgsg.h
00002 // Created by:  drose (06Oct99)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 #ifndef CONFIG_DXGSG9_H
00016 #define CONFIG_DXGSG9_H
00017 
00018 #include "pandabase.h"
00019 #include "notifyCategoryProxy.h"
00020 #include "dxgsg9base.h"
00021 #include "configVariableBool.h"
00022 #include "configVariableInt.h"
00023 #include "configVariableDouble.h"
00024 
00025 NotifyCategoryDecl(dxgsg9, EXPCL_PANDADX, EXPTP_PANDADX);
00026 NotifyCategoryDecl(wdxdisplay9, EXPCL_PANDADX, EXPTP_PANDADX);
00027 
00028 extern ConfigVariableBool dx_no_vertex_fog;
00029 extern ConfigVariableBool dx_show_cursor_watermark;
00030 extern ConfigVariableBool dx_full_screen_antialiasing;
00031 extern ConfigVariableBool dx_use_rangebased_fog;
00032 extern ConfigVariableBool link_tristrips;
00033 extern ConfigVariableBool dx_use_triangle_mipgen_filter;
00034 extern ConfigVariableBool dx_broken_max_index;
00035 extern ConfigVariableBool dx_broken_depth_bias;
00036 extern ConfigVariableDouble dx_depth_bias_scale;
00037 extern ConfigVariableBool dx_count_all_cards_memory;
00038 
00039 // debug flags we might want to use in full optimized build
00040 extern ConfigVariableBool dx_ignore_mipmaps;
00041 extern ConfigVariableBool dx_mipmap_everything;
00042 extern ConfigVariableBool dx_show_transforms;
00043 extern ConfigVariableBool dx_no_dithering;
00044 extern ConfigVariableBool dx_force_anisotropic_filtering;
00045 extern ConfigVariableBool dx_force_16bpp_zbuffer;
00046 extern ConfigVariableBool dx_do_vidmemsize_check;
00047 extern ConfigVariableBool dx_preserve_fpu_state;
00048 extern ConfigVariableInt dx_preferred_device_id;
00049 
00050 extern ConfigVariableBool dx_intel_compressed_texture_bug;
00051 
00052 #ifndef NDEBUG
00053 extern ConfigVariableInt dx_force_backface_culling;
00054 #endif
00055 
00056 #ifdef _DEBUG
00057 extern ConfigVariableDouble dx_global_miplevel_bias;
00058 extern ConfigVariableBool dx_debug_view_mipmaps;
00059 #endif
00060 
00061 // LRU configuration variables
00062 extern ConfigVariableBool dx_management;
00063 extern ConfigVariableBool dx_texture_management;
00064 extern ConfigVariableBool dx_lru_management;
00065 extern ConfigVariableInt dx_lru_maximum_pages;
00066 extern ConfigVariableInt dx_lru_free_memory_requirement;
00067 extern ConfigVariableInt dx_lru_minimum_memory_requirement;
00068 extern ConfigVariableInt dx_lru_maximum_memory_requirement;
00069 extern ConfigVariableInt dx_lru_maximum_page_updates_per_frame;
00070 
00071 // LRU debug variables
00072 extern ConfigVariableBool dx_lru_debug;
00073 extern ConfigVariableInt dx_lru_debug_frames_til_output;
00074 extern ConfigVariableBool dx_lru_debug_textures;
00075 extern ConfigVariableBool dx_lru_debug_vertex_buffers;
00076 
00077 extern ConfigVariableBool dx_use_dynamic_textures;
00078 
00079 // DX device options
00080 extern ConfigVariableBool dx_use_multithread;
00081 extern ConfigVariableBool dx_use_puredevice;
00082 extern ConfigVariableBool dx_disable_driver_management;
00083 extern ConfigVariableBool dx_disable_driver_management_ex;
00084 
00085 // nVidia's performace heads up display
00086 extern ConfigVariableBool dx_use_nvperfhud;
00087 
00088 extern EXPCL_PANDADX void init_libdxgsg9();
00089 
00090 #endif
 All Classes Functions Variables Enumerations