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

Unified Diff: ui/gl/async_pixel_transfer_delegate_stub.cc

Issue 12040049: gpu: Implement idle async pixel transfers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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: ui/gl/async_pixel_transfer_delegate_stub.cc
diff --git a/ui/gl/async_pixel_transfer_delegate_stub.cc b/ui/gl/async_pixel_transfer_delegate_stub.cc
index 2ec16bbcff4adaae952960a31151301053a852ed..9c127f6561011cbee170f89143e6b61a5fc2c4cc 100644
--- a/ui/gl/async_pixel_transfer_delegate_stub.cc
+++ b/ui/gl/async_pixel_transfer_delegate_stub.cc
@@ -28,13 +28,6 @@ void* GetAddress(SharedMemory* shared_memory,
namespace gfx {
-#if !defined(OS_ANDROID)
-scoped_ptr<AsyncPixelTransferDelegate>
- AsyncPixelTransferDelegate::Create(gfx::GLContext* context) {
- return AsyncPixelTransferDelegateStub::Create(context);
-}
-#endif
-
scoped_ptr<AsyncPixelTransferDelegate>
AsyncPixelTransferDelegateStub::Create(gfx::GLContext* context) {
return make_scoped_ptr(
@@ -141,5 +134,11 @@ base::TimeDelta AsyncPixelTransferDelegateStub::GetTotalTextureUploadTime() {
return total_texture_upload_time_;
}
+void AsyncPixelTransferDelegateStub::ProcessPendingTransfers() {}
+
+bool AsyncPixelTransferDelegateStub::NeedsProcessPendingTransfers() {
+ return false;
+}
+
} // namespace gfx

Powered by Google App Engine
This is Rietveld 408576698