James Gregory
|
5e3ce3e7a1
|
Update to latest Emscripten incoming, including an SDL fix this branch depends on.
|
2013-05-16 17:53:34 -07:00 |
James Gregory
|
95b5ce2e56
|
Remove freetype since it now works using Emscripten's SDL.
|
2013-05-16 17:34:33 -07:00 |
James Gregory
|
d1922b6086
|
Add experimental (and currently disabled) code for using SDL to load texture data. If I can iron out the kinks, it should be a lot faster.
|
2013-05-15 20:22:43 -07:00 |
James Gregory
|
bdbab7f5cf
|
TTF rendering via SDL now seems to basically work. Not perfect yet, but seems to be about 3X faster on Chrome.
|
2013-05-15 20:21:30 -07:00 |
James Gregory
|
82f1a8e8ff
|
Re-enable mouse-handling.
|
2013-05-15 20:21:02 -07:00 |
James Gregory
|
ab2d94c040
|
First pass at using SDL to render fonts instead of FreeType.
|
2013-05-14 21:38:56 -07:00 |
James Gregory
|
420f2cba68
|
Ignore ctags file.
|
2013-05-14 15:39:11 -07:00 |
James Gregory
|
0daa3adfd6
|
Emscripten changed ABI for .a files. Rebuild all deps, updating to current version. Switch Emscripten to incoming branch as it's not working on master right now. Added simple script for rebuilding deps in case it becomes necessary again. Switch builds to always use -g flag, per Emscripten's warnings. Undefine native client defines so that it builds (Emscripten switched to NaCl alignment, macro got defined as a side-effect).
|
2013-05-14 15:26:48 -07:00 |
James Gregory
|
de1a6340da
|
Add my hacky script to rebuild dependencies, in case this is needed again in the future.
|
2013-05-14 15:14:54 -07:00 |
James Gregory
|
7f03838639
|
Use asm.js by default.
|
2013-05-08 14:59:48 -07:00 |
James Gregory
|
25bded7faf
|
Now validates as asm.js: Disable HttpClient, pthread_cond_signal and eglReleaseThread in Emscripten.
|
2013-05-07 17:25:39 -07:00 |
James Gregory
|
a33e2965af
|
Add libwebp linkage (needed for asm.js validation)
|
2013-05-07 17:24:24 -07:00 |
James Gregory
|
0630e15475
|
Merge remote-tracking branch 'origin/master' into emscriptenate
|
2013-05-06 23:56:16 -07:00 |
James Chen
|
fe5cae77e8
|
Update AUTHORS
|
2013-05-07 14:55:27 +08:00 |
minggo
|
d58f21dc76
|
Merge pull request #2521 from minggo/emscriptenate
fix conflict of #2050
|
2013-05-06 23:51:38 -07:00 |
James Chen
|
a9aafdafac
|
Merge pull request #2490 from coolengineer/pull-request-httpclient
fixed #2119: Introduce HttpResponse callback selector type to resolve #2365, fixed version ;-)
|
2013-05-06 23:44:20 -07:00 |
James Chen
|
eb936b0feb
|
Merge pull request #2522 from dumganhar/fix-building-error
Fix compilation errors for linux port.
|
2013-05-06 23:39:18 -07:00 |
James Chen
|
2418e72a0e
|
Fix compilation errors for linux port.
|
2013-05-07 14:36:01 +08:00 |
minggo
|
1166a02e13
|
resolve conflict for #2505
|
2013-05-07 14:31:00 +08:00 |
minggo
|
90b8dfd383
|
Merge pull request #2504 from wagaf-d/ccpchanges
Move ccpX functions to CCPoint methods and operators
|
2013-05-06 23:22:21 -07:00 |
minggo
|
ea5d7bc5ad
|
Merge pull request #2361 from tiantian20007/dictStuff
Implement CCDictionary::writeToFile();
|
2013-05-06 23:17:11 -07:00 |
James Chen
|
ff610eea2f
|
Update AUTHORS
|
2013-05-07 14:08:13 +08:00 |
James Chen
|
eaad4f52af
|
Merge pull request #2495 from ptekchand/master
fixed #2116: Support negative node scales of CCScrollView.
|
2013-05-06 23:06:54 -07:00 |
James Gregory
|
c7ac6b9d01
|
Add libjpeg linkage.
|
2013-05-06 22:28:13 -07:00 |
James Chen
|
47cff27ecd
|
Merge pull request #2519 from dumganhar/iss2106-js-bytecode
fixed #2106: Fixing wrong display of non-ascii characters. The compiler needs to setUTF8 for compile option.
|
2013-05-06 22:09:27 -07:00 |
James Chen
|
800952a17a
|
fixed #2106: Fixing wrong display of non-ascii characters. The compiler needs to setUTF8 for compile option.
|
2013-05-07 13:07:40 +08:00 |
Adrien Béraud
|
16d2b5a957
|
Assert that the user does not divide by 0 in CCPoint and CCSize
|
2013-05-07 14:58:43 +10:00 |
James Gregory
|
adbc3f7552
|
Add note about Emscripten support to README
|
2013-05-06 21:41:28 -07:00 |
Adrien Béraud
|
ca4c2edc29
|
Clarify CCPoint::rotate & unrotate documentation
|
2013-05-07 14:36:17 +10:00 |
James Gregory
|
14deb7160e
|
Merge branch 'emscriptenate' of github.com:j4m3z0r/cocos2d-x into emscriptenate
Conflicts:
AUTHORS
|
2013-05-06 21:32:46 -07:00 |
James Gregory
|
ce2d97c848
|
Simplify Emscripten makefile a little.
|
2013-05-06 21:30:03 -07:00 |
James Gregory
|
0a4c4b13ef
|
Merge fix
|
2013-05-06 21:30:03 -07:00 |
James Gregory
|
a285117aca
|
Disable unsafe GL opts, enable -O2
|
2013-05-06 21:29:45 -07:00 |
James Gregory
|
d68d0e6d78
|
Add myself to authors so folks know who to blame :)
|
2013-05-06 21:29:44 -07:00 |
James Gregory
|
66acd358fc
|
Remove lua samples from emscripten makefile
|
2013-05-06 21:29:44 -07:00 |
James Gregory
|
fc7a9da304
|
Move to a separate Makefile for Emscripten.
|
2013-05-06 21:29:44 -07:00 |
James Gregory
|
7b04e6b0e7
|
Implement primitive drawing methods for Emscripten
|
2013-05-06 21:29:44 -07:00 |
James Gregory
|
92e4c76f20
|
Move GL server-side buffer code into a separate class and use multiple inheritance to deploy only to classes that need it.
|
2013-05-06 21:29:44 -07:00 |
James Gregory
|
fa77e6ede2
|
Switch to using GL_DYNAMIC_DRAW.
|
2013-05-06 21:29:44 -07:00 |
James Gregory
|
29cfe512a3
|
Remove debug print statement
|
2013-05-06 21:29:44 -07:00 |
James Gregory
|
41b5cfebb6
|
Add warning messages if any of the raw primitive drawing methods are used (they seem not to be, in pratice).
|
2013-05-06 21:29:43 -07:00 |
James Gregory
|
5be2da896a
|
Add resources to TestCpp makefile
|
2013-05-06 21:29:43 -07:00 |
James Gregory
|
36fc2ecf99
|
Get CCGrid to work.
|
2013-05-06 21:29:43 -07:00 |
James Gregory
|
f386272486
|
Add method to CCNode class to allow uploading data to GPU. Call it from CCSprite.
|
2013-05-06 21:29:43 -07:00 |
James Gregory
|
568562fac9
|
Update build process for HelloCpp to build .js and .data files separately, pulling both in from index.html
|
2013-05-06 21:29:43 -07:00 |
James Gregory
|
b4e193fbbb
|
Revert "Add freetype 2.4.11 to repo"
This reverts commit 418906d2612b59ead6826d8395b69168bdff0ca4.
|
2013-05-06 21:29:43 -07:00 |
James Gregory
|
4255066ad2
|
Add freetype 2.4.11 to repo
|
2013-05-06 21:29:42 -07:00 |
James Gregory
|
c1ed7504fe
|
Add myself to authors so folks know who to blame :)
|
2013-05-06 21:29:41 -07:00 |
James Gregory
|
9ae67ff78a
|
Move GL server-side buffer code into a separate class and use multiple inheritance to deploy only to classes that need it.
|
2013-05-06 21:25:47 -07:00 |
James Gregory
|
ff1e0aefa0
|
Switch to using GL_DYNAMIC_DRAW.
|
2013-05-06 21:25:47 -07:00 |