Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(526)

Unified Diff: ui/gl/gl_context_egl.h

Issue 683113005: Update from chromium https://crrev.com/302282 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gl/gl_bindings.h ('k') | ui/gl/gl_context_glx.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_context_egl.h
diff --git a/ui/gl/gl_context_egl.h b/ui/gl/gl_context_egl.h
index 82d15a67da38ba2b53821680bea8e1ceb947929a..9f071e2981c855e9c1ff1d83e8f1c0bf3cd291b7 100644
--- a/ui/gl/gl_context_egl.h
+++ b/ui/gl/gl_context_egl.h
@@ -24,21 +24,21 @@ class GLContextEGL : public GLContextReal {
explicit GLContextEGL(GLShareGroup* share_group);
// Implement GLContext.
- virtual bool Initialize(
- GLSurface* compatible_surface, GpuPreference gpu_preference) override;
- virtual void Destroy() override;
- virtual bool MakeCurrent(GLSurface* surface) override;
- virtual void ReleaseCurrent(GLSurface* surface) override;
- virtual bool IsCurrent(GLSurface* surface) override;
- virtual void* GetHandle() override;
- virtual void SetSwapInterval(int interval) override;
- virtual std::string GetExtensions() override;
- virtual bool WasAllocatedUsingRobustnessExtension() override;
- virtual bool GetTotalGpuMemory(size_t* bytes) override;
- virtual void SetUnbindFboOnMakeCurrent() override;
+ bool Initialize(GLSurface* compatible_surface,
+ GpuPreference gpu_preference) override;
+ void Destroy() override;
+ bool MakeCurrent(GLSurface* surface) override;
+ void ReleaseCurrent(GLSurface* surface) override;
+ bool IsCurrent(GLSurface* surface) override;
+ void* GetHandle() override;
+ void SetSwapInterval(int interval) override;
+ std::string GetExtensions() override;
+ bool WasAllocatedUsingRobustnessExtension() override;
+ bool GetTotalGpuMemory(size_t* bytes) override;
+ void SetUnbindFboOnMakeCurrent() override;
protected:
- virtual ~GLContextEGL();
+ ~GLContextEGL() override;
private:
EGLContext context_;
« no previous file with comments | « ui/gl/gl_bindings.h ('k') | ui/gl/gl_context_glx.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698