summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-06-15SDL_GetVideoSurfaceAlon Zakai
2012-06-14silly fix for gl_ModelViewMatrixTranspose[2]Alon Zakai
2012-06-14basic fog supportAlon Zakai
2012-06-14Fix the mouse coordinates in pointer lock modeEhsan Akhgari
This patch enables us to trust the mouse movement information that the browser provides when the pointer lock is active. It should help with the mouse movement detection for games in full-screen mode, if they use the SDL xrel/yrel information.
2012-06-14some fog workAlon Zakai
2012-06-14ignore phi assigns of undefAlon Zakai
2012-06-14ignore GL_TEXTURE_COMPRESSION_HINTAlon Zakai
2012-06-14init texture compression earlyAlon Zakai
2012-06-13support NULL rect in SDL_FillRectAlon Zakai
2012-06-13s3tc compression supportAlon Zakai
2012-06-13Merge pull request #466 from caiiiycuk/SDL_HWPALETTEAlon Zakai
Implementation of SDL_Surface with SDL_HWPALETTE flag (8bpp surface)
2012-06-13Implementation of SDL_HWPALETTEAleksander Guryanov
Little bit refactoring for copyIndexedColorData now it can accept dirty rect
2012-06-12Merge pull request #471 from ehsan/gl_identity_matrixAlon Zakai
Gl identity matrix
2012-06-12emscripten_randomAlon Zakai
2012-06-12Initialize the projection and modelview matrices to identityEhsan Akhgari
This is required by the spec. Without this change, the testcase in this patch merely renders the background, and the box in the upper right corner will not get rendered at all.
2012-06-11call hookMusicFinished when music completes by itselfAlon Zakai
2012-06-11SDL music stuffAlon Zakai
2012-06-11handle null strings in ccallAlon Zakai
2012-06-11make add/removeRunDependency closure exportedAlon Zakai
2012-06-11make image and audio preloading closure-safe and accessible from outside ↵Alon Zakai
closured code
2012-06-11export some filesystem commands through closureAlon Zakai
2012-06-11remove GENERATING_HTML, it was confusing and gave little or no benefitAlon Zakai
2012-06-10comments on GENERATING_HTMLAlon Zakai
2012-06-09glPolygonOffset fixesAlon Zakai
2012-06-08remove Array_copy and String_copy; they are hard to implement in a fast way ↵Alon Zakai
that is ta0, 1 and 2-compatible
2012-06-08optimize SDL_SetColorsAlon Zakai
2012-06-08optimize Array_copyAlon Zakai
2012-06-07clean up the last renderer on any glEnable/glDisableAlon Zakai
2012-06-07enable skipping optimization in gl emulation, checking also whether matrices ↵Alon Zakai
were modified and if the program is the same as before
2012-06-06clean up last renderer right before preparing the new one, and preparations ↵Alon Zakai
for skipping preparation altogether when possible
2012-06-06refactor array buffer and program setting into renderer in preparation for ↵Alon Zakai
further optimizations
2012-06-06pregenerate a quad index bufferAlon Zakai
2012-06-06remove unneeded buffer bindingAlon Zakai
2012-06-05do not run prepareClientAttributes if no client attributes actually changedAlon Zakai
2012-06-05refactor modifying of GL immediate state to nicer locationsAlon Zakai
2012-06-05Merge pull request #465 from juj/EGLAlon Zakai
Egl
2012-06-04fix glDrawArrays with non-zero startAlon Zakai
2012-06-05Added a helper function emscripten_set_canvas_size function which allows to ↵Jukka Jylänki
resize the <canvas> element on the web page in 'generic' fashion without having to depend on SDL or X11 headers in C code. This function is intended to be used in conjunction with EGL to specify a custom pixel resolution for the canvas (EGL API does not have expressiveness to do arbitrary pixel sizes).
2012-06-04Added stubs for eglQuerySurface and eglGetError implementations.Jukka Jylänki
2012-06-03use temporary buffers of as small a size as possible to minimize GL overhead ↵Alon Zakai
of glBufferSubData on large buffers (even when we use a small part of them)
2012-06-02fix emulated extensions listAlon Zakai
2012-06-02in gl emulation mode, report that we support various desktop extensions that ↵Alon Zakai
we can actually support
2012-06-02glDrawRangeElementsAlon Zakai
2012-06-02add parents to makeHEAPViewAlon Zakai
2012-06-02return correct values for GL_SHADER_COMPILER and GL_NUM_SHADER_BINARY_FORMATSAlon Zakai
2012-06-02clean up unneeded commentAlon Zakai
2012-06-02make temp buffer size larger by default, and add assertionsAlon Zakai
2012-06-02scan indices when necessary to figure out what vertex data to push, when no ↵Alon Zakai
buffers are being used. allows use of vertex data from arbitrary parts of the vertex data range, not just the beginning
2012-06-01clarify the difference between drawArrays and drawElements index argumentAlon Zakai
2012-06-01fix drawArrays emulated buffer size calculationAlon Zakai