00001 // Filename: config_crgsg.h 00002 // Created by: drose (06Oct99) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved 00008 // 00009 // All use of this software is subject to the terms of the Panda 3d 00010 // Software license. You should have received a copy of this license 00011 // along with this source code; you will also find a current copy of 00012 // the license at http://www.panda3d.org/license.txt . 00013 // 00014 // To contact the maintainers of this program write to 00015 // panda3d@yahoogroups.com . 00016 // 00017 //////////////////////////////////////////////////////////////////// 00018 00019 #ifndef CONFIG_GLGSG_H 00020 #define CONFIG_GLGSG_H 00021 00022 #include <pandabase.h> 00023 #include <notifyCategoryProxy.h> 00024 00025 NotifyCategoryDecl(crgsg, EXPCL_PANDACR, EXPTP_PANDACR); 00026 00027 extern bool cr_show_transforms; 00028 extern bool cr_cheap_textures; 00029 extern bool cr_cull_traversal; 00030 extern bool cr_ignore_mipmaps; 00031 extern bool cr_force_mipmaps; 00032 extern bool cr_show_mipmaps; 00033 extern bool cr_save_mipmaps; 00034 extern bool cr_auto_normalize_lighting; 00035 extern bool cr_depth_offset_decals; 00036 extern bool cr_supports_bgr; 00037 00038 // Ways to implement decals. 00039 enum CRDecalType { 00040 GDT_mask, // GL 1.0 style, involving three steps 00041 GDT_blend, // As above, but slower; a hack for broken nVidia driver 00042 GDT_offset // The fastest, using GL 1.1 style chromium.PolygonOffset 00043 }; 00044 extern CRDecalType cr_decal_type; 00045 00046 00047 extern EXPCL_PANDACR void init_libcrgsg(); 00048 00049 #endif