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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 |
OLD | NEW |