diff options
author | dcastagna <dcastagna@chromium.org> | 2015-03-18 22:10:16 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-19 05:10:58 +0000 |
commit | 1b9c0f6571baefe70dad41d504cbe3136ce41ae4 (patch) | |
tree | f8622347383fb146a6ea489c067912a6b7d7f804 /crypto/capi_util.cc | |
parent | 7d6166f4461ed1c2a31ae6d3fd5a941a5625203c (diff) | |
download | chromium_src-1b9c0f6571baefe70dad41d504cbe3136ce41ae4.zip chromium_src-1b9c0f6571baefe70dad41d504cbe3136ce41ae4.tar.gz chromium_src-1b9c0f6571baefe70dad41d504cbe3136ce41ae4.tar.bz2 |
gpu: Measure texture uploads with glTexSubImage2D and glTexImage2D.
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.
BUG=423481
Review URL: https://codereview.chromium.org/1022603002
Cr-Commit-Position: refs/heads/master@{#321300}
Diffstat (limited to 'crypto/capi_util.cc')
0 files changed, 0 insertions, 0 deletions