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

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: remove texture_dirty_ state from AsyncPixelTransferDelegateIdle 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..3c2de1e567ef7063553f60f727ed85ab9addee2c 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,13 @@ base::TimeDelta AsyncPixelTransferDelegateStub::GetTotalTextureUploadTime() {
return total_texture_upload_time_;
}
+bool AsyncPixelTransferDelegateStub::ProcessMorePendingTransfers() {
+ return false;
+}
+
+bool AsyncPixelTransferDelegateStub::NeedsProcessMorePendingTransfers() {
+ return false;
+}
+
} // namespace gfx

Powered by Google App Engine
This is Rietveld 408576698