| OLD | NEW |
| 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/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 bool delegated_rendering); | 134 bool delegated_rendering); |
| 135 | 135 |
| 136 void OnBeginFrame(); | 136 void OnBeginFrame(); |
| 137 | 137 |
| 138 OutputSurfaceClient* client_; | 138 OutputSurfaceClient* client_; |
| 139 CompositorFrame last_sent_frame_; | 139 CompositorFrame last_sent_frame_; |
| 140 size_t num_sent_frames_; | 140 size_t num_sent_frames_; |
| 141 bool needs_begin_frame_; | 141 bool needs_begin_frame_; |
| 142 bool has_external_stencil_test_; | 142 bool has_external_stencil_test_; |
| 143 TransferableResourceArray resources_held_by_parent_; | 143 TransferableResourceArray resources_held_by_parent_; |
| 144 scoped_ptr<ManagedMemoryPolicy> memory_policy_to_set_at_bind_; |
| 145 |
| 144 base::WeakPtrFactory<FakeOutputSurface> fake_weak_ptr_factory_; | 146 base::WeakPtrFactory<FakeOutputSurface> fake_weak_ptr_factory_; |
| 145 scoped_ptr<ManagedMemoryPolicy> memory_policy_to_set_at_bind_; | |
| 146 }; | 147 }; |
| 147 | 148 |
| 148 } // namespace cc | 149 } // namespace cc |
| 149 | 150 |
| 150 #endif // CC_TEST_FAKE_OUTPUT_SURFACE_H_ | 151 #endif // CC_TEST_FAKE_OUTPUT_SURFACE_H_ |
| OLD | NEW |