Skip to content
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

Always use a WebGLVertexArrayObject to handle vertex attribs #21307

Merged
merged 1 commit into from Aug 2, 2018
Merged

Conversation

@nox
Copy link
Member

nox commented Aug 1, 2018

This lets us clean up how buffers are reference-counted.


This change is Reviewable

@highfive
Copy link

highfive commented Aug 1, 2018

Heads up! This PR modifies the following files:

  • @asajeffrey: components/script/dom/webgl_extensions/ext/oesvertexarrayobject.rs, components/script/dom/webgl_extensions/extensions.rs, components/script/dom/webglvertexarrayobjectoes.rs, components/script/dom/webglrenderingcontext.rs, components/script/dom/bindings/trace.rs and 2 more
  • @KiChjang: components/script/dom/webgl_extensions/ext/oesvertexarrayobject.rs, components/script/dom/webgl_extensions/extensions.rs, components/script/dom/webglvertexarrayobjectoes.rs, components/script/dom/webglrenderingcontext.rs, components/script/dom/bindings/trace.rs and 2 more
@highfive
Copy link

highfive commented Aug 1, 2018

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!
  • These commits modify script code, but no tests are modified. Please consider adding a test!
@nox
Copy link
Member Author

nox commented Aug 1, 2018

A next nice step would be to make the vertex_attribs field just be a boxed slice where the items themselves use interior mutability.

@nox nox force-pushed the webgl branch 3 times, most recently from fea5a69 to 5d8552b Aug 1, 2018
@nox
Copy link
Member Author

nox commented Aug 1, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Aug 1, 2018

Trying commit 5d8552b with merge bfd924f...

bors-servo added a commit that referenced this pull request Aug 1, 2018
Always use a WebGLVertexArrayObject to handle vertex attribs

This lets us clean up how buffers are reference-counted.

<!-- 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/21307)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Aug 1, 2018

💔 Test failed - linux-rel-css

@nox nox force-pushed the webgl branch from 5d8552b to 6233cf6 Aug 1, 2018
@highfive highfive removed the S-tests-failed label Aug 1, 2018
@nox
Copy link
Member Author

nox commented Aug 1, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Aug 1, 2018

Trying commit 6233cf6 with merge 3442337...

bors-servo added a commit that referenced this pull request Aug 1, 2018
Always use a WebGLVertexArrayObject to handle vertex attribs

This lets us clean up how buffers are reference-counted.

<!-- 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/21307)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Aug 1, 2018

💔 Test failed - mac-rel-css2

@nox
Copy link
Member Author

nox commented Aug 1, 2018

@bors-servo retry

/_mozilla/mozilla/hit_test_multiple_sc.html seems intermittent.

@bors-servo
Copy link
Contributor

bors-servo commented Aug 1, 2018

Trying commit 6233cf6 with merge 66d69ef...

bors-servo added a commit that referenced this pull request Aug 1, 2018
Always use a WebGLVertexArrayObject to handle vertex attribs

This lets us clean up how buffers are reference-counted.

<!-- 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/21307)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Aug 1, 2018

@nox nox force-pushed the webgl branch from 6233cf6 to a9d731a Aug 2, 2018
@highfive highfive removed the S-tests-failed label Aug 2, 2018
@emilio
emilio approved these changes Aug 2, 2018
@nox
Copy link
Member Author

nox commented Aug 2, 2018

@bors-servo r=emilio

@bors-servo
Copy link
Contributor

bors-servo commented Aug 2, 2018

📌 Commit a9d731a has been approved by emilio

@highfive highfive unassigned jdm Aug 2, 2018
@bors-servo
Copy link
Contributor

bors-servo commented Aug 2, 2018

Testing commit a9d731a with merge 8267d3b...

bors-servo added a commit that referenced this pull request Aug 2, 2018
Always use a WebGLVertexArrayObject to handle vertex attribs

This lets us clean up how buffers are reference-counted.

<!-- 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/21307)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Aug 2, 2018

💔 Test failed - linux-rel-css

This lets us clean up how buffers are reference-counted.
@nox nox force-pushed the webgl branch from a9d731a to fba6d80 Aug 2, 2018
@nox
Copy link
Member Author

nox commented Aug 2, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Aug 2, 2018

📌 Commit fba6d80 has been approved by emilio

@bors-servo
Copy link
Contributor

bors-servo commented Aug 2, 2018

Testing commit fba6d80 with merge a5fba3c...

bors-servo added a commit that referenced this pull request Aug 2, 2018
Always use a WebGLVertexArrayObject to handle vertex attribs

This lets us clean up how buffers are reference-counted.

<!-- 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/21307)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Aug 2, 2018

@bors-servo bors-servo merged commit fba6d80 into master Aug 2, 2018
3 of 4 checks passed
3 of 4 checks passed
Taskcluster (pull_request) TaskGroup: failure
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.