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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 #include "core/html/canvas/WebGLDebugRendererInfo.h" | 48 #include "core/html/canvas/WebGLDebugRendererInfo.h" |
49 #include "core/html/canvas/WebGLDebugShaders.h" | 49 #include "core/html/canvas/WebGLDebugShaders.h" |
50 #include "core/html/canvas/WebGLDepthTexture.h" | 50 #include "core/html/canvas/WebGLDepthTexture.h" |
51 #include "core/html/canvas/WebGLDrawBuffers.h" | 51 #include "core/html/canvas/WebGLDrawBuffers.h" |
52 #include "core/html/canvas/WebGLLoseContext.h" | 52 #include "core/html/canvas/WebGLLoseContext.h" |
53 #include "core/loader/FrameLoader.h" | 53 #include "core/loader/FrameLoader.h" |
54 #include "core/loader/FrameLoaderClient.h" | 54 #include "core/loader/FrameLoaderClient.h" |
55 #include "core/frame/Settings.h" | 55 #include "core/frame/Settings.h" |
56 #include "core/rendering/RenderBox.h" | 56 #include "core/rendering/RenderBox.h" |
57 #include "platform/CheckedInt.h" | 57 #include "platform/CheckedInt.h" |
58 #include "platform/NotImplemented.h" | |
59 #include "platform/graphics/gpu/DrawingBuffer.h" | 58 #include "platform/graphics/gpu/DrawingBuffer.h" |
60 #include "public/platform/Platform.h" | 59 #include "public/platform/Platform.h" |
61 | 60 |
62 namespace blink { | 61 namespace blink { |
63 | 62 |
64 PassOwnPtrWillBeRawPtr<WebGLRenderingContext> WebGLRenderingContext::create(HTML
CanvasElement* canvas, WebGLContextAttributes* attrs) | 63 PassOwnPtrWillBeRawPtr<WebGLRenderingContext> WebGLRenderingContext::create(HTML
CanvasElement* canvas, WebGLContextAttributes* attrs) |
65 { | 64 { |
66 Document& document = canvas->document(); | 65 Document& document = canvas->document(); |
67 LocalFrame* frame = document.frame(); | 66 LocalFrame* frame = document.frame(); |
68 if (!frame) { | 67 if (!frame) { |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 visitor->trace(m_webglDrawBuffers); | 165 visitor->trace(m_webglDrawBuffers); |
167 visitor->trace(m_webglCompressedTextureATC); | 166 visitor->trace(m_webglCompressedTextureATC); |
168 visitor->trace(m_webglCompressedTextureETC1); | 167 visitor->trace(m_webglCompressedTextureETC1); |
169 visitor->trace(m_webglCompressedTexturePVRTC); | 168 visitor->trace(m_webglCompressedTexturePVRTC); |
170 visitor->trace(m_webglCompressedTextureS3TC); | 169 visitor->trace(m_webglCompressedTextureS3TC); |
171 visitor->trace(m_webglDepthTexture); | 170 visitor->trace(m_webglDepthTexture); |
172 WebGLRenderingContextBase::trace(visitor); | 171 WebGLRenderingContextBase::trace(visitor); |
173 } | 172 } |
174 | 173 |
175 } // namespace blink | 174 } // namespace blink |
OLD | NEW |