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

Unified Diff: third_party/WebKit/Source/modules/webgl/CHROMIUMSubscribeUniform.cpp

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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webgl/CHROMIUMSubscribeUniform.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/CHROMIUMSubscribeUniform.cpp b/third_party/WebKit/Source/modules/webgl/CHROMIUMSubscribeUniform.cpp
deleted file mode 100644
index 6ced069042a378ea7b3d880006cd130fc9c287bf..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/webgl/CHROMIUMSubscribeUniform.cpp
+++ /dev/null
@@ -1,104 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "modules/webgl/CHROMIUMSubscribeUniform.h"
-
-#include "modules/webgl/CHROMIUMValuebuffer.h"
-
-namespace blink {
-
-CHROMIUMSubscribeUniform::CHROMIUMSubscribeUniform(WebGLRenderingContextBase* context)
- : WebGLExtension(context)
-{
- context->extensionsUtil()->ensureExtensionEnabled("GL_CHROMIUM_subscribe_uniform");
-}
-
-CHROMIUMSubscribeUniform::~CHROMIUMSubscribeUniform()
-{
-}
-
-WebGLExtensionName CHROMIUMSubscribeUniform::name() const
-{
- return CHROMIUMSubscribeUniformName;
-}
-
-CHROMIUMSubscribeUniform* CHROMIUMSubscribeUniform::create(WebGLRenderingContextBase* context)
-{
- return new CHROMIUMSubscribeUniform(context);
-}
-
-bool CHROMIUMSubscribeUniform::supported(WebGLRenderingContextBase* context)
-{
- return context->extensionsUtil()->supportsExtension("GL_CHROMIUM_subscribe_uniform");
-}
-
-const char* CHROMIUMSubscribeUniform::extensionName()
-{
- return "CHROMIUM_subscribe_uniform";
-}
-
-CHROMIUMValuebuffer* CHROMIUMSubscribeUniform::createValuebufferCHROMIUM()
-{
- WebGLExtensionScopedContext scoped(this);
- if (scoped.isLost())
- return nullptr;
-
- return scoped.context()->createValuebufferCHROMIUM();
-}
-
-void CHROMIUMSubscribeUniform::deleteValuebufferCHROMIUM(CHROMIUMValuebuffer* valuebuffer)
-{
- WebGLExtensionScopedContext scoped(this);
- if (scoped.isLost() || !valuebuffer)
- return;
-
- scoped.context()->deleteValuebufferCHROMIUM(valuebuffer);
-}
-
-GLboolean CHROMIUMSubscribeUniform::isValuebufferCHROMIUM(CHROMIUMValuebuffer* valuebuffer)
-{
- WebGLExtensionScopedContext scoped(this);
- if (scoped.isLost() || !valuebuffer)
- return 0;
-
- return scoped.context()->isValuebufferCHROMIUM(valuebuffer);
-}
-
-void CHROMIUMSubscribeUniform::bindValuebufferCHROMIUM(GLenum target, CHROMIUMValuebuffer* valuebuffer)
-{
- WebGLExtensionScopedContext scoped(this);
- if (scoped.isLost() || !valuebuffer)
- return;
-
- scoped.context()->bindValuebufferCHROMIUM(target, valuebuffer);
-}
-
-void CHROMIUMSubscribeUniform::subscribeValueCHROMIUM(GLenum target, GLenum subscription)
-{
- WebGLExtensionScopedContext scoped(this);
- if (scoped.isLost())
- return;
-
- scoped.context()->subscribeValueCHROMIUM(target, subscription);
-}
-
-void CHROMIUMSubscribeUniform::populateSubscribedValuesCHROMIUM(GLenum target)
-{
- WebGLExtensionScopedContext scoped(this);
- if (scoped.isLost())
- return;
-
- scoped.context()->populateSubscribedValuesCHROMIUM(target);
-}
-
-void CHROMIUMSubscribeUniform::uniformValuebufferCHROMIUM(const WebGLUniformLocation* location, GLenum target, GLenum subscription)
-{
- WebGLExtensionScopedContext scoped(this);
- if (scoped.isLost() || !location)
- return;
-
- scoped.context()->uniformValuebufferCHROMIUM(location, target, subscription);
-}
-
-} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698