Skip to content

Commit

Permalink
Don't use GL_PIXEL_UNPACK_BUFFER
Browse files Browse the repository at this point in the history
The ARM OpenGL driver appears to have a synchronization issue that presents in Unity when updating a texture via GL_PIXEL_UNPACK_BUFFER. (Calling glFinish() after glTexSubImage2D fixes it.)

Furthermore, this isn't the first driver bug we've ran into with GL_PIXEL_UNPACK_BUFFER, as we already had a workaround in place for emscripten.

Just don't use it. The perf gain was questionable anyway, especially in WebGL, which doesn't support buffer mapping.

Diffs=
7c3c8a3a1a Don't use GL_PIXEL_UNPACK_BUFFER (#8708)
  • Loading branch information
csmartdalton committed Dec 7, 2024
1 parent efe0c9c commit 5d33ff6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5df5be19407d970646e7a2192b0f6f0790d91096
7c3c8a3a1a8b0c451b2ab2071e95dbfabe81dec6

0 comments on commit 5d33ff6

Please sign in to comment.