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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 #include "core/html/canvas/WebGLShader.h" | 64 #include "core/html/canvas/WebGLShader.h" |
65 #include "core/html/canvas/WebGLShaderPrecisionFormat.h" | 65 #include "core/html/canvas/WebGLShaderPrecisionFormat.h" |
66 #include "core/html/canvas/WebGLTexture.h" | 66 #include "core/html/canvas/WebGLTexture.h" |
67 #include "core/html/canvas/WebGLUniformLocation.h" | 67 #include "core/html/canvas/WebGLUniformLocation.h" |
68 #include "core/inspector/InspectorInstrumentation.h" | 68 #include "core/inspector/InspectorInstrumentation.h" |
69 #include "core/loader/FrameLoader.h" | 69 #include "core/loader/FrameLoader.h" |
70 #include "core/loader/FrameLoaderClient.h" | 70 #include "core/loader/FrameLoaderClient.h" |
71 #include "core/page/Frame.h" | 71 #include "core/page/Frame.h" |
72 #include "core/page/Page.h" | 72 #include "core/page/Page.h" |
73 #include "core/page/Settings.h" | 73 #include "core/page/Settings.h" |
74 #include "core/platform/NotImplemented.h" | 74 #include "platform/NotImplemented.h" |
75 #include "core/platform/graphics/Extensions3D.h" | 75 #include "core/platform/graphics/Extensions3D.h" |
76 #include "core/platform/graphics/ImageBuffer.h" | 76 #include "core/platform/graphics/ImageBuffer.h" |
77 #include "core/platform/graphics/IntSize.h" | 77 #include "core/platform/graphics/IntSize.h" |
78 #include "core/platform/graphics/gpu/DrawingBuffer.h" | 78 #include "core/platform/graphics/gpu/DrawingBuffer.h" |
79 #include "core/rendering/RenderBox.h" | 79 #include "core/rendering/RenderBox.h" |
80 | 80 |
81 #include "wtf/OwnArrayPtr.h" | 81 #include "wtf/OwnArrayPtr.h" |
82 #include "wtf/PassOwnArrayPtr.h" | 82 #include "wtf/PassOwnArrayPtr.h" |
83 #include "wtf/Uint32Array.h" | 83 #include "wtf/Uint32Array.h" |
84 #include "wtf/text/StringBuilder.h" | 84 #include "wtf/text/StringBuilder.h" |
(...skipping 5506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5591 if (m_textureUnits[i].m_texture2DBinding | 5591 if (m_textureUnits[i].m_texture2DBinding |
5592 || m_textureUnits[i].m_textureCubeMapBinding) { | 5592 || m_textureUnits[i].m_textureCubeMapBinding) { |
5593 m_onePlusMaxNonDefaultTextureUnit = i + 1; | 5593 m_onePlusMaxNonDefaultTextureUnit = i + 1; |
5594 return; | 5594 return; |
5595 } | 5595 } |
5596 } | 5596 } |
5597 m_onePlusMaxNonDefaultTextureUnit = 0; | 5597 m_onePlusMaxNonDefaultTextureUnit = 0; |
5598 } | 5598 } |
5599 | 5599 |
5600 } // namespace WebCore | 5600 } // namespace WebCore |
OLD | NEW |