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

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

Issue 12226039: Reland 179911 and 179910 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1364/src
Patch Set: Delta from original landing that's necessary for M25 (not ToT) Created 7 years, 10 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_command_buffer_stub.cc ('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 b1f0f5b6ef43d3c3bbe9a993b6afebb4ab9669bb..017899b4d0cfb329a4b85277e37ce3bd98366b4e 100644
--- a/content/common/gpu/image_transport_surface.h
+++ b/content/common/gpu/image_transport_surface.h
@@ -34,7 +34,7 @@ class GLSurface;
namespace gpu {
class GpuScheduler;
-struct RefCountedCounter;
+class PreemptionFlag;
namespace gles2 {
class GLES2Decoder;
}
@@ -124,8 +124,8 @@ class ImageTransportHelper
void DeferToFence(base::Closure task);
- void SetPreemptByCounter(
- scoped_refptr<gpu::RefCountedCounter> preempt_by_counter);
+ void SetPreemptByFlag(
+ scoped_refptr<gpu::PreemptionFlag> preemption_flag);
// Make the surface's context current.
bool MakeCurrent();
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.cc ('k') | content/common/gpu/image_transport_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698