Commit graph

469 commits

Author SHA1 Message Date
Branimir Karadžić
ad5a46779a Added blit. 2015-10-15 16:38:59 -07:00
Branimir Karadžić
2f02cd097a iOS: Remove texture test. Issue #483. 2015-10-08 17:34:03 -07:00
Branimir Karadžić
91fe7aafdb Added support for RGB9E5F fromat. 2015-09-29 16:06:06 -07:00
Branimir Karadžić
b5ab524ee1 Cleanup. 2015-09-25 21:51:30 -07:00
Branimir Karadžić
5142e507b0 Reverted 682a0519ef. 2015-09-23 20:03:59 -07:00
Branimir Karadžić
54be2d5b77 Cleanup. 2015-09-17 19:55:01 -07:00
Branimir Karadžić
ae71103bf9 Added border color index. 2015-09-16 17:21:28 -07:00
Branimir Karadžić
5690e1cde8 Added uniform buffer dynamic resizing. 2015-09-14 15:53:33 -07:00
Branimir Karadžić
6abfcffb2e GL: Check if extension exist before setting border color. 2015-09-12 09:25:37 -07:00
Branimir Karadžić
c31ad50f31 GLES: Fixed clamp to border. 2015-09-11 20:05:13 -07:00
Branimir Karadžić
72446e998b Added border texture address mode. 2015-09-11 17:40:38 -07:00
Branimir Karadžić
ade3d5bb90 Fixed Android build. 2015-09-09 18:35:59 -07:00
Branimir Karadžić
58f7676f7b Added process memory usage info. 2015-09-09 17:26:55 -07:00
Branimir Karadžić
d13fe2321a Manually merged pull request #508. 2015-09-04 19:49:42 -07:00
Branimir Karadžić
6edba00924 GL: Fixed GPU timer frequency. 2015-09-02 15:03:22 -07:00
Branimir Karadžić
9f1b7866d0 Fixed OSX build. 2015-09-01 13:34:36 -07:00
Branimir Karadžić
818c231d49 Detect available MSAA texture formats. 2015-09-01 13:23:20 -07:00
Branimir Karadžić
641a105f5d Added mOar texture formats. 2015-08-31 10:16:36 -07:00
Branimir Karadžić
bb89e6291c Cleanup. 2015-08-28 20:34:14 -07:00
Branimir Karadžić
444384469d Moar texture formats... 2015-08-28 17:41:24 -07:00
Branimir Karadžić
ece46d71bc Cleaned texture format names. 2015-08-28 14:48:51 -07:00
Branimir Karadžić
0cb21b8b83 GLES: Added workaround for broken emulator. 2015-08-28 11:17:26 -07:00
Branimir Karadžić
b7ebbb07b6 Added snorm texture formats. 2015-08-27 16:35:27 -07:00
Branimir Karadžić
89e55a0c7e Added uniform size stats. 2015-08-27 11:06:45 -07:00
Branimir Karadžić
b50e609f85 GLES: Fixed MRT. 2015-08-26 18:02:05 -07:00
Branimir Karadžić
3c6ee5fbcb GL: Fixed MRT clear depth value. 2015-08-21 10:58:22 -07:00
Branimir Karadžić
63f3bd1ea2 Cleanup. 2015-08-20 12:30:59 -07:00
Branimir Karadžić
682a0519ef GL: Don't test unsupported formats. 2015-08-18 16:28:08 -07:00
Branimir Karadžić
d4c7268fbc Revert "Fix crash on some OpenGLES devices" 2015-08-18 10:49:50 -07:00
Jonny Hopper
8efcae4243 Fix crash on some OpenGLES devices
On some older OpenGLES devices, attempting to bind textures to
unsupported compressed formats can crash. So explicitly disable the
unsupported formats so this never happens.
2015-08-18 11:57:15 +01:00
Branimir Karadžić
05f94f44be Report HiDPI display support thru caps. 2015-08-17 18:07:00 -07:00
Branimir Karadžić
fa5ebd5a02 Cleanup. 2015-08-16 21:31:04 -07:00
Branimir Karadžić
6d2e88567e Cleanup. 2015-08-16 15:44:53 -07:00
Branimir Karadžić
bc2077acb0 GL: Fixed GPU timer query. 2015-08-16 15:37:46 -07:00
Branimir Karadžić
d5d21b2a87 Cleanup. 2015-08-16 10:30:29 -07:00
Branimir Karadžić
16037218eb GL: Fixed issue #474. 2015-08-11 19:30:33 -07:00
Branimir Karadžić
06a076fa2a GL: Use MAX_DRAW_BUFFERS instead of MAX_COLOR_ATTACHMENTS. 2015-08-09 07:53:48 -07:00
Branimir Karadžić
f82f99b2a6 Fixed vertex attribute. 2015-08-07 11:37:52 -07:00
Branimir Karadžić
8da579ff99 Added vertex attrib Uint10. 2015-08-04 19:03:56 -07:00
Branimir Karadžić
d0b4657e15 GL: Fixed depth/stencil attachemnt logic. 2015-08-04 08:40:14 -07:00
Branimir Karadžić
623624b456 Fixed issue #464. 2015-07-28 20:56:41 -07:00
Branimir Karadžić
1fa85ccf27 Replaced bgfx::setProgram function with bgfx::submit argument. Added bgfx::touch and bgfx::getStats. 2015-07-22 18:05:11 -07:00
Branimir Karadžić
f15008311a Fixed issue #452. 2015-07-17 11:12:41 -07:00
Branimir Karadžić
921a315c4d Cleanup. 2015-07-16 20:28:43 -07:00
Branimir Karadžić
6c48b12a3f Fixed issue #447. 2015-07-02 17:05:51 -07:00
Branimir Karadžić
466c76071a Cleanup. 2015-06-05 10:43:43 -07:00
Branimir Karadžić
f81dadd9b8 Fixed shadowing variable warning. 2015-06-05 09:54:14 -07:00
Branimir Karadžić
d2204e5cf2 Merge pull request #423 from mendsley/vr_viewportfix
VR: Fix skewed viewports with buffered eye textures
2015-06-05 09:14:19 -07:00
Matthew Endsley
05d70ea99d VR: Fix skewed viewports with buffered eye textures
Bug fix for #419

Viewport calculations need to take VR eye buffer size into
account. Noticable at the older 100px boundary. Skewing still
exists at newer 8px buffer, but is harder to notice.
Eventually causes pretty bad eye strain, though.

Easily reproduced by setting the buffer to something obscenely
large, such as 2048.
2015-06-05 02:12:24 -07:00
Matthew Endsley
9a1b1f892c VR: Properly support MSAA in OVR builds
Fixes #338

Create the swap chain without MSAA, and the eye textures
with MSAA. The core issue was using the surface description
for the backbuffer for the DSV on the eye textures which did
not match.

This meethod follows both the oculus and openvr guidance on MSAA -
MSAA is configured on the eye render targets, but not on the swap
chain.
2015-06-05 00:30:05 -07:00