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

Side by Side Diff: gpu/command_buffer/service/async_pixel_transfer_manager_stub.h

Issue 1186393004: gpu: Remove async texture uploads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_STUB_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_STUB_H_
7
8 #include "gpu/command_buffer/service/async_pixel_transfer_manager.h"
9
10 namespace gpu {
11
12 class AsyncPixelTransferManagerStub : public AsyncPixelTransferManager {
13 public:
14 AsyncPixelTransferManagerStub();
15 ~AsyncPixelTransferManagerStub() override;
16
17 // AsyncPixelTransferManager implementation:
18 void BindCompletedAsyncTransfers() override;
19 void AsyncNotifyCompletion(
20 const AsyncMemoryParams& mem_params,
21 AsyncPixelTransferCompletionObserver* observer) override;
22 uint32 GetTextureUploadCount() override;
23 base::TimeDelta GetTotalTextureUploadTime() override;
24 void ProcessMorePendingTransfers() override;
25 bool NeedsProcessMorePendingTransfers() override;
26 void WaitAllAsyncTexImage2D() override;
27
28 private:
29 // AsyncPixelTransferManager implementation:
30 AsyncPixelTransferDelegate* CreatePixelTransferDelegateImpl(
31 gles2::TextureRef* ref,
32 const AsyncTexImage2DParams& define_params) override;
33
34 DISALLOW_COPY_AND_ASSIGN(AsyncPixelTransferManagerStub);
35 };
36
37 } // namespace gpu
38
39 #endif // GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_STUB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698