Chromium Code Reviews
DescriptionEnable asynchronous glReadPixels on Windows.
Chromium is using the GL ES 2.0 spec with ANGLE, which doesn't allow
for async readback on its own. However, ANGLE also provides two
extensions which, together, provide all the needed extra implementation:
GL_NV_pixel_buffer_object and GL_EXT_map_buffer_range.
This change enables the appropriate feature flags when the two
extensions are present. It also changes the auto-generated bindings for
the glMapBufferRange function so that glMapBufferRangeEXT is used
instead of glMapBufferRange when ANGLE is initialized below the version
3 spec.
In addition, this change adds propagation of service-side glMapBuffer()
errors back to the glMapBufferCHROMIUM call client-side. In the process
of writing tests for this, a minor shared memory allocation bug was
revealed and also fixed.
BUG=431420
Committed: https://crrev.com/b70d7859b370731bb54ba32b6e92e8bb573390e5
Cr-Commit-Position: refs/heads/master@{#304340}
Patch Set 1 : #
Total comments: 1
Patch Set 2 : Add mechanism to propagate service-side glMapBuffer errors + tests. #
Total comments: 1
Patch Set 3 : Fix compile/link issues not exposed by MSVC, plus REBASE. #Patch Set 4 : Tweaks needed to resolve GLLoseContextTest.ShareGroup test failure. #Patch Set 5 : Revert to PS1, then added GL_OUT_OF_MEMORY, kept MappedMemoryManager bug fix." #
Total comments: 2
Patch Set 6 : Fixed DCHECK in set_chunk_size_multiple. #
Messages
Total messages: 17 (6 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||