Commit Graph
658 Commits
Author SHA1 Message Date
Branimir Karadžić 07d799f72e Renamed constants to new style. 2017-06-09 21:57:08 -07:00
Branimir Karadžić 24569934a1 Added color2/3 attributes. 2017-06-06 17:25:17 -07:00
Branimir Karadžić e19a6738c7 shaderc: If GLSL version is above 4.00 shaderc will just pass preprocessed code without invoking glsl-optimizer. 2017-06-05 17:37:26 -07:00
Branimir Karadžić c4f5129e84 Removed support for Native Client. https://developer.chrome.com/native-client/migration 2017-05-30 23:49:53 -07:00
Branimir Karadžić f3b96ef61b GL: Fixed EXT_texture_array. 2017-05-29 13:08:10 -07:00
attilaz 974c0bce3f enable detach shader workaround (#1141) 2017-05-26 08:15:37 -07:00
Branimir Karadžić b0a122449c Cleanup. 2017-05-18 17:44:31 -07:00
PpluX c6fd7dc095 fixes the use of texture2DLod on IOS with OpenGLES backend (#1133)
* fixes the use of texture2DLod on IOS with OpenGLES backend

* fix type in previous commit
2017-05-17 11:17:50 -07:00
Branimir Karadžić 682cbc60ab GL: Fixed texture blit in last view. 2017-05-05 21:25:44 -07:00
Eric Budai 6c41e0e9aa static analysis fixes (#1124) 2017-04-26 19:58:31 -07:00
Branimir Karadžić 45e7bf5df4 Making RG11B10F name consistent with other texture formats. 2017-04-24 20:31:58 -07:00
Branimir Karadžić 3d73d0904b shaderc: Added support for gl_VertexID/InstanceID. Issue #1062. 2017-04-23 15:53:15 -07:00
Branimir Karadžić c9679731a5 Renaming string functions. 2017-04-22 14:47:02 -07:00
Branimir Karadžić 6e9e862565 Renaming string functions. 2017-04-16 21:56:17 -07:00
Branimir Karadžić 8b14a7e977 Added fall back to noop renderer when device is removed. 2017-04-07 19:07:20 -07:00
Branimir Karadžić 6aae4e6962 GL: Added workaround options for issue #1105. 2017-04-06 22:15:58 -07:00
Branimir Karadžić 81f9162d58 Moved bindings outside of render item. 2017-04-06 20:32:48 -07:00
PyryM 83e30ec609 api changes (#1107)
d3d11 + opengl implementations

everything else will have very strange behavior if you try to bind a
buffer to a shader

avoid compiler error/warning about unused parameter

copy paste mistake

add in function for index buffers as well

Might as well cover all the bases; index buffers are also a convenient
way to create int-typed buffers, since there aren't int32 vertex
attributes.

get rid of precision loss warnings

d3d12 bindShaderBuffer implementation

throw an assert on d3d9 at least

BX_CHECK on metal as well (no compute support atm)

simplify api since access is restricted to read

hide from public api at the moment

move comment into correct branch of if

Feature: bind vertex/index buffers for vertex/fragment shaders
2017-04-06 18:59:30 -07:00
Branimir Karadžić 8ce85d2462 Added bimg dependency. 2017-04-03 22:42:27 -07:00
Branimir Karadžić 293c1dc60a Added support for texture2DGrad. 2017-03-23 17:33:29 -07:00
Branimir Karadžić 7f847d9af0 Cleanup. 2017-03-22 19:19:35 -07:00
Dario Manesku 35323725e9 Don't force stb image loader to use RGBA8. 2017-03-14 14:28:11 +01:00
Dario Manesku 073ab4b3ad Fixing OGL multiple vertex streams. 2017-03-13 04:03:52 +01:00
Branimir Karadžić 6e8cd93518 GL: Fixed crash. 2017-03-11 13:36:19 -08:00
Dario Manesku 72d98681bb Fixing a bug introduced with multiple vertex stream support for OGL backend. (#1072) 2017-03-11 13:26:53 -08:00
Branimir Karadžić b0e13445db Exposed occlusion query result. 2017-03-06 17:23:22 -08:00
Branimir Karadžić a7372c8c75 Fixed issue #1064. 2017-03-05 16:17:02 -08:00
Branimir Karadžić a1184d53c5 Invalidate occlusion queries in flight when new occlusion query with the same id is created. 2017-03-03 18:05:36 -08:00
Branimir Karadžić 1444704901 Cleanup. 2017-03-02 19:29:34 -08:00
Branimir Karadžić 86fc54ccfc Added ability to specify swap chain for screenshot. 2017-03-02 18:02:14 -08:00
Dario Manesku a956558c93 Multiple vertex stream support for OGL backend. (#1059) 2017-02-28 10:32:36 -08:00
Don Williamson 8a37dd8e87 GL Renderer, OSX, no swap chain: Bind back buffer fbo ready for NSOpenGLContext flushBuffer (#1056) 2017-02-27 16:12:48 -08:00
Branimir Karadžić bfe5a66b3e Cleanup. 2017-02-09 19:31:19 -08:00
Branimir Karadžić b99ebb9535 Cleanup. 2017-02-08 19:55:31 -08:00
Branimir Karadžić aa2a9deb5f Cleanup. 2017-02-08 18:17:59 -08:00
Branimir Karadžić b62fe2749f Fixed create/destroy windows. 2017-01-26 15:34:11 -08:00
Branimir Karadžić a8cf2f86a9 Cleanup. 2017-01-20 16:34:27 -08:00
Branimir Karadžić f63553fecc Cleanup. 2017-01-15 16:22:47 -08:00
Branimir Karadžić 8b3f752af5 Skip rendering when scissor is zero area. 2017-01-11 20:38:38 -08:00
Branimir Karadžić 14dbb67320 Fixed IFH debug flag. 2017-01-10 17:14:50 -08:00
Branimir Karadžić dcd82ea2b6 Backed out PR #1014. 2017-01-08 15:23:02 -08:00
Branimir Karadžić 0271b449f8 Cleanup. 2017-01-06 20:15:33 -08:00
Dario Manesku bb1a2f76a1 OGL backend now supports multiple vertex streams. (#1014) 2017-01-06 19:45:50 -08:00
Branimir Karadžić 3b83f53ab1 Happy New Year! 2017-01-01 00:18:41 -08:00
Branimir Karadžić 5a0d824331 Exposed a few more internal performats stats. 2016-12-19 17:18:07 -08:00
Branimir Karadžić 706facc788 Fixed blit with view remapping. 2016-11-20 14:29:37 -08:00
Matthew Endsley e090bb9851 Use a single render target for VR rendering (#977)
This allows the game to render to a single FB and
pass that into existing post process pipeline.
2016-11-16 18:00:10 -08:00
Branimir Karadžić e86aee5f2e Don't present backbuffer if it's not affected by rendering. 2016-11-13 20:59:41 -08:00
Branimir Karadžić 025d806c70 Present swap chain only when it's updated. 2016-11-09 14:29:37 -08:00
Harold Comere fa6977f994 * Fix AsmJS D16 D24S8 format / internal format match (#966) 2016-11-07 09:32:03 -08:00