Skip to content

Commit

Permalink
Implement an MSAA fallback for PLS
Browse files Browse the repository at this point in the history
Add a new pls::InterlockMode called depthStencil, which obviously uses the depth and stencil buffers instead of PLS to do path rendering. When combined with MSAA, this can look decent.

The coolest thing here is that we reverse-sort opaque draws front to back, and draw them first with Z culling. This gives some substantial perf wins. We should figure out how to use Z culling generally.

For blend modes we use KHR_blend_equation_advanced_coherent.

For now, only GL is supported.

Still unfinished:
- Implement clipping.
- Implement advanced blend without extensions.

Diffs=
f2ecb3a22 Implement an MSAA fallback for PLS (#6680)
  • Loading branch information
csmartdalton committed Mar 1, 2024
1 parent 78e5e52 commit a321b9f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
38304fe8b37f20a882317a59423d388b6176a745
f2ecb3a22e9003dda6de911cc1a58b8547988ef4
2 changes: 1 addition & 1 deletion .rive_renderer
Original file line number Diff line number Diff line change
@@ -1 +1 @@
28ab36f3c3151c6615baf5d57902285b0e61b241
bbc77a037a7d22e13386c5f4740a195fbf316c08
2 changes: 1 addition & 1 deletion submodules/rive-cpp

0 comments on commit a321b9f

Please sign in to comment.