New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement instanced WebGL drawing calls (part of #20791) #21129
Conversation
Heads up! This PR modifies the following files:
|
r? @emilio |
Correctly implement the vertex buffer checks in drawArrays This is half of #20599. The check for drawElements is a bit more complex to implement.
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code looks good but I don't quite understand the context here, may need a sanity check from emilio
97f7fc1
to
578d3f2
Compare
@bors-servo try |
Implement instanced WebGL drawing calls (part of #20791) This is half of #20599. The check for drawElements is a bit more complex to implement. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21129) <!-- Reviewable:end -->
💔 Test failed - mac-rel-wpt3 |
@bors-servo try |
Implement instanced WebGL drawing calls (part of #20791) This is half of #20599. The check for drawElements is a bit more complex to implement. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21129) <!-- Reviewable:end -->
💔 Test failed - linux-rel-css |
@bors-servo try |
It only returns null if there was an error, and the only error isn't implemented yet.
gl.getProgramInfoLog was implemented a while back.
They don't seem flaky anymore and we have a tool to properly keep intermittent results anyway now.
This is half of #20599. The check for drawElements is a bit more complex to implement.
@bors-servo r=emilio |
📌 Commit 4e6eea2 has been approved by |
Implement instanced WebGL drawing calls (part of #20791) This is half of #20599. The check for drawElements is a bit more complex to implement. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21129) <!-- Reviewable:end -->
💔 Test failed - linux-rel-wpt |
@bors-servo retry #21067 #20734 |
⚡ Previous build results for android, arm32, arm64, linux-dev, linux-rel-css, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev are reusable. Rebuilding only linux-rel-wpt, mac-rel-wpt1... |
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev |
This is half of #20599. The check for drawElements is a bit more complex to implement.
This change is