path: root/vcl/inc/opengl
diff options
authorJan Holesovsky <>2014-11-13 23:53:34 +0100
committerJan Holesovsky <>2014-11-14 00:07:49 +0100
commit19ad91f7bc7ca96c55e0ca3450608f616f87c4ed (patch)
tree834b12da4c292940f7148e80d679647ed4959e9c /vcl/inc/opengl
parent966fc1f2ab7c8c59ceac8b77c6feaa33f6e8ee02 (diff)
windows opengl: Proof-of-concept text rendering.
We don't have a method that would paint a texture with transparency yet. We also need to limit the size of the DIBSection exactly to what we are going to paint, no point in creating a huge bitmap that is mostly empty (but the part where is the text being drawn). Change-Id: Ice0bf325743d08e19e636be73cef6aff3cde5704
Diffstat (limited to 'vcl/inc/opengl')
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/opengl/win/gdiimpl.hxx b/vcl/inc/opengl/win/gdiimpl.hxx
index aa29dd9bb75c..085be79bcef2 100644
--- a/vcl/inc/opengl/win/gdiimpl.hxx
+++ b/vcl/inc/opengl/win/gdiimpl.hxx
@@ -17,6 +17,7 @@
class WinOpenGLSalGraphicsImpl : public OpenGLSalGraphicsImpl
+ friend class WinLayout;
WinSalGraphics& mrParent;