Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 27 #define Canvas2DLayerBridge_h | 27 #define Canvas2DLayerBridge_h |
| 28 | 28 |
| 29 #include "platform/PlatformExport.h" | 29 #include "platform/PlatformExport.h" |
| 30 #include "platform/geometry/IntSize.h" | 30 #include "platform/geometry/IntSize.h" |
| 31 #include "platform/graphics/ImageBufferSurface.h" | 31 #include "platform/graphics/ImageBufferSurface.h" |
| 32 #include "public/platform/WebExternalTextureLayer.h" | 32 #include "public/platform/WebExternalTextureLayer.h" |
| 33 #include "public/platform/WebExternalTextureLayerClient.h" | 33 #include "public/platform/WebExternalTextureLayerClient.h" |
| 34 #include "public/platform/WebExternalTextureMailbox.h" | 34 #include "public/platform/WebExternalTextureMailbox.h" |
| 35 #include "public/platform/WebThread.h" | 35 #include "public/platform/WebThread.h" |
| 36 #include "third_party/khronos/GLES2/gl2.h" | 36 #include "third_party/khronos/GLES2/gl2.h" |
| 37 #include "third_party/skia/include/core/SkImage.h" | 37 #include "third_party/skia/include/core/SkSurface.h" |
|
f(malita)
2016/04/28 14:06:46
Can't we also forward-declare SkSurface?
| |
| 38 #include "wtf/Allocator.h" | 38 #include "wtf/Allocator.h" |
| 39 #include "wtf/Deque.h" | 39 #include "wtf/Deque.h" |
| 40 #include "wtf/PassOwnPtr.h" | 40 #include "wtf/PassOwnPtr.h" |
| 41 #include "wtf/RefCounted.h" | 41 #include "wtf/RefCounted.h" |
| 42 #include "wtf/RefPtr.h" | 42 #include "wtf/RefPtr.h" |
| 43 #include "wtf/Vector.h" | 43 #include "wtf/Vector.h" |
| 44 #include "wtf/WeakPtr.h" | 44 #include "wtf/WeakPtr.h" |
| 45 | 45 |
| 46 class SkImage; | |
| 47 struct SkImageInfo; | |
| 46 class SkPictureRecorder; | 48 class SkPictureRecorder; |
| 47 | 49 |
| 48 namespace gpu { | 50 namespace gpu { |
| 49 namespace gles2 { | 51 namespace gles2 { |
| 50 class GLES2Interface; | 52 class GLES2Interface; |
| 51 } | 53 } |
| 52 } | 54 } |
| 53 | 55 |
| 54 namespace blink { | 56 namespace blink { |
| 55 | 57 |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 274 // Each element in this vector represents an IOSurface backed texture that | 276 // Each element in this vector represents an IOSurface backed texture that |
| 275 // is ready to be reused. | 277 // is ready to be reused. |
| 276 // Elements in this vector can safely be purged in low memory conditions. | 278 // Elements in this vector can safely be purged in low memory conditions. |
| 277 Vector<ImageInfo> m_imageInfoCache; | 279 Vector<ImageInfo> m_imageInfoCache; |
| 278 #endif // USE_IOSURFACE_FOR_2D_CANVAS | 280 #endif // USE_IOSURFACE_FOR_2D_CANVAS |
| 279 }; | 281 }; |
| 280 | 282 |
| 281 } // namespace blink | 283 } // namespace blink |
| 282 | 284 |
| 283 #endif | 285 #endif |
| OLD | NEW |