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

Unified Diff: ui/gl/gl_surface_osmesa.h

Issue 1652873002: Android: Use virtualized context only for those with compatible config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment addressed Created 4 years, 10 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
Index: ui/gl/gl_surface_osmesa.h
diff --git a/ui/gl/gl_surface_osmesa.h b/ui/gl/gl_surface_osmesa.h
index 6c317ea3e92146fd1eee668e7d4581713014b255..7a7fa3c0fdf654fbefd2bcfcc8af9d28b59ada00 100644
--- a/ui/gl/gl_surface_osmesa.h
+++ b/ui/gl/gl_surface_osmesa.h
@@ -33,13 +33,12 @@ class GL_EXPORT GLSurfaceOSMesa : public GLSurface {
gfx::SwapResult SwapBuffers() override;
gfx::Size GetSize() override;
void* GetHandle() override;
- unsigned GetFormat() override;
+ GLSurface::Format GetFormat() override;
protected:
~GLSurfaceOSMesa() override;
private:
- unsigned format_;
gfx::Size size_;
scoped_ptr<int32_t[]> buffer_;

Powered by Google App Engine
This is Rietveld 408576698