Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • KWin KWin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 60
    • Issues 60
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 157
    • Merge requests 157
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PlasmaPlasma
  • KWinKWin
  • Merge requests
  • !1153

scene: Introduce render graph texture type

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Vlad Zahorodnii requested to merge work/scene-redesign-texture into master Jul 06, 2021
  • Overview 11
  • Commits 10
  • Pipelines 0
  • Changes 63

This is the prerequisite for introducing render nodes and layer textures.

The KrkTexture class provides an API similar to the QSGTexture's API.

The KrkTexture is effectively split in two parts - the generic render graph texture and the platform-specific texture, e.g. OpenGL texture or QImage. The split is necessary to allow implementing atlas textures.

The decoration item puts decoration borders in a texture atlas. This is not feasible currently as every decoration part will need a separate geometry node and we don't have paint nodes yet. It'll be added later.

Note that a scene graph and a render graph are different. A scene graph contains items such as surface items. A render graph specifies how the items must be rendered. For now, there is no render graph, but it will contain things such as texture render nodes, transform nodes, etc.

cc #50 (closed)

Edited Jul 19, 2021 by Vlad Zahorodnii
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/scene-redesign-texture