| 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 #include "ppapi/cpp/dev/graphics_3d_dev.h" | 5 #include "ppapi/cpp/dev/graphics_3d_dev.h" |
| 6 | 6 |
| 7 #include "ppapi/c/pp_errors.h" | 7 #include "ppapi/c/pp_errors.h" |
| 8 #include "ppapi/cpp/completion_callback.h" | 8 #include "ppapi/cpp/completion_callback.h" |
| 9 #include "ppapi/cpp/instance.h" | 9 #include "ppapi/cpp/instance.h" |
| 10 #include "ppapi/cpp/module_impl.h" | 10 #include "ppapi/cpp/module_impl.h" |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 if (!has_interface<PPB_Graphics3D_Dev>()) | 67 if (!has_interface<PPB_Graphics3D_Dev>()) |
| 68 return PP_ERROR_NOINTERFACE; | 68 return PP_ERROR_NOINTERFACE; |
| 69 | 69 |
| 70 return get_interface<PPB_Graphics3D_Dev>()->SwapBuffers( | 70 return get_interface<PPB_Graphics3D_Dev>()->SwapBuffers( |
| 71 pp_resource(), | 71 pp_resource(), |
| 72 cc.pp_completion_callback()); | 72 cc.pp_completion_callback()); |
| 73 } | 73 } |
| 74 | 74 |
| 75 } // namespace pp | 75 } // namespace pp |
| 76 | 76 |
| OLD | NEW |