Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Side by Side Diff: gpu/command_buffer/client/gles2_implementation_unittest.cc

Issue 11782020: Refactor so chromium only GL extensions require gl2extchromium.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Tests for GLES2Implementation. 5 // Tests for GLES2Implementation.
6 6
7 #include "gpu/command_buffer/client/gles2_implementation.h" 7 #include "gpu/command_buffer/client/gles2_implementation.h"
8 8
9 #include <GLES2/gl2ext.h> 9 #include <GLES2/gl2ext.h>
10 #include <GLES2/gl2extchromium.h>
10 #include "gpu/command_buffer/client/client_test_helper.h" 11 #include "gpu/command_buffer/client/client_test_helper.h"
11 #include "gpu/command_buffer/client/program_info_manager.h" 12 #include "gpu/command_buffer/client/program_info_manager.h"
12 #include "gpu/command_buffer/client/transfer_buffer.h" 13 #include "gpu/command_buffer/client/transfer_buffer.h"
13 #include "gpu/command_buffer/common/command_buffer.h" 14 #include "gpu/command_buffer/common/command_buffer.h"
14 #include "gpu/command_buffer/common/compiler_specific.h" 15 #include "gpu/command_buffer/common/compiler_specific.h"
15 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
16 #include "testing/gmock/include/gmock/gmock.h" 17 #include "testing/gmock/include/gmock/gmock.h"
17 18
18 #if !defined(GLES2_SUPPORT_CLIENT_SIDE_ARRAYS) 19 #if !defined(GLES2_SUPPORT_CLIENT_SIDE_ARRAYS)
19 #define GLES2_SUPPORT_CLIENT_SIDE_ARRAYS 20 #define GLES2_SUPPORT_CLIENT_SIDE_ARRAYS
(...skipping 2780 matching lines...) Expand 10 before | Expand all | Expand 10 after
2800 gl_->Enable(GL_BLEND); 2801 gl_->Enable(GL_BLEND);
2801 EXPECT_TRUE(NoCommandsWritten()); 2802 EXPECT_TRUE(NoCommandsWritten());
2802 } 2803 }
2803 2804
2804 2805
2805 #include "gpu/command_buffer/client/gles2_implementation_unittest_autogen.h" 2806 #include "gpu/command_buffer/client/gles2_implementation_unittest_autogen.h"
2806 2807
2807 } // namespace gles2 2808 } // namespace gles2
2808 } // namespace gpu 2809 } // namespace gpu
2809 2810
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation.cc ('k') | gpu/command_buffer/client/query_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698