OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 10 matching lines...) Expand all Loading... |
21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #ifndef WebGLRenderingContext_h | 26 #ifndef WebGLRenderingContext_h |
27 #define WebGLRenderingContext_h | 27 #define WebGLRenderingContext_h |
28 | 28 |
29 #include "ActiveDOMObject.h" | 29 #include "ActiveDOMObject.h" |
30 #include "CanvasRenderingContext.h" | 30 #include "CanvasRenderingContext.h" |
31 #include "Timer.h" | |
32 #include "WebGLGetInfo.h" | 31 #include "WebGLGetInfo.h" |
| 32 #include "core/platform/Timer.h" |
33 #include "core/platform/graphics/GraphicsContext3D.h" | 33 #include "core/platform/graphics/GraphicsContext3D.h" |
34 #include "core/platform/graphics/ImageBuffer.h" | 34 #include "core/platform/graphics/ImageBuffer.h" |
35 | 35 |
36 #include <wtf/Float32Array.h> | 36 #include <wtf/Float32Array.h> |
37 #include <wtf/Int32Array.h> | 37 #include <wtf/Int32Array.h> |
38 #include <wtf/OwnArrayPtr.h> | 38 #include <wtf/OwnArrayPtr.h> |
39 #include <wtf/text/WTFString.h> | 39 #include <wtf/text/WTFString.h> |
40 #include <wtf/Uint8Array.h> | 40 #include <wtf/Uint8Array.h> |
41 | 41 |
42 namespace WebCore { | 42 namespace WebCore { |
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
771 | 771 |
772 // Check if EXT_draw_buffers extension is supported and if it satisfies the
WebGL requirements. | 772 // Check if EXT_draw_buffers extension is supported and if it satisfies the
WebGL requirements. |
773 bool supportsDrawBuffers(); | 773 bool supportsDrawBuffers(); |
774 | 774 |
775 friend class WebGLStateRestorer; | 775 friend class WebGLStateRestorer; |
776 }; | 776 }; |
777 | 777 |
778 } // namespace WebCore | 778 } // namespace WebCore |
779 | 779 |
780 #endif | 780 #endif |
OLD | NEW |