chromium/gpu/command_buffer/tests/gl_cube_map_texture_unittest.cc

// Copyright 2015 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 <stdint.h>

#include <memory>

#include "base/containers/heap_array.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 {

namespace {
const GLenum kCubeMapTextureTargets[] =;
}  // namespace

// A collection of tests that exercise the cube map texture.
class GLCubeMapTextureTest : public testing::TestWithParam<GLenum> {};

INSTANTIATE_TEST_SUITE_P();

TEST_P(GLCubeMapTextureTest, TexImage2DAfterFBOBinding) {}

// TODO(crbug.com/40246425): Re-enable this test
TEST_P(GLCubeMapTextureTest, DISABLED_ReadPixels) {}

// TODO(crbug.com/40246425): Re-enable this test
TEST_P(GLCubeMapTextureTest, DISABLED_ReadPixelsFromIncompleteCubeTexture) {}

}  // namespace gpu