Panda3D
config_dxgsg9.h
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file config_dxgsg9.h
10  * @author drose
11  * @date 1999-10-06
12  */
13 
14 #ifndef CONFIG_DXGSG9_H
15 #define CONFIG_DXGSG9_H
16 
17 #include "pandabase.h"
18 #include "notifyCategoryProxy.h"
19 #include "dxgsg9base.h"
20 #include "configVariableBool.h"
21 #include "configVariableInt.h"
22 #include "configVariableDouble.h"
23 
24 NotifyCategoryDecl(dxgsg9, EXPCL_PANDADX, EXPTP_PANDADX);
25 NotifyCategoryDecl(wdxdisplay9, EXPCL_PANDADX, EXPTP_PANDADX);
26 
27 extern ConfigVariableBool dx_no_vertex_fog;
28 extern ConfigVariableBool dx_show_cursor_watermark;
29 extern ConfigVariableBool dx_full_screen_antialiasing;
30 extern ConfigVariableBool dx_use_rangebased_fog;
31 extern ConfigVariableBool link_tristrips;
32 extern ConfigVariableBool dx_use_triangle_mipgen_filter;
33 extern ConfigVariableBool dx_broken_max_index;
34 extern ConfigVariableBool dx_broken_depth_bias;
35 extern ConfigVariableDouble dx_depth_bias_scale;
36 extern ConfigVariableBool dx_count_all_cards_memory;
37 
38 // debug flags we might want to use in full optimized build
39 extern ConfigVariableBool dx_ignore_mipmaps;
40 extern ConfigVariableBool dx_mipmap_everything;
41 extern ConfigVariableBool dx_show_transforms;
42 extern ConfigVariableBool dx_no_dithering;
43 extern ConfigVariableBool dx_force_anisotropic_filtering;
44 extern ConfigVariableBool dx_force_16bpp_zbuffer;
45 extern ConfigVariableBool dx_do_vidmemsize_check;
46 extern ConfigVariableBool dx_preserve_fpu_state;
47 extern ConfigVariableInt dx_preferred_device_id;
48 
49 extern ConfigVariableBool dx_intel_compressed_texture_bug;
50 
51 #ifndef NDEBUG
52 extern ConfigVariableInt dx_force_backface_culling;
53 #endif
54 
55 #ifdef _DEBUG
56 extern ConfigVariableDouble dx_global_miplevel_bias;
57 extern ConfigVariableBool dx_debug_view_mipmaps;
58 #endif
59 
60 // LRU configuration variables
61 extern ConfigVariableBool dx_management;
62 extern ConfigVariableBool dx_texture_management;
63 extern ConfigVariableBool dx_lru_management;
64 extern ConfigVariableInt dx_lru_maximum_pages;
65 extern ConfigVariableInt dx_lru_free_memory_requirement;
66 extern ConfigVariableInt dx_lru_minimum_memory_requirement;
67 extern ConfigVariableInt dx_lru_maximum_memory_requirement;
68 extern ConfigVariableInt dx_lru_maximum_page_updates_per_frame;
69 
70 // LRU debug variables
71 extern ConfigVariableBool dx_lru_debug;
72 extern ConfigVariableInt dx_lru_debug_frames_til_output;
73 extern ConfigVariableBool dx_lru_debug_textures;
74 extern ConfigVariableBool dx_lru_debug_vertex_buffers;
75 
76 extern ConfigVariableBool dx_use_dynamic_textures;
77 
78 // DX device options
79 extern ConfigVariableBool dx_use_multithread;
80 extern ConfigVariableBool dx_use_puredevice;
81 extern ConfigVariableBool dx_disable_driver_management;
82 extern ConfigVariableBool dx_disable_driver_management_ex;
83 
84 // nVidia's performace heads up display
85 extern ConfigVariableBool dx_use_nvperfhud;
86 
87 extern EXPCL_PANDADX void init_libdxgsg9();
88 
89 #endif
EXPCL_PANDADX void init_libdxgsg9()
Initializes the library.
This is a convenience class to specialize ConfigVariable as a boolean type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a convenience class to specialize ConfigVariable as a floating- point type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a convenience class to specialize ConfigVariable as an integer type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.