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

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

Issue 1420503011: GLES2CmdDecoder should resize GLSurface using GLSurface::Resize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 263f833927ae9b235cbf881ec386ef97fd593d99..099aaa9784c9d5840e576003d3924c4c8e2cc83c 100644
--- a/content/common/gpu/image_transport_surface.h
+++ b/content/common/gpu/image_transport_surface.h
@@ -63,7 +63,6 @@ class ImageTransportSurface {
virtual void OnBufferPresented(
const AcceleratedSurfaceMsg_BufferPresented_Params& params) = 0;
#endif
- virtual void OnResize(gfx::Size size, float scale_factor) = 0;
virtual void SetLatencyInfo(
const std::vector<ui::LatencyInfo>& latency_info) = 0;
@@ -177,7 +176,6 @@ class PassThroughImageTransportSurface
void OnBufferPresented(
const AcceleratedSurfaceMsg_BufferPresented_Params& params) override;
#endif
- void OnResize(gfx::Size size, float scale_factor) override;
gfx::Size GetSize() override;
void SetLatencyInfo(
const std::vector<ui::LatencyInfo>& latency_info) override;
@@ -193,6 +191,8 @@ class PassThroughImageTransportSurface
ImageTransportHelper* GetHelper() { return helper_.get(); }
+ GpuChannelManager* manager_;
+
private:
scoped_ptr<ImageTransportHelper> helper_;
bool did_set_swap_interval_;

Powered by Google App Engine
This is Rietveld 408576698