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

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

Issue 118203002: During virtual context switches only restore texture units that have changed from the previous cont… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporate sievers' feedback on unittests Created 6 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
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/gles2_cmd_decoder_unittest_base.h" 5 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
12 #include "base/strings/string_split.h" 12 #include "base/strings/string_split.h"
13 #include "gpu/command_buffer/common/gles2_cmd_format.h" 13 #include "gpu/command_buffer/common/gles2_cmd_format.h"
14 #include "gpu/command_buffer/common/gles2_cmd_utils.h" 14 #include "gpu/command_buffer/common/gles2_cmd_utils.h"
15 #include "gpu/command_buffer/service/cmd_buffer_engine.h" 15 #include "gpu/command_buffer/service/cmd_buffer_engine.h"
16 #include "gpu/command_buffer/service/context_group.h" 16 #include "gpu/command_buffer/service/context_group.h"
17 #include "gpu/command_buffer/service/context_state.h"
no sievers 2014/01/14 22:19:28 not needed
kaanb 2014/01/14 23:51:10 Done.
17 #include "gpu/command_buffer/service/gles2_cmd_decoder_mock.h" 18 #include "gpu/command_buffer/service/gles2_cmd_decoder_mock.h"
18 #include "gpu/command_buffer/service/logger.h" 19 #include "gpu/command_buffer/service/logger.h"
19 #include "gpu/command_buffer/service/program_manager.h" 20 #include "gpu/command_buffer/service/program_manager.h"
20 #include "gpu/command_buffer/service/test_helper.h" 21 #include "gpu/command_buffer/service/test_helper.h"
21 #include "gpu/command_buffer/service/vertex_attrib_manager.h" 22 #include "gpu/command_buffer/service/vertex_attrib_manager.h"
22 #include "testing/gtest/include/gtest/gtest.h" 23 #include "testing/gtest/include/gtest/gtest.h"
23 #include "ui/gl/gl_implementation.h" 24 #include "ui/gl/gl_implementation.h"
24 #include "ui/gl/gl_mock.h" 25 #include "ui/gl/gl_mock.h"
25 26
26 using ::gfx::MockGLInterface; 27 using ::gfx::MockGLInterface;
(...skipping 1398 matching lines...) Expand 10 before | Expand all | Expand 10 after
1425 SetupDefaultProgram(); 1426 SetupDefaultProgram();
1426 } 1427 }
1427 1428
1428 // Include the auto-generated part of this file. We split this because it means 1429 // Include the auto-generated part of this file. We split this because it means
1429 // we can easily edit the non-auto generated parts right here in this file 1430 // we can easily edit the non-auto generated parts right here in this file
1430 // instead of having to edit some template or the code generator. 1431 // instead of having to edit some template or the code generator.
1431 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h" 1432 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h"
1432 1433
1433 } // namespace gles2 1434 } // namespace gles2
1434 } // namespace gpu 1435 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698