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

Side by Side Diff: gpu/command_buffer/service/memory_program_cache_unittest.cc

Issue 11444028: Make more GL stuff auto-generated (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 #include "gpu/command_buffer/service/memory_program_cache.h" 5 #include "gpu/command_buffer/service/memory_program_cache.h"
6 6
7 #include "gpu/command_buffer/common/gl_mock.h"
8 #include "gpu/command_buffer/common/gles2_cmd_format.h" 7 #include "gpu/command_buffer/common/gles2_cmd_format.h"
9 #include "gpu/command_buffer/service/gl_utils.h" 8 #include "gpu/command_buffer/service/gl_utils.h"
10 #include "gpu/command_buffer/service/shader_translator.h" 9 #include "gpu/command_buffer/service/shader_translator.h"
11 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
12 #include "ui/gl/gl_bindings.h" 11 #include "ui/gl/gl_bindings.h"
12 #include "ui/gl/gl_mock.h"
13 13
14 using ::testing::_; 14 using ::testing::_;
15 using ::testing::ElementsAreArray; 15 using ::testing::ElementsAreArray;
16 using ::testing::Invoke; 16 using ::testing::Invoke;
17 using ::testing::SetArgPointee; 17 using ::testing::SetArgPointee;
18 using ::testing::SetArrayArgument; 18 using ::testing::SetArrayArgument;
19 19
20 namespace { 20 namespace {
21 typedef gpu::gles2::ShaderTranslator::VariableMap VariableMap; 21 typedef gpu::gles2::ShaderTranslator::VariableMap VariableMap;
22 } // anonymous namespace 22 } // anonymous namespace
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 SetExpectationsForLoadLinkedProgram(kProgramId, &emulator2); 440 SetExpectationsForLoadLinkedProgram(kProgramId, &emulator2);
441 EXPECT_EQ(ProgramCache::PROGRAM_LOAD_SUCCESS, cache_->LoadLinkedProgram( 441 EXPECT_EQ(ProgramCache::PROGRAM_LOAD_SUCCESS, cache_->LoadLinkedProgram(
442 kProgramId, 442 kProgramId,
443 vertex_shader_, 443 vertex_shader_,
444 fragment_shader_, 444 fragment_shader_,
445 NULL)); 445 NULL));
446 } 446 }
447 447
448 } // namespace gles2 448 } // namespace gles2
449 } // namespace gpu 449 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc ('k') | gpu/command_buffer/service/program_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698