mirror of
https://github.com/fadden/6502bench.git
synced 2024-11-29 10:50:28 +00:00
1da98d8628
Generation of HTML is extremely fast, but compressing thousands of frames for wireframe animated GIFs can take a little while. Sharing bitmaps between threads required two changes: (1) bitmaps need to be "frozen" after being drawn; (2) you can't use Path because BackgroundWorker isn't a STAThread. You can, however, use a DrawingVisual / DrawingContext to do the rendering. Which is really what I should have been doing all along; I just didn't know the approach existed until I was forced to go looking for it. Also, we now do a "run finalizers" call before generating an animated GIF. Without it things explode after more than 10K GDI objects have been allocated. |
||
---|---|---|
.. | ||
AsmGen | ||
Examples | ||
Properties | ||
Res | ||
RuntimeData | ||
Sandbox | ||
SGTestData | ||
Tests | ||
Tools | ||
WpfGui | ||
Anattrib.cs | ||
App.config | ||
App.xaml | ||
App.xaml.cs | ||
AppSettings.cs | ||
AutoLabel.cs | ||
ChangeSet.cs | ||
CodeAnalysis.cs | ||
DataAnalysis.cs | ||
DefSymbol.cs | ||
DisasmProject.cs | ||
DisplayList.cs | ||
DisplayListSelection.cs | ||
Exporter.cs | ||
ExternalFile.cs | ||
FormatDescriptor.cs | ||
FormattedOperandCache.cs | ||
HelpAccess.cs | ||
LineListGen.cs | ||
LocalVariableLookup.cs | ||
LocalVariableTable.cs | ||
MainController.cs | ||
MessageList.cs | ||
MultiLineComment.cs | ||
NavStack.cs | ||
PlatformSymbols.cs | ||
ProjectFile.cs | ||
ProjectProperties.cs | ||
PseudoOp.cs | ||
RuntimeDataAccess.cs | ||
SourceGen.csproj | ||
Symbol.cs | ||
SymbolTable.cs | ||
SystemDefaults.cs | ||
SystemDefs.cs | ||
UndoableChange.cs | ||
VisBitmapAnimation.cs | ||
Visualization.cs | ||
VisualizationSet.cs | ||
VisWireframeAnimation.cs | ||
WeakSymbolRef.cs | ||
WireframeObject.cs | ||
XrefSet.cs |