Bug 859

Summary: TileRenderer shall detect zero columns and rows in eot() where beginTile() shall throw an EOT IllegalStateException to avoid division by zero
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Severity: normal CC: sgothel
Priority: ---    
Version: 2   
Hardware: All   
OS: all   
Type: --- SCM Refs:
Workaround: ---

Description Sven Gothel 2013-10-12 18:33:15 CEST
If we have zero columns or rows, beginTile() will cause a division by zero exception.

EOT = end of tile-rendering

Refine eot() spec to allow caller to detect EOT properly.
beginTile() shall throw an IllegalStateException.

beginTile() caller shall issue reset() if eot() is reached 
to be able to perform tile-rendering again - if so desired.