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 |
11 * documentation and/or other materials provided with the distribution. | 11 * documentation and/or other materials provided with the distribution. |
12 * | 12 * |
13 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY | 13 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY |
14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | 14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | 15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR | 16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR |
17 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | 17 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | 18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | 19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
20 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 20 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
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 WebGLRenderingContextBase_h | 26 #ifndef WebGLRenderingContextBase_h |
27 #define WebGLRenderingContextBase_h | 27 #define WebGLRenderingContextBase_h |
28 | 28 |
| 29 #include <memory> |
| 30 #include <set> |
29 #include "bindings/core/v8/Nullable.h" | 31 #include "bindings/core/v8/Nullable.h" |
30 #include "bindings/core/v8/ScriptState.h" | 32 #include "bindings/core/v8/ScriptState.h" |
31 #include "bindings/core/v8/ScriptValue.h" | 33 #include "bindings/core/v8/ScriptValue.h" |
32 #include "bindings/core/v8/ScriptWrappable.h" | 34 #include "bindings/core/v8/ScriptWrappable.h" |
33 #include "bindings/core/v8/ScriptWrappableVisitor.h" | 35 #include "bindings/core/v8/ScriptWrappableVisitor.h" |
34 #include "core/CoreExport.h" | 36 #include "core/CoreExport.h" |
35 #include "core/dom/DOMTypedArray.h" | 37 #include "core/dom/DOMTypedArray.h" |
36 #include "core/dom/TypedFlexibleArrayBufferView.h" | 38 #include "core/dom/TypedFlexibleArrayBufferView.h" |
37 #include "core/html/canvas/CanvasContextCreationAttributes.h" | 39 #include "core/html/canvas/CanvasContextCreationAttributes.h" |
38 #include "core/html/canvas/CanvasRenderingContext.h" | 40 #include "core/html/canvas/CanvasRenderingContext.h" |
39 #include "core/layout/ContentChangeType.h" | 41 #include "core/layout/ContentChangeType.h" |
40 #include "modules/webgl/WebGLContextAttributes.h" | 42 #include "modules/webgl/WebGLContextAttributes.h" |
41 #include "modules/webgl/WebGLExtensionName.h" | 43 #include "modules/webgl/WebGLExtensionName.h" |
42 #include "modules/webgl/WebGLTexture.h" | 44 #include "modules/webgl/WebGLTexture.h" |
43 #include "modules/webgl/WebGLVertexArrayObjectBase.h" | 45 #include "modules/webgl/WebGLVertexArrayObjectBase.h" |
44 #include "platform/Timer.h" | 46 #include "platform/Timer.h" |
45 #include "platform/graphics/ImageBuffer.h" | 47 #include "platform/graphics/ImageBuffer.h" |
46 #include "platform/graphics/gpu/DrawingBuffer.h" | 48 #include "platform/graphics/gpu/DrawingBuffer.h" |
47 #include "platform/graphics/gpu/Extensions3DUtil.h" | 49 #include "platform/graphics/gpu/Extensions3DUtil.h" |
48 #include "platform/graphics/gpu/WebGLImageConversion.h" | 50 #include "platform/graphics/gpu/WebGLImageConversion.h" |
49 #include "public/platform/Platform.h" | 51 #include "public/platform/Platform.h" |
50 #include "public/platform/WebGraphicsContext3DProvider.h" | 52 #include "public/platform/WebGraphicsContext3DProvider.h" |
51 #include "third_party/khronos/GLES2/gl2.h" | 53 #include "third_party/khronos/GLES2/gl2.h" |
52 #include "wtf/CheckedNumeric.h" | 54 #include "wtf/CheckedNumeric.h" |
53 #include "wtf/text/WTFString.h" | 55 #include "wtf/text/WTFString.h" |
54 #include <memory> | |
55 #include <set> | |
56 | 56 |
57 namespace blink { | 57 namespace blink { |
58 class WebLayer; | 58 class WebLayer; |
59 } | 59 } |
60 | 60 |
61 namespace gpu { | 61 namespace gpu { |
62 namespace gles2 { | 62 namespace gles2 { |
63 class GLES2Interface; | 63 class GLES2Interface; |
64 } | 64 } |
65 } | 65 } |
(...skipping 1596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1662 context, | 1662 context, |
1663 context->is3d(), | 1663 context->is3d(), |
1664 context.is3d()); | 1664 context.is3d()); |
1665 | 1665 |
1666 } // namespace blink | 1666 } // namespace blink |
1667 | 1667 |
1668 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( | 1668 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( |
1669 blink::WebGLRenderingContextBase::TextureUnitState); | 1669 blink::WebGLRenderingContextBase::TextureUnitState); |
1670 | 1670 |
1671 #endif // WebGLRenderingContextBase_h | 1671 #endif // WebGLRenderingContextBase_h |
OLD | NEW |