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
b49bea15
Kaydet (Commit)
b49bea15
authored
Kas 11, 2014
tarafından
Louis-Francis Ratté-Boulianne
Kaydeden (comit)
Markus Mohrhard
Kas 12, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl: Use offscreen rendering for native GTK widgets with OpenGL backend
Change-Id: I142e1b34e54a3cbe149e5af9adeba1250a4ca9a9
üst
e1e787d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
Library_vclplug_gtk.mk
vcl/Library_vclplug_gtk.mk
+1
-0
salnativewidgets-gtk.cxx
vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
+6
-0
No files found.
vcl/Library_vclplug_gtk.mk
Dosyayı görüntüle @
b49bea15
...
@@ -65,6 +65,7 @@ $(eval $(call gb_Library_use_externals,vclplug_gtk,\
...
@@ -65,6 +65,7 @@ $(eval $(call gb_Library_use_externals,vclplug_gtk,\
cairo \
cairo \
dbus \
dbus \
gio \
gio \
glew \
gtk \
gtk \
gthread \
gthread \
icuuc \
icuuc \
...
...
vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
Dosyayı görüntüle @
b49bea15
...
@@ -41,6 +41,8 @@
...
@@ -41,6 +41,8 @@
#include "fontmanager.hxx"
#include "fontmanager.hxx"
#include <vcl/decoview.hxx>
#include <vcl/decoview.hxx>
#include <vcl/opengl/OpenGLHelper.hxx>
typedef
struct
_cairo_font_options
cairo_font_options_t
;
typedef
struct
_cairo_font_options
cairo_font_options_t
;
const
char
*
const
tabPrelitDataName
=
"libreoffice-tab-is-prelit"
;
const
char
*
const
tabPrelitDataName
=
"libreoffice-tab-is-prelit"
;
...
@@ -533,6 +535,10 @@ void GtkData::initNWF( void )
...
@@ -533,6 +535,10 @@ void GtkData::initNWF( void )
if
(
pEnv
&&
*
pEnv
)
if
(
pEnv
&&
*
pEnv
)
GtkSalGraphics
::
bNeedPixmapPaint
=
true
;
GtkSalGraphics
::
bNeedPixmapPaint
=
true
;
// use offscreen rendering when using OpenGL backend
if
(
OpenGLHelper
::
isVCLOpenGLEnabled
()
)
GtkSalGraphics
::
bNeedPixmapPaint
=
true
;
#if OSL_DEBUG_LEVEL > 1
#if OSL_DEBUG_LEVEL > 1
std
::
fprintf
(
stderr
,
"GtkPlugin: using %s NWF
\n
"
,
std
::
fprintf
(
stderr
,
"GtkPlugin: using %s NWF
\n
"
,
GtkSalGraphics
::
bNeedPixmapPaint
?
"offscreen"
:
"direct"
);
GtkSalGraphics
::
bNeedPixmapPaint
?
"offscreen"
:
"direct"
);
...
...
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