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

Side by Side Diff: third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.h

Issue 1894313002: Removed implementation of CHROMIUM_subscribe_uniform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed a couple more mus/ references Created 4 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebGL2RenderingContext_h 5 #ifndef WebGL2RenderingContext_h
6 #define WebGL2RenderingContext_h 6 #define WebGL2RenderingContext_h
7 7
8 #include "core/html/canvas/CanvasRenderingContextFactory.h" 8 #include "core/html/canvas/CanvasRenderingContextFactory.h"
9 #include "modules/webgl/WebGL2RenderingContextBase.h" 9 #include "modules/webgl/WebGL2RenderingContextBase.h"
10 10
(...skipping 22 matching lines...) Expand all
33 unsigned version() const override { return 2; } 33 unsigned version() const override { return 2; }
34 String contextName() const override { return "WebGL2RenderingContext"; } 34 String contextName() const override { return "WebGL2RenderingContext"; }
35 void registerContextExtensions() override; 35 void registerContextExtensions() override;
36 void setCanvasGetContextResult(RenderingContext&) final; 36 void setCanvasGetContextResult(RenderingContext&) final;
37 37
38 DECLARE_VIRTUAL_TRACE(); 38 DECLARE_VIRTUAL_TRACE();
39 39
40 protected: 40 protected:
41 WebGL2RenderingContext(HTMLCanvasElement* passedCanvas, PassOwnPtr<WebGraphi csContext3DProvider>, const WebGLContextAttributes& requestedAttributes); 41 WebGL2RenderingContext(HTMLCanvasElement* passedCanvas, PassOwnPtr<WebGraphi csContext3DProvider>, const WebGLContextAttributes& requestedAttributes);
42 42
43 Member<CHROMIUMSubscribeUniform> m_chromiumSubscribeUniform;
44 Member<EXTColorBufferFloat> m_extColorBufferFloat; 43 Member<EXTColorBufferFloat> m_extColorBufferFloat;
45 Member<EXTDisjointTimerQuery> m_extDisjointTimerQuery; 44 Member<EXTDisjointTimerQuery> m_extDisjointTimerQuery;
46 Member<EXTTextureFilterAnisotropic> m_extTextureFilterAnisotropic; 45 Member<EXTTextureFilterAnisotropic> m_extTextureFilterAnisotropic;
47 Member<OESTextureFloatLinear> m_oesTextureFloatLinear; 46 Member<OESTextureFloatLinear> m_oesTextureFloatLinear;
48 Member<WebGLCompressedTextureASTC> m_webglCompressedTextureASTC; 47 Member<WebGLCompressedTextureASTC> m_webglCompressedTextureASTC;
49 Member<WebGLCompressedTextureATC> m_webglCompressedTextureATC; 48 Member<WebGLCompressedTextureATC> m_webglCompressedTextureATC;
50 Member<WebGLCompressedTextureETC1> m_webglCompressedTextureETC1; 49 Member<WebGLCompressedTextureETC1> m_webglCompressedTextureETC1;
51 Member<WebGLCompressedTexturePVRTC> m_webglCompressedTexturePVRTC; 50 Member<WebGLCompressedTexturePVRTC> m_webglCompressedTexturePVRTC;
52 Member<WebGLCompressedTextureS3TC> m_webglCompressedTextureS3TC; 51 Member<WebGLCompressedTextureS3TC> m_webglCompressedTextureS3TC;
53 Member<WebGLDebugRendererInfo> m_webglDebugRendererInfo; 52 Member<WebGLDebugRendererInfo> m_webglDebugRendererInfo;
54 Member<WebGLDebugShaders> m_webglDebugShaders; 53 Member<WebGLDebugShaders> m_webglDebugShaders;
55 Member<WebGLLoseContext> m_webglLoseContext; 54 Member<WebGLLoseContext> m_webglLoseContext;
56 }; 55 };
57 56
58 DEFINE_TYPE_CASTS(WebGL2RenderingContext, CanvasRenderingContext, context, 57 DEFINE_TYPE_CASTS(WebGL2RenderingContext, CanvasRenderingContext, context,
59 context->is3d() && WebGLRenderingContextBase::getWebGLVersion(context) == 2, 58 context->is3d() && WebGLRenderingContextBase::getWebGLVersion(context) == 2,
60 context.is3d() && WebGLRenderingContextBase::getWebGLVersion(&context) == 2) ; 59 context.is3d() && WebGLRenderingContextBase::getWebGLVersion(&context) == 2) ;
61 60
62 } // namespace blink 61 } // namespace blink
63 62
64 #endif 63 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698