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

Unified Diff: content/common/gpu/image_transport_surface.h

Issue 256713002: Remove 'transport' paths from PassThroughImageTransportSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/image_transport_surface.h
diff --git a/content/common/gpu/image_transport_surface.h b/content/common/gpu/image_transport_surface.h
index 40c258f4e67746fccd145598fedd8ae48a4b49a3..fcce1fcdb878f36aaf6bf9993efc0d042f2ac750 100644
--- a/content/common/gpu/image_transport_surface.h
+++ b/content/common/gpu/image_transport_surface.h
@@ -180,13 +180,11 @@ class PassThroughImageTransportSurface
public:
PassThroughImageTransportSurface(GpuChannelManager* manager,
GpuCommandBufferStub* stub,
- gfx::GLSurface* surface,
- bool transport);
+ gfx::GLSurface* surface);
// GLSurface implementation.
virtual bool Initialize() OVERRIDE;
virtual void Destroy() OVERRIDE;
- virtual bool DeferDraws() OVERRIDE;
virtual bool SwapBuffers() OVERRIDE;
virtual bool PostSubBuffer(int x, int y, int width, int height) OVERRIDE;
virtual bool OnMakeCurrent(gfx::GLContext* context) OVERRIDE;
@@ -212,11 +210,7 @@ class PassThroughImageTransportSurface
private:
scoped_ptr<ImageTransportHelper> helper_;
- gfx::Size new_size_;
- bool transport_;
bool did_set_swap_interval_;
- bool did_unschedule_;
- bool is_swap_buffers_pending_;
std::vector<ui::LatencyInfo> latency_info_;
DISALLOW_COPY_AND_ASSIGN(PassThroughImageTransportSurface);
« no previous file with comments | « no previous file | content/common/gpu/image_transport_surface.cc » ('j') | content/common/gpu/image_transport_surface.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698