glTexImage2D and glTexSubImage2D could have different performance
properties. With this patch we benchmark both of these upload techniques. When using glTexSubImage2D the texture storage is specified with glTexStorage2D when available, or glTexImage2D passing an empty pointer as data. Trying to re-land this patch after it broke the perfbots (crbug.com/468748). BUG=468748 Review URL: https://codereview.chromium.org/1027623002 Cr-Commit-Position: refs/heads/master@{#321519}
Showing
This diff is collapsed.
Please register or sign in to comment