| 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_QUADS_IO_SURFACE_DRAW_QUAD_H_ | 5 #ifndef CC_QUADS_IO_SURFACE_DRAW_QUAD_H_ |
| 6 #define CC_QUADS_IO_SURFACE_DRAW_QUAD_H_ | 6 #define CC_QUADS_IO_SURFACE_DRAW_QUAD_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 9 #include "cc/base/cc_export.h" | 11 #include "cc/base/cc_export.h" |
| 10 #include "cc/quads/draw_quad.h" | 12 #include "cc/quads/draw_quad.h" |
| 11 #include "ui/gfx/geometry/size.h" | 13 #include "ui/gfx/geometry/size.h" |
| 12 | 14 |
| 13 namespace cc { | 15 namespace cc { |
| 14 | 16 |
| 15 class CC_EXPORT IOSurfaceDrawQuad : public DrawQuad { | 17 class CC_EXPORT IOSurfaceDrawQuad : public DrawQuad { |
| 16 public: | 18 public: |
| 17 enum Orientation { | 19 enum Orientation { |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 | 52 |
| 51 private: | 53 private: |
| 52 static const size_t kIOSurfaceResourceIdIndex = 0; | 54 static const size_t kIOSurfaceResourceIdIndex = 0; |
| 53 | 55 |
| 54 void ExtendValue(base::trace_event::TracedValue* value) const override; | 56 void ExtendValue(base::trace_event::TracedValue* value) const override; |
| 55 }; | 57 }; |
| 56 | 58 |
| 57 } // namespace cc | 59 } // namespace cc |
| 58 | 60 |
| 59 #endif // CC_QUADS_IO_SURFACE_DRAW_QUAD_H_ | 61 #endif // CC_QUADS_IO_SURFACE_DRAW_QUAD_H_ |
| OLD | NEW |