Open Bug 1587935 Opened 5 years ago Updated 8 months ago

Force the texture stride on WebRender blob rasterizers

Categories

(Core :: Graphics: WebRender, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: kvark, Unassigned)

References

(Blocks 1 open bug)

Details

WebRender today allows the client to control the texture stride. It knows about an "optimal" stride semantics but it's only enforced at the lowest level - just before talking to GL.

Now that we add more stride requirements in bug 1558167, we should start thinking about moving this responsibility higher up. Re-striding the data is slow and should be avoided.

Ideally, WebRender would tell the client what alignment it requires, so that client can prepare the data in the proper way to begin with, without doing any extra work. This may also positively affect us on platforms where the drivers were correctly handling the misaligned strides (like they are supposed to), but had to fall back to slower code paths.

Priority: -- → P3
Severity: normal → S3
Blocks: wr-todos
You need to log in before you can comment on or make changes to this bug.