summaryrefslogtreecommitdiff
path: root/vcl/inc/openglgdiimpl.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2016-05-19 21:35:28 +0900
committerTomaž Vajngerl <quikee@gmail.com>2016-05-23 08:47:04 +0000
commitc8fc1f40ad8e20af32574e0aa73bdec51ae64e14 (patch)
tree7f617b7649e2a8e9207b579a22ed333c230a8c28 /vcl/inc/openglgdiimpl.hxx
parent6473093d4f6ee7d06905ddd71c90180fcffb0bef (diff)
opengl: use line shader for all line drawing not just polylines
Change-Id: I9c2d5c5ca4761867a0a38cb3bc3c4973454ee992 Reviewed-on: https://gerrit.libreoffice.org/25157 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/inc/openglgdiimpl.hxx')
-rw-r--r--vcl/inc/openglgdiimpl.hxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx
index 2b2109bb07c6..ee8c7e205926 100644
--- a/vcl/inc/openglgdiimpl.hxx
+++ b/vcl/inc/openglgdiimpl.hxx
@@ -114,16 +114,12 @@ public:
bool UseSolid( SalColor nColor, sal_uInt8 nTransparency );
bool UseSolid( SalColor nColor, double fTransparency );
bool UseSolid( SalColor nColor );
- bool UseSolidAA( SalColor nColor, double fTransparency );
- bool UseSolidAA( SalColor nColor );
- bool UseLine(SalColor nColor, double fTransparency, GLfloat fLineWidth);
+ bool UseLine(SalColor nColor, double fTransparency, GLfloat fLineWidth, bool bUseAA);
bool UseInvert50();
bool UseInvert(SalInvert nFlags);
void DrawPoint( long nX, long nY );
void DrawLine( double nX1, double nY1, double nX2, double nY2 );
- void DrawLineAA( double nX1, double nY1, double nX2, double nY2 );
- void DrawEdgeAA( double nX1, double nY1, double nX2, double nY2 );
void DrawConvexPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry, bool blockAA = false );
void DrawConvexPolygon( const tools::Polygon& rPolygon, bool blockAA = false );
void DrawTrapezoid( const basegfx::B2DTrapezoid& trapezoid, bool blockAA = false );