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

Unified Diff: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h

Issue 25455002: Remove WGC3D::width(), height(), reshape() implementations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
index 0705dc3c36f45ffe79978d7c9aceb0313e06c7d2..e571edac54b7f5bc59214fbd029ad6df64a6a0d2 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
@@ -144,9 +144,6 @@ class WebGraphicsContext3DCommandBufferImpl
virtual uint32_t lastFlushID();
- virtual int width();
- virtual int height();
-
virtual unsigned int insertSyncPoint();
virtual void waitSyncPoint(unsigned int sync_point);
virtual void signalSyncPoint(unsigned sync_point,
@@ -156,7 +153,6 @@ class WebGraphicsContext3DCommandBufferImpl
virtual void loseContextCHROMIUM(WGC3Denum current, WGC3Denum other);
- virtual void reshape(int width, int height);
virtual void reshapeWithScaleFactor(
int width, int height, float scale_factor);
@@ -741,7 +737,6 @@ class WebGraphicsContext3DCommandBufferImpl
WebKit::WebGraphicsContext3D::Attributes attributes_;
gfx::GpuPreference gpu_preference_;
- int cached_width_, cached_height_;
// Errors raised by synthesizeGLError().
std::vector<WGC3Denum> synthetic_errors_;
« no previous file with comments | « cc/debug/test_web_graphics_context_3d.cc ('k') | content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698