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

Side by Side Diff: cc/test/fake_output_surface.h

Issue 16863005: cc: Add BeginFrameArgs (Closed) Base URL: http://git.chromium.org/chromium/src.git@nofrc12
Patch Set: Rebase Created 7 years, 6 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
« no previous file with comments | « cc/test/fake_layer_tree_host_impl_client.h ('k') | cc/test/fake_output_surface.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef CC_TEST_FAKE_OUTPUT_SURFACE_H_ 5 #ifndef CC_TEST_FAKE_OUTPUT_SURFACE_H_
6 #define CC_TEST_FAKE_OUTPUT_SURFACE_H_ 6 #define CC_TEST_FAKE_OUTPUT_SURFACE_H_
7 7
8 #include "base/time.h" 8 #include "base/time.h"
9 #include "cc/output/begin_frame_args.h"
9 #include "cc/output/compositor_frame.h" 10 #include "cc/output/compositor_frame.h"
10 #include "cc/output/output_surface.h" 11 #include "cc/output/output_surface.h"
11 #include "cc/output/software_output_device.h" 12 #include "cc/output/software_output_device.h"
12 #include "cc/test/test_web_graphics_context_3d.h" 13 #include "cc/test/test_web_graphics_context_3d.h"
13 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" 14 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
14 15
15 namespace cc { 16 namespace cc {
16 17
17 class FakeOutputSurface : public OutputSurface { 18 class FakeOutputSurface : public OutputSurface {
18 public: 19 public:
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 static inline scoped_ptr<cc::OutputSurface> CreateFakeOutputSurface() { 107 static inline scoped_ptr<cc::OutputSurface> CreateFakeOutputSurface() {
107 return FakeOutputSurface::Create3d( 108 return FakeOutputSurface::Create3d(
108 TestWebGraphicsContext3D::Create( 109 TestWebGraphicsContext3D::Create(
109 WebKit::WebGraphicsContext3D::Attributes()) 110 WebKit::WebGraphicsContext3D::Attributes())
110 .PassAs<WebKit::WebGraphicsContext3D>()).PassAs<cc::OutputSurface>(); 111 .PassAs<WebKit::WebGraphicsContext3D>()).PassAs<cc::OutputSurface>();
111 } 112 }
112 113
113 } // namespace cc 114 } // namespace cc
114 115
115 #endif // CC_TEST_FAKE_OUTPUT_SURFACE_H_ 116 #endif // CC_TEST_FAKE_OUTPUT_SURFACE_H_
OLDNEW
« no previous file with comments | « cc/test/fake_layer_tree_host_impl_client.h ('k') | cc/test/fake_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698