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 21 matching lines...) Expand all Loading... |
32 #include "core/dom/ExceptionCode.h" | 32 #include "core/dom/ExceptionCode.h" |
33 #include "core/fetch/ImageResource.h" | 33 #include "core/fetch/ImageResource.h" |
34 #include "core/frame/LocalFrame.h" | 34 #include "core/frame/LocalFrame.h" |
35 #include "core/frame/Settings.h" | 35 #include "core/frame/Settings.h" |
36 #include "core/html/HTMLCanvasElement.h" | 36 #include "core/html/HTMLCanvasElement.h" |
37 #include "core/html/HTMLImageElement.h" | 37 #include "core/html/HTMLImageElement.h" |
38 #include "core/html/HTMLVideoElement.h" | 38 #include "core/html/HTMLVideoElement.h" |
39 #include "core/html/ImageData.h" | 39 #include "core/html/ImageData.h" |
40 #include "core/html/canvas/ANGLEInstancedArrays.h" | 40 #include "core/html/canvas/ANGLEInstancedArrays.h" |
41 #include "core/html/canvas/EXTFragDepth.h" | 41 #include "core/html/canvas/EXTFragDepth.h" |
| 42 #include "core/html/canvas/EXTShaderTextureLOD.h" |
42 #include "core/html/canvas/EXTTextureFilterAnisotropic.h" | 43 #include "core/html/canvas/EXTTextureFilterAnisotropic.h" |
43 #include "core/html/canvas/OESElementIndexUint.h" | 44 #include "core/html/canvas/OESElementIndexUint.h" |
44 #include "core/html/canvas/OESStandardDerivatives.h" | 45 #include "core/html/canvas/OESStandardDerivatives.h" |
45 #include "core/html/canvas/OESTextureFloat.h" | 46 #include "core/html/canvas/OESTextureFloat.h" |
46 #include "core/html/canvas/OESTextureFloatLinear.h" | 47 #include "core/html/canvas/OESTextureFloatLinear.h" |
47 #include "core/html/canvas/OESTextureHalfFloat.h" | 48 #include "core/html/canvas/OESTextureHalfFloat.h" |
48 #include "core/html/canvas/OESTextureHalfFloatLinear.h" | 49 #include "core/html/canvas/OESTextureHalfFloatLinear.h" |
49 #include "core/html/canvas/OESVertexArrayObject.h" | 50 #include "core/html/canvas/OESVertexArrayObject.h" |
50 #include "core/html/canvas/WebGLActiveInfo.h" | 51 #include "core/html/canvas/WebGLActiveInfo.h" |
51 #include "core/html/canvas/WebGLBuffer.h" | 52 #include "core/html/canvas/WebGLBuffer.h" |
(...skipping 5538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5590 if (m_textureUnits[i].m_texture2DBinding | 5591 if (m_textureUnits[i].m_texture2DBinding |
5591 || m_textureUnits[i].m_textureCubeMapBinding) { | 5592 || m_textureUnits[i].m_textureCubeMapBinding) { |
5592 m_onePlusMaxNonDefaultTextureUnit = i + 1; | 5593 m_onePlusMaxNonDefaultTextureUnit = i + 1; |
5593 return; | 5594 return; |
5594 } | 5595 } |
5595 } | 5596 } |
5596 m_onePlusMaxNonDefaultTextureUnit = 0; | 5597 m_onePlusMaxNonDefaultTextureUnit = 0; |
5597 } | 5598 } |
5598 | 5599 |
5599 } // namespace WebCore | 5600 } // namespace WebCore |
OLD | NEW |