Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(488)

Side by Side Diff: Source/core/html/canvas/WebGLRenderingContext.cpp

Issue 926193003: Move rendering/RenderBox to layout/LayoutBox. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "core/html/canvas/WebGLCompressedTextureATC.h" 46 #include "core/html/canvas/WebGLCompressedTextureATC.h"
47 #include "core/html/canvas/WebGLCompressedTextureETC1.h" 47 #include "core/html/canvas/WebGLCompressedTextureETC1.h"
48 #include "core/html/canvas/WebGLCompressedTexturePVRTC.h" 48 #include "core/html/canvas/WebGLCompressedTexturePVRTC.h"
49 #include "core/html/canvas/WebGLCompressedTextureS3TC.h" 49 #include "core/html/canvas/WebGLCompressedTextureS3TC.h"
50 #include "core/html/canvas/WebGLContextEvent.h" 50 #include "core/html/canvas/WebGLContextEvent.h"
51 #include "core/html/canvas/WebGLDebugRendererInfo.h" 51 #include "core/html/canvas/WebGLDebugRendererInfo.h"
52 #include "core/html/canvas/WebGLDebugShaders.h" 52 #include "core/html/canvas/WebGLDebugShaders.h"
53 #include "core/html/canvas/WebGLDepthTexture.h" 53 #include "core/html/canvas/WebGLDepthTexture.h"
54 #include "core/html/canvas/WebGLDrawBuffers.h" 54 #include "core/html/canvas/WebGLDrawBuffers.h"
55 #include "core/html/canvas/WebGLLoseContext.h" 55 #include "core/html/canvas/WebGLLoseContext.h"
56 #include "core/layout/LayoutBox.h"
56 #include "core/loader/FrameLoader.h" 57 #include "core/loader/FrameLoader.h"
57 #include "core/loader/FrameLoaderClient.h" 58 #include "core/loader/FrameLoaderClient.h"
58 #include "core/rendering/RenderBox.h"
59 #include "platform/CheckedInt.h" 59 #include "platform/CheckedInt.h"
60 #include "platform/graphics/gpu/DrawingBuffer.h" 60 #include "platform/graphics/gpu/DrawingBuffer.h"
61 #include "public/platform/Platform.h" 61 #include "public/platform/Platform.h"
62 62
63 namespace blink { 63 namespace blink {
64 64
65 PassOwnPtrWillBeRawPtr<WebGLRenderingContext> WebGLRenderingContext::create(HTML CanvasElement* canvas, const CanvasContextCreationAttributes& attrs) 65 PassOwnPtrWillBeRawPtr<WebGLRenderingContext> WebGLRenderingContext::create(HTML CanvasElement* canvas, const CanvasContextCreationAttributes& attrs)
66 { 66 {
67 WebGLContextAttributes attributes = toWebGLContextAttributes(attrs); 67 WebGLContextAttributes attributes = toWebGLContextAttributes(attrs);
68 OwnPtr<blink::WebGraphicsContext3D> context(createWebGraphicsContext3D(canva s, attributes, 1)); 68 OwnPtr<blink::WebGraphicsContext3D> context(createWebGraphicsContext3D(canva s, attributes, 1));
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 visitor->trace(m_webglDrawBuffers); 149 visitor->trace(m_webglDrawBuffers);
150 visitor->trace(m_webglCompressedTextureATC); 150 visitor->trace(m_webglCompressedTextureATC);
151 visitor->trace(m_webglCompressedTextureETC1); 151 visitor->trace(m_webglCompressedTextureETC1);
152 visitor->trace(m_webglCompressedTexturePVRTC); 152 visitor->trace(m_webglCompressedTexturePVRTC);
153 visitor->trace(m_webglCompressedTextureS3TC); 153 visitor->trace(m_webglCompressedTextureS3TC);
154 visitor->trace(m_webglDepthTexture); 154 visitor->trace(m_webglDepthTexture);
155 WebGLRenderingContextBase::trace(visitor); 155 WebGLRenderingContextBase::trace(visitor);
156 } 156 }
157 157
158 } // namespace blink 158 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContext2D.cpp ('k') | Source/core/html/canvas/WebGLRenderingContextBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698