Skip to Main Content
WebGL Insights
book

WebGL Insights

by Patrick Cozzi
August 2015
Intermediate to advanced content levelIntermediate to advanced
416 pages
16h 58m
English
A K Peters/CRC Press
Content preview from WebGL Insights
694.4 Automated Testing of WebGL Applications
our tests. On the other hand, using a single context for all tests risks a test corrupting
thecontext’s state and causing later tests to fail. In Cesium, we’ve found a good balance by
creating a context for each test suite. A test suite is a single source le that tests a closely
related group of functionality, such as a single class, so it’s usually easy to reason about the
context state changes occurring in the suite.
A single-pixel rendering test like this is far from exhaustive, of course. Because it really
just asserts that the polygon put something on the screen, there are plenty of things ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning HTML5 Game Programming: Build Online Games with Canvas, SVG, and WebGL

Learning HTML5 Game Programming: Build Online Games with Canvas, SVG, and WebGL

James L. Williams

Publisher Resources

ISBN: 9781498716079