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

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

Issue 1366473002: Move WakeUpGpu logic to GpuChannelManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo Created 5 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
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/common/gpu/image_transport_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 397dd78a99e804ce75a5ef6d0e8197797059569a..724d1fb796128fab02d0335aa842724b88c3f2e5 100644
--- a/content/common/gpu/image_transport_surface.h
+++ b/content/common/gpu/image_transport_surface.h
@@ -66,7 +66,6 @@ class ImageTransportSurface {
virtual void OnResize(gfx::Size size, float scale_factor) = 0;
virtual void SetLatencyInfo(
const std::vector<ui::LatencyInfo>& latency_info) = 0;
- virtual void WakeUpGpu() = 0;
// Creates a surface with the given attributes.
static scoped_refptr<gfx::GLSurface> CreateSurface(
@@ -96,13 +95,6 @@ class ImageTransportSurface {
GpuCommandBufferStub* stub,
const gfx::GLSurfaceHandle& handle);
-#if defined(OS_ANDROID)
- static scoped_refptr<gfx::GLSurface> CreateTransportSurface(
- GpuChannelManager* manager,
- GpuCommandBufferStub* stub,
- const gfx::GLSurfaceHandle& handle);
-#endif
-
DISALLOW_COPY_AND_ASSIGN(ImageTransportSurface);
};
@@ -149,7 +141,6 @@ class ImageTransportHelper
void OnBufferPresented(
const AcceleratedSurfaceMsg_BufferPresented_Params& params);
#endif
- void OnWakeUpGpu();
// Backbuffer resize callback.
void Resize(gfx::Size size, float scale_factor);
@@ -193,7 +184,6 @@ class PassThroughImageTransportSurface
gfx::Size GetSize() override;
void SetLatencyInfo(
const std::vector<ui::LatencyInfo>& latency_info) override;
- void WakeUpGpu() override;
protected:
~PassThroughImageTransportSurface() override;
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/common/gpu/image_transport_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698