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_C_DEV_PPB_GLES_CHROMIUM_TEXTURE_MAPPING_DEV_H_ | 5 #ifndef PPAPI_C_DEV_PPB_GLES_CHROMIUM_TEXTURE_MAPPING_DEV_H_ |
6 #define PPAPI_C_DEV_PPB_GLES_CHROMIUM_TEXTURE_MAPPING_DEV_H_ | 6 #define PPAPI_C_DEV_PPB_GLES_CHROMIUM_TEXTURE_MAPPING_DEV_H_ |
7 | 7 |
8 #include "ppapi/c/pp_resource.h" | 8 #include "ppapi/c/pp_resource.h" |
9 #include "ppapi/c/ppb_opengles2.h" | 9 #include "ppapi/c/ppb_opengles2.h" |
10 | 10 |
(...skipping 27 matching lines...) Expand all Loading... |
38 // Unmaps the sub-image of a texture. If the sub-image was mapped with one of | 38 // Unmaps the sub-image of a texture. If the sub-image was mapped with one of |
39 // the WRITE accesses, the pixels are updated at this time to the contents of | 39 // the WRITE accesses, the pixels are updated at this time to the contents of |
40 // the buffer. 'mem' must be the pointer returned by MapTexSubImage2DCHROMIUM. | 40 // the buffer. 'mem' must be the pointer returned by MapTexSubImage2DCHROMIUM. |
41 void (*UnmapTexSubImage2DCHROMIUM)(PP_Resource context, const void* mem); | 41 void (*UnmapTexSubImage2DCHROMIUM)(PP_Resource context, const void* mem); |
42 }; | 42 }; |
43 | 43 |
44 typedef struct PPB_GLESChromiumTextureMapping_Dev_0_1 | 44 typedef struct PPB_GLESChromiumTextureMapping_Dev_0_1 |
45 PPB_GLESChromiumTextureMapping_Dev; | 45 PPB_GLESChromiumTextureMapping_Dev; |
46 | 46 |
47 #endif // PPAPI_C_DEV_PPB_GLES_CHROMIUM_TEXTURE_MAPPING_DEV_H_ | 47 #endif // PPAPI_C_DEV_PPB_GLES_CHROMIUM_TEXTURE_MAPPING_DEV_H_ |
OLD | NEW |