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

Unified Diff: ui/ozone/platform/drm/gpu/gbm_surface_factory.cc

Issue 2253173002: Remove callbacks for SurfaceFactoryOzone::LoadEGLGLES2Bindings(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/ozone/platform/drm/gpu/gbm_surface_factory.cc
diff --git a/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc b/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc
index df62b30169fdf6f28fc680993af9eaae5b31e60d..6b6340a0c16394e63b5e6c0fff4e06129de6e1c9 100644
--- a/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc
+++ b/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc
@@ -103,11 +103,9 @@ intptr_t GbmSurfaceFactory::GetNativeDisplay() {
return EGL_DEFAULT_DISPLAY;
}
-bool GbmSurfaceFactory::LoadEGLGLES2Bindings(
- AddGLLibraryCallback add_gl_library,
- SetGLGetProcAddressProcCallback set_gl_get_proc_address) {
+bool GbmSurfaceFactory::LoadEGLGLES2Bindings() {
DCHECK(thread_checker_.CalledOnValidThread());
- return LoadDefaultEGLGLES2Bindings(add_gl_library, set_gl_get_proc_address);
+ return LoadDefaultEGLGLES2Bindings();
}
std::unique_ptr<SurfaceOzoneCanvas> GbmSurfaceFactory::CreateCanvasForWidget(
« no previous file with comments | « ui/ozone/platform/drm/gpu/gbm_surface_factory.h ('k') | ui/ozone/platform/headless/headless_surface_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698