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

Unified Diff: ui/gl/gl_context.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.cc
diff --git a/ui/gl/gl_context.cc b/ui/gl/gl_context.cc
index 3e54ebb0b660a110a2ba2809b014f4a8bbe167da..235aa44139c06b6c0dd60a62a0a4f50d92d5b063 100644
--- a/ui/gl/gl_context.cc
+++ b/ui/gl/gl_context.cc
@@ -43,6 +43,7 @@ void GLContext::ScopedReleaseCurrent::Cancel() {
}
GLContext::GLContext(GLShareGroup* share_group) :
+ format_(GLSurface::GetDefaultFormat()),
share_group_(share_group),
state_dirtied_externally_(false),
swap_interval_(1),
@@ -77,6 +78,10 @@ void GLContext::SetUnbindFboOnMakeCurrent() {
NOTIMPLEMENTED();
}
+void GLContext::UpdateSharedContext(GLContext* context) {
+ NOTIMPLEMENTED();
+}
+
std::string GLContext::GetExtensions() {
DCHECK(IsCurrent(nullptr));
return GetGLExtensionsFromCurrentContext();

Powered by Google App Engine
This is Rietveld 408576698