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

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: Address reviewer comments, remove dead code, plumb through context. 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..9197ed2e86959bcd3d34cd20653e1e440f093daa 100644
--- a/ui/aura/bench/bench_main.cc
+++ b/ui/aura/bench/bench_main.cc
@@ -144,6 +144,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