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

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

Issue 629913002: Replacing the OVERRIDE with override and FINAL with final in gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Included autogen python file for OVERRIDE Created 6 years, 2 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_EGL_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_EGL_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_EGL_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_EGL_H_
7 7
8 #include "gpu/command_buffer/service/async_pixel_transfer_manager.h" 8 #include "gpu/command_buffer/service/async_pixel_transfer_manager.h"
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 11
12 namespace gpu { 12 namespace gpu {
13 class AsyncPixelTransferDelegateEGL; 13 class AsyncPixelTransferDelegateEGL;
14 class AsyncPixelTransferUploadStats; 14 class AsyncPixelTransferUploadStats;
15 15
16 class AsyncPixelTransferManagerEGL : public AsyncPixelTransferManager { 16 class AsyncPixelTransferManagerEGL : public AsyncPixelTransferManager {
17 public: 17 public:
18 AsyncPixelTransferManagerEGL(); 18 AsyncPixelTransferManagerEGL();
19 virtual ~AsyncPixelTransferManagerEGL(); 19 virtual ~AsyncPixelTransferManagerEGL();
20 20
21 // AsyncPixelTransferManager implementation: 21 // AsyncPixelTransferManager implementation:
22 virtual void BindCompletedAsyncTransfers() OVERRIDE; 22 virtual void BindCompletedAsyncTransfers() override;
23 virtual void AsyncNotifyCompletion( 23 virtual void AsyncNotifyCompletion(
24 const AsyncMemoryParams& mem_params, 24 const AsyncMemoryParams& mem_params,
25 AsyncPixelTransferCompletionObserver* observer) OVERRIDE; 25 AsyncPixelTransferCompletionObserver* observer) override;
26 virtual uint32 GetTextureUploadCount() OVERRIDE; 26 virtual uint32 GetTextureUploadCount() override;
27 virtual base::TimeDelta GetTotalTextureUploadTime() OVERRIDE; 27 virtual base::TimeDelta GetTotalTextureUploadTime() override;
28 virtual void ProcessMorePendingTransfers() OVERRIDE; 28 virtual void ProcessMorePendingTransfers() override;
29 virtual bool NeedsProcessMorePendingTransfers() OVERRIDE; 29 virtual bool NeedsProcessMorePendingTransfers() override;
30 virtual void WaitAllAsyncTexImage2D() OVERRIDE; 30 virtual void WaitAllAsyncTexImage2D() override;
31 31
32 // State shared between Managers and Delegates. 32 // State shared between Managers and Delegates.
33 struct SharedState { 33 struct SharedState {
34 SharedState(); 34 SharedState();
35 ~SharedState(); 35 ~SharedState();
36 36
37 scoped_refptr<AsyncPixelTransferUploadStats> texture_upload_stats; 37 scoped_refptr<AsyncPixelTransferUploadStats> texture_upload_stats;
38 bool is_imagination; 38 bool is_imagination;
39 bool is_qualcomm; 39 bool is_qualcomm;
40 typedef std::list<base::WeakPtr<AsyncPixelTransferDelegateEGL> > 40 typedef std::list<base::WeakPtr<AsyncPixelTransferDelegateEGL> >
41 TransferQueue; 41 TransferQueue;
42 TransferQueue pending_allocations; 42 TransferQueue pending_allocations;
43 }; 43 };
44 44
45 private: 45 private:
46 // AsyncPixelTransferManager implementation: 46 // AsyncPixelTransferManager implementation:
47 virtual AsyncPixelTransferDelegate* CreatePixelTransferDelegateImpl( 47 virtual AsyncPixelTransferDelegate* CreatePixelTransferDelegateImpl(
48 gles2::TextureRef* ref, 48 gles2::TextureRef* ref,
49 const AsyncTexImage2DParams& define_params) OVERRIDE; 49 const AsyncTexImage2DParams& define_params) override;
50 50
51 SharedState shared_state_; 51 SharedState shared_state_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(AsyncPixelTransferManagerEGL); 53 DISALLOW_COPY_AND_ASSIGN(AsyncPixelTransferManagerEGL);
54 }; 54 };
55 55
56 } // namespace gpu 56 } // namespace gpu
57 57
58 #endif // GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_EGL_H_ 58 #endif // GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_EGL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698