chromium/gpu/command_buffer/tests/gl_ext_window_rectangles_unittest.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include <GLES3/gl3.h>
#include <stdint.h>

#include "gpu/command_buffer/tests/gl_manager.h"
#include "gpu/command_buffer/tests/gl_test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace gpu {

// A collection of tests that exercise the GL_EXT_window_rectangles extension.
class GLEXTWindowRectanglesTest : public testing::Test {};

#define CHECK_PIXEL(x, y, r, g, b, a)

// TODO(crbug.com/40246425): Re-enable this test
TEST_F(GLEXTWindowRectanglesTest, DISABLED_Defaults) {}

TEST_F(GLEXTWindowRectanglesTest, Defaults64) {}

TEST_F(GLEXTWindowRectanglesTest, BasicState) {}

TEST_F(GLEXTWindowRectanglesTest, DefaultFramebuffer) {}

TEST_F(GLEXTWindowRectanglesTest, OneRectangle) {}

TEST_F(GLEXTWindowRectanglesTest, TwoRectangles) {}

TEST_F(GLEXTWindowRectanglesTest, InclusiveEmptyBox) {}

TEST_F(GLEXTWindowRectanglesTest, TextureClearStateClearAndRestore) {}

}  // namespace gpu