Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Remove gl matrix from public rendering interface part1 #2761

Closed
wants to merge 10 commits into from

Conversation

bl4ckb0ne
Copy link
Contributor

@bl4ckb0ne bl4ckb0ne commented Feb 26, 2021

This patch is the first part of an ongoing progress to remove the GL-assumptions from the public interface of wlr_renderer.

Here any mention of "transform matrix" is removed from the public API, and all of the matrix calculations for rendering a texture is done inside the gles2 renderer. This is done because the future pixman renderer can't use matrices to calculate position and requires an explicit x/y position.

@emersion I was thinking about leaving the wlr_render_*_with_matrix functions for the next release to ease the transition and label them with a deprecation warning, and then remove them later on.

@emersion emersion added the breaking Breaking change in public API label Feb 26, 2021
@bl4ckb0ne bl4ckb0ne force-pushed the render_gl_matrix branch 2 times, most recently from f334a04 to b6e9363 Compare February 26, 2021 20:11
@bl4ckb0ne bl4ckb0ne changed the title WIP remove gl matrix from public rendering interface Remove gl matrix from public rendering interface part1 Feb 28, 2021
@bl4ckb0ne
Copy link
Contributor Author

Closed for not being relevant anymore since we fixed the matrix issue in #2770

@bl4ckb0ne bl4ckb0ne closed this Mar 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking Breaking change in public API
Development

Successfully merging this pull request may close these issues.

None yet

2 participants