Commit e450ffd9 authored by dcastagna's avatar dcastagna Committed by Commit bot

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}
parent a24bf43b
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment