Commit graph

18 commits

Author SHA1 Message Date
the_fiddler
df6671cb4a Removed OpenTK.Math namespace. Math functions now go directly into the OpenTK namespace. 2009-06-25 11:42:05 +00:00
the_fiddler
65500986a2 Applied GL1TextOutputProvider.Clear() fix from 0.9.8 branch. 2009-06-19 13:06:39 +00:00
the_fiddler
efdaf64476 GraphicsContext.GetCurrentContext now returns an IGraphicsContext instead of a GraphicsContext.
Fixed Texture2D finalizer.
Removed GraphicsContext.[Enter|Exit]BeginRegion(). GL.Begin|End now calls IGraphicsContext.ErrorChecking = false.
2009-06-04 10:34:12 +00:00
the_fiddler
043d79e26a Mesa3d indirect reports bogus InvalidOperation error when using ListMode.CompileAndExecute (bug reported as https://bugs.freedesktop.org/show_bug.cgi?id=22014). Use ListMode.Compile as a workaround. 2009-05-31 15:48:05 +00:00
the_fiddler
b6c81ee278 Added display list cache to GL1TextOutputProvider. This change improves peak TextPrinter speed by more than 10x (1.6M glyphs per second as measured on a 1.8GHz Core 2 with a 8400M card). We still need a cache eviction strategy.
Modified ITextOutputProvider interface to pass TextBlocks by reference.
2009-05-31 10:12:41 +00:00
the_fiddler
88f1ce081f Do not render text that doesn't fit inside the clip rectangle. Fixes bug [#847]: "TextPrinter layout when width, height are zero." (http://www.opentk.com/node/847). 2009-05-30 17:58:41 +00:00
the_fiddler
2fd79b720e Added workaround for broken Mono GDI+ text offset.
Commented-out unused code.
2009-05-30 17:35:42 +00:00
the_fiddler
deadbdf6cb Merged TextPrinter optimization changes from gw-next2 branch. 2009-05-27 18:40:29 +00:00
the_fiddler
5cb476942a Fixed a large number of XML documentation warnings. 2009-05-17 15:06:26 +00:00
the_fiddler
a7ce3c0c4e Use managed Stack<Matrix4> instead of the OpenGL matrix stack, as the latter may be broken in some driver implementations (e.g. S3 graphics twister). 2009-05-11 10:32:15 +00:00
the_fiddler
466e4af8f5 Use rgba textures instead of alpha on SavagePro/Twister renderers. Workaround for bug [#833] "TextPrinter problem" (http://www.opentk.com/node/833). 2009-05-07 10:38:05 +00:00
the_fiddler
c62f510927 Reset texture matrix in GL1TextOutputProvider .Begin() and restore in GL1TextOutputProvider .End(). Fixes bug [#810] "Bad texture matrix in TextPrinter" (http://www.opentk.com/node/810)). 2009-05-05 20:13:21 +00:00
the_fiddler
74d5fc8f40 Fixed GL1.1 fallback when GL.BlendColor is not supported. 2009-02-28 22:33:30 +00:00
the_fiddler
6678fe52c3 Removed an unused Bitmap reference. 2009-02-22 12:12:16 +00:00
the_fiddler
69b17fa43f Normalize line endings and set the mime-type=text/plain and eol-style=native properties on all files. 2009-02-22 10:43:35 +00:00
the_fiddler
60d79fa297 Removed invalid space from the GdiPlusGlyphRasterizer.cs filename. 2009-02-22 09:44:10 +00:00
the_fiddler
18a6ad3247 Applied rdrake's patch:
* fixes output with TextQuality.High and a non-white current color.
* pushes/pops CurrentBit attribute when rendering text.
2009-02-14 08:12:14 +00:00
the_fiddler
db690b144f Merged text branch and updated changelog. 2009-02-13 19:09:38 +00:00