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

Unified Diff: components/html_viewer/web_graphics_context_3d_command_buffer_impl.h

Issue 1343303003: Revert of Mandoline: Add WebGL support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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: components/html_viewer/web_graphics_context_3d_command_buffer_impl.h
diff --git a/components/html_viewer/web_graphics_context_3d_command_buffer_impl.h b/components/html_viewer/web_graphics_context_3d_command_buffer_impl.h
deleted file mode 100644
index 9c53d4fe5666b9338af7c34c4555b578768b8017..0000000000000000000000000000000000000000
--- a/components/html_viewer/web_graphics_context_3d_command_buffer_impl.h
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright 2015 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 COMPONENTS_HTML_VIEWER_WEB_GRAPHICS_CONTEXT_3D_COMMAND_BUFFER_IMPL_H_
-#define COMPONENTS_HTML_VIEWER_WEB_GRAPHICS_CONTEXT_3D_COMMAND_BUFFER_IMPL_H_
-
-#include "base/macros.h"
-#include "gpu/blink/webgraphicscontext3d_impl.h"
-#include "mojo/public/c/gles2/gles2.h"
-#include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
-#include "third_party/WebKit/public/platform/WebString.h"
-#include "third_party/mojo/src/mojo/public/cpp/system/core.h"
-#include "third_party/mojo/src/mojo/public/cpp/system/message_pipe.h"
-#include "url/gurl.h"
-
-namespace gpu {
- class ContextSupport;
- namespace gles2 { class GLES2Interface; }
-}
-
-namespace mojo {
-class ApplicationImpl;
-} // namespace mojo
-
-namespace html_viewer {
-
-class WebGraphicsContext3DCommandBufferImpl
- : public gpu_blink::WebGraphicsContext3DImpl {
- public:
- WebGraphicsContext3DCommandBufferImpl(
- mojo::ApplicationImpl* app,
- const GURL& active_url,
- const blink::WebGraphicsContext3D::Attributes& attributes,
- blink::WebGraphicsContext3D* share_context,
- blink::WebGLInfo* gl_info);
- virtual ~WebGraphicsContext3DCommandBufferImpl();
-
- static WebGraphicsContext3DCommandBufferImpl* CreateOffscreenContext(
- mojo::ApplicationImpl* app,
- const GURL& active_url,
- const blink::WebGraphicsContext3D::Attributes& attributes,
- blink::WebGraphicsContext3D* share_context,
- blink::WebGLInfo* gl_info);
-
- private:
- static void ContextLostThunk(void* closure) {
- static_cast<WebGraphicsContext3DCommandBufferImpl*>(closure)->ContextLost();
- }
- void ContextLost();
-
- mojo::ScopedMessagePipeHandle command_buffer_handle_;
- MojoGLES2Context gles2_context_;
- scoped_ptr<gpu::gles2::GLES2Interface> context_gl_;
-
- DISALLOW_COPY_AND_ASSIGN(WebGraphicsContext3DCommandBufferImpl);
-};
-
-} // namespace html_viewer
-
-#endif // COMPONENTS_HTML_VIEWER_WEB_GRAPHICS_CONTEXT_3D_COMMAND_BUFFER_IMPL_H_
« no previous file with comments | « components/html_viewer/html_widget.cc ('k') | components/html_viewer/web_graphics_context_3d_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698