diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-11-20 09:52:03 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-11-20 13:50:51 +0100 |
commit | a55f740045d6d30e1ef5522889d2dc359ca5784a (patch) | |
tree | cf05fa9cd35419dc488e96f23c67d4eb308f71e0 /vcl/Library_vcl.mk | |
parent | dcdc8df2e6d740dd75ff6e28727ca757e4882f86 (diff) |
include the unx part for getting OpenGL driver & device information
desktop/unx/source/glxtest.cxx is taken directly from the Mozilla
project.
THe whole concept is taken from Mozilla and is based on starting an
early process that creates an OpenGL context. This prevents crashing
drivers to crash Libreoffice.
We read the information from the pipe as soon as we create the first vcl
Window. In that place we then decide if the device/driver combination is
blacklisted.
Change-Id: I2624d4ce06d503281a4459cf3174f57cf1f7b733
Diffstat (limited to 'vcl/Library_vcl.mk')
-rw-r--r-- | vcl/Library_vcl.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/Library_vcl.mk b/vcl/Library_vcl.mk index 81f774a98644..932ca4cd5026 100644 --- a/vcl/Library_vcl.mk +++ b/vcl/Library_vcl.mk @@ -122,6 +122,7 @@ $(eval $(call gb_Library_use_externals,vcl,\ )) $(eval $(call gb_Library_add_exception_objects,vcl,\ + vcl/opengl/DeviceInfo \ vcl/opengl/gdiimpl \ vcl/opengl/salbmp \ vcl/opengl/scale \ @@ -705,6 +706,10 @@ $(eval $(call gb_Library_add_libs,vcl,\ -lGLU \ -lX11 \ )) + +$(eval $(call gb_Library_add_exception_objects,vcl,\ + vcl/opengl/x11/X11DeviceInfo \ +)) endif ifeq ($(OS),SOLARIS) |