| Index: ui/gl/gl_glx_api_implementation.h
|
| diff --git a/ui/gl/gl_glx_api_implementation.h b/ui/gl/gl_glx_api_implementation.h
|
| index 9796d9cfae40ef8967951f2934e1f5f9a99d11b5..2c1815757cae260e35a9ed7ce29f2f269d6bab64 100644
|
| --- a/ui/gl/gl_glx_api_implementation.h
|
| +++ b/ui/gl/gl_glx_api_implementation.h
|
| @@ -53,6 +53,21 @@ class GL_EXPORT RealGLXApi : public GLXApiBase {
|
| std::string filtered_exts_;
|
| };
|
|
|
| +// Logs debug information for every GLX call.
|
| +class GL_EXPORT DebugGLXApi : public GLXApi {
|
| + public:
|
| + DebugGLXApi(GLXApi* glx_api);
|
| + ~DebugGLXApi() 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_glx.h"
|
| +
|
| + private:
|
| + GLXApi* glx_api_;
|
| +};
|
| +
|
| // Inserts a TRACE for every GLX call.
|
| class GL_EXPORT TraceGLXApi : public GLXApi {
|
| public:
|
|
|