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

Side by Side Diff: content/browser/compositor/buffer_queue_unittest.cc

Issue 1802383002: Move gl_helper to content/browser/compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 9 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/browser/compositor/buffer_queue.h" 5 #include "content/browser/compositor/buffer_queue.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
11 11
12 #include "cc/test/test_context_provider.h" 12 #include "cc/test/test_context_provider.h"
13 #include "cc/test/test_web_graphics_context_3d.h" 13 #include "cc/test/test_web_graphics_context_3d.h"
14 #include "content/browser/compositor/gl_helper.h"
14 #include "content/browser/compositor/gpu_surfaceless_browser_compositor_output_s urface.h" 15 #include "content/browser/compositor/gpu_surfaceless_browser_compositor_output_s urface.h"
15 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h" 16 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h"
16 #include "content/common/gpu/client/gl_helper.h"
17 #include "gpu/GLES2/gl2extchromium.h" 17 #include "gpu/GLES2/gl2extchromium.h"
18 #include "testing/gmock/include/gmock/gmock.h" 18 #include "testing/gmock/include/gmock/gmock.h"
19 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
20 #include "third_party/khronos/GLES2/gl2ext.h" 20 #include "third_party/khronos/GLES2/gl2ext.h"
21 21
22 using ::testing::_; 22 using ::testing::_;
23 using ::testing::Expectation; 23 using ::testing::Expectation;
24 using ::testing::Ne; 24 using ::testing::Ne;
25 using ::testing::Return; 25 using ::testing::Return;
26 26
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 testing::Mock::VerifyAndClearExpectations(mock_output_surface_); 614 testing::Mock::VerifyAndClearExpectations(mock_output_surface_);
615 EXPECT_CALL(*mock_output_surface_, 615 EXPECT_CALL(*mock_output_surface_,
616 CopyBufferDamage(target_texture, source_texture, small_damage, _)) 616 CopyBufferDamage(target_texture, source_texture, small_damage, _))
617 .Times(1); 617 .Times(1);
618 output_surface_->SwapBuffers(small_damage); 618 output_surface_->SwapBuffers(small_damage);
619 testing::Mock::VerifyAndClearExpectations(mock_output_surface_); 619 testing::Mock::VerifyAndClearExpectations(mock_output_surface_);
620 } 620 }
621 621
622 } // namespace 622 } // namespace
623 } // namespace content 623 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/compositor/buffer_queue.cc ('k') | content/browser/compositor/delegated_frame_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698