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

Unified Diff: content/browser/aura/gpu_process_transport_factory.cc

Issue 132473004: aura: Remove sync point methods from ImageTransportFactory api. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/browser/aura/gpu_process_transport_factory.cc
diff --git a/content/browser/aura/gpu_process_transport_factory.cc b/content/browser/aura/gpu_process_transport_factory.cc
index 63049476de873fd9dd6ae5fbad38a7d02e1bd42a..71e8efc30cd540d8c56c047f69b9055b2734445a 100644
--- a/content/browser/aura/gpu_process_transport_factory.cc
+++ b/content/browser/aura/gpu_process_transport_factory.cc
@@ -344,22 +344,6 @@ GLHelper* GpuProcessTransportFactory::GetGLHelper() {
return gl_helper_.get();
}
-uint32 GpuProcessTransportFactory::InsertSyncPoint() {
- scoped_refptr<cc::ContextProvider> provider =
- SharedMainThreadContextProvider();
- if (!provider.get())
- return 0;
- return provider->ContextGL()->InsertSyncPointCHROMIUM();
-}
-
-void GpuProcessTransportFactory::WaitSyncPoint(uint32 sync_point) {
- scoped_refptr<cc::ContextProvider> provider =
- SharedMainThreadContextProvider();
- if (!provider.get())
- return;
- provider->ContextGL()->WaitSyncPointCHROMIUM(sync_point);
-}
-
void GpuProcessTransportFactory::AddObserver(
ImageTransportFactoryObserver* observer) {
observer_list_.AddObserver(observer);
« no previous file with comments | « content/browser/aura/gpu_process_transport_factory.h ('k') | content/browser/aura/image_transport_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698