DescriptionApply use_non_zero_size_for_client_side_stream_buffers on PowerVR SGX 540
On Imagination GPUs client side arrays are used for stream usage
(GL_STREAM_DRAW) VBO. Service side makes
glBufferData(target, 0, NULL, GL_STREAM_DRAW) calls to allow the driver
to free any previous data assoicated with the buffer. However, drivers
for Imagination PowerVR SGX 540 GPUs throw GL_OUT_OF_MEMORY error when
glBufferData is called with buffer size of 0.
BUG=451501
Committed: https://crrev.com/c182d80982c470ee4d34e9284611d45298b5e8c5
Cr-Commit-Position: refs/heads/master@{#312962}
Patch Set 1 #
Total comments: 1
Patch Set 2 : #Messages
Total messages: 9 (2 generated)
|