Permalink
Browse files

Use faster glium fork

Uses an FNV hash instead of Rust's default SIP hash, which allows much
faster uniform setting. This benefits Plantex since we do a *lot* of
draw calls, each taking uniforms.

On my PC, increases FPS from 60 to around 80.
  • Loading branch information...
jonas-schievink committed Jul 29, 2016
1 parent cd3862f commit 98ca93633d75c429ce8316ab24a49c9a3770521e
Showing with 7 additions and 3 deletions.
  1. +3 −2 Cargo.lock
  2. +4 −1 client/Cargo.toml
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -6,7 +6,6 @@ publish = false
version = "0.1.0"
[dependencies]
-glium = "0.15.0"
log = "0.3.6"
clap = "2"
toml = "0.1"
@@ -15,3 +14,7 @@ rand = "0.3"
[dependencies.base]
path = "../base"
+
+[dependencies.glium]
+git = "https://github.com/jonas-schievink/glium.git"
+branch = "unifast"

0 comments on commit 98ca936

Please sign in to comment.