Skip to content

Commit

Permalink
Revert "moved freetype to internal, added glyph caching"
Browse files Browse the repository at this point in the history
Not a big enough win.

This reverts commit 7df672b.
  • Loading branch information
aarzilli committed Oct 29, 2016
1 parent 8c720ce commit e043630
Show file tree
Hide file tree
Showing 18 changed files with 65 additions and 96 deletions.
6 changes: 0 additions & 6 deletions _demo/demo.go
Expand Up @@ -32,12 +32,6 @@ func main() {
trace.Start(fh)
defer trace.Stop()
}
fhp, _ := os.Create("demo.cpu.pprof")
if fhp != nil {
defer fhp.Close()
pprof.StartCPUProfile(fhp)
defer pprof.StopCPUProfile()
}
}

switch whichdemo {
Expand Down
2 changes: 1 addition & 1 deletion shiny.go
Expand Up @@ -19,7 +19,7 @@ import (
"github.com/aarzilli/nucular/rect"
nstyle "github.com/aarzilli/nucular/style"

"github.com/aarzilli/nucular/internal/freetype/raster"
"github.com/golang/freetype/raster"

"golang.org/x/exp/shiny/driver"
"golang.org/x/exp/shiny/screen"
Expand Down
4 changes: 2 additions & 2 deletions style/style.go
Expand Up @@ -11,8 +11,8 @@ import (

"golang.org/x/image/font"

"github.com/aarzilli/nucular/internal/freetype"
"github.com/aarzilli/nucular/internal/freetype/truetype"
"github.com/golang/freetype"
"github.com/golang/freetype/truetype"
)

type WidgetStates int
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions vendor/vendor.json
Expand Up @@ -18,6 +18,18 @@
"path": "github.com/BurntSushi/xgb/xproto",
"revision": "e13605d223ac0bca1fc3948d9782db9545c331e8"
},
{
"path": "github.com/golang/freetype",
"revision": "38b4c392adc5eed94207994c4848fff99f4ac234"
},
{
"path": "github.com/golang/freetype/raster",
"revision": "38b4c392adc5eed94207994c4848fff99f4ac234"
},
{
"path": "github.com/golang/freetype/truetype",
"revision": "38b4c392adc5eed94207994c4848fff99f4ac234"
},
{
"path": "github.com/hashicorp/golang-lru",
"revision": "0a025b7e63adc15a622f29b0b2c4c3848243bbf6"
Expand Down

0 comments on commit e043630

Please sign in to comment.