aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-12-05handle return values for library calls using aliases with different return typesAlon Zakai
2013-12-04Merge pull request #1894 from jvilk/legacy_fs_removeAlon Zakai
[SDL Audio] Refactoring Mix_LoadWAV_RW to use new FS API.
2013-12-03fix memset return value in makeSetValuesAlon Zakai
2013-12-03[SDL Audio] Refactoring Mix_LoadWAV_RW to use new FS API.John Vilk
The old API was causing issues with certain file systems, as the `read` property required the execute bit AND the read bit to be set before it would return `true`. As a side benefit, the new code is simpler and cleaner.
2013-12-03Fixed glSampleCoverage signature (vi to vii)onnoj
The signature for glSampleCoverage was incorrect (vi); glSampleCoverage takes two arguments (vii). See: https://www.khronos.org/registry/webgl/specs/1.0.2/#5.14.3 and http://www.khronos.org/opengles/sdk/docs/man/xhtml/glSampleCoverage.xml
2013-12-02report better error in fread on bad streamAlon Zakai
2013-12-02return 0 on fread on invalid streamAlon Zakai
2013-12-02make posix_madvise standloneAlon Zakai
2013-12-01fix emscripten_hide_mouse removal of old ruleAlon Zakai
2013-11-30send EXPORTED_FUNCTIONS to fastcomp glueAlon Zakai
2013-11-29fix memmove return valueAlon Zakai
2013-11-29add missing mkport dependencyAlon Zakai
2013-11-29do not emit empty postsets from js compiler for fastcomp outputAlon Zakai
2013-11-28fix bitcast type when the input is an llvm function like getelementptrAlon Zakai
2013-11-28fix memset return valueAlon Zakai
2013-11-28fix fastcomp vararg alignment, only 4-byteAlon Zakai
2013-11-28Merge pull request #1872 from coolwanglu/mkdtempAlon Zakai
mkdtemp
2013-11-28Merge branch 'glGet-cleanup' into incomingAlon Zakai
2013-11-28cleanup and consolidate glGetAlon Zakai
2013-11-28Document GL_FFP_ONLY setting in src/settings.js.Jukka Jylänki
2013-11-28check error in mkdtemp()Lu Wang
2013-11-28mkdtempLu Wang
2013-11-27add dso_handle to library, for fastcompAlon Zakai
2013-11-27Merge pull request #1863 from juj/gl_emulation_opts_rebasedAlon Zakai
Optimize GL emulation layer.
2013-11-27GL_IMPLEMENTATION_COLOR_READ_TYPE and GL_IMPLEMENTATION_COLOR_READ_FORMATAlon Zakai
2013-11-27Cast GL emulation matrix version numbers back to integers after increment. ↵Jukka Jylänki
Code cleanup and clarify comments.
2013-11-26tiny code cleanupAlon Zakai
2013-11-26Merge pull request #1865 from ngld/llvm-usedAlon Zakai
Fix @llvm.used
2013-11-27Set proper value type for @llvm.usedngld
2013-11-26Merge pull request #1864 from ngld/llvm-usedAlon Zakai
Implemented #1573. (@llvm.used)
2013-11-26getting some initial set of x86 intrinsics mapped to JS SIMD ops; update ↵Heidi Pan
existing SIMD code to use updated JS SIMD API (SIMD.type.op instead of SIMD.op & SIMD.opu32; int32x4 instead of uint32x4); bug fix: right type of withX() for int32x4 initialization; bug fix: splat(0) instead of zero() for int32x4 initialization
2013-11-26Implemented #1573. All functions marked as "used" will be automatically ↵ngld
added to EXPORTED_FUNCTIONS.
2013-11-26Add new GL emulation related #define GL_FFP_ONLY which is used to signal ↵Jukka Jylänki
that the C/C++ client code will not use any GL shaders, allowing more efficient optimizations to be performed in the FFP GL emulation code knowing that it doesn't need to worry about shader programs from the user.
2013-11-26Skip looping twice over textures in GL emulation renderer prepare() code. ↵Jukka Jylänki
Clean up unnecessary variable.
2013-11-26Name GL functions that show up as anonymous in the profile.Jukka Jylänki
2013-11-26Version immediate mode GL matrix stack data, so that the matrices don't need ↵Jukka Jylänki
to be reset on each program if they didn't change.
2013-11-26Fix GL logging message when GL_UNSAFE_OPTS is disabled.Jukka Jylänki
2013-11-26Cache the currently active FFP emulation renderer object. If ↵Jukka Jylänki
renderer-related GL state does not change, the renderer can then be looked up very quickly, instead of having to recompute the key every time.
2013-11-26Optimize GL emulation performance by packing the GLTexEnv renderer key to a ↵Jukka Jylänki
tighter space, which greatly reduces the number of required CKeyView.next() traversals that show up costly in the profiles.
2013-11-26Simplify the key state used for identifying used vertex attribute set. The ↵Jukka Jylänki
function CKeyView.next() shows up as one of the hottest in profiles, so merging multiple key identifiers to one helps performance.
2013-11-26Remove vertex attribute size and type information from being part of the FFP ↵Jukka Jylänki
emulation renderer key. This improves performance by making the renderer key simpler, which causes fewer renderer state key traversals to be done in getRenderer(), and by reducing the number of created shader programs and # of shader program switches performed during frame.
2013-11-26Added new configuration parameter support 'GL_MAX_TEXTURE_IMAGE_UNITS' to ↵Jukka Jylänki
the emscripten Module object so that codebases using fixed-function GL emulation mode can hint to the emulation code how many texture units they are using at maximum. This optimizes the emulation code path to avoid having to examine an unnecessary amount of texture units at each draw call (at minimum the code would loop over to confirm that the unused texunits are really unused, which would burn up some unneeded cycles.)
2013-11-26parse hex floats in vector literalsAlon Zakai
2013-11-26correct way of scrollinbg to bottomLu Wang
2013-11-26naive implement of SDL_LowerBlitLu Wang
2013-11-25fix typo in onContextCreationErrorAlon Zakai
2013-11-24support for ignoring nacl intrinsicsAlon Zakai
2013-11-22listen to webglcontextcreationerror for information; fixes #1846Alon Zakai
2013-11-22simplify relooper default indentAlon Zakai
2013-11-22fix pthread_setspecific on values of nullAlon Zakai