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 14 matching lines...) Expand all Loading... |
25 | 25 |
26 #include "config.h" | 26 #include "config.h" |
27 | 27 |
28 #include "core/html/canvas/WebGLRenderingContext.h" | 28 #include "core/html/canvas/WebGLRenderingContext.h" |
29 | 29 |
30 #include "core/dom/ExceptionCode.h" | 30 #include "core/dom/ExceptionCode.h" |
31 #include "core/html/HTMLCanvasElement.h" | 31 #include "core/html/HTMLCanvasElement.h" |
32 #include "core/html/HTMLImageElement.h" | 32 #include "core/html/HTMLImageElement.h" |
33 #include "core/html/HTMLVideoElement.h" | 33 #include "core/html/HTMLVideoElement.h" |
34 #include "core/html/ImageData.h" | 34 #include "core/html/ImageData.h" |
35 #include "core/html/canvas/CheckedInt.h" | |
36 #include "core/html/canvas/EXTDrawBuffers.h" | 35 #include "core/html/canvas/EXTDrawBuffers.h" |
37 #include "core/html/canvas/EXTTextureFilterAnisotropic.h" | 36 #include "core/html/canvas/EXTTextureFilterAnisotropic.h" |
38 #include "core/html/canvas/OESElementIndexUint.h" | 37 #include "core/html/canvas/OESElementIndexUint.h" |
39 #include "core/html/canvas/OESStandardDerivatives.h" | 38 #include "core/html/canvas/OESStandardDerivatives.h" |
40 #include "core/html/canvas/OESTextureFloat.h" | 39 #include "core/html/canvas/OESTextureFloat.h" |
41 #include "core/html/canvas/OESTextureFloatLinear.h" | 40 #include "core/html/canvas/OESTextureFloatLinear.h" |
42 #include "core/html/canvas/OESTextureHalfFloat.h" | 41 #include "core/html/canvas/OESTextureHalfFloat.h" |
43 #include "core/html/canvas/OESTextureHalfFloatLinear.h" | 42 #include "core/html/canvas/OESTextureHalfFloatLinear.h" |
44 #include "core/html/canvas/OESVertexArrayObject.h" | 43 #include "core/html/canvas/OESVertexArrayObject.h" |
45 #include "core/html/canvas/WebGLActiveInfo.h" | 44 #include "core/html/canvas/WebGLActiveInfo.h" |
(...skipping 11 matching lines...) Expand all Loading... |
57 #include "core/html/canvas/WebGLLoseContext.h" | 56 #include "core/html/canvas/WebGLLoseContext.h" |
58 #include "core/html/canvas/WebGLProgram.h" | 57 #include "core/html/canvas/WebGLProgram.h" |
59 #include "core/html/canvas/WebGLRenderbuffer.h" | 58 #include "core/html/canvas/WebGLRenderbuffer.h" |
60 #include "core/html/canvas/WebGLShader.h" | 59 #include "core/html/canvas/WebGLShader.h" |
61 #include "core/html/canvas/WebGLShaderPrecisionFormat.h" | 60 #include "core/html/canvas/WebGLShaderPrecisionFormat.h" |
62 #include "core/html/canvas/WebGLTexture.h" | 61 #include "core/html/canvas/WebGLTexture.h" |
63 #include "core/html/canvas/WebGLUniformLocation.h" | 62 #include "core/html/canvas/WebGLUniformLocation.h" |
64 #include "core/loader/FrameLoader.h" | 63 #include "core/loader/FrameLoader.h" |
65 #include "core/loader/FrameLoaderClient.h" | 64 #include "core/loader/FrameLoaderClient.h" |
66 #include "core/loader/cache/CachedImage.h" | 65 #include "core/loader/cache/CachedImage.h" |
67 #include "core/page/DOMWindow.h" | |
68 #include "core/page/Frame.h" | 66 #include "core/page/Frame.h" |
69 #include "core/page/FrameView.h" | |
70 #include "core/page/Page.h" | 67 #include "core/page/Page.h" |
71 #include "core/page/Settings.h" | 68 #include "core/page/Settings.h" |
72 #include "core/platform/NotImplemented.h" | 69 #include "core/platform/NotImplemented.h" |
73 #include "core/platform/graphics/Extensions3D.h" | 70 #include "core/platform/graphics/Extensions3D.h" |
74 #include "core/platform/graphics/ImageBuffer.h" | 71 #include "core/platform/graphics/ImageBuffer.h" |
75 #include "core/platform/graphics/IntSize.h" | 72 #include "core/platform/graphics/IntSize.h" |
76 #include "core/platform/graphics/gpu/DrawingBuffer.h" | 73 #include "core/platform/graphics/gpu/DrawingBuffer.h" |
77 #include "core/rendering/RenderBox.h" | 74 #include "core/rendering/RenderBox.h" |
78 | 75 |
79 #include <wtf/OwnArrayPtr.h> | 76 #include <wtf/OwnArrayPtr.h> |
(...skipping 5404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5484 | 5481 |
5485 void WebGLRenderingContext::multisamplingChanged(bool enabled) | 5482 void WebGLRenderingContext::multisamplingChanged(bool enabled) |
5486 { | 5483 { |
5487 if (m_multisamplingAllowed != enabled) { | 5484 if (m_multisamplingAllowed != enabled) { |
5488 m_multisamplingAllowed = enabled; | 5485 m_multisamplingAllowed = enabled; |
5489 forceLostContext(WebGLRenderingContext::AutoRecoverSyntheticLostContext)
; | 5486 forceLostContext(WebGLRenderingContext::AutoRecoverSyntheticLostContext)
; |
5490 } | 5487 } |
5491 } | 5488 } |
5492 | 5489 |
5493 } // namespace WebCore | 5490 } // namespace WebCore |
OLD | NEW |