| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "cc/output/software_frame_data.h" | 5 #ifndef CC_RESOURCES_RESOURCE_FORMAT_H_ |
| 6 #define CC_RESOURCES_RESOURCE_FORMAT_H_ |
| 6 | 7 |
| 7 namespace cc { | 8 namespace cc { |
| 8 | 9 |
| 9 SoftwareFrameData::SoftwareFrameData() | 10 enum ResourceFormat { |
| 10 : id(0), | 11 RGBA_8888, |
| 11 handle(base::SharedMemory::NULLHandle()) {} | 12 RGBA_4444, |
| 12 | 13 BGRA_8888, |
| 13 SoftwareFrameData::~SoftwareFrameData() {} | 14 LUMINANCE_8, |
| 15 }; |
| 14 | 16 |
| 15 } // namespace cc | 17 } // namespace cc |
| 18 |
| 19 #endif // CC_RESOURCES_RESOURCE_FORMAT_H_ |
| OLD | NEW |