| Index: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
|
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
|
| index a477c75a46dc1cb42f20534e4f2fbb786f326b60..c964acccf7979068a07e47ef14716604c0eb2f22 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
|
| @@ -753,7 +753,8 @@ protected:
|
|
|
| // Errors raised by synthesizeGLError() while the context is lost.
|
| Vector<GLenum> m_lostContextErrors;
|
| - // Other errors raised by synthesizeGLError().
|
| + // Other errors raised by synthesizeGLError(), or errors transfered from the
|
| + // service side's error queue.
|
| Vector<GLenum> m_syntheticErrors;
|
|
|
| bool m_isWebGL2FormatsTypesAdded;
|
| @@ -795,6 +796,10 @@ protected:
|
| // Helper to restore state that clearing the framebuffer may destroy.
|
| void restoreStateAfterClear();
|
|
|
| + // Moves all errors from the service side's error queue into this class's
|
| + // internal queue |m_syntheticErrors|.
|
| + void moveGLErrorsToInternalQueue();
|
| +
|
| // Convert texture internal format.
|
| GLenum convertTexInternalFormat(GLenum internalformat, GLenum type);
|
|
|
|
|