OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "ui/gl/async_pixel_transfer_delegate_stub.h" | 5 #include "ui/gl/async_pixel_transfer_delegate_stub.h" |
6 | 6 |
7 #include "base/shared_memory.h" | 7 #include "base/memory/shared_memory.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "ui/gl/gl_bindings.h" | 9 #include "ui/gl/gl_bindings.h" |
10 | 10 |
11 using base::SharedMemory; | 11 using base::SharedMemory; |
12 using base::SharedMemoryHandle; | 12 using base::SharedMemoryHandle; |
13 | 13 |
14 namespace { | 14 namespace { |
15 // Gets the address of the data from shared memory. | 15 // Gets the address of the data from shared memory. |
16 void* GetAddress(SharedMemory* shared_memory, | 16 void* GetAddress(SharedMemory* shared_memory, |
17 uint32 shm_size, | 17 uint32 shm_size, |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 bool AsyncPixelTransferDelegateStub::ProcessMorePendingTransfers() { | 136 bool AsyncPixelTransferDelegateStub::ProcessMorePendingTransfers() { |
137 return false; | 137 return false; |
138 } | 138 } |
139 | 139 |
140 bool AsyncPixelTransferDelegateStub::NeedsProcessMorePendingTransfers() { | 140 bool AsyncPixelTransferDelegateStub::NeedsProcessMorePendingTransfers() { |
141 return false; | 141 return false; |
142 } | 142 } |
143 | 143 |
144 } // namespace gfx | 144 } // namespace gfx |
145 | 145 |
OLD | NEW |