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

Unified Diff: gpu/command_buffer/service/async_pixel_transfer_delegate_stub.cc

Issue 16325018: GPU: Factory produces APTManagers instead of APTDelegates (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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: gpu/command_buffer/service/async_pixel_transfer_delegate_stub.cc
diff --git a/gpu/command_buffer/service/async_pixel_transfer_delegate_stub.cc b/gpu/command_buffer/service/async_pixel_transfer_delegate_stub.cc
deleted file mode 100644
index 5bd7db9699000b45d1ac2325d6c62bf08742bd8b..0000000000000000000000000000000000000000
--- a/gpu/command_buffer/service/async_pixel_transfer_delegate_stub.cc
+++ /dev/null
@@ -1,79 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "gpu/command_buffer/service/async_pixel_transfer_delegate_stub.h"
-
-namespace gpu {
-
-namespace {
-
-class AsyncPixelTransferStateImpl : public AsyncPixelTransferState {
- public:
- AsyncPixelTransferStateImpl() {}
-
- // Implement AsyncPixelTransferState:
- virtual bool TransferIsInProgress() OVERRIDE {
- return false;
- }
-
- private:
- virtual ~AsyncPixelTransferStateImpl() {}
-};
-
-} // namespace
-
-AsyncPixelTransferDelegateStub::AsyncPixelTransferDelegateStub() {}
-
-AsyncPixelTransferDelegateStub::~AsyncPixelTransferDelegateStub() {}
-
-AsyncPixelTransferState* AsyncPixelTransferDelegateStub::
- CreatePixelTransferState(GLuint texture_id,
- const AsyncTexImage2DParams& define_params) {
- return new AsyncPixelTransferStateImpl;
-}
-
-void AsyncPixelTransferDelegateStub::BindCompletedAsyncTransfers() {
-}
-
-void AsyncPixelTransferDelegateStub::AsyncNotifyCompletion(
- const AsyncMemoryParams& mem_params,
- const CompletionCallback& callback) {
- callback.Run(mem_params);
-}
-
-void AsyncPixelTransferDelegateStub::AsyncTexImage2D(
- AsyncPixelTransferState* transfer_state,
- const AsyncTexImage2DParams& tex_params,
- const AsyncMemoryParams& mem_params,
- const base::Closure& bind_callback) {
- bind_callback.Run();
-}
-
-void AsyncPixelTransferDelegateStub::AsyncTexSubImage2D(
- AsyncPixelTransferState* transfer_state,
- const AsyncTexSubImage2DParams& tex_params,
- const AsyncMemoryParams& mem_params) {
-}
-
-void AsyncPixelTransferDelegateStub::WaitForTransferCompletion(
- AsyncPixelTransferState* state) {
-}
-
-uint32 AsyncPixelTransferDelegateStub::GetTextureUploadCount() {
- return 0;
-}
-
-base::TimeDelta AsyncPixelTransferDelegateStub::GetTotalTextureUploadTime() {
- return base::TimeDelta();
-}
-
-void AsyncPixelTransferDelegateStub::ProcessMorePendingTransfers() {
-}
-
-bool AsyncPixelTransferDelegateStub::NeedsProcessMorePendingTransfers() {
- return false;
-}
-
-} // namespace gpu
-

Powered by Google App Engine
This is Rietveld 408576698