| Index: gpu/command_buffer/build_gles2_cmd_buffer.py
|
| diff --git a/gpu/command_buffer/build_gles2_cmd_buffer.py b/gpu/command_buffer/build_gles2_cmd_buffer.py
|
| index 8ea1d3c53ba62afa74904817dc81de3ff16e149b..9babf735c5b20b1bbf13406af2be8a301303c93d 100755
|
| --- a/gpu/command_buffer/build_gles2_cmd_buffer.py
|
| +++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
|
| @@ -1114,6 +1114,14 @@ _ENUM_LISTS = {
|
| 'true',
|
| ],
|
| },
|
| + 'ResetStatus': {
|
| + 'type': 'GLenum',
|
| + 'valid': [
|
| + 'GL_GUILTY_CONTEXT_RESET_ARB',
|
| + 'GL_INNOCENT_CONTEXT_RESET_ARB',
|
| + 'GL_UNKNOWN_CONTEXT_RESET_ARB',
|
| + ],
|
| + },
|
| }
|
|
|
| # This table specifies the different pepper interfaces that are supported for
|
| @@ -2296,6 +2304,12 @@ _FUNCTION_INFO = {
|
| 'client_test': False,
|
| 'extension': True,
|
| },
|
| + 'LoseContextCHROMIUM': {
|
| + 'type': 'Manual',
|
| + 'impl_func': True,
|
| + 'extension': True,
|
| + 'chromium': True,
|
| + },
|
| }
|
|
|
|
|
| @@ -3354,7 +3368,8 @@ class ManualHandler(CustomHandler):
|
|
|
| def WriteGLES2Implementation(self, func, file):
|
| """Overrriden from TypeHandler."""
|
| - pass
|
| + if func.GetInfo('impl_func'):
|
| + super(ManualHandler, self).WriteGLES2Implementation(func, file)
|
|
|
| def WriteGLES2ImplementationHeader(self, func, file):
|
| """Overrriden from TypeHandler."""
|
|
|