commit | 988f109b94a3bf60295dd870969d74b53b2ce3a1 | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Tue Jan 21 15:01:59 2020 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Jan 22 20:00:57 2020 +0000 |
tree | 2de974ac27568f37583aae00c8c2b761cd5a0007 | |
parent | 32b45b32b7abff959b13c5a24367a953819a1150 [diff] |
Fix usage enum with GL_NV_pixel_buffer_object. This extensions adds PBOs but not new enum values for <usage>. Only the ES2 enum values of STREAM_DRAW, STATIC_DRAW, and DYNAMIC_DRAW are valid. Also change TransferBufferType to enum class. Bug: skia:1040643 Change-Id: Id36808267a86548a25ac6c92f9b753c11764742e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/265577 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>