Add an extension to share textures at the display level.
BUG=angleproject:1639
Change-Id: If9140142ebce89f33921c13d9d212c17d1894162
Reviewed-on: https://chromium-review.googlesource.com/437618
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
diff --git a/src/libANGLE/validationES_unittest.cpp b/src/libANGLE/validationES_unittest.cpp
index 7a23026..586bd71 100644
--- a/src/libANGLE/validationES_unittest.cpp
+++ b/src/libANGLE/validationES_unittest.cpp
@@ -31,6 +31,7 @@
{
public:
MockValidationContext(const ValidationContext *shareContext,
+ TextureManager *shareTextures,
const Version &version,
State *state,
const Caps &caps,
@@ -39,6 +40,7 @@
const Limitations &limitations,
bool skipValidation)
: ValidationContext(shareContext,
+ shareTextures,
version,
state,
caps,
@@ -97,8 +99,8 @@
state.setDrawFramebufferBinding(framebuffer);
state.setProgram(program);
- NiceMock<MockValidationContext> testContext(nullptr, Version(3, 0), &state, caps, textureCaps,
- extensions, limitations, false);
+ NiceMock<MockValidationContext> testContext(nullptr, nullptr, Version(3, 0), &state, caps,
+ textureCaps, extensions, limitations, false);
// Set the expectation for the validation error here.
Error expectedError(GL_INVALID_OPERATION, g_ExceedsMaxElementErrorMessage);