Panda3D
config_display.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_display.h
10  * @author drose
11  * @date 1999-10-06
12  */
13 
14 #ifndef CONFIG_DISPLAY_H
15 #define CONFIG_DISPLAY_H
16 
17 #include "pandabase.h"
18 #include "windowProperties.h"
19 #include "notifyCategoryProxy.h"
20 #include "configVariableBool.h"
21 #include "configVariableString.h"
22 #include "configVariableList.h"
23 #include "configVariableInt.h"
24 #include "configVariableEnum.h"
25 #include "configVariableFilename.h"
26 #include "configVariableColor.h"
27 #include "coordinateSystem.h"
28 #include "dconfig.h"
29 
30 #include "pvector.h"
31 
32 ConfigureDecl(config_display, EXPCL_PANDA_DISPLAY, EXPTP_PANDA_DISPLAY);
33 NotifyCategoryDecl(display, EXPCL_PANDA_DISPLAY, EXPTP_PANDA_DISPLAY);
34 NotifyCategoryDecl(gsg, EXPCL_PANDA_DISPLAY, EXPTP_PANDA_DISPLAY);
35 
36 extern EXPCL_PANDA_DISPLAY ConfigVariableBool view_frustum_cull;
37 extern EXPCL_PANDA_DISPLAY ConfigVariableBool pstats_unused_states;
38 
39 extern EXPCL_PANDA_DISPLAY ConfigVariableString threading_model;
40 extern EXPCL_PANDA_DISPLAY ConfigVariableBool allow_nonpipeline_threads;
41 extern EXPCL_PANDA_DISPLAY ConfigVariableBool auto_flip;
42 extern EXPCL_PANDA_DISPLAY ConfigVariableBool sync_flip;
43 extern EXPCL_PANDA_DISPLAY ConfigVariableBool yield_timeslice;
44 extern EXPCL_PANDA_DISPLAY ConfigVariableDouble subprocess_window_max_wait;
45 
46 extern EXPCL_PANDA_DISPLAY ConfigVariableString screenshot_filename;
47 extern EXPCL_PANDA_DISPLAY ConfigVariableString screenshot_extension;
48 
49 extern EXPCL_PANDA_DISPLAY ConfigVariableBool prefer_texture_buffer;
50 extern EXPCL_PANDA_DISPLAY ConfigVariableBool prefer_parasite_buffer;
51 extern EXPCL_PANDA_DISPLAY ConfigVariableBool force_parasite_buffer;
52 extern EXPCL_PANDA_DISPLAY ConfigVariableBool prefer_single_buffer;
53 
54 extern EXPCL_PANDA_DISPLAY ConfigVariableInt max_texture_stages;
55 extern EXPCL_PANDA_DISPLAY ConfigVariableInt max_color_targets;
56 extern EXPCL_PANDA_DISPLAY ConfigVariableBool support_render_texture;
57 extern EXPCL_PANDA_DISPLAY ConfigVariableBool support_rescale_normal;
58 extern EXPCL_PANDA_DISPLAY ConfigVariableBool support_stencil;
59 extern EXPCL_PANDA_DISPLAY ConfigVariableBool copy_texture_inverted;
60 extern EXPCL_PANDA_DISPLAY ConfigVariableBool window_inverted;
61 extern EXPCL_PANDA_DISPLAY ConfigVariableBool red_blue_stereo;
62 extern EXPCL_PANDA_DISPLAY ConfigVariableString red_blue_stereo_colors;
63 extern EXPCL_PANDA_DISPLAY ConfigVariableBool side_by_side_stereo;
64 extern EXPCL_PANDA_DISPLAY ConfigVariableDouble sbs_left_dimensions;
65 extern EXPCL_PANDA_DISPLAY ConfigVariableDouble sbs_right_dimensions;
66 extern EXPCL_PANDA_DISPLAY ConfigVariableBool swap_eyes;
67 extern EXPCL_PANDA_DISPLAY ConfigVariableBool default_stereo_camera;
68 extern EXPCL_PANDA_DISPLAY ConfigVariableBool color_scale_via_lighting;
69 extern EXPCL_PANDA_DISPLAY ConfigVariableBool alpha_scale_via_texture;
70 extern EXPCL_PANDA_DISPLAY ConfigVariableBool allow_incomplete_render;
71 extern EXPCL_PANDA_DISPLAY ConfigVariableBool old_alpha_blend;
72 
73 extern EXPCL_PANDA_DISPLAY ConfigVariableInt win_size;
74 extern EXPCL_PANDA_DISPLAY ConfigVariableInt win_origin;
75 extern EXPCL_PANDA_DISPLAY ConfigVariableBool fullscreen;
76 extern EXPCL_PANDA_DISPLAY ConfigVariableBool undecorated;
77 extern EXPCL_PANDA_DISPLAY ConfigVariableBool win_fixed_size;
78 extern EXPCL_PANDA_DISPLAY ConfigVariableBool cursor_hidden;
79 extern EXPCL_PANDA_DISPLAY ConfigVariableFilename icon_filename;
80 extern EXPCL_PANDA_DISPLAY ConfigVariableFilename cursor_filename;
81 extern EXPCL_PANDA_DISPLAY ConfigVariableEnum<WindowProperties::ZOrder> z_order;
82 extern EXPCL_PANDA_DISPLAY ConfigVariableString window_title;
83 extern EXPCL_PANDA_DISPLAY ConfigVariableInt parent_window_handle;
84 extern EXPCL_PANDA_DISPLAY ConfigVariableBool win_unexposed_draw;
85 extern EXPCL_PANDA_DISPLAY ConfigVariableFilename subprocess_window;
86 
87 extern EXPCL_PANDA_DISPLAY ConfigVariableString framebuffer_mode;
88 extern EXPCL_PANDA_DISPLAY ConfigVariableBool framebuffer_hardware;
89 extern EXPCL_PANDA_DISPLAY ConfigVariableBool framebuffer_software;
90 extern EXPCL_PANDA_DISPLAY ConfigVariableBool framebuffer_multisample;
91 extern EXPCL_PANDA_DISPLAY ConfigVariableBool framebuffer_depth;
92 extern EXPCL_PANDA_DISPLAY ConfigVariableBool framebuffer_alpha;
93 extern EXPCL_PANDA_DISPLAY ConfigVariableBool framebuffer_stencil;
94 extern EXPCL_PANDA_DISPLAY ConfigVariableBool framebuffer_accum;
95 extern EXPCL_PANDA_DISPLAY ConfigVariableBool framebuffer_stereo;
96 extern EXPCL_PANDA_DISPLAY ConfigVariableBool framebuffer_srgb;
97 extern EXPCL_PANDA_DISPLAY ConfigVariableBool framebuffer_float;
98 extern EXPCL_PANDA_DISPLAY ConfigVariableInt depth_bits;
99 extern EXPCL_PANDA_DISPLAY ConfigVariableInt color_bits;
100 extern EXPCL_PANDA_DISPLAY ConfigVariableInt alpha_bits;
101 extern EXPCL_PANDA_DISPLAY ConfigVariableInt stencil_bits;
102 extern EXPCL_PANDA_DISPLAY ConfigVariableInt accum_bits;
103 extern EXPCL_PANDA_DISPLAY ConfigVariableInt multisamples;
104 extern EXPCL_PANDA_DISPLAY ConfigVariableInt back_buffers;
105 extern EXPCL_PANDA_DISPLAY ConfigVariableInt shadow_depth_bits;
106 
107 extern EXPCL_PANDA_DISPLAY ConfigVariableDouble pixel_zoom;
108 
109 extern EXPCL_PANDA_DISPLAY ConfigVariableColor background_color;
110 extern EXPCL_PANDA_DISPLAY ConfigVariableBool sync_video;
111 
112 extern EXPCL_PANDA_DISPLAY void init_libdisplay();
113 
114 #endif /* CONFIG_DISPLAY_H */
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 a Filename type.
This is a convenience class to specialize ConfigVariable as a boolean type.
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 a set of floating-point types representin...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a convenience class to specialize ConfigVariable as a floating- point type.
This is a convenience class to specialize ConfigVariable as a string type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class specializes ConfigVariable as an enumerated type.
EXPCL_PANDA_DISPLAY void init_libdisplay()
Initializes the library.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.