Commit 1e031b27 by Geoff Lang Committed by Commit Bot

Expose the CHROMIUM copy texture extensions on the NULL backend.

These extensions are required by the passthrough command decoder. BUG=602737 Change-Id: Ifd04fca27ae35b30e4c8ab458904530e3dd44377 Reviewed-on: https://chromium-review.googlesource.com/441204Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
parent 44ec2f59
......@@ -35,7 +35,11 @@ ContextNULL::ContextNULL(const gl::ContextState &state) : ContextImpl(state)
{
const gl::Version maxClientVersion(3, 1);
mCaps = GenerateMinimumCaps(maxClientVersion);
mExtensions = gl::Extensions();
mExtensions.copyTexture = true;
mExtensions.copyCompressedTexture = true;
mTextureCaps = GenerateMinimumTextureCapsMap(maxClientVersion, mExtensions);
}
......
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