| 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/OESTextureHalfFloat.h" | 40 #include "core/html/canvas/OESTextureHalfFloat.h" |
| 42 #include "core/html/canvas/OESVertexArrayObject.h" | 41 #include "core/html/canvas/OESVertexArrayObject.h" |
| 43 #include "core/html/canvas/WebGLActiveInfo.h" | 42 #include "core/html/canvas/WebGLActiveInfo.h" |
| 44 #include "core/html/canvas/WebGLBuffer.h" | 43 #include "core/html/canvas/WebGLBuffer.h" |
| 45 #include "core/html/canvas/WebGLCompressedTextureATC.h" | 44 #include "core/html/canvas/WebGLCompressedTextureATC.h" |
| 46 #include "core/html/canvas/WebGLCompressedTexturePVRTC.h" | 45 #include "core/html/canvas/WebGLCompressedTexturePVRTC.h" |
| 47 #include "core/html/canvas/WebGLCompressedTextureS3TC.h" | 46 #include "core/html/canvas/WebGLCompressedTextureS3TC.h" |
| 48 #include "core/html/canvas/WebGLContextAttributes.h" | 47 #include "core/html/canvas/WebGLContextAttributes.h" |
| 49 #include "core/html/canvas/WebGLContextEvent.h" | 48 #include "core/html/canvas/WebGLContextEvent.h" |
| 50 #include "core/html/canvas/WebGLContextGroup.h" | 49 #include "core/html/canvas/WebGLContextGroup.h" |
| 51 #include "core/html/canvas/WebGLDebugRendererInfo.h" | 50 #include "core/html/canvas/WebGLDebugRendererInfo.h" |
| 52 #include "core/html/canvas/WebGLDebugShaders.h" | 51 #include "core/html/canvas/WebGLDebugShaders.h" |
| 53 #include "core/html/canvas/WebGLDepthTexture.h" | 52 #include "core/html/canvas/WebGLDepthTexture.h" |
| 54 #include "core/html/canvas/WebGLFramebuffer.h" | 53 #include "core/html/canvas/WebGLFramebuffer.h" |
| 55 #include "core/html/canvas/WebGLLoseContext.h" | 54 #include "core/html/canvas/WebGLLoseContext.h" |
| 56 #include "core/html/canvas/WebGLProgram.h" | 55 #include "core/html/canvas/WebGLProgram.h" |
| 57 #include "core/html/canvas/WebGLRenderbuffer.h" | 56 #include "core/html/canvas/WebGLRenderbuffer.h" |
| 58 #include "core/html/canvas/WebGLShader.h" | 57 #include "core/html/canvas/WebGLShader.h" |
| 59 #include "core/html/canvas/WebGLShaderPrecisionFormat.h" | 58 #include "core/html/canvas/WebGLShaderPrecisionFormat.h" |
| 60 #include "core/html/canvas/WebGLTexture.h" | 59 #include "core/html/canvas/WebGLTexture.h" |
| 61 #include "core/html/canvas/WebGLUniformLocation.h" | 60 #include "core/html/canvas/WebGLUniformLocation.h" |
| 62 #include "core/loader/FrameLoader.h" | 61 #include "core/loader/FrameLoader.h" |
| 63 #include "core/loader/FrameLoaderClient.h" | 62 #include "core/loader/FrameLoaderClient.h" |
| 64 #include "core/loader/cache/CachedImage.h" | 63 #include "core/loader/cache/CachedImage.h" |
| 65 #include "core/page/DOMWindow.h" | |
| 66 #include "core/page/Frame.h" | 64 #include "core/page/Frame.h" |
| 67 #include "core/page/FrameView.h" | |
| 68 #include "core/page/Page.h" | 65 #include "core/page/Page.h" |
| 69 #include "core/page/Settings.h" | 66 #include "core/page/Settings.h" |
| 70 #include "core/platform/NotImplemented.h" | 67 #include "core/platform/NotImplemented.h" |
| 71 #include "core/platform/graphics/Extensions3D.h" | 68 #include "core/platform/graphics/Extensions3D.h" |
| 72 #include "core/platform/graphics/ImageBuffer.h" | 69 #include "core/platform/graphics/ImageBuffer.h" |
| 73 #include "core/platform/graphics/IntSize.h" | 70 #include "core/platform/graphics/IntSize.h" |
| 74 #include "core/platform/graphics/gpu/DrawingBuffer.h" | 71 #include "core/platform/graphics/gpu/DrawingBuffer.h" |
| 75 #include "core/rendering/RenderBox.h" | 72 #include "core/rendering/RenderBox.h" |
| 76 | 73 |
| 77 #include <wtf/OwnArrayPtr.h> | 74 #include <wtf/OwnArrayPtr.h> |
| (...skipping 5400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5478 | 5475 |
| 5479 void WebGLRenderingContext::multisamplingChanged(bool enabled) | 5476 void WebGLRenderingContext::multisamplingChanged(bool enabled) |
| 5480 { | 5477 { |
| 5481 if (m_multisamplingAllowed != enabled) { | 5478 if (m_multisamplingAllowed != enabled) { |
| 5482 m_multisamplingAllowed = enabled; | 5479 m_multisamplingAllowed = enabled; |
| 5483 forceLostContext(WebGLRenderingContext::AutoRecoverSyntheticLostContext)
; | 5480 forceLostContext(WebGLRenderingContext::AutoRecoverSyntheticLostContext)
; |
| 5484 } | 5481 } |
| 5485 } | 5482 } |
| 5486 | 5483 |
| 5487 } // namespace WebCore | 5484 } // namespace WebCore |
| OLD | NEW |