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

Unified Diff: ui/gl/gl_context_egl.cc

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: rebased 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_context_egl.cc
diff --git a/ui/gl/gl_context_egl.cc b/ui/gl/gl_context_egl.cc
index 8a9e4e4cb2ff7828dd9d5f595a8c48412be5dc1c..fd7b164e204a6a5743cdf3a6fa4a357291efbbda 100644
--- a/ui/gl/gl_context_egl.cc
+++ b/ui/gl/gl_context_egl.cc
@@ -58,6 +58,7 @@ bool GLContextEGL::Initialize(
display_ = compatible_surface->GetDisplay();
config_ = compatible_surface->GetConfig();
+ format_ = compatible_surface->GetFormat();
const EGLint* context_attributes = nullptr;
if (GLSurfaceEGL::IsCreateContextRobustnessSupported()) {

Powered by Google App Engine
This is Rietveld 408576698