Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

CLI render - #718

Merged
jfirebaugh merged 11 commits into
masterfrom
cli-render
Dec 19, 2014
Merged

jfirebaugh merged 11 commits into
masterfrom
cli-render

Conversation

@kkaefer

@kkaefer kkaefer commented Dec 12, 2014

Copy link
Copy Markdown
Member

Adds a CLI binary that allows rendering static images.

Fixes #623

@kkaefer

kkaefer commented Dec 12, 2014

Copy link
Copy Markdown
Member Author

Current performance breakdown of rendering a 512x512 Kottbusser Tor tile:

  • 62% label placement
  • 6% tessellation
  • 8% shader compilation
  • 5% PNG compression

The actual tile took about 240ms to render (and about 380 CPU milliseconds).

@freenerd

Copy link
Copy Markdown

\o/

@kkaefer

kkaefer commented Dec 12, 2014

Copy link
Copy Markdown
Member Author

Note that this isn't node.js-related, and doesn't parallelize anything.

@mikemorris

Copy link
Copy Markdown
Contributor

Wooo, nice to see this moving!

Comment thread bin/render.cpp

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we were using camel case now?

@jfirebaugh

Copy link
Copy Markdown
Contributor

Looks like headless rendering tests are universally failing on this branch. For comparison, at least some are passing on current master.

@mikemorris

Copy link
Copy Markdown
Contributor

Whoa @jfirebaugh , that looks like what I was seeing from multithreading problems with mixed up contexts at one point. FWIW 57e6bc6 was last known working commit for me.

@mikemorris

Copy link
Copy Markdown
Contributor

Huh, just tested with HEAD of cli-render and I'm not able to reproduce those failures in Release or Debug builds on OS X or Ubuntu 14.04 @jfirebaugh

@mikemorris

Copy link
Copy Markdown
Contributor

Um, I'm also not seeing a build 1705 (the one that would have generated those failing tests you linked) on Travis @jfirebaugh https://travis-ci.org/mapbox/mapbox-gl-native/builds

jfirebaugh added a commit that referenced this pull request Dec 19, 2014
@jfirebaugh
jfirebaugh merged commit 4a2cf4a into master Dec 19, 2014
@jfirebaugh
jfirebaugh deleted the cli-render branch December 19, 2014 02:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

assert(uv_thread_self() == map_thread)

5 participants