Skip to content

Commit 20c64d7

Browse files
committed
Revert rejected Ubuntu merge: meson: add back default_driver option
1 parent 297259e commit 20c64d7

File tree

4 files changed

+0
-16
lines changed

4 files changed

+0
-16
lines changed

cogl/cogl-config.h.meson

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,4 @@
1010
/* Enable unit tests */
1111
#mesondefine ENABLE_UNIT_TESTS
1212

13-
/* Default COGL driver */
14-
#mesondefine COGL_DEFAULT_DRIVER
15-
1613
#define COGL_CONFIG_H_INCLUDED 1

cogl/meson.build

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ cdata.set('HAVE_COGL_GLES2', have_gles2)
1010
cdata.set('HAVE_TRACING', have_profiler)
1111
cdata.set('ENABLE_UNIT_TESTS', have_cogl_tests)
1212

13-
if default_driver != 'auto'
14-
cdata.set_quoted('COGL_DEFAULT_DRIVER', default_driver)
15-
endif
16-
1713
cogl_config_h = configure_file(
1814
input: 'cogl-config.h.meson',
1915
output: 'cogl-config.h',

meson.build

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,6 @@ if have_wayland_eglstream
217217
endif
218218
endif
219219

220-
default_driver = get_option('default_driver')
221-
222220
have_sm = get_option('sm')
223221
if have_sm
224222
sm_dep = dependency('sm')
@@ -491,7 +489,6 @@ output = [
491489
' Wayland EGLStream................ ' + have_wayland_eglstream.to_string(),
492490
' Native Backend................... ' + have_native_backend.to_string(),
493491
' EGL Device....................... ' + have_egl_device.to_string(),
494-
' Default driver................... ' + default_driver,
495492
' Remote desktop................... ' + have_remote_desktop.to_string(),
496493
' gudev............................ ' + have_libgudev.to_string(),
497494
' Wacom............................ ' + have_libwacom.to_string(),

meson_options.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,6 @@ option('verbose',
141141
description: 'Enable verbose logging ability'
142142
)
143143

144-
option('default_driver',
145-
type: 'combo',
146-
choices: ['auto', 'gl', 'gl3', 'gles2', 'nop'],
147-
value: 'auto'
148-
)
149-
150144
option('xwayland_path',
151145
type: 'string',
152146
value: '',

0 commit comments

Comments
 (0)