Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8098094

Super Shader

    XMLWordPrintable

    Details

      Description

      The idea of a super shader is to be able to render images (cached regions) and text using the same shader program. Since controls are usually made up of regions (cached) and text, the super shader can be used to draw severals controls with one single draw call (as there is no need to change graphics state anymore).
      Another good application of the super shader is to render table views, where it can render all its cell with a single draw call (which is a huge improvement compare to the current implementation where for each cell the graphics states has to be set to render the background and set again to render the text content).

      The super shader depends on:
      - Super texture (all regions need to be cached to the same texture)
      - Text support on NGRegion (not mandatory, the super shader could be used by NGText too)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fheidric Felipe Heidrich (Inactive)
              Reporter:
              fheidric Felipe Heidrich (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: