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

Unified Diff: ui/aura/bench/bench_main.cc

Issue 10689108: Aura: Have ui::Layer implement WebKit::WebExternalTextureLayerClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nuke TestImageTransportFactory. Created 8 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: ui/aura/bench/bench_main.cc
diff --git a/ui/aura/bench/bench_main.cc b/ui/aura/bench/bench_main.cc
index 7d416757dce1589489baa77d6873d058511eb3d5..0430901493db289cdf503829a5ee21c76ed28faa 100644
--- a/ui/aura/bench/bench_main.cc
+++ b/ui/aura/bench/bench_main.cc
@@ -91,6 +91,9 @@ class BenchCompositorObserver : public ui::CompositorObserver {
frames_(0),
max_frames_(max_frames) {
}
+
+ virtual void OnCompositingDidCommit(ui::Compositor* compositor) OVERRIDE {}
+
virtual void OnCompositingWillStart(Compositor* compositor) OVERRIDE {}
virtual void OnCompositingStarted(Compositor* compositor) OVERRIDE {}
@@ -144,6 +147,10 @@ class WebGLTexture : public ui::Texture {
GL_RGBA, GL_UNSIGNED_BYTE, NULL);
}
+ virtual WebGraphicsContext3D* HostContext3D() OVERRIDE {
+ return context_;
+ }
+
private:
virtual ~WebGLTexture() {
context_->deleteTexture(texture_id());

Powered by Google App Engine
This is Rietveld 408576698