Apply 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 Review URL: https://codereview.chromium.org/870883005 Cr-Commit-Position: refs/heads/master@{#312962}
Showing
Please register or sign in to comment