Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upTiled gradients with many tiles can render incorrectly #2560
Labels
Comments
|
This is because of: webrender/webrender/src/display_list_flattener.rs Line 2376 in c32585c where we set a max limit of 64x64 primitives during decomposition. I'd like to move this logic to the render backend thread and then from there implement out a solution to having many repeated primitives. @glennw suggested prerendering N repetitions in an intermediate target and repeating that M times using a decomposed brush image (but first I need to finish porting the image decomposition to the render backend as well). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discovered from looking at the test case attached to bug 1443912.
The following test case is a red rect covered entirely by a 100x100 tile tiled radial gradient. Each tile of the radial gradient is solid blue, so we should only see a blue rect on the screen.
Instead we see that some limit on tiles is being reached and not all tiles are being drawn.
cc @jrmuizel