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 29 matching lines...) Expand all Loading... |
40 #include "wtf/RefCounted.h" | 40 #include "wtf/RefCounted.h" |
41 #include "wtf/RefPtr.h" | 41 #include "wtf/RefPtr.h" |
42 | 42 |
43 namespace blink { | 43 namespace blink { |
44 class WebGraphicsContext3D; | 44 class WebGraphicsContext3D; |
45 class WebGraphicsContext3DProvider; | 45 class WebGraphicsContext3DProvider; |
46 } | 46 } |
47 | 47 |
48 class Canvas2DLayerBridgeTest; | 48 class Canvas2DLayerBridgeTest; |
49 | 49 |
50 namespace WebCore { | 50 namespace blink { |
51 | 51 |
52 class ImageBuffer; | 52 class ImageBuffer; |
53 | 53 |
54 class PLATFORM_EXPORT Canvas2DLayerBridge : public blink::WebExternalTextureLaye
rClient, public SkDeferredCanvas::NotificationClient, public DoublyLinkedListNod
e<Canvas2DLayerBridge>, public RefCounted<Canvas2DLayerBridge> { | 54 class PLATFORM_EXPORT Canvas2DLayerBridge : public blink::WebExternalTextureLaye
rClient, public SkDeferredCanvas::NotificationClient, public DoublyLinkedListNod
e<Canvas2DLayerBridge>, public RefCounted<Canvas2DLayerBridge> { |
55 WTF_MAKE_NONCOPYABLE(Canvas2DLayerBridge); | 55 WTF_MAKE_NONCOPYABLE(Canvas2DLayerBridge); |
56 public: | 56 public: |
57 static PassRefPtr<Canvas2DLayerBridge> create(const IntSize&, OpacityMode, i
nt msaaSampleCount); | 57 static PassRefPtr<Canvas2DLayerBridge> create(const IntSize&, OpacityMode, i
nt msaaSampleCount); |
58 | 58 |
59 virtual ~Canvas2DLayerBridge(); | 59 virtual ~Canvas2DLayerBridge(); |
60 | 60 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 }; | 137 }; |
138 MailboxInfo* createMailboxInfo(); | 138 MailboxInfo* createMailboxInfo(); |
139 MailboxInfo* releasedMailboxInfo(); | 139 MailboxInfo* releasedMailboxInfo(); |
140 | 140 |
141 uint32_t m_lastImageId; | 141 uint32_t m_lastImageId; |
142 Vector<MailboxInfo> m_mailboxes; | 142 Vector<MailboxInfo> m_mailboxes; |
143 int m_releasedMailboxInfoIndex; | 143 int m_releasedMailboxInfoIndex; |
144 }; | 144 }; |
145 } | 145 } |
146 #endif | 146 #endif |
OLD | NEW |