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

Unified Diff: sky/engine/platform/graphics/gpu/Extensions3DUtil.h

Issue 1229113003: Remove some unneeded DEPS from //sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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: sky/engine/platform/graphics/gpu/Extensions3DUtil.h
diff --git a/sky/engine/platform/graphics/gpu/Extensions3DUtil.h b/sky/engine/platform/graphics/gpu/Extensions3DUtil.h
deleted file mode 100644
index e8c95a0fee0a19406468eded10689cc528dd1ffd..0000000000000000000000000000000000000000
--- a/sky/engine/platform/graphics/gpu/Extensions3DUtil.h
+++ /dev/null
@@ -1,42 +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.
-
-#ifndef SKY_ENGINE_PLATFORM_GRAPHICS_GPU_EXTENSIONS3DUTIL_H_
-#define SKY_ENGINE_PLATFORM_GRAPHICS_GPU_EXTENSIONS3DUTIL_H_
-
-#include "sky/engine/platform/PlatformExport.h"
-#include "sky/engine/platform/graphics/GraphicsTypes3D.h"
-#include "sky/engine/wtf/HashSet.h"
-#include "sky/engine/wtf/text/WTFString.h"
-#include "third_party/khronos/GLES2/gl2.h"
-#include "third_party/khronos/GLES2/gl2ext.h"
-
-namespace blink {
-
-class WebGraphicsContext3D;
-
-class PLATFORM_EXPORT Extensions3DUtil {
-public:
- // Creates a new Extensions3DUtil. If the passed WebGraphicsContext3D has been spontaneously lost, returns null.
- static PassOwnPtr<Extensions3DUtil> create(WebGraphicsContext3D*);
- ~Extensions3DUtil();
-
- bool supportsExtension(const String& name);
- bool ensureExtensionEnabled(const String& name);
- bool isExtensionEnabled(const String& name);
-
- static bool canUseCopyTextureCHROMIUM(GLenum destFormat, GLenum destType, GLint level);
-
-private:
- Extensions3DUtil(WebGraphicsContext3D*);
- bool initializeExtensions();
-
- WebGraphicsContext3D* m_context;
- HashSet<String> m_enabledExtensions;
- HashSet<String> m_requestableExtensions;
-};
-
-} // namespace blink
-
-#endif // SKY_ENGINE_PLATFORM_GRAPHICS_GPU_EXTENSIONS3DUTIL_H_
« no previous file with comments | « sky/engine/platform/graphics/gpu/DrawingBufferTest.cpp ('k') | sky/engine/platform/graphics/gpu/Extensions3DUtil.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698