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
|
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 |
James Gregory
|
0c8f7dd608
|
Enable texture caching with emscripten.
|
2013-05-06 21:23:06 -07:00 |
James Gregory
|
235b80e7f8
|
Get CCGrid to work.
|
2013-05-06 21:22:34 -07:00 |
James Gregory
|
7a3875b99d
|
Point Emscripten root to be the external referenced by the tree.
|
2013-05-06 21:17:22 -07:00 |
James Gregory
|
2b8efda0f4
|
Use floats instead of doubles for Chipmunk.
|
2013-05-06 21:17:22 -07:00 |
James Gregory
|
de9df010c3
|
Enable texture cache on Emscripten. Not sure yet if this is the best balance, since we're both short on memory *and* compute time.
|
2013-05-06 21:17:22 -07:00 |
James Gregory
|
062a5eefd8
|
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:13:21 -07:00 |
James Gregory
|
6c828bbe4f
|
Switch to using GL_DYNAMIC_DRAW.
|
2013-05-06 21:13:21 -07:00 |
James Gregory
|
809b77d632
|
Get CCGrid to work.
|
2013-05-06 21:08:28 -07:00 |
James Gregory
|
4fb6b406ce
|
Add libtiff to Emscripten builds, plus some build flags.
|
2013-05-06 21:00:39 -07:00 |
James Gregory
|
735280572a
|
Add libtiff build -- build with straight emconfigure, emmake, with a troublesome assert removed (assert(sizeof(uint64) == 8)).
|
2013-05-06 21:00:39 -07:00 |
James Gregory
|
82c6f68593
|
Set orientation to 0 for Emscripten, thus avoiding a segfault.
|
2013-05-06 21:00:38 -07:00 |
James Gregory
|
4d4b638531
|
Switch to O1 for now.
|
2013-05-06 21:00:38 -07:00 |
James Gregory
|
d529287cfa
|
Remove LOG prefixes from emscripten makefiles
|
2013-05-06 21:00:38 -07:00 |
James Gregory
|
3829a5741b
|
Fix the ordering of vertex attributes for CCProgressTimer.
|
2013-05-06 21:00:38 -07:00 |
James Gregory
|
130647d97f
|
Implement primitive drawing methods for Emscripten
|
2013-05-06 21:00:38 -07:00 |
James Gregory
|
16e9598a54
|
Enable -O2 optimization now that Emscripten seems to succeed.
|
2013-05-06 20:59:50 -07:00 |
James Gregory
|
5b8494199e
|
Rebuild libfreetype without references to my home dir in it.
|
2013-05-06 20:59:50 -07:00 |
James Gregory
|
3077190e29
|
Add note on origin of libxml binary.
|
2013-05-06 20:59:49 -07:00 |
James Gregory
|
81ded66016
|
Don't set animation interval on emscripten builds since that is driven by the request frame API.
|
2013-05-06 20:59:49 -07:00 |
James Gregory
|
9d775d136b
|
Add libxml2 build for Emscripten.
|
2013-05-06 20:59:49 -07:00 |
James Gregory
|
e3dc808a7c
|
Remove redundant -l flags from emscripten build -- it doesn't have fontconfig, and GL stuff is linked in automatically.
|
2013-05-06 20:59:48 -07:00 |
James Gregory
|
5bac7b52ac
|
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 20:59:48 -07:00 |
James Gregory
|
a9c8d99a4c
|
Switch to using GL_DYNAMIC_DRAW.
|
2013-05-06 20:59:48 -07:00 |
James Gregory
|
872df86f84
|
Remove debug print statement
|
2013-05-06 20:59:48 -07:00 |
James Gregory
|
3546534a66
|
Switch makefile over to using Emscripten headers for freetype.
|
2013-05-06 20:59:48 -07:00 |
James Gregory
|
8a9586fd9d
|
More client side buffer fixes.
|
2013-05-06 20:59:48 -07:00 |
James Gregory
|
91ea64db09
|
More client side buffer fixes.
|
2013-05-06 20:59:48 -07:00 |
James Gregory
|
9352b8b359
|
More client side buffer fixes.
|
2013-05-06 20:59:48 -07:00 |
James Gregory
|
f35e32d158
|
Add warning messages if any of the raw primitive drawing methods are used (they seem not to be, in pratice).
|
2013-05-06 20:59:48 -07:00 |
James Gregory
|
5295202081
|
Add freetype2 headers that match the .a we're using.
|
2013-05-06 20:59:47 -07:00 |
James Gregory
|
d52aa420e8
|
Switch to slot-based GL buffer loading code for CCSprite.
|
2013-05-06 20:59:47 -07:00 |
James Gregory
|
87daf9d3eb
|
Add missing Makefile reference to file utils for Emscripten.
|
2013-05-06 20:59:47 -07:00 |
James Gregory
|
764dffc822
|
Increase heap size for Emscripten binaries, add in missing linkages.
|
2013-05-06 20:59:47 -07:00 |
James Gregory
|
5138fb66fd
|
Add pre-build dependencies for Emscripten libpng, libz.
|
2013-05-06 20:59:47 -07:00 |
James Gregory
|
7d563a818a
|
Hack: use 800x500 resolution for window for emscripten so that mouse roughly lines up.
|
2013-05-06 20:59:47 -07:00 |
James Gregory
|
19c6a50d50
|
Enable texture caching with emscripten.
|
2013-05-06 20:59:46 -07:00 |
James Gregory
|
a1c628f80a
|
Fix Motion streak client side buffers
|
2013-05-06 20:58:46 -07:00 |
James Gregory
|
edcd0f12e4
|
Add platform files for Emscripten.
|
2013-05-06 20:58:46 -07:00 |
James Gregory
|
9500448f87
|
Get CCGrid to work.
|
2013-05-06 20:58:46 -07:00 |
James Gregory
|
089a47d937
|
Add method to CCNode class to allow uploading data to GPU. Call it from CCSprite.
|
2013-05-06 20:58:45 -07:00 |
James Gregory
|
aa2739a109
|
Update build process for HelloCpp to build .js and .data files separately, pulling both in from index.html
|
2013-05-06 20:58:45 -07:00 |
James Gregory
|
77e9f4902e
|
Build fixes for emscripten, add linkage to libfreetype.a
|
2013-05-06 20:58:45 -07:00 |
James Gregory
|
1d307d676d
|
Remove freetype source and add libfreetype.a as built by the Emscripten test-suite.
Revert "Add freetype 2.4.11 to repo"
This reverts commit 418906d2612b59ead6826d8395b69168bdff0ca4.
|
2013-05-06 20:58:45 -07:00 |
James Gregory
|
955ba1bfd3
|
ifdef tango around some symbols that aren't defined in Emscripten (nor a bunch of other platforms, it seems).
|
2013-05-06 20:58:43 -07:00 |
James Gregory
|
4f56f93269
|
Add #defines for Emscripten platform
|
2013-05-06 20:58:43 -07:00 |
James Gregory
|
c45e5797cf
|
Add Makefiles for Emscripten + Emscripten external
|
2013-05-06 20:58:02 -07:00 |