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
f21d3a08
Kaydet (Commit)
f21d3a08
authored
May 26, 2015
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tdf#91426 - fix DX canvas - missed by VclPtr / Clang plugin.
Change-Id: I7969746b159051d65ea974b89ba458d0d14f466a
üst
ac633cec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
dx_9rm.cxx
canvas/source/directx/dx_9rm.cxx
+6
-7
No files found.
canvas/source/directx/dx_9rm.cxx
Dosyayı görüntüle @
f21d3a08
...
...
@@ -226,7 +226,7 @@ namespace dxcanvas
COMReference
<
IDirect3DSwapChain9
>
mpSwapChain
;
COMReference
<
IDirect3DVertexBuffer9
>
mpVertexBuffer
;
::
canvas
::
ISurfaceSharedPtr
mpTexture
;
::
boost
::
scoped_ptr
<
SystemChildWindow
>
mpWindow
;
VclPtr
<
SystemChildWindow
>
mpWindow
;
::
basegfx
::
B2IVector
maSize
;
typedef
std
::
vector
<
canvas
::
Vertex
>
vertexCache_t
;
vertexCache_t
maVertexCache
;
...
...
@@ -645,7 +645,7 @@ namespace dxcanvas
return
;
mpTexture
.
reset
();
mpWindow
.
reset
();
mpWindow
.
disposeAndClear
();
mhWnd
=
NULL
;
// refrain from releasing the DX9 objects. We're the only
...
...
@@ -663,12 +663,11 @@ namespace dxcanvas
// TODO(P2): get rid of those fine-grained locking
::
osl
::
MutexGuard
aGuard
(
maMutex
);
maVertexCache
.
reserve
(
1024
);
maVertexCache
.
reserve
(
1024
);
mpWindow
.
reset
(
VclPtr
<
SystemChildWindow
>::
Create
(
const_cast
<
vcl
::
Window
*>
(
&
rWindow
),
0
)
);
mpWindow
.
disposeAndClear
();
mpWindow
.
reset
(
VclPtr
<
SystemChildWindow
>::
Create
(
const_cast
<
vcl
::
Window
*>
(
&
rWindow
),
0
)
);
// system child window must not receive mouse events
mpWindow
->
SetMouseTransparent
(
TRUE
);
...
...
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