| Index: ui/gl/gl_egl_api_implementation.h
|
| diff --git a/ui/gl/gl_egl_api_implementation.h b/ui/gl/gl_egl_api_implementation.h
|
| index 9e6cabd804249468bcf54b4b408106af806c7bdc..f120aab53febebe643c07849f996d9f11dc4150f 100644
|
| --- a/ui/gl/gl_egl_api_implementation.h
|
| +++ b/ui/gl/gl_egl_api_implementation.h
|
| @@ -55,6 +55,20 @@ class GL_EXPORT RealEGLApi : public EGLApiBase {
|
| std::map<EGLDisplay, std::string> filtered_exts_;
|
| };
|
|
|
| +// Logs debug information for every EGL call.
|
| +class GL_EXPORT DebugEGLApi : public EGLApi {
|
| + public:
|
| + DebugEGLApi(EGLApi* egl_api);
|
| + ~DebugEGLApi() override;
|
| +
|
| + // Include the auto-generated part of this class. We split this because
|
| + // it means we can easily edit the non-auto generated parts right here in
|
| + // this file instead of having to edit some template or the code generator.
|
| + #include "gl_bindings_api_autogen_egl.h"
|
| +
|
| + private:
|
| + EGLApi* egl_api_;
|
| +};
|
|
|
| // Inserts a TRACE for every EGL call.
|
| class GL_EXPORT TraceEGLApi : public EGLApi {
|
|
|