Bug 828 - Enhance TileRenderer (Fixed tile-size, arbitrary tile-size, custom PMV matrix, GLAutoDrawable support, ..)
Summary: Enhance TileRenderer (Fixed tile-size, arbitrary tile-size, custom PMV matrix...
Status: RESOLVED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 2
Hardware: All all
: --- enhancement
Assignee: Sven Gothel
URL:
Depends on:
Blocks: 829
  Show dependency treegraph
 
Reported: 2013-09-08 20:08 CEST by Sven Gothel
Modified: 2015-09-27 03:15 CEST (History)
2 users (show)

See Also:
Type: FEATURE
SCM Refs:
b1c921edf01605e1626953c5cf76f72845b01746 58682d84c09462b1f2798b847ade6624b89d962f 604434f8a1ea43f306e21fe81ac7471f27e3c9cf 7ee9b87bdb025f98651c2685d416029a17fc3937 3f2e0d3a9a6cab80936851c44f61107a2993ddfe 9450900c2178db617ee786d8795146bf4c6aa63c 668ed1ab3ff3aad4366e00ede918b186d6e057a4 6fe3e99dab9721294a3bf72eaea77af33afc9481 4965923722fe44dfcf7eaff16cd5449707773123 8313200af6da93f83bc70a645e79bfdeb22f05d4 d0e0b963da223e00359cad194061f5a967b2caae
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2013-09-08 20:08:26 CEST
Enhance the TileRenderer (TR) implementation.

The following requirements shall be satisfied:
 - Fixed tile-size (was supported)

 - Arbitrary tile-size

 - Custom PMV matrix reshape regardless of GL profile and user-ctx

 - GLAutoDrawable (GLAD) support, i.e. attach/detach to TileRenderer
    - perform swap-buffers when needed depending on drawable
    - GLAD's GLEventListener (GLEL) shall be moved to TR,
      to be replace w/ TR's GLEL performing all necessary operations:
        - beginTile()
        - for all orig-GLEL's:
           - reshape()
           - display()
        - [-swapBuffers() if pre-swap]
        - endTile()
        - [-swapBuffers() if post-swap]

   - further more a pre- and post-GLEL should be possible to set

   - GLELs shall be notified of being attached/detached to a TR,
     so their reshape(..) method can act accordingly.

futher more:
  - coop w/ most GL profiles

  - exception if GL_PACK_ROW_LENGTH is required but n/a (< GL2ES3 && imageBuffer usage)

  - ...