aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-07-12Merge pull request #380 from linghuye/masterAlon Zakai
2012-07-12treat pixels of 0 as null in texImage2DAlon Zakai
2012-07-11Merge pull request #508 from nandhp/masterAlon Zakai
Fix SDL_MapRGB and implement SDL_MapRGBA.
2012-07-11Fix SDL_MapRGB and implement SDL_MapRGBA.nandhp
Also provide a test case.
2012-07-09llvm umul|add intrinsicsAlon Zakai
2012-07-09Add llvm_uadd_with_overflow_i8 functionAleksander Guryanov
2012-07-08fix for getFastValue with subtracting a negativeAlon Zakai
2012-07-07refactor tex[Sub]Image2DAlon Zakai
2012-07-07support for float texturesAlon Zakai
2012-07-07make glut set the global context properly so webgl extensions are initializedAlon Zakai
2012-07-05bind attribute 0 to position in auto-generated shadersAlon Zakai
2012-07-05bind attribute 0 to user-defined programs when it is freeAlon Zakai
2012-07-05export Browser.pauseMainLoop|resumeMainLoopAlon Zakai
2012-07-04remove unneeded byte padding in global allocations of individual number typesAlon Zakai
2012-07-04fix a bug with allocate not being told the right number of bytes with single ↵Alon Zakai
double values, and fix one extra byte being needlessly allocated while we are at it
2012-07-04fallbacks for lack of printErrAlon Zakai
2012-07-03support non-GL_UNSIGNED_BYTE in glTexSubImage2D as wellAlon Zakai
2012-07-03support non-GL_UNSIGNED_BYTE texture pixel stylesAlon Zakai
2012-06-29export Browser.requestAnimationFrame since it is useful for general code as wellAlon Zakai
2012-06-27preparatory work for anisotropyAlon Zakai
2012-06-26refactor gl compression ext handlingAlon Zakai
2012-06-26fix potential bug in getRendererAlon Zakai
2012-06-26fix lseek bug with devicesAlon Zakai
2012-06-25refactor Mix_PlayChannel and fix volume for RAWAlon Zakai
2012-06-25Implement Mix_QuickLoad_RAWEhsan Akhgari
2012-06-22Make sure that the distance is positiveEhsan Akhgari
2012-06-22Use component extractorsEhsan Akhgari
2012-06-22Don't hardcode the density into the fragment shader for fogsEhsan Akhgari
Instead, read it in as a uniform, so that the same shader can be reused with different density values.
2012-06-21Merge pull request #487 from ehsan/fogAlon Zakai
Fog support for immediate mode
2012-06-21indentation fixesAlon Zakai
2012-06-21Merge pull request #483 from caiiiycuk/emscripten_fs_apiAlon Zakai
Emscripten filesystem api
2012-06-21quoting for closureAlon Zakai
2012-06-21Avoid creating garbage by allocating stringsEhsan Akhgari
2012-06-21Compute the fog in the fragment shaderEhsan Akhgari
This makes the fog a bit more precise, and matches how native OpenGL calculates the fog value. But it also means that it would be a bit more expensive to calculate because it is calculated once per pixel.
2012-06-21Take the fog into account when caching renderersEhsan Akhgari
2012-06-21call Module.onFullScreen when going to full screen (allows the app to do ↵Alon Zakai
custom behavior like adjusting resolution
2012-06-21Implement GL_LINEAR fog modeEhsan Akhgari
2012-06-21Implement GL_EXP2 fog modeEhsan Akhgari
2012-06-21Add support for fog densityEhsan Akhgari
2012-06-21Add support for glIsEnabled(GL_FOG)Ehsan Akhgari
2012-06-21Compute the color involving the shader first and then apply the fogEhsan Akhgari
2012-06-21Use only the z component of the distance vectorEhsan Akhgari
The length of the vector should give us more precise fogs, but ancient OpenGL only uses the z component, so that's what we need to use here as well.
2012-06-21Remove two unused variablesEhsan Akhgari
2012-06-21Fix a number of typosEhsan Akhgari
2012-06-21Implementation for emscripten_async_wgetAleksander Guryanov
2012-06-20Initial immediate mode fog supportEhsan Akhgari
2012-06-20Respect GL_FOG in glEnable/glDisableEhsan Akhgari
2012-06-20Fix a typoEhsan Akhgari
2012-06-20Stub out the other fog functionsEhsan Akhgari
2012-06-19Check for supported capabilities explicitlyEhsan Akhgari
This prevents a bunch of warning messages for things which we don't support.