OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 PPAPI_PROXY_PPB_CONTEXT_3D_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_CONTEXT_3D_PROXY_H_ |
6 #define PPAPI_PROXY_PPB_CONTEXT_3D_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_CONTEXT_3D_PROXY_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/shared_memory.h" | 11 #include "base/shared_memory.h" |
12 #include "gpu/command_buffer/common/command_buffer.h" | 12 #include "gpu/command_buffer/common/command_buffer.h" |
13 #include "ppapi/c/dev/pp_graphics_3d_dev.h" | 13 #include "ppapi/c/pp_graphics_3d.h" |
14 #include "ppapi/c/pp_instance.h" | 14 #include "ppapi/c/pp_instance.h" |
15 #include "ppapi/proxy/interface_proxy.h" | 15 #include "ppapi/proxy/interface_proxy.h" |
16 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" | 16 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" |
17 #include "ppapi/shared_impl/resource.h" | 17 #include "ppapi/shared_impl/resource.h" |
18 #include "ppapi/thunk/ppb_context_3d_api.h" | 18 #include "ppapi/thunk/ppb_context_3d_api.h" |
19 | 19 |
20 struct PPB_Context3D_Dev; | 20 struct PPB_Context3D_Dev; |
21 struct PPB_Context3DTrusted_Dev; | 21 struct PPB_Context3DTrusted_Dev; |
22 | 22 |
23 namespace gpu { | 23 namespace gpu { |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 void OnMsgGetTransferBuffer(const HostResource& context, | 136 void OnMsgGetTransferBuffer(const HostResource& context, |
137 int32 id, | 137 int32 id, |
138 base::SharedMemoryHandle* transfer_buffer, | 138 base::SharedMemoryHandle* transfer_buffer, |
139 uint32* size); | 139 uint32* size); |
140 }; | 140 }; |
141 | 141 |
142 } // namespace proxy | 142 } // namespace proxy |
143 } // namespace ppapi | 143 } // namespace ppapi |
144 | 144 |
145 #endif // PPAPI_PROXY_PPB_CONTEXT_3D_PROXY_H_ | 145 #endif // PPAPI_PROXY_PPB_CONTEXT_3D_PROXY_H_ |
OLD | NEW |