Connor McLaughlin
e8832bf552
DRMDisplay: Use width/height/refresh rate to select mode
2021-02-14 18:36:21 +10:00
Connor McLaughlin
ccc25fc131
GL/Context: Filter Mali GPUs based on ARM GL_VENDOR only
2021-02-06 20:25:26 +10:00
Connor McLaughlin
011df33fc4
GL/StreamBuffer: Support non-coherent mappings
2021-02-06 19:23:39 +10:00
Connor McLaughlin
5a9abd55a1
GL/Context: Disable GL_{EXT,OES}_copy_image on Mali
...
It is **very** slow because it seems to be implemented on the CPU...
2021-02-06 19:20:09 +10:00
C.W. Betts
662d6e9711
Fix possible log formatting errors.
2021-02-04 17:54:51 -07:00
Connor McLaughlin
3e9fdf22bf
NoGUI: Move DRM display to GL context
...
We don't use it for Vulkan.
2021-02-04 19:39:19 +10:00
Connor McLaughlin
cbdf722dd6
GL/ContextEGL: Fix compiling with both DRM/KMS and X11 enabled
2021-02-01 01:45:30 +10:00
Connor McLaughlin
dac9cdd04c
GL/Context: Ensure context is destroyed before GBM device
...
Fixes crash on shutdown when running under DRM/KMS.
2021-02-01 01:28:39 +10:00
Connor McLaughlin
b09da307b5
Common: Add DRM display helper class and GBM GL context
2021-01-31 17:10:27 +10:00
Connor McLaughlin
8cafe856f0
OpenGLHostDisplay: Work around functions unavailable in GLES2
2021-01-26 03:38:31 +10:00
Connor McLaughlin
fd166a4485
ShaderCache: Add a data version field
...
We can increment this to prevent people's shader caches from growing too
large with shader changes.
2021-01-11 15:24:38 +10:00
Connor McLaughlin
419726f4cc
Remove libretro core - core will now be maintained by libretro
...
libretro have agreed to take over maintenance of the core.
Please see their fork at https://github.com/libretro/duckstation if you
wish to continue to use it.
2021-01-08 01:37:59 +10:00
Connor McLaughlin
6d501bff56
GL/Program: Use glBindFragDataLocationIndexedEXT for GLES
2020-12-31 13:29:41 +10:00
Connor McLaughlin
ebaad0f35a
Common/GL: Add replace method to texture
2020-12-26 00:47:03 +10:00
Connor McLaughlin
dc21f2b5cf
GL/Context: Check return value of eglBindApi()
...
Fixes some Android devices thinking they got a desktop GL context.
2020-11-27 01:40:50 +10:00
Connor McLaughlin
9c9e2bbe27
GL/ContextWGL: Check for ES2 context extension before creating
2020-11-21 18:39:03 +10:00
Connor McLaughlin
ac89379ca6
GL/ContextEGL: Use pbuffer when surfaceless not supported
2020-11-08 00:22:35 +10:00
Connor McLaughlin
4fe1c07b02
GL/Texture: Use texture storage where available
2020-10-31 15:11:53 +10:00
Connor McLaughlin
2eaebd8921
GPU: Implement support for multisample antialiasing
2020-10-31 14:27:58 +10:00
Connor McLaughlin
e147327459
GL: Fix window resize not applying under Wayland
2020-10-26 01:09:09 +10:00
Connor McLaughlin
69d29d7395
GL/Context: Don't use WGL on Windows/ARM64
2020-10-14 00:48:48 +10:00
C.W. Betts
5344b44970
Make context_agl.h compatible with ObjC ARC code.
...
Helpful when working with OpenEmu.
2020-10-12 16:38:47 -06:00
Connor McLaughlin
d39c9f5d1c
Clean up some compiler warnings
2020-10-11 12:21:08 +10:00
Connor McLaughlin
9e2e1050bb
GL/Program: Don't delete nonexistant shaders (when using binaries)
2020-10-10 18:26:29 +10:00
Connor McLaughlin
2aace1b503
GL/Context: Don't choke on X11+Wayland
2020-09-23 19:46:39 +10:00
Connor McLaughlin
a7b85605e2
Ignore existing surface size on Android
...
Seems to be a race condition here where it's not up to date.
2020-09-20 01:36:49 +10:00
Connor McLaughlin
a0f6b4ce81
Build: Don't include AGL context wrapper for libretro
2020-09-13 11:56:56 +10:00
Connor McLaughlin
69cbc0b5a2
GL/Texture: Add wrap texture mode option
2020-08-04 14:40:00 +10:00
Connor McLaughlin
71cef1de3f
GL/ContextGLX: Add additional logging
2020-07-15 15:50:30 +10:00
Connor McLaughlin
4ce5f7e802
GLContext: Wayland support
2020-07-11 03:28:25 +10:00
Connor McLaughlin
01287cb7da
build: Support building libretro core for Android
2020-07-07 20:27:14 +10:00
Connor McLaughlin
729e1b3392
GLContext: Fix Android context creation
2020-07-07 00:59:49 +10:00
Connor McLaughlin
9b3e344ad8
Renderers: Support empty shader cache
2020-07-04 22:14:07 +10:00
Connor McLaughlin
f396a2c373
Renderers: Make shader cache path a prefix instead of directory
2020-07-04 22:14:07 +10:00
Connor McLaughlin
ea1066f76e
GL/StreamBuffer: Use glBufferData() on all drivers
2020-06-29 14:44:16 +10:00
Connor McLaughlin
745b53e4cb
GL/Context: Fix crash in some GLX drivers
2020-06-27 17:35:08 +10:00
Connor McLaughlin
0571b75fa5
GL/Context: Print GL_SHADING_LANGUAGE_VERSION on creation
2020-05-25 18:36:52 +10:00
Connor McLaughlin
4f4c4f4146
Common: Add GL context wrapper implementation
2020-05-25 15:02:44 +10:00
Connor McLaughlin
edb12234d9
Common/GL/Texture: Fix potential crash on older drivers
2020-05-02 16:52:04 +10:00
Connor McLaughlin
4a4c3d5e3b
GL/Texture: Add internal format as parameter
2020-04-24 03:21:44 +10:00
Connor McLaughlin
b45b70970b
GL/ShaderCache: Support geometry shaders
2020-04-16 21:25:56 +10:00
Connor McLaughlin
4ea3c994f6
GL/ShaderCache: Linux build fix
2020-04-04 00:52:04 +10:00
Connor McLaughlin
f566ca7a50
GL/ShaderCache: Recreate cache when creating program from binary fails
...
This is probably due to a driver or GPU change, so all programs will be
"bad" and if we don't start from scratch, we'll never cache any new
program versions.
2020-04-04 00:24:34 +10:00
Connor McLaughlin
ca2f691dbe
Common: Add GL Shader Cache class
2020-04-04 00:11:09 +10:00
Connor McLaughlin
ef4808bbde
GL/Program: Add program binary interface
2020-04-04 00:11:04 +10:00
Connor McLaughlin
256cb8a82c
GL/Program: Make moveable
2020-04-04 00:11:00 +10:00
Connor McLaughlin
b4153266a0
GL/Texture: Add a GetTextureSubImage fallback/helper
2020-03-16 00:03:25 +10:00
Connor McLaughlin
71c1e243fe
Remove YBaseLib dependency
2020-01-10 13:40:53 +10:00
Connor McLaughlin
c52040434a
Core: Linux warning fixes
2020-01-09 08:46:52 +10:00
Connor McLaughlin
6f78fea159
GL: Improve error handling with texture creation
2019-12-11 00:02:12 +10:00