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

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

Issue 319183004: Prefer to forward-declare GraphicsContext in headers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: schenney nit (pare down platform/geometry/ includes to *Rect.h) Created 6 years, 6 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
« no previous file with comments | « Source/core/fetch/Resource.cpp ('k') | Source/core/page/ChromeClient.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 #include "core/html/canvas/WebGLShaderPrecisionFormat.h" 70 #include "core/html/canvas/WebGLShaderPrecisionFormat.h"
71 #include "core/html/canvas/WebGLTexture.h" 71 #include "core/html/canvas/WebGLTexture.h"
72 #include "core/html/canvas/WebGLUniformLocation.h" 72 #include "core/html/canvas/WebGLUniformLocation.h"
73 #include "core/inspector/InspectorInstrumentation.h" 73 #include "core/inspector/InspectorInstrumentation.h"
74 #include "core/loader/FrameLoader.h" 74 #include "core/loader/FrameLoader.h"
75 #include "core/loader/FrameLoaderClient.h" 75 #include "core/loader/FrameLoaderClient.h"
76 #include "core/rendering/RenderBox.h" 76 #include "core/rendering/RenderBox.h"
77 #include "platform/CheckedInt.h" 77 #include "platform/CheckedInt.h"
78 #include "platform/NotImplemented.h" 78 #include "platform/NotImplemented.h"
79 #include "platform/geometry/IntSize.h" 79 #include "platform/geometry/IntSize.h"
80 #include "platform/graphics/GraphicsContext.h"
80 #include "platform/graphics/UnacceleratedImageBufferSurface.h" 81 #include "platform/graphics/UnacceleratedImageBufferSurface.h"
81 #include "platform/graphics/gpu/DrawingBuffer.h" 82 #include "platform/graphics/gpu/DrawingBuffer.h"
82 #include "public/platform/Platform.h" 83 #include "public/platform/Platform.h"
83 84
84 #include "wtf/PassOwnPtr.h" 85 #include "wtf/PassOwnPtr.h"
85 #include "wtf/Uint32Array.h" 86 #include "wtf/Uint32Array.h"
86 #include "wtf/text/StringBuilder.h" 87 #include "wtf/text/StringBuilder.h"
87 88
88 namespace WebCore { 89 namespace WebCore {
89 90
(...skipping 5595 matching lines...) Expand 10 before | Expand all | Expand 10 after
5685 if (m_textureUnits[i].m_texture2DBinding 5686 if (m_textureUnits[i].m_texture2DBinding
5686 || m_textureUnits[i].m_textureCubeMapBinding) { 5687 || m_textureUnits[i].m_textureCubeMapBinding) {
5687 m_onePlusMaxNonDefaultTextureUnit = i + 1; 5688 m_onePlusMaxNonDefaultTextureUnit = i + 1;
5688 return; 5689 return;
5689 } 5690 }
5690 } 5691 }
5691 m_onePlusMaxNonDefaultTextureUnit = 0; 5692 m_onePlusMaxNonDefaultTextureUnit = 0;
5692 } 5693 }
5693 5694
5694 } // namespace WebCore 5695 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/fetch/Resource.cpp ('k') | Source/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698