commit | 79b914075cc5b30ba7c59a5ee875beb7517b320a | [log] [tgz] |
---|---|---|
author | Geoff Lang <geofflang@chromium.org> | Thu Oct 04 15:11:30 2018 -0400 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Oct 12 20:04:34 2018 +0000 |
tree | c02163e7596346bb3f7cfd538d36840dfd5a99a6 | |
parent | c97e3f6684c71b3eeb799837106c1588fc36282b [diff] [blame] |
Add an extension for querying esimated GPU memory size of resources. BUG=892288 Change-Id: I56fc3ab00c06d711e1a21eb1ad4b2224126730dc Reviewed-on: https://chromium-review.googlesource.com/c/1262021 Reviewed-by: Yuly Novikov <ynovikov@google.com> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
diff --git a/src/libANGLE/Context.cpp b/src/libANGLE/Context.cpp index bafb7fb..fbcd3f0 100644 --- a/src/libANGLE/Context.cpp +++ b/src/libANGLE/Context.cpp
@@ -3243,6 +3243,8 @@ supportedExtensions.explicitContext = true; } + supportedExtensions.memorySize = true; + return supportedExtensions; }