#include "test_utils/ANGLETest.h"
#include "test_utils/gl_raii.h"
#include "util/EGLWindow.h"
#include "util/random_utils.h"
#include "util/test_utils.h"
usingnamespaceangle;
class OcclusionQueriesTest : public ANGLETest<>
{ … };
class OcclusionQueriesTestES3 : public OcclusionQueriesTest
{ … };
TEST_P(OcclusionQueriesTest, IsOccluded)
{ … }
TEST_P(OcclusionQueriesTest, IsNotOccluded)
{ … }
TEST_P(OcclusionQueriesTest, ClearNotCounted)
{ … }
TEST_P(OcclusionQueriesTest, MaskedClearNotCounted)
{ … }
TEST_P(OcclusionQueriesTest, CopyNotCounted)
{ … }
TEST_P(OcclusionQueriesTestES3, BlitNotCounted)
{ … }
TEST_P(OcclusionQueriesTestES3, UnresolveNotCounted)
{ … }
TEST_P(OcclusionQueriesTest, RewriteDrawNoDrawToZero)
{ … }
TEST_P(OcclusionQueriesTest, FramebufferBindingChange)
{ … }
TEST_P(OcclusionQueriesTestES3, SwitchFramebuffersThenMaskedClear)
{ … }
TEST_P(OcclusionQueriesTest, EmptyQueryAfterCompletedQuery)
{ … }
TEST_P(OcclusionQueriesTest, EmptyQueryAfterCompletedQueryInterleaved)
{ … }
TEST_P(OcclusionQueriesTest, MultiQueries)
{ … }
TEST_P(OcclusionQueriesTest, Errors)
{ … }
TEST_P(OcclusionQueriesTest, MultiContext)
{ … }
class OcclusionQueriesNoSurfaceTestES3 : public ANGLETestBase,
public ::testing::TestWithParam<angle::PlatformParameters>
{ … };
TEST_P(OcclusionQueriesNoSurfaceTestES3, SwitchingContextsWithQuery)
{ … }
ANGLE_INSTANTIATE_TEST_ES2_AND_ES3(…);
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(…);
ANGLE_INSTANTIATE_TEST_ES3_AND(…);
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(…);
ANGLE_INSTANTIATE_TEST_ES3(…);