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
44b6f1cb
Kaydet (Commit)
44b6f1cb
authored
Ara 02, 2014
tarafından
Michael Meeks
Kaydeden (comit)
Jan Holesovsky
Ara 02, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl: OpenGL texture creation debug.
Change-Id: I6a21c89329d9e9396ed16ce58b184339719adab7
üst
b8a9f58c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
texture.cxx
vcl/opengl/texture.cxx
+6
-0
No files found.
vcl/opengl/texture.cxx
Dosyayı görüntüle @
44b6f1cb
...
...
@@ -41,6 +41,8 @@ ImplOpenGLTexture::ImplOpenGLTexture( int nWidth, int nHeight, bool bAllocate )
glTexImage2D
(
GL_TEXTURE_2D
,
0
,
GL_RGBA
,
nWidth
,
nHeight
,
0
,
GL_RGBA
,
GL_UNSIGNED_BYTE
,
NULL
);
glBindTexture
(
GL_TEXTURE_2D
,
0
);
SAL_INFO
(
"vcl.opengl"
,
"OpenGLTexture "
<<
mnTexture
<<
" "
<<
nWidth
<<
"x"
<<
nHeight
<<
" allocate"
);
CHECK_GL_ERROR
();
}
...
...
@@ -65,6 +67,8 @@ ImplOpenGLTexture::ImplOpenGLTexture( int nX, int nY, int nWidth, int nHeight )
CHECK_GL_ERROR
();
glBindTexture
(
GL_TEXTURE_2D
,
0
);
SAL_INFO
(
"vcl.opengl"
,
"OpenGLTexture "
<<
mnTexture
<<
" "
<<
nWidth
<<
"x"
<<
nHeight
<<
" from x"
<<
nX
<<
", y"
<<
nY
);
CHECK_GL_ERROR
();
}
...
...
@@ -87,6 +91,8 @@ ImplOpenGLTexture::ImplOpenGLTexture( int nWidth, int nHeight, int nFormat, int
glTexImage2D
(
GL_TEXTURE_2D
,
0
,
GL_RGBA
,
mnWidth
,
mnHeight
,
0
,
nFormat
,
nType
,
pData
);
glBindTexture
(
GL_TEXTURE_2D
,
0
);
SAL_INFO
(
"vcl.opengl"
,
"OpenGLTexture "
<<
mnTexture
<<
" "
<<
nWidth
<<
"x"
<<
nHeight
<<
" from data"
);
CHECK_GL_ERROR
();
}
...
...
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