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
7741e4c2
Kaydet (Commit)
7741e4c2
authored
Agu 18, 2014
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
some temporary debug output
üst
b3d7fd2a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
2 deletions
+30
-2
cf_service.cxx
canvas/source/factory/cf_service.cxx
+26
-0
ogl_canvashelper.cxx
canvas/source/opengl/ogl_canvashelper.cxx
+3
-2
ogl_spritedevicehelper.cxx
canvas/source/opengl/ogl_spritedevicehelper.cxx
+1
-0
No files found.
canvas/source/factory/cf_service.cxx
Dosyayı görüntüle @
7741e4c2
...
...
@@ -169,6 +169,11 @@ CanvasFactory::CanvasFactory( Reference<XComponentContext> const & xContext ) :
xNameAccess
,
UNO_QUERY_THROW
);
Sequence
<
OUString
>
serviceNames
=
xNameAccess
->
getElementNames
();
for
(
sal_Int32
i
=
0
;
i
<
serviceNames
.
getLength
();
++
i
)
{
SAL_DEBUG
(
serviceNames
[
i
]);
}
const
OUString
*
pCurr
=
serviceNames
.
getConstArray
();
const
OUString
*
const
pEnd
=
pCurr
+
serviceNames
.
getLength
();
while
(
pCurr
!=
pEnd
)
...
...
@@ -181,11 +186,30 @@ CanvasFactory::CanvasFactory( Reference<XComponentContext> const & xContext ) :
{
Sequence
<
OUString
>
implementationList
;
if
(
(
xEntryNameAccess
->
getByName
(
"PreferredImplementations"
)
>>=
implementationList
)
)
{
m_aAvailableImplementations
.
push_back
(
std
::
make_pair
(
*
pCurr
,
implementationList
)
);
for
(
sal_Int32
i
=
0
;
i
<
implementationList
.
getLength
();
++
i
)
{
SAL_DEBUG
(
"available :"
<<
implementationList
[
i
]);
}
}
if
(
(
xEntryNameAccess
->
getByName
(
"AcceleratedImplementations"
)
>>=
implementationList
)
)
{
for
(
sal_Int32
i
=
0
;
i
<
implementationList
.
getLength
();
++
i
)
{
SAL_DEBUG
(
"accelerated: "
<<
implementationList
[
i
]);
}
m_aAcceleratedImplementations
.
push_back
(
std
::
make_pair
(
*
pCurr
,
implementationList
)
);
}
if
(
(
xEntryNameAccess
->
getByName
(
"AntialiasingImplementations"
)
>>=
implementationList
)
)
{
for
(
sal_Int32
i
=
0
;
i
<
implementationList
.
getLength
();
++
i
)
{
SAL_DEBUG
(
"aa implemented: "
<<
implementationList
[
i
]);
}
m_aAAImplementations
.
push_back
(
std
::
make_pair
(
*
pCurr
,
implementationList
)
);
}
}
++
pCurr
;
...
...
@@ -270,6 +294,7 @@ Reference<XInterface> CanvasFactory::use(
Reference
<
XComponentContext
>
const
&
xContext
)
const
{
try
{
SAL_DEBUG
(
"use: "
<<
serviceName
);
return
m_xContext
->
getServiceManager
()
->
createInstanceWithArgumentsAndContext
(
serviceName
,
args
,
xContext
);
}
...
...
@@ -312,6 +337,7 @@ Reference<XInterface> CanvasFactory::lookupAndUse(
Reference
<
XComponentContext
>
const
&
xContext
)
const
{
::
osl
::
MutexGuard
guard
(
m_mutex
);
SAL_DEBUG
(
serviceName
);
// forcing last entry from impl list, if config flag set
bool
bForceLastEntry
(
false
);
...
...
canvas/source/opengl/ogl_canvashelper.cxx
Dosyayı görüntüle @
7741e4c2
...
...
@@ -967,8 +967,9 @@ namespace oglcanvas
break
;
}
o_action
.
maARGBColor
=
mpDevice
->
getDeviceColorSpace
()
->
convertToARGB
(
renderState
.
DeviceColor
)[
0
];
if
(
renderState
.
DeviceColor
.
getLength
())
o_action
.
maARGBColor
=
mpDevice
->
getDeviceColorSpace
()
->
convertToARGB
(
renderState
.
DeviceColor
)[
0
];
}
void
CanvasHelper
::
flush
()
const
...
...
canvas/source/opengl/ogl_spritedevicehelper.cxx
Dosyayı görüntüle @
7741e4c2
...
...
@@ -389,6 +389,7 @@ namespace oglcanvas
uno
::
Reference
<
rendering
::
XColorSpace
>
SpriteDeviceHelper
::
getColorSpace
()
const
{
SAL_DEBUG
(
"called SpriteDeviceHelper::getColorSpace()"
);
// always the same
return
uno
::
Reference
<
rendering
::
XColorSpace
>
(
::
canvas
::
tools
::
getStdColorSpace
(),
...
...
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