Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef PPAPI_C_DEV_PPB_GLES_CHROMIUM_EXTENSION_DEV_H_ | |
| 6 #define PPAPI_C_DEV_PPB_GLES_CHROMIUM_EXTENSION_DEV_H_ | |
| 7 | |
| 8 #include "ppapi/c/pp_resource.h" | |
| 9 #include "ppapi/c/dev/ppb_opengles_dev.h" | |
| 10 | |
| 11 #define PPB_GLES_CHROMIUM_EXTENSION_DEV_INTERFACE "PPB_GLESChromiumExtension(Dev );0.1" | |
| 12 | |
| 13 struct PPB_GLESChromiumExtension_Dev { | |
|
apatrick
2011/01/06 16:50:30
There will be other CHROMIUM extensions in the fut
piman
2011/01/06 22:31:12
Done. I called it ChromiumTextureMapping (under th
| |
| 14 void* (*MapTexSubImage2DCHROMIUM)( | |
|
brettw
2011/01/06 17:58:24
I don't quite get the naming convention. Why do we
piman
2011/01/06 22:31:12
Done. I added the doc. The naming comes from stand
| |
| 15 PP_Resource context, | |
| 16 GLenum target, | |
| 17 GLint level, | |
| 18 GLint xoffset, | |
| 19 GLint yoffset, | |
| 20 GLsizei width, | |
| 21 GLsizei height, | |
| 22 GLenum format, | |
| 23 GLenum type, | |
| 24 GLenum access); | |
| 25 void (*UnmapTexSubImage2DCHROMIUM)(PP_Resource context, const void* mem); | |
| 26 }; | |
| 27 | |
| 28 #endif // PPAPI_C_DEV_PPB_GLES_CHROMIUM_EXTENSION_DEV_H_ | |
| OLD | NEW |