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

Unified Diff: android_webview/browser/hardware_renderer_legacy.h

Issue 331103002: aw: Remove legacy rendering path (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove post tasks Created 6 years, 6 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: android_webview/browser/hardware_renderer_legacy.h
diff --git a/android_webview/browser/hardware_renderer_legacy.h b/android_webview/browser/hardware_renderer_legacy.h
deleted file mode 100644
index a92fe9b32a8608593d59042299c1253417177643..0000000000000000000000000000000000000000
--- a/android_webview/browser/hardware_renderer_legacy.h
+++ /dev/null
@@ -1,46 +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 ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_LEGACY_H_
-#define ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_LEGACY_H_
-
-#include "android_webview/browser/hardware_renderer_interface.h"
-#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
-
-struct AwDrawGLInfo;
-
-namespace android_webview {
-
-class AwGLSurface;
-class SharedRendererState;
-struct DrawGLInput;
-
-class HardwareRendererLegacy : public HardwareRendererInterface {
- public:
- explicit HardwareRendererLegacy(SharedRendererState* state);
- virtual ~HardwareRendererLegacy();
-
- virtual bool DrawGL(bool stencil_enabled,
- int framebuffer_binding_ext,
- AwDrawGLInfo* draw_info,
- DrawGLResult* result) OVERRIDE;
-
- private:
- void SetCompositorMemoryPolicy();
-
- SharedRendererState* shared_renderer_state_;
- scoped_ptr<DrawGLInput> draw_gl_input_;
-
- typedef void* EGLContext;
- EGLContext last_egl_context_;
-
- scoped_refptr<AwGLSurface> gl_surface_;
-
- DISALLOW_COPY_AND_ASSIGN(HardwareRendererLegacy);
-};
-
-} // namespace android_webview
-
-#endif // ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_LEGACY_H_

Powered by Google App Engine
This is Rietveld 408576698