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

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

Issue 296053004: Removed privledged and debug webgl extension handling. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/frame/Settings.in ('k') | Source/core/html/canvas/WebGLRenderingContextBase.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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 registerExtension<OESElementIndexUint>(m_oesElementIndexUint); 131 registerExtension<OESElementIndexUint>(m_oesElementIndexUint);
132 registerExtension<OESStandardDerivatives>(m_oesStandardDerivatives); 132 registerExtension<OESStandardDerivatives>(m_oesStandardDerivatives);
133 registerExtension<OESTextureFloat>(m_oesTextureFloat); 133 registerExtension<OESTextureFloat>(m_oesTextureFloat);
134 registerExtension<OESTextureFloatLinear>(m_oesTextureFloatLinear); 134 registerExtension<OESTextureFloatLinear>(m_oesTextureFloatLinear);
135 registerExtension<OESTextureHalfFloat>(m_oesTextureHalfFloat); 135 registerExtension<OESTextureHalfFloat>(m_oesTextureHalfFloat);
136 registerExtension<OESTextureHalfFloatLinear>(m_oesTextureHalfFloatLinear); 136 registerExtension<OESTextureHalfFloatLinear>(m_oesTextureHalfFloatLinear);
137 registerExtension<OESVertexArrayObject>(m_oesVertexArrayObject); 137 registerExtension<OESVertexArrayObject>(m_oesVertexArrayObject);
138 registerExtension<WebGLCompressedTextureATC>(m_webglCompressedTextureATC, En abledDraftExtension, webkitPrefix); 138 registerExtension<WebGLCompressedTextureATC>(m_webglCompressedTextureATC, En abledDraftExtension, webkitPrefix);
139 registerExtension<WebGLCompressedTexturePVRTC>(m_webglCompressedTexturePVRTC , EnabledDraftExtension, webkitPrefix); 139 registerExtension<WebGLCompressedTexturePVRTC>(m_webglCompressedTexturePVRTC , EnabledDraftExtension, webkitPrefix);
140 registerExtension<WebGLCompressedTextureS3TC>(m_webglCompressedTextureS3TC, ApprovedExtension, bothPrefixes); 140 registerExtension<WebGLCompressedTextureS3TC>(m_webglCompressedTextureS3TC, ApprovedExtension, bothPrefixes);
141 registerExtension<WebGLDebugRendererInfo>(m_webglDebugRendererInfo);
142 registerExtension<WebGLDebugShaders>(m_webglDebugShaders);
141 registerExtension<WebGLDepthTexture>(m_webglDepthTexture, ApprovedExtension, bothPrefixes); 143 registerExtension<WebGLDepthTexture>(m_webglDepthTexture, ApprovedExtension, bothPrefixes);
142 registerExtension<WebGLDrawBuffers>(m_webglDrawBuffers); 144 registerExtension<WebGLDrawBuffers>(m_webglDrawBuffers);
143 registerExtension<WebGLLoseContext>(m_webglLoseContext, ApprovedExtension, b othPrefixes); 145 registerExtension<WebGLLoseContext>(m_webglLoseContext, ApprovedExtension, b othPrefixes);
144 146
145 // Register draft extensions. 147 // Register draft extensions.
146 registerExtension<EXTBlendMinMax>(m_extBlendMinMax, DraftExtension); 148 registerExtension<EXTBlendMinMax>(m_extBlendMinMax, DraftExtension);
147 registerExtension<EXTFragDepth>(m_extFragDepth, DraftExtension); 149 registerExtension<EXTFragDepth>(m_extFragDepth, DraftExtension);
148 registerExtension<EXTShaderTextureLOD>(m_extShaderTextureLOD, DraftExtension ); 150 registerExtension<EXTShaderTextureLOD>(m_extShaderTextureLOD, DraftExtension );
149 registerExtension<WebGLCompressedTextureETC1>(m_webglCompressedTextureETC1, DraftExtension); 151 registerExtension<WebGLCompressedTextureETC1>(m_webglCompressedTextureETC1, DraftExtension);
150
151 // Register privileged extensions.
152 registerExtension<WebGLDebugRendererInfo>(m_webglDebugRendererInfo, WebGLDeb ugRendererInfoExtension);
153 registerExtension<WebGLDebugShaders>(m_webglDebugShaders, PrivilegedExtensio n);
154 } 152 }
155 153
156 } // namespace WebCore 154 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/frame/Settings.in ('k') | Source/core/html/canvas/WebGLRenderingContextBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698