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

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

Issue 793693003: Tile Compression (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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_SHARE_GROUP_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_SHARE_GROUP_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_SHARE_GROUP_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_SHARE_GROUP_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"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 typedef std::list<base::WeakPtr<AsyncPixelTransferDelegateShareGroup> > 42 typedef std::list<base::WeakPtr<AsyncPixelTransferDelegateShareGroup> >
43 TransferQueue; 43 TransferQueue;
44 TransferQueue pending_allocations; 44 TransferQueue pending_allocations;
45 }; 45 };
46 46
47 private: 47 private:
48 // AsyncPixelTransferManager implementation: 48 // AsyncPixelTransferManager implementation:
49 AsyncPixelTransferDelegate* CreatePixelTransferDelegateImpl( 49 AsyncPixelTransferDelegate* CreatePixelTransferDelegateImpl(
50 gles2::TextureRef* ref, 50 gles2::TextureRef* ref,
51 const AsyncTexImage2DParams& define_params) override; 51 const AsyncTexImage2DParams& define_params) override;
52 virtual AsyncPixelTransferDelegate* CreatePixelTransferDelegateImpl(
53 gles2::TextureRef* ref,
54 const AsyncCompressedTexImage2DParams& define_params) override;
52 55
53 SharedState shared_state_; 56 SharedState shared_state_;
54 57
55 DISALLOW_COPY_AND_ASSIGN(AsyncPixelTransferManagerShareGroup); 58 DISALLOW_COPY_AND_ASSIGN(AsyncPixelTransferManagerShareGroup);
56 }; 59 };
57 60
58 } // namespace gpu 61 } // namespace gpu
59 62
60 #endif // GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_SHARE_GROUP_H _ 63 #endif // GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_SHARE_GROUP_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698