… | |
… | |
836 | |
836 | |
837 | my $row = 0; |
837 | my $row = 0; |
838 | |
838 | |
839 | $table->add_at (0, $row, new DC::UI::Label align => 1, text => "OpenGL Info"); |
839 | $table->add_at (0, $row, new DC::UI::Label align => 1, text => "OpenGL Info"); |
840 | $table->add_at (1, $row++, new DC::UI::Label fontsize => 0.8, text => DC::OpenGL::gl_vendor . ", " . DC::OpenGL::gl_version, |
840 | $table->add_at (1, $row++, new DC::UI::Label fontsize => 0.8, text => DC::OpenGL::gl_vendor . ", " . DC::OpenGL::gl_version, |
841 | can_events => 1, |
841 | can_events => 1, |
842 | tooltip => "<tt><span size='8192'>" . (DC::OpenGL::gl_extensions) . "</span></tt>"); |
842 | tooltip => "<tt><span size='8192'>" . (DC::OpenGL::gl_extensions) . "</span></tt>"); |
843 | |
843 | |
844 | $table->add_at (0, $row, new DC::UI::Label align => 1, text => "Caveats"); |
844 | $table->add_at (0, $row, new DC::UI::Label align => 1, text => "Caveats"); |
845 | $table->add_at (1, $row++, $CAVEAT_LABEL = new DC::UI::Label fontsize => 0.8, |
845 | $table->add_at (1, $row++, $CAVEAT_LABEL = new DC::UI::Label fontsize => 0.8, |
846 | can_events => 1, |
846 | can_events => 1, |
847 | tooltip => "This field shows any known issues with your config or driver, such as " |
847 | tooltip => "This field shows any known issues with your config or driver, such as " |
… | |
… | |
910 | |
910 | |
911 | $table->add_at (0, $row, new DC::UI::Label align => 1, text => "Compress Textures"); |
911 | $table->add_at (0, $row, new DC::UI::Label align => 1, text => "Compress Textures"); |
912 | $table->add_at (1, $row++, new DC::UI::CheckBox |
912 | $table->add_at (1, $row++, new DC::UI::CheckBox |
913 | state => $CFG->{texture_compression}, |
913 | state => $CFG->{texture_compression}, |
914 | tooltip => "Use texture compression. Normally this will not reduce visual quality noticable but " |
914 | tooltip => "Use texture compression. Normally this will not reduce visual quality noticable but " |
915 | . "will save a lot of memory and increase performance. The compression algorithm " |
915 | . "will save a lot of memory and increase performance (and also fall prey to the ever-buggy Mac OS X software renderer). " |
916 | . "can differ form card to card, so your mileage may vary. This setting is ignored in " |
916 | . "The compression algorithm can differ form card to card, so your mileage may vary. This setting is ignored in " |
917 | . "forced OpenGL 1.1 mode.", |
917 | . "forced OpenGL 1.1 mode and when using the Apple renderer.", |
918 | on_changed => sub { my ($self, $value) = @_; $CFG->{texture_compression} = $value; 0 } |
918 | on_changed => sub { my ($self, $value) = @_; $CFG->{texture_compression} = $value; 0 } |
919 | ); |
919 | ); |
920 | |
920 | |
921 | $table->add_at (0, $row, new DC::UI::Label align => 1, text => "Fast & Ugly"); |
921 | $table->add_at (0, $row, new DC::UI::Label align => 1, text => "Fast & Ugly"); |
922 | $table->add_at (1, $row++, new DC::UI::CheckBox |
922 | $table->add_at (1, $row++, new DC::UI::CheckBox |