// 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. #include <GLES2/gl2.h> #include <GLES2/gl2ext.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_srgb extension. class GLEXTSRGBTest : public testing::Test { … }; // Test to ensure that GL_SRGB_ALPHA as glTex(Sub)Image2D parameter works. This // is tricky because GL_SRGB_ALPHA is valid in OpenGL ES 2.0 but not valid in // OpenGL. TEST_F(GLEXTSRGBTest, TexImageSRGBALPHAFormat) { … } } // namespace gpu