// // Copyright 2015 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // DifferentStencilMasksTest: // Tests the equality between stencilWriteMask and stencilBackWriteMask. // #include "test_utils/ANGLETest.h" #include "test_utils/gl_raii.h" usingnamespaceangle; namespace { class DifferentStencilMasksTest : public ANGLETest<> { … }; // Tests that effectively same front and back masks are legal. TEST_P(DifferentStencilMasksTest, DrawWithSameEffectiveMask) { … } // Tests that effectively different front and back masks are illegal. TEST_P(DifferentStencilMasksTest, DrawWithDifferentMask) { … } // Tests that effectively different front and back masks, without stencil bits, are legal. TEST_P(DifferentStencilMasksTest, DrawWithDifferentMask_NoStencilBuffer) { … } // Use this to select which configurations (e.g. which renderer, which GLES major version) these // tests should be run against. ANGLE_INSTANTIATE_TEST_ES2_AND_ES3(…); } // anonymous namespace