Skip to content

Commit 4e49538

Browse files
author
Michael Zangl
committed
2 parents f6eab9a + fa2dcb2 commit 4e49538

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ This is a josm plugin that replaces the default, Java2D map view with a version
44

55
## Installing
66

7-
There is no pre-build JAR file yet.
7+
See [Releases](https://github.com/michaelzangl/josm-plugin-opengl/releases)
88

99
## Compiling
1010

1111
For this plugin, you need a special version of JOSM and of GLG2D. For the ease of compiling, GLG2D is just added to the plugin by a symbilic link, so you need Linux to compile this.
1212

1313
Check out those repositories in the same directory:
1414
* https://github.com/michaelzangl/josm-plugin-opengl
15-
* https://github.com/michaelzangl/josm (JOSM with changes for this plugin).
15+
* https://github.com/openstreetmap/josm (JOSM with changes for this plugin).
1616
* https://github.com/michaelzangl/glg2d (Bug fixes for GLG2D)
1717

1818
Then run:
@@ -22,3 +22,13 @@ Then run:
2222
## Developing
2323

2424
I use eclipse for developing. Simply add josm and josm-plugin-opengl as eclipse projects.
25+
26+
All classes have Javadocs. Those are the most important entry points to get started:
27+
* OpenGLViewPlugin is the main entry point for the plugin.
28+
* MapPanel is the OpenGL-replacement of the MapView
29+
* LayerDrawManager does the layer drawing and replaces MapView#paint()
30+
* StyleGenerationManager generates the styles and geometries for the current frame and - in a background thread - for future frames.
31+
* StyleGeometryCache stores the geometries generated and handles invalidation.
32+
* MergeGroup contains an explonation of the way geometries are stored.
33+
* RecordingGraphics2D is our Graphics2D instance that records all draw calls and stores them for later use.
34+
* the SimpeBuferPool pools our vertex buffers to avoid many allocate()-calls.

0 commit comments

Comments
 (0)