Maciej Suminski
bc305859b2
Mainly case changes.
12 years ago
Maciej Suminski
0ac3e1fbf2
Namespace KiGfx->KIGFX.
template<> -> template <>
Some more reformatting according to uncrustify results.
12 years ago
Maciej Suminski
22045b61ea
Converted tabs to spaces. Removed trailing whitespaces.
12 years ago
tomasz.wlostowski@cern.ch
d8480e4674
gal: make the cursor a bit bigger and hidden by default
12 years ago
Maciej Suminski
9fbf45ebfc
Fixed drawing outlined track segments.
12 years ago
Maciej Suminski
782867f7b3
Caps for lines are drawn only when segments are wider than 1.0
12 years ago
Maciej Suminski
b04de0cada
Fixed memory leaks in containers.
12 years ago
Maciej Suminski
8a4417ec46
Fixed color for drawing polygons on overlay.
12 years ago
Maciej Suminski
bd8998d1da
Fixed cursor drawing for OpenGL.
12 years ago
Maciej Suminski
6fe086ab6d
Added cursor snapping.
12 years ago
Maciej Suminski
215f35e237
Added mouse cursor drawing.
Added flipping mode.
12 years ago
Maciej Suminski
89a138c09e
Added handling keyboard events for the Tool framework.
12 years ago
Maciej Suminski
43ae1cb98d
Smarter way of the overlay rendering (overlay is always refreshed, while cached&noncached targets only if the viewport or items have changed).
12 years ago
Maciej Suminski
bc69429a56
Added GetTarget() for GALs.
13 years ago
Maciej Suminski
19b344806d
Fixed the tesselator, so now it works with Windows.
13 years ago
Maciej Suminski
d34df18f2c
Fixed grid line drawing in OpenGL backend for some drivers.
13 years ago
Maciej Suminski
190ed58568
Code refactoring.
13 years ago
Maciej Suminski
790a1f8563
Made GAL backends settings more consistent. Fixed grid line width in the OpenGL backend.
13 years ago
Maciej Suminski
f9d74ccb70
Removed shaderless OpenGL backend.
13 years ago
Maciej Suminski
27113348b9
Fixed blending function for OpenGL compositing. Corrected documentation, removed unnecessary functions.
13 years ago
Maciej Suminski
618a5f0e75
OpenGL multitarget rendering (compositing).
13 years ago
Maciej Suminski
a8f4791395
Changed rendering order of cached & noncached layers.
13 years ago
Maciej Suminski
5242fff9d7
Code refactorization. VBO_CONTAINER is split to [NON]CACHED_MANAGER, GPU_MANAGER and VERTEX_MANAGER.
13 years ago
Maciej Suminski
b0c1b97ff3
Fixed stroked circles width issue with OpenGL shaders.
13 years ago
Maciej Suminski
fef47b0b67
Fixed OpenGL tracks transparency & netnames issue.
13 years ago
Maciej Suminski
20c86db71f
1 pixel wide lines using OpenGL shaders.
13 years ago
Maciej Suminski
b5aadfc3f9
Fixed segmentation fault when there was no board loaded.
13 years ago
Maciej Suminski
eb041ee2d3
Removed most of deprecated OpenGL calls. Items used to be drawn in immediate mode now are drawn using vertex arrays.
13 years ago
Maciej Suminski
408fb4f159
Removed pointers where they were not necessary.
13 years ago
Maciej Suminski
aff3787b34
Fixed drawing circles and semicircles using display lists.
13 years ago
Maciej Suminski
97f914ccb3
Fixed stroked semicircles Z coordinate in shaderless OpenGL backend.
13 years ago
Maciej Suminski
0f5aa0630a
Fixed stroke semicircles drawing using shaderless OpenGL backend.
13 years ago
Maciej Suminski
9e4fe8b410
Faster polylines drawing using OpenGL backend.
Fixed drawing of lines' caps.
13 years ago
unknown
4360860bee
Removed different styles of line caps and line joins, leaving only round caps & joins.
Fixed drawing stroked semicircles using OpenGL backend.
13 years ago
Maciej Suminski
a73216fc95
Changed std::map to boost::unordered_map for storing memory chunks and groups information.
13 years ago
Maciej Sumiński
00847a8aed
Colors are stored as unsigned bytes instead of floats.
13 years ago
Maciej Sumiński
27a6f8afd6
Shaders are built-in instead of being loaded from external files.
13 years ago
Maciej Sumiński
335bf72060
More debug information in case of failure compilation of shaders.
13 years ago
Maciej Suminski
3f1da8b2c0
Minor code cleaning.
13 years ago
Maciej Suminski
628c069a39
Faster circles & semicircles drawing for the shaderless OpenGL backend. Removed unnecessary variables and computations.
13 years ago
Maciej Suminski
332a7b4bd9
Groups are stored in map instead of deque, so it allows easier adding & removing.
13 years ago
Maciej Suminski
58de62aacc
High contrast mode with showing the selected layer on the top.
13 years ago
Maciej Suminski
db74de74f5
Added possibility to change cached layer color (for the purpose of high contrast display).
13 years ago
Maciej Suminski
fbc3d63c24
Draw the origin marker in OpenGL with shaders GAL.
13 years ago
Maciej Suminski
ef865aab68
Grid settings apply to GAL based rendering.
13 years ago
Maciej Suminski
08c54e8acf
Passing COLOR4D parameter using constant reference.
13 years ago
Maciej Suminski
145a3f20de
Changed atan2() to VECTOR2D::Angle()
13 years ago
Maciej Suminski
8552a6e29d
Fixed some minor rendering issues, mostyl for shaderless OpenGL GAL.
13 years ago
Maciej Suminski
fd6ab6003d
Bug fixes:
- VBO_CONTAINER::allocate() was returning wrong value in case of error
- framelimiter had wrong formula for computing destined period between frames
- removed _padding field from VBO_VERTEX, as it was not speeding up, but wasting memory
13 years ago
Maciej Suminski
83f5bd60c1
Moved fields containing information about currently used color, shader and transformation for vertices from VBO_ITEM to VBO_CONTAINER (OPENGL_GAL).
13 years ago