Henrik Rydgard
be557fc323
Remove fbo_preferred_z_bitdepth
2017-02-06 11:40:16 +01:00
Henrik Rydgard
e42f5e6f46
Rename the fbo_ functions to match the rest of DrawContext.
2017-02-06 11:40:16 +01:00
Henrik Rydgard
ad29974a56
Change when drawcontexts are allocated. Hook up backbuffer events to fix d3d9 resizing.
2017-02-06 11:40:16 +01:00
Henrik Rydgard
948e2284fd
VK/D3D11 early prep
2017-02-06 11:40:16 +01:00
Henrik Rydgard
f1c96c056d
Move all the GL/D3D9 FBO code into thin3d.
2017-02-06 11:40:16 +01:00
Henrik Rydgard
41f770d815
Move dx_state into gfx/d3d9_state
2017-02-05 20:54:24 +01:00
Henrik Rydgard
ba52ba8714
Move global.cpp to native/gfx/d3d9_shader.cpp
2017-02-05 20:50:17 +01:00
Henrik Rydgard
a8f69e7d64
More DX cleanup
2017-02-05 20:06:56 +01:00
Henrik Rydgård
668023967d
Merge pull request #9269 from xebra/hw_tess_gles4
...
Fix supporting gl_InstanceID.
2017-02-01 15:16:25 +01:00
xebra
7bdfbd81af
Fix OES_texture_npot to GL_OES_texture_npot.
2017-02-01 21:38:06 +09:00
Henrik Rydgård
9b1315b12c
Merge pull request #9266 from xebra/hw_tess_gles4
...
Fix OES_texture_float to GL_OES_texture_float.
2017-02-01 09:27:45 +01:00
zhyk
0629054783
Do not create thread to handle SDL joystick events in Qt build.
...
Caused crashes on MacOS Sierra (10.12).
2017-02-01 14:37:36 +08:00
xebra
918bee8801
Add support OES_texture_half_float.
2017-02-01 14:37:03 +09:00
xebra
51c34e8157
Fix OES_texture_float to GL_OES_texture_float.
2017-02-01 12:30:36 +09:00
xebra
d6fe5d4ba0
Add supports floating-point-texture into GL extensions.
2017-01-31 23:37:05 +09:00
Henrik Rydgard
5d78fbdf21
Buildfix
2017-01-30 16:03:03 +01:00
Henrik Rydgard
20d9e60a67
Just some renaming. Start moving away from the "thin3d" name
2017-01-30 14:38:31 +01:00
Henrik Rydgard
5b1b4329fd
GL: some extra error checks for texture loading
2017-01-29 14:19:58 +01:00
Henrik Rydgard
363ba8dc16
Quickfix software rendering with the GL backend enabled.
...
Will make a cleaner solution later. Fixes #9247
2017-01-28 16:55:23 +01:00
Henrik Rydgard
52a4467a46
Disable the GPU mutex in single core mode. On some platforms it's expensive enough to show up in profiles even though it's useless.
2017-01-27 10:17:44 +01:00
Henrik Rydgård
f5cef88e14
Workaround for exit crash on Android. Need to rethink this...
2017-01-26 11:57:48 +01:00
Henrik Rydgård
ec20cf7f88
QT buildfix attempt
2017-01-24 20:59:47 +01:00
Henrik Rydgård
9d5371a8ba
Thin3d: More rigorous handling of RGBA4444 texture formats
2017-01-24 20:59:00 +01:00
Henrik Rydgård
5d6097d33c
Add infrastructure for checking for supported DataFormats
2017-01-24 20:59:00 +01:00
Henrik Rydgård
528af8a939
Simplification around textures
2017-01-24 20:59:00 +01:00
Henrik Rydgård
d8dbb8389b
Make buffer binding more Vulkan/Metal-like
2017-01-24 20:59:00 +01:00
Henrik Rydgård
58ecda4e4b
Minor D3D11 work (input layouts)
2017-01-24 20:59:00 +01:00
Henrik Rydgård
411d31ffe0
Typo fix
2017-01-24 20:59:00 +01:00
Henrik Rydgård
8654d42528
DrawContext API change: introduce TextureDesc
2017-01-24 20:59:00 +01:00
Henrik Rydgård
d2c4cbacad
Delete unnecessary form of CreateTexture
2017-01-24 20:58:59 +01:00
Henrik Rydgård
5e92a94175
Buildfix
2017-01-24 20:58:59 +01:00
Henrik Rydgård
6a7d3a3910
Break out image file management from DrawContext (thin3d)
2017-01-24 20:58:59 +01:00
Henrik Rydgård
4199eb3493
More D3D11
2017-01-24 20:58:59 +01:00
Henrik Rydgård
1c337f72bb
Slightly saner way to choose shaders depending on language. More work needed.
2017-01-24 20:58:59 +01:00
Henrik Rydgård
c79712d9f9
Thin3D backends can report which shader languages they support
2017-01-24 20:58:59 +01:00
Henrik Rydgård
377561865a
A little more D3D11, BlendFactor
2017-01-24 20:58:59 +01:00
Henrik Rydgard
a67e3279eb
MSVC build: Enable multiprocessor compilation for the glslang project
2017-01-21 17:13:51 +01:00
Henrik Rydgård
3eaa815704
Qt buildfix
2017-01-17 21:20:11 +07:00
Henrik Rydgård
1b158c116c
UI: Fix scissor test issues introduced recently
2017-01-17 20:26:48 +07:00
Henrik Rydgård
e47138a5f3
Warning fixes
2017-01-17 20:26:48 +07:00
Henrik Rydgård
901ccc9486
Buildfixes
2017-01-17 18:57:04 +07:00
Henrik Rydgård
a1016b646e
SmallWindow on Windows: Recreate fonts when DPI changes, fixing the worst overlap issues.
2017-01-17 17:57:32 +07:00
Henrik Rydgård
0be02f6de0
Improve smallwindow detection, code cleanup.
2017-01-17 17:21:00 +07:00
Henrik Rydgård
2caf21a960
A max font-string texture width of 1024 is not enough pixels in 250% DPI...
2017-01-16 21:21:31 +07:00
Henrik Rydgård
8b5048be72
Fix high-DPI rendering/input on Windows
2017-01-16 20:53:41 +07:00
Henrik Rydgård
8ebb91b16a
Update glslang (see #9178 )
2016-12-29 22:52:32 +01:00
Henrik Rydgård
39408a4adc
A bit more D3D11
2016-12-27 11:59:16 +01:00
Henrik Rydgård
5af8b152e1
Further buildfixes
2016-12-27 11:59:12 +01:00
Henrik Rydgård
674937a520
Extend some enums with potentially useful values
2016-12-27 11:59:12 +01:00
Henrik Rydgård
e4f18dd220
D3D9 color mask support (merge with above)
2016-12-27 11:59:11 +01:00
Henrik Rydgård
6fef65b8f1
Another non-Windows buildfix
2016-12-27 11:59:11 +01:00
Henrik Rydgård
10e4d4db14
Draw: Preliminary stencil implementation. Two-sided only implemented for Vulkan.
2016-12-27 11:59:11 +01:00
Henrik Rydgård
cbf4e5f38c
Implement colormask
2016-12-27 11:59:11 +01:00
Henrik Rydgård
2952588a54
Add a selection of device caps to check for features. Unfinished.
2016-12-27 11:59:11 +01:00
Henrik Rydgård
13153cb3c3
Buildfix draw_text on non-Windows
2016-12-27 11:59:11 +01:00
Henrik Rydgård
9f2e83b66c
Bundle up more state in the pipeline object. Lets us get rid of Vulkan's pipeline cache.
2016-12-27 11:59:11 +01:00
Henrik Rydgård
8d84fb75c7
Remove ShaderSet presets
2016-12-27 11:59:10 +01:00
Henrik Rydgård
1ed7f0d7fd
More modern way to specify vertex data format (inputlayout)
2016-12-27 11:59:10 +01:00
Henrik Rydgård
166243e0fd
Make pipelines bound state
2016-12-27 11:59:10 +01:00
Henrik Rydgård
4462a8cc99
Rename ShaderSet to Pipeline. Get rid of scissorEnable setting (scissor is always enabled).
2016-12-27 11:59:10 +01:00
Henrik Rydgård
e56f251f74
Make ShaderSet support more than just fshader/vshader
2016-12-27 11:59:10 +01:00
Henrik Rydgård
3de4a38527
More renaming to match
2016-12-27 11:59:10 +01:00
Henrik Rydgård
cce1ee332b
More complete DataFormat enum
2016-12-27 11:59:10 +01:00
Henrik Rydgård
425940b433
More renaming
2016-12-27 11:59:07 +01:00
Henrik Rydgård
c7c541f926
Add DepthStencilStateDesc
2016-12-27 11:59:06 +01:00
Henrik Rydgård
f86b9f7900
Guess what? More renaming
2016-12-27 11:59:06 +01:00
Henrik Rydgård
9b439e4c43
Remove Thin3D prefix on more things
2016-12-27 11:59:06 +01:00
Henrik Rydgård
463251908b
Rename things to closer match another project which I plan to share some code with
2016-12-27 11:59:02 +01:00
Henrik Rydgård
10393f5d4e
Move Thin3D into the Draw namespace.
2016-12-27 11:58:03 +01:00
Henrik Rydgård
9a29626ad0
Buildfix for Qt
2016-12-25 16:28:19 +01:00
Henrik Rydgård
9658c8dd5c
Basic D3D11 context setup code
2016-12-25 11:37:26 +01:00
Henrik Rydgård
b60ad37146
Remove blend and sampler state presets, they didn't save any code
2016-12-25 11:37:23 +01:00
Henrik Rydgård
97d029972e
Rename SetTextures to BindTextures
2016-12-25 11:31:33 +01:00
Henrik Rydgård
1c0c755b03
Extract RasterState from thin3d, for easier d3d11 porting
2016-12-25 11:31:33 +01:00
Henrik Rydgård
4a3938958c
Thin3D: Unified DataFormat enum
2016-12-25 11:31:33 +01:00
Henrik Rydgård
ae709ed1dd
Fix bug in word wrapper
2016-12-25 11:08:27 +01:00
Henrik Rydgard
d43b3ef73f
Minor cleanup in thin3d
2016-12-22 13:25:42 +01:00
Florent Castelli
47ee86ebc4
Merge pull request #9180 from hrydgard/glew_fix
...
cmake: Fix system GLEW usage
2016-12-22 00:29:14 +01:00
Florent Castelli
c35f6c160b
cmake: Fix system GLEW usage
2016-12-21 22:53:28 +01:00
Henrik Rydgard
c96bc7b649
Update glslang submodule
2016-12-21 20:50:25 +01:00
Henrik Rydgård
73ed466e19
Set up Android build for the proper glslang
2016-12-20 02:31:41 +01:00
Henrik Rydgård
8aae624543
Use new flag to not build the glslangValidator and spirv-remap binaries
2016-12-20 02:01:30 +01:00
Henrik Rydgård
6b1c4fb118
Alphasort. Also attempt to retrigger Travis..
2016-12-20 01:11:50 +01:00
Henrik Rydgard
b46bb1efdb
glslang for vulkan: Use my proper glslang fork instead of the ugly old SDK-glslang fork
2016-12-20 00:30:09 +01:00
Florent Castelli
5db12ca54d
Fix arch detection for fast_matrix_mul
...
Needed for iOS Simulator build
2016-12-18 22:17:41 +01:00
Florent Castelli
46fdc0f5f5
cmake: Move some cmake includes to ext
2016-12-18 22:17:41 +01:00
Florent Castelli
6852c602b9
glew: Move to ext
2016-12-18 21:13:45 +01:00
Henrik Rydgard
a2b49fd0e0
Update Vulkan headers. Hack around another validation check (which I beleive to be bugged).
2016-12-15 18:12:53 +01:00
Henrik Rydgård
aa964ea2e5
Update glslang submodule
2016-12-09 13:58:55 +01:00
Henrik Rydgård
4a7809881b
Merge pull request #9139 from hrydgard/defensive-programming
...
Attempts to counter crashes seen in the Google Play developer console
2016-12-07 11:25:43 +01:00
Henrik Rydgard
f4b1152b00
Pick some safe changes from the android gradle branch (including windows CMake fixes)
2016-12-05 16:52:03 +01:00
latot
cb1e01f380
clean double end statements
2016-12-03 12:25:05 -03:00
latot
7047ad2271
fix sscanf types
2016-12-02 22:46:52 -03:00
Henrik Rydgard
5d5f10d956
Attempts to counter crashes seen in the Google Play developer console
2016-12-01 22:07:03 +01:00
Henrik Rydgard
bc746bd513
Merge branch 'ui-minor' of https://github.com/unknownbrackets/ppsspp into unknownbrackets-ui-minor
2016-12-01 18:13:14 +01:00
Henrik Rydgard
fe6d2d4017
Avoid unaligned accesses when hashing vertex data on ARM. Fixes #9114 , may help #9128 and #9129 .
2016-12-01 15:56:05 +01:00
Florent Castelli
8c3552de74
cmake: Detect features at compile time
...
Instead of relying on manually passed down flags from CMake,
we now have ppsspp_config.h file to create the platform defines for us.
This improves support for multiplatform builds (such as iOS).
2016-10-19 12:31:19 +02:00
Florent Castelli
94d57f4573
maemo: Remove!
2016-10-12 13:13:09 +02:00
Henrik Rydgård
705627d6d3
Merge pull request #9053 from Orphis/android_define
...
android: Change preprocessor define to standard __ANDROID__
2016-10-12 13:12:14 +02:00
Florent Castelli
e0ff68b3f6
c++11: Remove compat header base/functional.h
...
We want a proper C++11, not tr1. We don't target those compilers anyway.
2016-10-12 11:32:45 +02:00
Florent Castelli
70593d1004
android: Change preprocessor define to standard __ANDROID__
...
ANDROID is only standard to the old Makefile buildsystem, not the platform.
2016-10-12 11:14:09 +02:00
Florent Castelli
4145b60a0e
symbian: Remove!
2016-10-11 18:49:08 +02:00
Florent Castelli
373db56a16
blackberry: Remove!
2016-10-11 17:40:32 +02:00
Unknown W. Brackets
5ab0db2cd3
Undo arm64 fix: was a local problem, after all.
2016-10-09 20:40:00 -07:00
Unknown W. Brackets
a8e108e233
Workaround arm64/clang crashes by avoiding TLS.
...
We only use it in these two places, it should be okay for now. Still not
working on r13 on a SHIELD TV.
2016-10-08 12:08:19 -07:00
Unknown W. Brackets
246f3aa68d
Merge pull request #8993 from neilmunday/master
...
Updated SDL2 to use the game controller API
2016-09-24 10:32:29 -07:00
Neil Munday
db2cc49e0d
Modified SDL2 code to make full use of SDL2's Game Controller API.
2016-09-18 23:23:36 +01:00
Henrik Rydgard
3ee2b27cdd
Update ext/armips
2016-09-18 23:11:41 +02:00
Unknown W. Brackets
a52fbfcff7
UI: Lock input while mutating views/screens.
...
This way we can't get an axis event while switching screens and crash.
2016-09-11 11:26:35 -07:00
Unknown W. Brackets
c5a83c02a6
Remove no longer relevant comments.
2016-09-10 22:04:25 -07:00
Unknown W. Brackets
92d930887f
Android: Add both a lost and restore phase.
...
Lost = delete, restore = create. Let's stick to never overlapping.
May help #8912 .
2016-09-10 21:58:42 -07:00
Unknown W. Brackets
b3b96ad993
UI: Use powered slider repeat on all devices.
...
Some devices send through repeats, but we want to do the increased speed
thing. It might be ideal to use its repeat rate settings, but we don't
have a good way to do that cross platform...
Fixes #8696 .
2016-09-05 16:16:10 -07:00
Unknown W. Brackets
42f8bbde50
UI: Make sliders increase with button held.
2016-09-05 16:14:01 -07:00
Unknown W. Brackets
740365235b
Make SplitString significantly faster.
...
This takes about 10% as long or less with simple strings, which really
improves UI layout performance when wrapping text.
2016-09-04 09:20:13 -07:00
Unknown W. Brackets
57e68be754
UI: Cache measured text sizes.
...
This can be a bit slow to ask the font renderer every frame, might as well
cache like we do the drawn version.
2016-09-04 09:10:50 -07:00
Henrik Rydgard
47cc898c65
Minor optimization in draw_text on Windows. May help #8953 a bit.
2016-09-04 15:27:55 +02:00
Kelly Youngblood
7d191ccc11
Adds --PS3 flag for PS3 controllr support on SDL.
2016-09-03 00:15:25 -05:00
Henrik Rydgård
6b4b21726b
Merge pull request #8913 from unknownbrackets/ui-tweaks
...
Add setting tips on selection
2016-08-16 15:02:42 +02:00
Unknown W. Brackets
da7a42a957
UI: Measure text with & in it properly.
2016-08-14 14:57:39 -07:00
Unknown W. Brackets
53cc4524b1
UI: Center multiline text more correctly.
2016-08-14 14:57:38 -07:00
Unknown W. Brackets
f4c735ee4e
UI: Allow scrollviews to wrap content.
...
In the opposing direction, we can't AT_MOST if we don't have a good size
and we're wrapping content. This can happen inside a LinearLayout.
2016-08-14 13:09:55 -07:00
Unknown W. Brackets
086dc9e0ed
Move Apple GL2.0 forcing to a common place.
2016-08-08 17:56:11 -07:00
Unknown W. Brackets
6088c7d5f5
Ensure elided core profile extensions are set.
2016-08-08 17:56:11 -07:00
Unknown W. Brackets
2e2674be21
Properly allow triggering a core context.
...
This will be useful on Mac.
2016-08-08 17:56:09 -07:00
Henrik Rydgård
0924dbfdee
Merge pull request #8900 from unknownbrackets/ui-text-wrap
...
Wrap text in many places where it makes sense
2016-08-09 00:16:13 +02:00
Unknown W. Brackets
f0a8e931ff
Remove UTF-8 BOMs from a few files.
...
And note the only ones that do need them in editorconfig.
2016-08-07 17:59:35 -07:00
Unknown W. Brackets
192d6ca60a
UI: Allow explicit newlines in popup choice titles.
2016-08-07 17:44:02 -07:00
Unknown W. Brackets
604d6113c1
UI: Allow choices and checkboxes to wrap.
...
If the text is too long, they will scroll down first, then wrap.
2016-08-07 17:35:41 -07:00
Unknown W. Brackets
d6820f3cc3
UI: Allow measuring text with a scale.
2016-08-07 16:49:50 -07:00
Unknown W. Brackets
ab3ed7d2ef
UI: Account for flexible things changing on wrap.
...
If something has a flexible width, that may affect its final calculated
height. This allows it to grow in such a situation.
2016-08-07 16:35:58 -07:00
Unknown W. Brackets
f7231686bd
UI: Make it easy to measure with spec info.
...
This still allows skipping a Measure() override, so that it can still
clamp properly.
2016-08-07 16:35:56 -07:00
Unknown W. Brackets
d00a2bbc04
UI: Specify max height for horizontal scroll.
2016-08-07 16:35:55 -07:00
Unknown W. Brackets
277983ce35
UI: Scale option text down when there's no space.
...
This way, smaller or portrait screens just get smaller text, rather than
jumbled text going off the side. Particularly important for some
translations.
2016-08-07 15:24:49 -07:00
Unknown W. Brackets
df5377b8d5
UI: Measure small text correctly in Qt/Windows.
2016-08-07 15:24:48 -07:00
Unknown W. Brackets
b37ac3580d
UI: Use a helper for vert/horiz margin sum.
2016-08-07 15:24:47 -07:00
Unknown W. Brackets
fd546ff21d
Fix some type comparison warnings.
2016-08-05 10:47:45 -07:00
Unknown W. Brackets
e55198f7e7
Correct some initialization order warnings.
...
Also, another missing init with IRBlocks.
2016-08-05 10:46:11 -07:00
Unknown W. Brackets
4bb24e0d8a
Use gl3stub versions of VAO funcs on GLES.
2016-07-24 12:52:23 -07:00
Henrik Rydgård
3fc255b429
Make it possible to run even if SDL was built with joystick disabled. Should fix #8851 .
2016-07-09 09:15:49 +02:00
Unknown W. Brackets
a2494b4ff2
UI: Allow TextViews to use wordwrap.
...
But they must have a fixed width.
2016-07-04 16:03:22 -07:00
Unknown W. Brackets
30e99206c9
UI: Add a generic word wrapper class.
2016-07-04 16:03:22 -07:00
Unknown W. Brackets
3c47440d0c
http: Set an explicit timeout on HTTP connect.
...
Before we were just relying on whatever timeout connect() wanted.
2016-07-04 09:46:19 -07:00
Unknown W. Brackets
287d1967a5
http: Properly stop server on stop server.
2016-07-04 07:24:04 -07:00
Unknown W. Brackets
3eee81953a
http: Report local address to server.
...
This allows matching inside a network.
2016-07-03 22:13:51 -07:00
Unknown W. Brackets
bc614b6f85
http: Add actual serving of recent ISOs.
2016-07-03 22:13:48 -07:00
Unknown W. Brackets
0c0525ed87
http: Send listing back as text/plain.
...
Since it isn't text/html.
2016-07-03 22:13:46 -07:00
Unknown W. Brackets
ee29c6c50f
http: Allow binding a random port, timeout.
...
The timeout is useful to allow for shutdown of the thread.
2016-07-03 22:13:45 -07:00
Unknown W. Brackets
347158ecc6
Include Content-Transfer-Encoding in uploads.
...
We should specify it's binary, otherwise proxies might munge the data.
2016-06-12 09:07:04 -07:00
Unknown W. Brackets
f084084ff7
Clean up accidental debug code.
2016-05-31 11:53:17 -07:00
Unknown W. Brackets
30e13c7c37
Clean up some unused result warnings.
2016-05-31 11:49:59 -07:00
Unknown W. Brackets
419b960403
x86jit: Fix params in Replace_fabsf.
2016-05-31 10:40:14 -07:00
Henrik Rydgård
3147f1ac95
Merge pull request #8775 from unknownbrackets/http
...
Clean up HTTP server implementation
2016-05-28 12:34:55 +02:00
Unknown W. Brackets
95d912c378
Get rid of the input_state global linkage.
2016-05-27 20:24:01 -07:00
Unknown W. Brackets
11c7c25b03
http: Add a fast-path for large chunked sends.
...
These will be common. Skip a memcpy.
2016-05-26 18:16:43 -07:00
Unknown W. Brackets
06c3dca1da
http: Allow > 2GB responses.
2016-05-26 18:16:42 -07:00
Unknown W. Brackets
2dd157733b
http: Allow customizing the response headers.
2016-05-26 18:16:40 -07:00
Unknown W. Brackets
8fc610e2d1
http: Make it possible to override 404 handling.
2016-05-26 18:16:40 -07:00
Unknown W. Brackets
1cc49f3be4
http: Allow retrieving other headers.
...
Such as range request headers, accept headers, cookies, etc.
2016-05-26 18:16:39 -07:00
Unknown W. Brackets
41e7d3ecde
http: Switch to using input/output sinks.
...
This should be more performant than reading one byte at a time in a loop.
2016-05-26 18:16:38 -07:00
Unknown W. Brackets
85506e98fe
http: Parse headers with folding, not alloc.
2016-05-26 18:16:38 -07:00
Unknown W. Brackets
026a69ebb0
http: Allow non-blocking on Windows.
2016-05-26 18:16:37 -07:00
Henrik Rydgard
fd0af5b271
Vulkan: Mostly pass the validation layers in SDK 1.0.13
2016-05-24 21:41:35 +02:00
Unknown W. Brackets
a4926de436
Qt: Allow full shutdown and config save on exit.
...
We want to save the config on exit, as pointed out by akien-mga, #8026 .
Also works around what may be a Ubuntu bug, causing segfaults on exit.
2016-05-23 23:14:12 -07:00
Unknown W. Brackets
ba908b7b1e
Qt: Use new window size config settings.
...
It's no longer tied directly to render resolution.
2016-05-21 09:58:58 -07:00
Unknown W. Brackets
6159bc003b
Allow Qt platforms to use smallWindow dpi logic.
...
It doesn't look like there's any reason to limit this to Windows.
2016-05-21 09:58:23 -07:00
Unknown W. Brackets
eb45c5bc89
Update to latest armips to fix unittest on Android.
...
Also fixes ARRAY_SIZE warning.
2016-05-21 09:29:20 -07:00
Unknown W. Brackets
a913e0f0fc
Remove some unused private properties.
2016-05-21 09:29:04 -07:00
Unknown W. Brackets
b09c2b1f75
Add some missing override definitions.
2016-05-21 09:29:03 -07:00
Henrik Rydgard
51bcb02921
Minor vulkan updates to match the latest SDK/validator
2016-05-14 16:29:40 +02:00
Unknown W. Brackets
2e1986d0c8
Fix a few reorder warnings.
2016-05-01 09:50:03 -07:00
Unknown W. Brackets
a518ad783d
UI: Align screenshot preview in savestate manager.
2016-04-24 11:51:06 -07:00
Henrik Rydgard
fa64417917
Minor warning fixes
2016-04-10 10:34:39 +02:00
Henrik Rydgard
4197148dc4
Add some paranoid checks hoping to fix crashes reported in Google Play developer console.
2016-04-09 18:27:35 +02:00
Henrik Rydgard
774539dea8
Add more error checking in net resolve.
2016-04-09 18:27:35 +02:00
Henrik Rydgard
e1bf0d3f81
Update glslang, lang submodules
2016-04-07 23:30:45 +02:00
Henrik Rydgard
617bcebcd6
Update to latest vulkan header (1.0.8)
2016-04-07 22:53:37 +02:00
Henrik Rydgard
e1f660ebc1
Update vulkan structure init to the new style
2016-04-02 23:57:23 +02:00
Unknown W. Brackets
f3d113a777
thin3d: Use 32-bit indexed drawing to match.
2016-03-21 07:17:38 -07:00
Unknown W. Brackets
1b8985a080
thin3d: Fix tranposed Vulkan bufs.
2016-03-21 07:17:37 -07:00
Henrik Rydgård
6831f6fc46
Merge pull request #8650 from unknownbrackets/vulkan-buf
...
Vulkan: Cache only device in push buffers
2016-03-21 08:27:50 +01:00
Henrik Rydgård
2a35d4b4c5
Merge pull request #8653 from unknownbrackets/warnings
...
Warning fixes from clang
2016-03-21 08:27:25 +01:00
Unknown W. Brackets
bdc0dac6c5
thin3d: Plug leaks in samplers and vk shaders.
2016-03-21 00:03:34 -07:00
Unknown W. Brackets
9c3e12ead0
Remove some unused things reported by clang.
2016-03-20 23:14:08 -07:00
Unknown W. Brackets
9fd040eed0
Vulkan: Cache only device in push buffers.
2016-03-20 22:49:38 -07:00
Unknown W. Brackets
ef1dc583a2
Fix various minor warnings.
2016-03-20 14:17:51 -07:00
Henrik Rydgard
0e199272ed
Buildfix to last commit, add a comment
2016-03-20 20:56:33 +01:00
Henrik Rydgard
29bc07eb0a
SoftGPU with Vulkan runs but displays black
2016-03-20 20:04:49 +01:00
Henrik Rydgard
18d78f9a35
Minor optimizations
2016-03-20 19:35:03 +01:00
Henrik Rydgard
2c61b1e763
Change the VulkanPushBuffer API to allow for adding support for dynamic growth
2016-03-20 19:35:03 +01:00
Henrik Rydgard
5d56537a16
Move VulkanPushBuffer into VulkanMemory.h
2016-03-20 19:31:02 +01:00
Henrik Rydgard
da50370328
Split out VulkanTexture from VulkanContext.cpp/h into VulkanImage.cpp/h
2016-03-20 19:31:02 +01:00
Unknown W. Brackets
baa7132a89
Vulkan: Simplify color testing.
2016-03-20 19:31:02 +01:00
Henrik Rydgard
575cc890b7
Turn off annoying "debug flicker" I used to see if we were swapping buffers properly early on
...
Also minor logging changes, refine the false-positive debug layer check
2016-03-20 19:31:02 +01:00
Henrik Rydgard
b7b0b59e9a
Update Vulkan headers to 1.0.5. Remove references to vulkan-1.lib as we load dynamically.
2016-03-20 19:31:02 +01:00
Unknown W. Brackets
c92790c5a8
Specify a useful app version when loading Vulkan.
2016-03-20 19:31:02 +01:00
Henrik Rydgard
8950509bc5
Buildfix (glslang project settings /MT)
2016-03-20 19:31:02 +01:00
Henrik Rydgård
9c457da4c9
Gets the Vulkan backend running, but not drawing correctly, on Android.
...
Not sure what's wrong, I get a yellow flashing screen.
2016-03-20 19:30:39 +01:00
Henrik Rydgard
d325aa2b30
Hook up Vulkan on Android, no idea if it works. Move VulkanContext to Common.
2016-03-20 19:30:11 +01:00
Henrik Rydgard
c8e06675bb
Possible buildfix
2016-03-20 19:30:11 +01:00
Henrik Rydgard
45cf399091
Remove remains of xcb support. Will add back later.
2016-03-20 19:30:11 +01:00
Henrik Rydgard
2481714a8e
Load Vulkan dynamically. Fix Android build (though - Vulkan is not working on Android yet)
2016-03-20 19:30:11 +01:00
Henrik Rydgard
432f276bec
Cleanups. Don't loop over bones in vshader, causes trouble
2016-03-20 19:30:11 +01:00
Henrik Rydgard
ca63cca9a2
WIP: Start work on getting the Vulkan code to compile for Android
2016-03-20 19:30:11 +01:00
Henrik Rydgard
5b70957b1f
Expose another couple of vulkan device features.
2016-03-20 19:30:11 +01:00
Henrik Rydgard
02d1648872
Delete pipeline caches asynchronously too
2016-03-20 19:30:11 +01:00
Henrik Rydgard
3284899844
More clearing fixes. Also fix some memory leaks.
2016-03-20 19:30:11 +01:00
Henrik Rydgard
55ef97639a
More zero-initialization. Fix scope issue, MSVC's optimizer was aggressive enough that this was a problem. Fixes textures in release mode.
2016-03-20 19:30:11 +01:00
Henrik Rydgard
4c281f16ac
Fix mixup with fragment shader ubo variables
2016-03-20 19:30:11 +01:00
Henrik Rydgard
3bf88d7475
Plug the texture memory leak
2016-03-20 19:30:11 +01:00
Henrik Rydgard
29341e53a5
Assorted fixes and cleanups.
2016-03-20 19:30:11 +01:00
Henrik Rydgard
87b743e922
Fix issues with texture replacement
2016-03-20 19:30:11 +01:00
Henrik Rydgard
dced84c9fc
Work on texture support, cube.elf works correctly. Delete unused code.
2016-03-20 19:30:11 +01:00
Henrik Rydgard
7eeba080c7
Fix primitive topology. Crashfix.
2016-03-20 19:30:11 +01:00
Henrik Rydgard
9e34d7d625
Remove remains of FragmentTestCache from Vulkan backend
2016-03-20 19:30:11 +01:00
Henrik Rydgard
4e6a9b8108
Fix indexed through-mode drawing
2016-03-20 19:30:11 +01:00
Henrik Rydgard
d67d187b72
Get untextured drawing working! (at least cube.elf)
2016-03-20 19:30:11 +01:00
Henrik Rydgard
28ae840abe
Pipelines, samplers, description sets, oh my
2016-03-20 19:30:11 +01:00
Henrik Rydgard
01e3fbae95
Fix clearing bug, add FIFO_RELAXED flag, etc
2016-03-20 19:30:11 +01:00
Henrik Rydgard
ddb36a35a0
Some descriptor binding fixes
2016-03-20 19:30:11 +01:00
Henrik Rydgard
906b259a85
First PSP shaders actually compile
2016-03-20 19:30:11 +01:00
Henrik Rydgard
4063f7e0db
Fill out GPU_Vulkan.cpp with what's mostly a copy of GLES_GPU.cpp
2016-03-20 19:30:11 +01:00
Henrik Rydgard
cfcfd406fc
Start porting TextureCache. Lots of stubbing going on.
2016-03-20 19:30:11 +01:00
Henrik Rydgard
5216a24590
Back to work on the PSP renderer
2016-03-20 19:30:11 +01:00
Henrik Rydgard
56e358aa24
Show Vulkan information in system information.
2016-03-20 19:30:11 +01:00
Henrik Rydgard
776439d706
Per-frame descriptor pools. Safe-delete more types.
2016-03-20 19:30:11 +01:00
Henrik Rydgard
d7e8f8433f
Support multiple texture formats
2016-03-20 19:29:03 +01:00
Henrik Rydgard
e89a7f0c67
Update VulkanContext
2016-03-20 19:26:41 +01:00
Henrik Rydgard
cfbecf5071
More progress
2016-03-20 19:26:41 +01:00
Henrik Rydgard
4ddca8607f
Further vulkan stuff
2016-03-20 19:26:12 +01:00
Henrik Rydgard
83a5313a06
More fixes
2016-03-20 19:26:12 +01:00
Henrik Rydgard
73d6d2dc72
More vulkan in thin3d
2016-03-20 19:25:53 +01:00
Henrik Rydgard
847cab231f
Fixes in VulkanContext
2016-03-20 19:25:30 +01:00
Henrik Rydgard
2a449f78bb
More vulkan fixing
2016-03-20 19:25:30 +01:00
Henrik Rydgard
eedd81988c
Implement a trivial SPIR-V disassembler, just for fun
2016-03-20 19:18:35 +01:00
Henrik Rydgard
c64064024d
Initial vulkan code.
...
This was squashed from nine commits but using old versions of Vulkan.
2016-03-20 19:18:35 +01:00
Henrik Rydgård
54a37f9bb8
Merge pull request #8591 from unknownbrackets/thin3d
...
Use thin3d for softgpu drawing (+thin3d improvements)
2016-03-20 18:06:53 +01:00
Henrik Rydgard
4c0e6d0138
Some renaming, fixes and tweaks to the gl_lost mechanism, which is again needed
2016-03-17 21:30:16 +01:00
Henrik Rydgard
5ad772a8bf
Further fixes to Java EGL support
2016-03-17 19:42:59 +01:00
Henrik Rydgard
c8457d39ed
Fix a bunch of compiler warnings, delete some unused code
2016-03-13 15:17:31 +01:00
Henrik Rydgard
b94572e3ba
Assorted cleanup
2016-03-13 15:17:31 +01:00
Unknown W. Brackets
8a9e30f833
UI: Wait for the specific game info item to finish.
...
In case we have slow-loading ones.
2016-03-06 14:49:16 -08:00
Unknown W. Brackets
da03b80c97
Standardize on just one mutex implementation.
2016-03-06 14:49:15 -08:00
Henrik Rydgard
98dc56116f
Add ability to hide items from popup lists
2016-03-06 11:54:38 -08:00
Henrik Rydgard
58b07e00d7
Assorted fixes and cleanups.
2016-03-06 11:46:41 -08:00
Henrik Rydgard
d67b148712
Add math dataconv funcs for packed values.
2016-03-06 11:33:53 -08:00
Henrik Rydgard
438c7c1344
Only show GL extensions in the GL backend.
2016-03-06 11:06:49 -08:00
Unknown W. Brackets
ee27d838dd
VFS: Only use Windows paths on Windows, cleanup.
2016-02-29 00:36:37 -08:00
Unknown W. Brackets
5451334b38
VFS: Support local paths on Windows too.
...
This fixes cases where local paths are read from, but not within the
registered VFS paths. For example, save state icons.
2016-02-29 00:24:01 -08:00
Henrik Rydgard
da1a04be8d
Make the workqueue slightly safer. Put g_gameInfoCache on the heap.
...
Cherry-picked from #8592
2016-02-28 12:39:47 +01:00
Henrik Rydgard
5f0553955c
Vulkan headers and link library
2016-02-17 22:49:13 +01:00