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

Side by Side Diff: ui/gl/init/gl_initializer_ozone.cc

Issue 1542013005: Add a new driver bug workaround SANDBOX_START_EARLY Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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 unified diff | Download patch
« no previous file with comments | « ui/gl/init/gl_initializer_android.cc ('k') | ui/gl/init/gl_initializer_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/gl/init/gl_initializer.h" 5 #include "ui/gl/init/gl_initializer.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "ui/gl/gl_bindings.h" 8 #include "ui/gl/gl_bindings.h"
9 #include "ui/gl/gl_egl_api_implementation.h" 9 #include "ui/gl/gl_egl_api_implementation.h"
10 #include "ui/gl/gl_gl_api_implementation.h" 10 #include "ui/gl/gl_gl_api_implementation.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 if (HasGLOzone()) { 95 if (HasGLOzone()) {
96 GetGLOzone()->ClearGLBindings(); 96 GetGLOzone()->ClearGLBindings();
97 return; 97 return;
98 } 98 }
99 99
100 ClearGLBindingsEGL(); 100 ClearGLBindingsEGL();
101 ClearGLBindingsGL(); 101 ClearGLBindingsGL();
102 ClearGLBindingsOSMESA(); 102 ClearGLBindingsOSMESA();
103 } 103 }
104 104
105 // Currently no use case of kGpuSandboxStartEarly on x86 ozone.
106 // On arm ozone CrosArmGpuProcessPolicy is used instead of GpuProcessPolicy.
107 // And this function is only used from GpuProcessPolicy.
108 bool GetNativeLibraryNamesFromGLImplementationPlatform(
109 GLImplementation implementation,
110 std::vector<std::string>* required_libraries) {
111 NOTIMPLEMENTED();
112 return false;
113 }
114
105 } // namespace init 115 } // namespace init
106 } // namespace gl 116 } // namespace gl
OLDNEW
« no previous file with comments | « ui/gl/init/gl_initializer_android.cc ('k') | ui/gl/init/gl_initializer_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698