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
9ec88587
Kaydet (Commit)
9ec88587
authored
Kas 25, 2014
tarafından
Jan Holesovsky
Kaydeden (comit)
Markus Mohrhard
Kas 29, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
windows opengl: We should actually use Init() from OpenGLSalGraphicsImpl.
Change-Id: I524883b0f0bbce9a8b6f893771f144feeee49934
üst
1386c348
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
11 deletions
+1
-11
gdiimpl.hxx
vcl/inc/opengl/win/gdiimpl.hxx
+0
-2
gdiimpl.cxx
vcl/opengl/win/gdiimpl.cxx
+0
-9
salgdi.cxx
vcl/win/source/gdi/salgdi.cxx
+1
-0
No files found.
vcl/inc/opengl/win/gdiimpl.hxx
Dosyayı görüntüle @
9ec88587
...
@@ -26,8 +26,6 @@ private:
...
@@ -26,8 +26,6 @@ private:
public
:
public
:
WinOpenGLSalGraphicsImpl
(
WinSalGraphics
&
rGraphics
);
WinOpenGLSalGraphicsImpl
(
WinSalGraphics
&
rGraphics
);
virtual
void
Init
()
SAL_OVERRIDE
;
protected
:
protected
:
virtual
GLfloat
GetWidth
()
const
SAL_OVERRIDE
;
virtual
GLfloat
GetWidth
()
const
SAL_OVERRIDE
;
virtual
GLfloat
GetHeight
()
const
SAL_OVERRIDE
;
virtual
GLfloat
GetHeight
()
const
SAL_OVERRIDE
;
...
...
vcl/opengl/win/gdiimpl.cxx
Dosyayı görüntüle @
9ec88587
...
@@ -18,15 +18,6 @@ WinOpenGLSalGraphicsImpl::WinOpenGLSalGraphicsImpl(WinSalGraphics& rGraphics):
...
@@ -18,15 +18,6 @@ WinOpenGLSalGraphicsImpl::WinOpenGLSalGraphicsImpl(WinSalGraphics& rGraphics):
{
{
}
}
void
WinOpenGLSalGraphicsImpl
::
Init
()
{
// FIXME - is this still needed after the recent changes?
//if (mbVirDev)
// GetOpenGLContext().requestVirtualDevice();
//GetOpenGLContext().requestSingleBufferedRendering();
//GetOpenGLContext().init(mhLocalDC, mhWnd);
}
void
WinOpenGLSalGraphicsImpl
::
copyBits
(
const
SalTwoRect
&
rPosAry
,
SalGraphics
*
pSrcGraphics
)
void
WinOpenGLSalGraphicsImpl
::
copyBits
(
const
SalTwoRect
&
rPosAry
,
SalGraphics
*
pSrcGraphics
)
{
{
OpenGLSalGraphicsImpl
*
pImpl
=
pSrcGraphics
?
static_cast
<
OpenGLSalGraphicsImpl
*
>
(
pSrcGraphics
->
GetImpl
())
:
static_cast
<
OpenGLSalGraphicsImpl
*>
(
mrParent
.
GetImpl
());
OpenGLSalGraphicsImpl
*
pImpl
=
pSrcGraphics
?
static_cast
<
OpenGLSalGraphicsImpl
*
>
(
pSrcGraphics
->
GetImpl
())
:
static_cast
<
OpenGLSalGraphicsImpl
*>
(
mrParent
.
GetImpl
());
...
...
vcl/win/source/gdi/salgdi.cxx
Dosyayı görüntüle @
9ec88587
...
@@ -482,6 +482,7 @@ void WinSalGraphics::InitGraphics()
...
@@ -482,6 +482,7 @@ void WinSalGraphics::InitGraphics()
::
SetTextAlign
(
getHDC
(),
TA_BASELINE
|
TA_LEFT
|
TA_NOUPDATECP
);
::
SetTextAlign
(
getHDC
(),
TA_BASELINE
|
TA_LEFT
|
TA_NOUPDATECP
);
::
SetBkMode
(
getHDC
(),
WIN32_TRANSPARENT
);
::
SetBkMode
(
getHDC
(),
WIN32_TRANSPARENT
);
::
SetROP2
(
getHDC
(),
R2_COPYPEN
);
::
SetROP2
(
getHDC
(),
R2_COPYPEN
);
mpImpl
->
Init
();
mpImpl
->
Init
();
}
}
...
...
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