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

Unified Diff: content/common/gpu/gpu_channel.cc

Issue 6880218: Removed "compositor" child window that was created by the GPU process. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « content/common/gpu/gpu_channel.h ('k') | content/common/gpu/gpu_channel_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel.cc
===================================================================
--- content/common/gpu/gpu_channel.cc (revision 83213)
+++ content/common/gpu/gpu_channel.cc (working copy)
@@ -64,12 +64,15 @@
i != latched_routes_.end(); ++i) {
GpuCommandBufferStub* stub = stubs_.Lookup(*i);
if (stub)
- stub->scheduler()->ScheduleProcessCommands();
+ stub->scheduler()->SetScheduled(true);
}
latched_routes_.clear();
} else {
// Add route_id context to a set to be woken upon any set latch.
latched_routes_.insert(route_id);
+ GpuCommandBufferStub* stub = stubs_.Lookup(route_id);
+ if (stub)
+ stub->scheduler()->SetScheduled(false);
}
#endif
}
@@ -142,6 +145,14 @@
#endif // ENABLE_GPU
}
+void GpuChannel::ViewResized(int32 command_buffer_route_id) {
+ GpuCommandBufferStub* stub = stubs_.Lookup(command_buffer_route_id);
+ if (stub == NULL)
+ return;
+
+ stub->ViewResized();
+}
+
#if defined(OS_MACOSX)
void GpuChannel::AcceleratedSurfaceBuffersSwapped(
int32 route_id, uint64 swap_buffers_count) {
« no previous file with comments | « content/common/gpu/gpu_channel.h ('k') | content/common/gpu/gpu_channel_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698