aboutsummaryrefslogtreecommitdiffstats
path: root/make/resources/android/res-jogl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-09-06 04:36:19 +0200
committerSven Gothel <[email protected]>2013-09-06 04:36:19 +0200
commit6ef3c22ac6d633f8c0b903b34d5e3d7736f3a040 (patch)
treea51a306d51e798ea9e44b8b4e7cc7640910ad60f /make/resources/android/res-jogl
parent8ddfde29185cc0984ef37ca20322636b76506883 (diff)
GLCanvas Printing WIP: Swap to offscreen at setupPrint(); Use TileRenderer @ print(..); Test: Add auto-print w/o UI 72dpi and 300dpi
NOTE: Tile raster is added at print plus lots of debug output - WIP! - Swap to offscreen at setupPrint() - Swap GLEventListener (GLEL) and GLContext to fixed size offscreen GLAutoDrawable (GLAD) - Destroy onscreen drawable/context - Setup TileRenderer w/ offscreen GLAD - @ releasePrint() restore onscreen .. This shall ensure we don't hog the GPU resources when resizing the AWT component (upscaling). - Use TileRenderer @ print(..) The clip-rect will be used as the TileRenderer's image-size and we perform a whole tile-rendering loop. This helps to limit resources, see above. - Test: Add auto-print w/o UI 72dpi and 300dpi
Diffstat (limited to 'make/resources/android/res-jogl')
0 files changed, 0 insertions, 0 deletions