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

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

Issue 171263004: Adding Blink-side support for EXT_shader_texture_lod (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed wrong extension string Created 6 years, 8 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/html/canvas/WebGLRenderingContextBase.h ('k') | no next file » | 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 21 matching lines...) Expand all
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
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
OLDNEW
« no previous file with comments | « Source/core/html/canvas/WebGLRenderingContextBase.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698