Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
bcd8f9e2
Kaydet (Commit)
bcd8f9e2
authored
Kas 21, 2014
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
make glxtest available in salmain
Change-Id: Ic8bc3f2d5d96506590d35138089ead2eac984314
üst
674c7abb
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
119 additions
and
4 deletions
+119
-4
Library_sofficeapp.mk
desktop/Library_sofficeapp.mk
+2
-2
glxtest.hxx
include/vcl/opengl/glxtest.hxx
+2
-0
Executable_gengal.mk
svx/Executable_gengal.mk
+7
-0
Executable_tiledrendering.mk
sw/Executable_tiledrendering.mk
+16
-0
Executable_icontest.mk
vcl/Executable_icontest.mk
+9
-0
Executable_ui-previewer.mk
vcl/Executable_ui-previewer.mk
+15
-0
Executable_vcldemo.mk
vcl/Executable_vcldemo.mk
+15
-0
Module_vcl.mk
vcl/Module_vcl.mk
+1
-0
StaticLibrary_glxtest.mk
vcl/StaticLibrary_glxtest.mk
+45
-0
salmain.cxx
vcl/source/salmain/salmain.cxx
+7
-0
glxtest.cxx
vcl/unx/glxtest.cxx
+0
-2
No files found.
desktop/Library_sofficeapp.mk
Dosyayı görüntüle @
bcd8f9e2
...
...
@@ -95,8 +95,8 @@ $(eval $(call gb_Library_add_exception_objects,sofficeapp,\
))
ifeq ($(OS),LINUX)
$(eval $(call gb_Library_
add_exception_object
s,sofficeapp,\
desktop/unx/source/
glxtest \
$(eval $(call gb_Library_
use_static_librarie
s,sofficeapp,\
glxtest \
))
$(eval $(call gb_Library_add_libs,sofficeapp,\
...
...
include/vcl/opengl/glxtest.hxx
Dosyayı görüntüle @
bcd8f9e2
...
...
@@ -16,6 +16,8 @@ VCL_DLLPUBLIC int* getGlxPipe();
VCL_DLLPUBLIC
pid_t
*
getGlxPid
();
bool
fire_glxtest_process
();
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
svx/Executable_gengal.mk
Dosyayı görüntüle @
bcd8f9e2
...
...
@@ -65,6 +65,13 @@ ifeq ($(OS),LINUX)
$(eval $(call gb_Executable_add_libs,gengal,\
-ldl \
-lpthread \
-lGL \
-lGLU \
-lX11 \
))
$(eval $(call gb_Executable_use_static_libraries,gengal,\
glxtest \
))
endif
...
...
sw/Executable_tiledrendering.mk
Dosyayı görüntüle @
bcd8f9e2
...
...
@@ -42,4 +42,20 @@ $(eval $(call gb_Executable_add_exception_objects,tiledrendering,\
sw/qa/tiledrendering/tiledrendering \
))
ifeq ($(OS),LINUX)
$(eval $(call gb_Executable_add_libs,tiledrendering,\
-lm \
-ldl \
-lpthread \
-lGL \
-lGLU \
-lX11 \
))
$(eval $(call gb_Executable_use_static_libraries,tiledrendering,\
glxtest \
))
endif
# vim: set noet sw=4 ts=4:
vcl/Executable_icontest.mk
Dosyayı görüntüle @
bcd8f9e2
...
...
@@ -24,7 +24,16 @@ $(eval $(call gb_Executable_use_api,icontest,\
ifeq ($(OS),LINUX)
$(eval $(call gb_Executable_add_libs,icontest,\
-lm \
-ldl \
-lpthread \
-lGL \
-lGLU \
-lX11 \
))
$(eval $(call gb_Executable_use_static_libraries,icontest,\
glxtest \
))
else ifeq ($(OS),WNT)
...
...
vcl/Executable_ui-previewer.mk
Dosyayı görüntüle @
bcd8f9e2
...
...
@@ -34,4 +34,19 @@ $(eval $(call gb_Executable_add_exception_objects,ui-previewer,\
vcl/source/uipreviewer/previewer \
))
ifeq ($(OS),LINUX)
$(eval $(call gb_Executable_add_libs,ui-previewer,\
-lm \
-ldl \
-lpthread \
-lGL \
-lGLU \
-lX11 \
))
$(eval $(call gb_Executable_use_static_libraries,ui-previewer,\
glxtest \
))
endif
# vim: set noet sw=4 ts=4:
vcl/Executable_vcldemo.mk
Dosyayı görüntüle @
bcd8f9e2
...
...
@@ -41,4 +41,19 @@ $(eval $(call gb_Executable_use_static_libraries,vcldemo,\
vclmain \
))
ifeq ($(OS),LINUX)
$(eval $(call gb_Executable_add_libs,vcldemo,\
-lm \
-ldl \
-lpthread \
-lGL \
-lGLU \
-lX11 \
))
$(eval $(call gb_Executable_use_static_libraries,vcldemo,\
glxtest \
))
endif
# vim: set noet sw=4 ts=4:
vcl/Module_vcl.mk
Dosyayı görüntüle @
bcd8f9e2
...
...
@@ -47,6 +47,7 @@ $(eval $(call gb_Module_add_targets,vcl,\
Library_vclplug_gen \
Library_desktop_detector \
StaticLibrary_headless \
StaticLibrary_glxtest \
Package_fontunxppds \
Package_fontunxpsprint \
))
...
...
vcl/StaticLibrary_glxtest.mk
0 → 100644
Dosyayı görüntüle @
bcd8f9e2
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This file incorporates work covered by the following license notice:
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed
# with this work for additional information regarding copyright
# ownership. The ASF licenses this file to you under the Apache
# License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
$(eval $(call gb_StaticLibrary_StaticLibrary,glxtest))
$(eval $(call gb_StaticLibrary_set_include,glxtest,\
$$(INCLUDE) \
-I$(SRCDIR)/vcl/inc \
))
$(eval $(call gb_StaticLibrary_use_api,glxtest,\
offapi \
udkapi \
))
$(eval $(call gb_StaticLibrary_add_libs,glxtest,\
-lm \
-ldl \
-lpthread \
-lGL \
-lGLU \
-lX11 \
))
$(eval $(call gb_StaticLibrary_add_exception_objects,glxtest,\
vcl/unx/glxtest \
))
# vim: set noet sw=4 ts=4:
vcl/source/salmain/salmain.cxx
Dosyayı görüntüle @
bcd8f9e2
...
...
@@ -28,7 +28,14 @@
#include "salinst.hxx"
#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID
#include <vcl/opengl/glxtest.hxx>
#endif
SAL_IMPLEMENT_MAIN
()
{
#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID
fire_glxtest_process
();
#endif
tools
::
extendApplicationEnvironment
();
vclmain
::
createApplication
();
return
SVMain
();
...
...
desktop/unx/source
/glxtest.cxx
→
vcl/unx
/glxtest.cxx
Dosyayı görüntüle @
bcd8f9e2
...
...
@@ -5,8 +5,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "app.hxx"
//////////////////////////////////////////////////////////////////////////////
//
// Explanation: See bug 639842. Safely getting GL driver info on X11 is hard, because the only way to do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment