Leith Bade
f20a17a291
Merge pull request #748 from mapbox/fix-swap
...
Correctly handle swapping
2015-01-13 09:23:28 +11:00
Leith Bade
f05a530529
Correctly handle swapping. Fixes #666
2015-01-12 13:50:00 +11:00
Leith Bade
6aee86d5ff
Correctly call resize with width and height. Fixes #746
2015-01-12 13:30:40 +11:00
John Firebaugh
c32f7dfa88
Merge branch 'master' into shader-performance
2015-01-07 15:15:11 -08:00
Leith Bade
0771e50460
Rename View functions to match conventions. Also tidy up view classes and remove C style casts. Closes #656
2014-12-23 09:29:45 +13:00
Leith Bade
15b47197a7
Use iostream for saving GL program binary. Also check for GL_NUM_PROGRAM_BINARY_FORMATS > 0.
2014-12-20 15:08:06 +13:00
John Firebaugh
4a2cf4aa62
Merge pull request #718 from mapbox/cli-render
...
CLI render
2014-12-18 18:00:33 -08:00
Konstantin Käfer
abcf978174
change comment and cache value
2014-12-17 15:01:15 +01:00
Konstantin Käfer
b5e9998b15
change file:// to asset:// to indicate that they aren't arbitrary files
...
refs #579
2014-12-17 14:59:05 +01:00
Konstantin Käfer
936e096514
Make file request overridable by platform implementations
...
refs #579 : Android can now rename AssetRequest to FileRequest and implement it differently
2014-12-17 12:14:32 +01:00
Konstantin Käfer
40a5bcd7d3
never create core profile contexts; their API is subtly different
...
(e.g. glGetString(GL_EXTENSIONS) doesn't work, you'd have to use glGetStringi(GL_EXTENSIONS, ...);)
2014-12-16 11:10:41 +00:00
Konstantin Käfer
9082a83d6a
don't assing nullptr to std::string
2014-12-16 11:42:58 +01:00
Konstantin Käfer
abf702046b
use correct enum
2014-12-12 12:37:55 +01:00
Konstantin Käfer
93d56294cf
update error reporting function
2014-12-10 13:21:08 +01:00
Leith Bade
0808485453
Use CHECK_ERROR on every GL call
2014-12-10 21:57:34 +11:00
Konstantin Käfer
5ccc988ff7
fix typo
2014-12-09 14:55:32 +01:00
Leith Bade
d2792e2987
Tidy up HeadlessView
2014-12-09 21:47:30 +11:00
Konstantin Käfer
e11c073e51
report version number in user agent string
...
refs #628
2014-12-08 16:21:15 +01:00
Konstantin Käfer
1f91be988b
add user agent header
...
fixes #628
2014-12-08 11:04:08 +01:00
Leith Bade
6df4e4a52c
Load program binary extension on Linux
2014-12-06 14:21:08 +11:00
John Firebaugh
0a942b6f14
Change Map::stop to use std::function<void()>
...
Fixes #685
2014-12-04 15:58:04 -08:00
John Firebaugh
9aff2c386c
Remove invalid map->terminate()
...
Map has already been destroyed by this point, so the
call is invalid. The work that terminate() would do
has already been done.
2014-12-04 14:31:29 -08:00
Konstantin Käfer
abafb52f37
make most headers private
2014-12-04 20:02:50 +01:00
Konstantin Käfer
bff6aeb4da
switch to plain file streams rather than JSON
2014-12-04 20:00:41 +01:00
Konstantin Käfer
b449b22abc
remove use of std::to_string in favor of boost::lexical_cast
...
std::to_string calls sprintf() internally, which is really slow
2014-12-04 12:59:09 +01:00
John Firebaugh
57249ca32c
Prefer stdlib to libuv ( fixes #688 )
2014-12-03 17:38:10 -08:00
John Firebaugh
10ebcbca93
Remove unused
2014-12-03 13:42:02 -08:00
Mike Morris
dac76a0f92
break out FileSource as an abstract class
...
add CachingHTTPFileSource implementation
2014-12-03 12:25:11 -05:00
Konstantin Käfer
dbdc64592c
don't set the window title on every frame
...
this is a significant performance penalty, at least on OS X, and drops our frame rate below 60fps on even simple scenes. instead of showing the position of the map in the window, we should display it elsewhere
2014-12-03 11:59:39 +01:00
Konstantin Käfer
82f3574d09
add array overloads to make_unique and move it to mbgl::util from std
2014-12-03 11:27:24 +01:00
Leith Bade
42966004f3
Merge pull request #670 from mapbox/gl-debug
...
Use GL debug callbacks
2014-12-02 19:02:16 +11:00
Mike Morris
7e7b85e132
fix memcpy includes/namespace
2014-12-01 13:49:47 -08:00
Mike Morris
0fd7f26533
move pixel flip from headless test into HeadlessView::readPixels
2014-12-01 16:36:11 -05:00
Leith Bade
2800f36142
Add debug markers and labels
2014-12-02 03:24:42 +11:00
Leith Bade
66349e33ab
Add GL_ARB_debug_output
2014-12-02 03:09:09 +11:00
Leith Bade
6998c6ecb9
Load KHR_debug on Linux
2014-12-02 00:44:08 +11:00
Leith Bade
c8552e1b28
Fix VAOs on Linux
2014-12-02 00:05:45 +11:00
artemp
2586cfb9e3
use ``const var&`` notation in public interface
2014-11-27 18:11:18 +01:00
artemp
8f3d2d4a45
Merge branch 'master' into nunicode
2014-11-27 11:43:13 +01:00
artemp
84551d9349
convert image_reader public interface to use CamelCase to match the rest of codebase
2014-11-26 17:50:12 +01:00
artemp
4af232dcf3
image_readers: premultiply alpha
2014-11-21 11:28:56 +01:00
artemp
f89c9753dd
image-readers: move concrete implementations headers into platform/default
2014-11-19 16:56:53 +01:00
artemp
813586d1d4
move std.hpp include into image_reader.hpp (g++)
2014-11-19 16:49:26 +01:00
artemp
04cea00d5d
return unique_ptr from get_image_reader
2014-11-19 16:31:16 +01:00
artemp
f7e813238d
ensure all exceptions are caught in Image ctor
2014-11-19 16:17:52 +01:00
artemp
759a5e65cf
simplify image_readers creation implementation
...
* remove static callbacks registration
* link png_reader/jpeg_reader into mbgl-linux lib
2014-11-19 13:06:47 +01:00
artemp
b9ebe16224
correct _nu_tolower/_nu_toupper usage
2014-11-17 18:15:48 +01:00
artemp
08357cfcf8
image-readers: only register readers that are used
...
create_png_reader(char const* data, size_t size)
create_jpeg_reader(char const* data, size_t size)
2014-11-17 12:21:58 +01:00
artemp
9051ae17cf
fix png_reader
2014-11-17 11:40:27 +01:00
artemp
66d64c7c12
use nunicode conditional case mapping (lowercase)
2014-11-17 11:22:47 +01:00