Бранимир Караџић
b74da5c643
GL: Removed GLX context code.
2023-06-26 19:18:49 -07:00
issam3105
e8eb9782fa
Support OpenGL on EGL ( #3115 )
...
Co-authored-by: Dahmen issam <issam.dahmen@fittingbox.com >
2023-06-26 17:06:00 -07:00
Бранимир Караџић
fa1897bd1f
Added headless validation for bgfx::init and bgfx::reset.
2023-06-23 19:16:32 -07:00
Бранимир Караџић
2af2abda62
Cleanup.
2023-06-23 18:12:40 -07:00
issam3105
47345a3a17
Support OpenGL on EGL and allow headless context creation ( #3110 )
...
* allow headless context creation using EGL
* Fixed dynamic lib import
---------
Co-authored-by: Dahmen issam <issam.dahmen@fittingbox.com >
2023-06-23 09:51:59 -07:00
Branimir Karadžić
290295136b
Added bx::Location, and removed allocator macros.
2023-04-23 19:19:22 -07:00
Бранимир Караџић
466c6a4e95
Happy New Year!
2023-01-14 10:05:12 -08:00
Sandy
30f2920ae5
egl: Fix narrowing warning/error ( #2891 )
2022-08-24 14:31:55 -07:00
Cedric Guillemet
6aad365c9e
Enable MSAA setting at context creation for Android ( #2854 )
2022-08-04 06:51:38 -07:00
Бранимир Караџић
4581f14cd4
Happy New Year!
2022-01-15 11:59:06 -08:00
Cedric Guillemet
77f36d79cc
no more optional param for bx:write ( #2662 )
...
Co-authored-by: Cedric Guillemet <ceguille@microsoft.com >
2021-11-18 13:10:59 -08:00
simon chen
0b179e59e2
fixed GLES3 bug, when "EGL_KHR_create_context" doesn't exist. ( #2529 )
...
* fixed gles3 bug
* fixed sdl bug on android platform
2021-06-05 07:54:14 -07:00
Бранимир Караџић
af49c5d264
Happy New Year!
2021-01-14 15:53:49 -08:00
Бранимир Караџић
5453faacf1
Fixed issue #2279 .
2020-10-09 09:52:00 -07:00
MooZ
9d369ab4a0
Fixed msaa for OpenGL ES targets. ( #2277 )
2020-10-05 10:17:01 -07:00
Бранимир Караџић
d1685a366a
Fixed build.
2020-09-03 23:45:20 -07:00
Бранимир Караџић
8f4750b199
Cleanup.
2020-09-02 20:43:47 -07:00
云风
2480ea3dbe
avoid gcc warnings: cast-function-type ( #2252 )
2020-09-01 20:20:03 -07:00
Бранимир Караџић
3f6d049470
Fixed Emscripten function calls.
2020-06-19 09:31:32 -07:00
Бранимир Караџић
2cbcb6ea90
RRenamed BX_CHECK to BX_ASSERT.
2020-06-16 10:06:18 -07:00
juj
75384ccfe1
Add checks for Emscripten API return values to make sure API calls are not failing ( #2160 )
2020-06-05 07:34:11 -07:00
Бранимир Караџић
82f56b5987
Happy New Year!
2020-01-14 21:37:06 -08:00
dom607
f1f2d9ff27
Return to the previous surface after swapchain create / destroy. ( #1815 )
2019-07-12 19:37:51 -07:00
Бранимир Караџић
e574edcd47
Cleanup.
2019-03-22 16:20:56 -07:00
Бранимир Караџић
3f3a9450ba
Happy New Year!
2019-01-13 17:13:25 -08:00
Branimir Karadžić
72bf5f9870
Cleanup.
2018-10-22 18:08:01 -07:00
PpluX
82dd183d24
Android supports creating swap chains ( #1332 )
2018-02-14 09:24:40 -08:00
Branimir Karadžić
f44c8e2b14
Happy New Year!
2018-01-01 11:16:06 -08:00
Branimir Karadžić
dd9f1a235f
Cleanup.
2017-02-06 08:56:21 -08:00
PpluX
cd3d3c14f9
Added support for EGL_ANDROID_recordable ( #1038 )
2017-02-06 08:54:43 -08:00
Branimir Karadžić
3b83f53ab1
Happy New Year!
2017-01-01 00:18:41 -08:00
Branimir Karadžić
af9122b209
texturev: Added support for loading .exr images.
2016-12-18 17:02:20 -08:00
Sami Kyöstilä
3d23690216
Give a valid display parameter to eglMakeCurrent ( #800 )
2016-05-30 16:41:11 -07:00
Sami Kyöstilä
516e287f24
Make it possible to reset the native window ( #796 )
...
On Android when the application goes into the background, the EGL
window surface becomes invalid. It is possible to resume rendering when
coming to the foreground by resetting and reinitializing bgfx from
scratch, but this is costly in terms of performance.
This patch provides an alternative by letting the application provide a
new native window, causing bgfx to recreate just the EGL window surface
while keeping the EGL context intact. This allows the application to
resume rendering without needing to reload textures, shaders, etc.
To test, build and run the Hello World example on Android, switch to
another app and then back again. The screen should not remain blank
after switching back.
2016-05-22 17:16:25 -07:00
Branimir Karadžić
0e301ab49d
Updated README.
2016-03-20 16:25:46 -07:00
Branimir Karadžić
72be9be87d
Added ability to expose internal data (D3D device/GL context).
2016-01-13 21:18:59 -08:00
Branimir Karadžić
4bb2b623d3
Happy New Year!
2016-01-01 00:11:04 -08:00
Branimir Karadžić
7a49e4c229
Cleanup.
2015-12-29 20:57:35 -08:00
Branimir Karadžić
a57a788c92
RPI: Fixed build.
2015-12-29 20:00:38 -08:00
Branimir Karadžić
7eb18e4a10
asmjs: Fixed context resize.
2015-08-21 23:11:51 -07:00
Branimir Karadžić
05f94f44be
Report HiDPI display support thru caps.
2015-08-17 18:07:00 -07:00
Branimir Karadžić
11868f704a
GLES31: Fixed image format test.
2015-05-18 20:24:37 -07:00
Branimir Karadžić
1dd602dd83
EGL: Fixed compile error.
2015-05-11 14:27:38 -07:00
Branimir Karadžić
e70ee88dc7
EGL: Initialize GLES2 when KHR_create_context is not available.
2015-05-10 11:45:49 -07:00
Branimir Karadžić
a91232015f
Fixed warning.
2015-05-01 15:12:44 -07:00
Branimir Karadžić
4e431c99db
EGL: Fixed use extension use.
2015-04-22 21:39:20 -07:00
Branimir Karadžić
0da98e8645
Fixed creation of GLES3 textures with compute write flag.
2015-04-22 15:11:45 -07:00
Branimir Karadžić
a528554e67
Cleanup passing platform window/context data.
2015-04-20 16:22:40 -07:00
Branimir Karadžić
11794da949
Cleanup.
2015-04-18 00:39:57 -07:00
Ka-ming Chan
9e7e143f21
Add GLSurfaceView / external EGLContext support on Android by skipping the creation of BGFX's eglContext if g_bgfxAndroidWindow is set to NULL
2015-04-18 15:26:17 +08:00