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 15 matching lines...) Expand all Loading... |
26 #ifndef Canvas2DLayerBridge_h | 26 #ifndef Canvas2DLayerBridge_h |
27 #define Canvas2DLayerBridge_h | 27 #define Canvas2DLayerBridge_h |
28 | 28 |
29 #include "SkDeferredCanvas.h" | 29 #include "SkDeferredCanvas.h" |
30 #include "SkImage.h" | 30 #include "SkImage.h" |
31 #include "core/platform/graphics/GraphicsContext3D.h" | 31 #include "core/platform/graphics/GraphicsContext3D.h" |
32 #include "core/platform/graphics/IntSize.h" | 32 #include "core/platform/graphics/IntSize.h" |
33 #include "public/platform/WebExternalTextureLayer.h" | 33 #include "public/platform/WebExternalTextureLayer.h" |
34 #include "public/platform/WebExternalTextureLayerClient.h" | 34 #include "public/platform/WebExternalTextureLayerClient.h" |
35 #include "public/platform/WebExternalTextureMailbox.h" | 35 #include "public/platform/WebExternalTextureMailbox.h" |
36 #include <wtf/DoublyLinkedList.h> | 36 #include "wtf/DoublyLinkedList.h" |
37 #include <wtf/PassOwnPtr.h> | 37 #include "wtf/PassOwnPtr.h" |
38 #include <wtf/RefPtr.h> | 38 #include "wtf/RefPtr.h" |
39 | 39 |
40 namespace WebKit { | 40 namespace WebKit { |
41 class WebGraphicsContext3D; | 41 class WebGraphicsContext3D; |
42 } | 42 } |
43 | 43 |
44 namespace WebCore { | 44 namespace WebCore { |
45 | 45 |
46 class Canvas2DLayerBridge : public WebKit::WebExternalTextureLayerClient, public
SkDeferredCanvas::NotificationClient, public DoublyLinkedListNode<Canvas2DLayer
Bridge> { | 46 class Canvas2DLayerBridge : public WebKit::WebExternalTextureLayerClient, public
SkDeferredCanvas::NotificationClient, public DoublyLinkedListNode<Canvas2DLayer
Bridge> { |
47 WTF_MAKE_NONCOPYABLE(Canvas2DLayerBridge); | 47 WTF_MAKE_NONCOPYABLE(Canvas2DLayerBridge); |
48 public: | 48 public: |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 }; | 113 }; |
114 MailboxInfo* createMailboxInfo(); | 114 MailboxInfo* createMailboxInfo(); |
115 | 115 |
116 uint32_t m_lastImageId; | 116 uint32_t m_lastImageId; |
117 Vector<MailboxInfo> m_mailboxes; | 117 Vector<MailboxInfo> m_mailboxes; |
118 }; | 118 }; |
119 | 119 |
120 } | 120 } |
121 | 121 |
122 #endif | 122 #endif |
OLD | NEW |