Skip to content

v0.6.8

  • v0.6.8
  • cd62dbe
  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
  • Choose a tag to compare

  • v0.6.8
  • cd62dbe
  • Choose a tag to compare

  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
tagged this 22 Nov 14:20
Add support for glCopyImageSubData

This will let us copy between textures quickly when growing the texture cache in webrender. (Especially on Adreno devices where glBlitFramebuffers and glCopyTexSubImage have issues with texture arrays - https://bugzilla.mozilla.org/show_bug.cgi?id=1505508)

Not sure if I've done this correctly so feedback welcome please. Especially in the generated gles_bindings.rs: the generated function has the EXT suffix. I found if I bumped the gles version to 3.2, then it dropped the suffix (since the function part of 3.2) but included the EXT version as a fallback. I'm not sure which is preferable.

I also wrapped the function calls in an "if is_loaded()". Is that the right thing to do? How is webrender code then meant to check if they're available? By checking for the extension?

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/gleam/179)
<!-- Reviewable:end -->
Assets 2
Loading