Commit Graph

48 Commits

Author SHA1 Message Date
Konstantin Käfer
f848868c16 fix texture binding 2014-05-19 14:18:29 +02:00
Konstantin Käfer
13575330f7 use sprite atlas 2014-05-19 10:48:36 +02:00
Konstantin Käfer
24bd0bb667 include header 2014-05-19 10:48:36 +02:00
Konstantin Käfer
27f8ed29e4 encode icon texture coordinate in buffer so we can render all pois with 1 draw call 2014-05-19 10:48:36 +02:00
Konstantin Käfer
fda64b67af rename point => icon 2014-05-15 14:51:02 +02:00
Konstantin Käfer
85f0d9392b do not use shared pointers for buffers 2014-03-25 13:41:20 +01:00
Konstantin Käfer
ea6b24d02d add text rendering code 2014-03-21 17:36:29 +01:00
Konstantin Käfer
4ee0cf1791 port remainder of the the placement algorithm 2014-03-19 18:58:50 +01:00
Konstantin Käfer
98bb797a4a explicit names 2014-03-18 17:57:51 +01:00
Konstantin Käfer
88af0b8b6c add interpolate function 2014-03-17 13:00:44 +01:00
Konstantin Käfer
be44b6b31f add glyph atlas to map 2014-03-14 11:36:10 +01:00
Konstantin Käfer
117078270d add text buffer code 2014-03-14 11:36:10 +01:00
Konstantin Käfer
9f1a53743a fix binpack compile 2014-03-14 11:36:10 +01:00
Konstantin Käfer
8171c7bb43 add empty classes for rendering glyphs 2014-03-14 11:36:10 +01:00
Konstantin Käfer
f0b821dff9 add glyph atlas class 2014-03-14 11:36:09 +01:00
Konstantin Käfer
3718721689 only use vertex array objects if they are supported 2014-03-05 16:44:35 +01:00
Konstantin Käfer
4e73a4d47c Merge branch 'master' into tessellation
Conflicts:
	include/llmr/renderer/fill_bucket.hpp
	src/renderer/fill_bucket.cpp
	src/renderer/painter.cpp
2014-02-28 12:25:45 +01:00
Konstantin Käfer
32da0768b7 add missing include for size_t 2014-02-21 13:12:31 +01:00
Konstantin Käfer
e382cab17d make implicit type conversions explicit 2014-02-21 13:08:13 +01:00
Konstantin Käfer
ea80daa129 allow switching the vao if we switch the style from plain color to pattern fill 2014-02-18 15:56:23 +01:00
Justin R. Miller
828d8ba26f refs #60: first cut of POI rendering
* add basic marker style to stylesheet
 * pass through marker style to PBF conversion
 * marker/point tile parsing, bucket, buffer, shaders, etc.
 * new sprite hosting for 1x/2x variants
 * sprite load accepts screen scale argument
2014-02-14 18:13:12 -08:00
Konstantin Käfer
51f526dd6a remove addDegenerate() 2014-02-13 16:36:30 +01:00
Konstantin Käfer
f5846e1ebb change line_strip drawing for outlines to indexed lines 2014-02-13 15:32:25 +01:00
Konstantin Käfer
662a61a396 split line vertices into multiple buffer groups if elements overflow 2014-02-11 17:34:46 +01:00
Konstantin Käfer
eb8e5fcf15 move group struct to shared file 2014-02-11 16:00:40 +01:00
Konstantin Käfer
bec0ad10c4 drawing lines with triangles 2014-02-11 15:51:54 +01:00
Konstantin Käfer
eb9a6b7068 add more docs 2014-02-10 15:20:46 +01:00
Konstantin Käfer
4c6dc54352 add missing buffer.hpp 2014-02-10 15:18:24 +01:00
Konstantin Käfer
f4996046a2 common buffer implementation 2014-02-10 15:14:52 +01:00
artemp
7d271cca02 c++
* store commands in uint8_t
2014-02-06 12:23:07 +00:00
artemp
2d3abf36b1 c++
* prefer prefix increment operator unless logically necessary
  (it doesn't make any diff foro built-in type but good practice)
2014-02-06 10:50:31 +00:00
artemp
a8fef83564 c++
* use nullptr instead of NULL
2014-02-06 10:39:10 +00:00
artemp
d6654ccaed c++
* fix typedef's
* fix virtual dtor's
* make ctor's with one argument explicit
* util::noncopyable utility class  ( class my_object : private noncopyable {} )
* update kTileURL
2014-02-06 10:33:46 +00:00
Konstantin Käfer
cf31a80920 textured fills & enforce vao program with templates 2014-02-05 19:03:44 +01:00
Konstantin Käfer
eabd99d8f6 always pass the parameters and verify that they're correct 2014-02-05 18:46:23 +01:00
Konstantin Käfer
e30d8eb48f move to vertex array objects 2014-02-05 18:06:16 +01:00
Konstantin Käfer
66e62eb4c8 fix emplace_back 2014-02-04 16:19:32 +01:00
Konstantin Käfer
d7246099c6 add binpack class
refs #4
2014-02-04 14:53:06 +01:00
Dane Springmeyer
f1e74215fd compile fixes on ubuntu precise/g++-4.8 - refs #27 2014-02-03 21:57:46 +00:00
Konstantin Käfer
2b59dfae63 move static global buffers to RAII 2014-01-29 15:31:22 +01:00
Konstantin Käfer
edf2a532af add LineBuffer and change DebugFontBuffer naming 2014-01-28 11:47:21 +01:00
Konstantin Käfer
50021b730c move to layer system 2014-01-23 14:20:22 +01:00
Konstantin Käfer
0f74a4bc90 fill drawing 2014-01-22 16:43:05 +01:00
Konstantin Käfer
c59f62274d move geometry reader to header file 2014-01-17 16:53:37 +01:00
Konstantin Käfer
96dacecd6e show tile numbers 2014-01-16 16:28:07 +01:00
Konstantin Käfer
60a8fdca57 fix runtime errors 2014-01-14 16:29:20 +01:00
Konstantin Käfer
528eaf475e emscripten support 2014-01-07 16:52:23 +01:00
Konstantin Käfer
44b43fe5a6 glfw version of sample app 2014-01-07 12:10:14 +01:00