| 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 <stddef.h> |
| 9 |
| 8 #include "base/callback.h" | 10 #include "base/callback.h" |
| 9 #include "base/logging.h" | 11 #include "base/logging.h" |
| 10 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 11 #include "cc/output/begin_frame_args.h" | 13 #include "cc/output/begin_frame_args.h" |
| 12 #include "cc/output/compositor_frame.h" | 14 #include "cc/output/compositor_frame.h" |
| 13 #include "cc/output/managed_memory_policy.h" | 15 #include "cc/output/managed_memory_policy.h" |
| 14 #include "cc/output/output_surface.h" | 16 #include "cc/output/output_surface.h" |
| 15 #include "cc/output/software_output_device.h" | 17 #include "cc/output/software_output_device.h" |
| 16 #include "cc/test/test_context_provider.h" | 18 #include "cc/test/test_context_provider.h" |
| 17 #include "cc/test/test_web_graphics_context_3d.h" | 19 #include "cc/test/test_web_graphics_context_3d.h" |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 unsigned framebuffer_; | 175 unsigned framebuffer_; |
| 174 TransferableResourceArray resources_held_by_parent_; | 176 TransferableResourceArray resources_held_by_parent_; |
| 175 scoped_ptr<ManagedMemoryPolicy> memory_policy_to_set_at_bind_; | 177 scoped_ptr<ManagedMemoryPolicy> memory_policy_to_set_at_bind_; |
| 176 OverlayCandidateValidator* overlay_candidate_validator_; | 178 OverlayCandidateValidator* overlay_candidate_validator_; |
| 177 gfx::Rect last_swap_rect_; | 179 gfx::Rect last_swap_rect_; |
| 178 }; | 180 }; |
| 179 | 181 |
| 180 } // namespace cc | 182 } // namespace cc |
| 181 | 183 |
| 182 #endif // CC_TEST_FAKE_OUTPUT_SURFACE_H_ | 184 #endif // CC_TEST_FAKE_OUTPUT_SURFACE_H_ |
| OLD | NEW |