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 12 matching lines...) Expand all Loading... |
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> | 29 #include <memory> |
30 #include <set> | 30 #include <set> |
31 #include "bindings/core/v8/Nullable.h" | 31 #include "bindings/core/v8/Nullable.h" |
32 #include "bindings/core/v8/ScriptValue.h" | 32 #include "bindings/core/v8/ScriptValue.h" |
33 #include "bindings/core/v8/ScriptWrappableVisitor.h" | |
34 #include "core/CoreExport.h" | 33 #include "core/CoreExport.h" |
35 #include "core/dom/ArrayBufferViewHelpers.h" | 34 #include "core/dom/ArrayBufferViewHelpers.h" |
36 #include "core/dom/DOMTypedArray.h" | 35 #include "core/dom/DOMTypedArray.h" |
37 #include "core/dom/TypedFlexibleArrayBufferView.h" | 36 #include "core/dom/TypedFlexibleArrayBufferView.h" |
38 #include "core/html/canvas/CanvasContextCreationAttributes.h" | 37 #include "core/html/canvas/CanvasContextCreationAttributes.h" |
39 #include "core/html/canvas/CanvasRenderingContext.h" | 38 #include "core/html/canvas/CanvasRenderingContext.h" |
40 #include "core/layout/ContentChangeType.h" | 39 #include "core/layout/ContentChangeType.h" |
41 #include "modules/webgl/WebGLContextAttributes.h" | 40 #include "modules/webgl/WebGLContextAttributes.h" |
42 #include "modules/webgl/WebGLExtensionName.h" | 41 #include "modules/webgl/WebGLExtensionName.h" |
43 #include "modules/webgl/WebGLTexture.h" | 42 #include "modules/webgl/WebGLTexture.h" |
44 #include "modules/webgl/WebGLVertexArrayObjectBase.h" | 43 #include "modules/webgl/WebGLVertexArrayObjectBase.h" |
45 #include "platform/Timer.h" | 44 #include "platform/Timer.h" |
46 #include "platform/bindings/ScriptState.h" | 45 #include "platform/bindings/ScriptState.h" |
47 #include "platform/bindings/ScriptWrappable.h" | 46 #include "platform/bindings/ScriptWrappable.h" |
| 47 #include "platform/bindings/ScriptWrappableVisitor.h" |
48 #include "platform/graphics/ImageBuffer.h" | 48 #include "platform/graphics/ImageBuffer.h" |
49 #include "platform/graphics/gpu/DrawingBuffer.h" | 49 #include "platform/graphics/gpu/DrawingBuffer.h" |
50 #include "platform/graphics/gpu/Extensions3DUtil.h" | 50 #include "platform/graphics/gpu/Extensions3DUtil.h" |
51 #include "platform/graphics/gpu/WebGLImageConversion.h" | 51 #include "platform/graphics/gpu/WebGLImageConversion.h" |
52 #include "platform/wtf/CheckedNumeric.h" | 52 #include "platform/wtf/CheckedNumeric.h" |
53 #include "platform/wtf/text/WTFString.h" | 53 #include "platform/wtf/text/WTFString.h" |
54 #include "public/platform/Platform.h" | 54 #include "public/platform/Platform.h" |
55 #include "public/platform/WebGraphicsContext3DProvider.h" | 55 #include "public/platform/WebGraphicsContext3DProvider.h" |
56 #include "third_party/khronos/GLES2/gl2.h" | 56 #include "third_party/khronos/GLES2/gl2.h" |
57 | 57 |
(...skipping 1633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1691 context, | 1691 context, |
1692 context->Is3d(), | 1692 context->Is3d(), |
1693 context.Is3d()); | 1693 context.Is3d()); |
1694 | 1694 |
1695 } // namespace blink | 1695 } // namespace blink |
1696 | 1696 |
1697 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( | 1697 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( |
1698 blink::WebGLRenderingContextBase::TextureUnitState); | 1698 blink::WebGLRenderingContextBase::TextureUnitState); |
1699 | 1699 |
1700 #endif // WebGLRenderingContextBase_h | 1700 #endif // WebGLRenderingContextBase_h |
OLD | NEW |