| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010, Google Inc. All rights reserved. | 2 * Copyright (c) 2010, 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef DrawingBuffer_h | 31 #ifndef DrawingBuffer_h |
| 32 #define DrawingBuffer_h | 32 #define DrawingBuffer_h |
| 33 | 33 |
| 34 #include "platform/PlatformExport.h" | 34 #include "sky/engine/platform/PlatformExport.h" |
| 35 #include "platform/geometry/IntSize.h" | 35 #include "sky/engine/platform/geometry/IntSize.h" |
| 36 #include "platform/graphics/GraphicsTypes3D.h" | 36 #include "sky/engine/platform/graphics/GraphicsTypes3D.h" |
| 37 #include "platform/graphics/gpu/WebGLImageConversion.h" | 37 #include "sky/engine/platform/graphics/gpu/WebGLImageConversion.h" |
| 38 #include "public/platform/WebExternalTextureLayerClient.h" | 38 #include "sky/engine/public/platform/WebExternalTextureLayerClient.h" |
| 39 #include "public/platform/WebExternalTextureMailbox.h" | 39 #include "sky/engine/public/platform/WebExternalTextureMailbox.h" |
| 40 #include "public/platform/WebGraphicsContext3D.h" | 40 #include "sky/engine/public/platform/WebGraphicsContext3D.h" |
| 41 #include "sky/engine/wtf/Deque.h" |
| 42 #include "sky/engine/wtf/Noncopyable.h" |
| 43 #include "sky/engine/wtf/OwnPtr.h" |
| 44 #include "sky/engine/wtf/PassOwnPtr.h" |
| 41 #include "third_party/khronos/GLES2/gl2.h" | 45 #include "third_party/khronos/GLES2/gl2.h" |
| 42 #include "third_party/khronos/GLES2/gl2ext.h" | 46 #include "third_party/khronos/GLES2/gl2ext.h" |
| 43 #include "third_party/skia/include/core/SkBitmap.h" | 47 #include "third_party/skia/include/core/SkBitmap.h" |
| 44 #include "wtf/Deque.h" | |
| 45 #include "wtf/Noncopyable.h" | |
| 46 #include "wtf/OwnPtr.h" | |
| 47 #include "wtf/PassOwnPtr.h" | |
| 48 | 48 |
| 49 namespace blink { | 49 namespace blink { |
| 50 | 50 |
| 51 class Extensions3DUtil; | 51 class Extensions3DUtil; |
| 52 class ImageBuffer; | 52 class ImageBuffer; |
| 53 class WebExternalBitmap; | 53 class WebExternalBitmap; |
| 54 class WebExternalTextureLayer; | 54 class WebExternalTextureLayer; |
| 55 class WebGraphicsContext3D; | 55 class WebGraphicsContext3D; |
| 56 class WebLayer; | 56 class WebLayer; |
| 57 | 57 |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 // used to resize the Canvas. | 296 // used to resize the Canvas. |
| 297 SkBitmap m_resizingBitmap; | 297 SkBitmap m_resizingBitmap; |
| 298 | 298 |
| 299 // Used to flip a bitmap vertically. | 299 // Used to flip a bitmap vertically. |
| 300 Vector<uint8_t> m_scanline; | 300 Vector<uint8_t> m_scanline; |
| 301 }; | 301 }; |
| 302 | 302 |
| 303 } // namespace blink | 303 } // namespace blink |
| 304 | 304 |
| 305 #endif // DrawingBuffer_h | 305 #endif // DrawingBuffer_h |
| OLD | NEW |