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 #ifndef PPAPI_THUNK_PPB_GRAPHICS_3D_API_H_ | 5 #ifndef PPAPI_THUNK_PPB_GRAPHICS_3D_API_H_ |
6 #define PPAPI_THUNK_PPB_GRAPHICS_3D_API_H_ | 6 #define PPAPI_THUNK_PPB_GRAPHICS_3D_API_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "ppapi/c/ppb_graphics_3d.h" | 9 #include "ppapi/c/ppb_graphics_3d.h" |
10 #include "ppapi/c/trusted/ppb_graphics_3d_trusted.h" | 10 #include "ppapi/c/trusted/ppb_graphics_3d_trusted.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 virtual void* MapTexSubImage2DCHROMIUM(GLenum target, | 46 virtual void* MapTexSubImage2DCHROMIUM(GLenum target, |
47 GLint level, | 47 GLint level, |
48 GLint xoffset, | 48 GLint xoffset, |
49 GLint yoffset, | 49 GLint yoffset, |
50 GLsizei width, | 50 GLsizei width, |
51 GLsizei height, | 51 GLsizei height, |
52 GLenum format, | 52 GLenum format, |
53 GLenum type, | 53 GLenum type, |
54 GLenum access) = 0; | 54 GLenum access) = 0; |
55 virtual void UnmapTexSubImage2DCHROMIUM(const void* mem) = 0; | 55 virtual void UnmapTexSubImage2DCHROMIUM(const void* mem) = 0; |
| 56 |
| 57 virtual uint32_t InsertSyncPoint() = 0; |
56 }; | 58 }; |
57 | 59 |
58 } // namespace thunk | 60 } // namespace thunk |
59 } // namespace ppapi | 61 } // namespace ppapi |
60 | 62 |
61 #endif // PPAPI_THUNK_PPB_GRAPHICS_3D_API_H_ | 63 #endif // PPAPI_THUNK_PPB_GRAPHICS_3D_API_H_ |
OLD | NEW |