| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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_RESOURCES_PLATFORM_COLOR_H_ | 5 #ifndef CC_RESOURCES_PLATFORM_COLOR_H_ |
| 6 #define CC_RESOURCES_PLATFORM_COLOR_H_ | 6 #define CC_RESOURCES_PLATFORM_COLOR_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" | 10 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
| 11 #include "third_party/khronos/GLES2/gl2.h" | 11 #include "third_party/khronos/GLES2/gl2.h" |
| 12 #include "third_party/khronos/GLES2/gl2ext.h" | 12 #include "third_party/khronos/GLES2/gl2ext.h" |
| 13 #include "third_party/skia/include/core/SkTypes.h" | 13 #include "third_party/skia/include/core/SkTypes.h" |
| 14 | 14 |
| 15 namespace cc { | 15 namespace cc { |
| 16 | 16 |
| 17 class PlatformColor { | 17 class PlatformColor { |
| 18 public: | 18 public: |
| 19 enum SourceDataFormat { | 19 enum SourceDataFormat { |
| 20 SOURCE_FORMAT_RGBA8, | 20 SOURCE_FORMAT_RGBA8, |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 } | 57 } |
| 58 } | 58 } |
| 59 | 59 |
| 60 private: | 60 private: |
| 61 DISALLOW_IMPLICIT_CONSTRUCTORS(PlatformColor); | 61 DISALLOW_IMPLICIT_CONSTRUCTORS(PlatformColor); |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace cc | 64 } // namespace cc |
| 65 | 65 |
| 66 #endif // CC_RESOURCES_PLATFORM_COLOR_H_ | 66 #endif // CC_RESOURCES_PLATFORM_COLOR_H_ |
| OLD | NEW |