xebra
56f80ace90
[spline/bezier]Unify the word "tesselate" to "tessellate".
2017-03-09 18:04:16 +09:00
xebra
29791faf00
[spline/bezier]Fix the avoiding of "crazy tessellation factor" was not working.
2017-03-09 17:56:19 +09:00
xebra
8d7f3f1e0c
[spline/bezier]Fix not enough spline buffer causes crash.
2017-03-09 16:12:24 +09:00
Henrik Rydgård
ee48a075b0
UWP: Implement display rotation in framebuffer manager, now games display right-way-up in buffered rendering mode.
2017-03-07 15:32:53 +01:00
Henrik Rydgård
ed16096365
Don't crash if not enough memory to save a state. Very annoying.
...
Minor tweaks.
2017-03-07 15:32:34 +01:00
Henrik Rydgård
474db602ca
UWP: Fix screen rotation in non-buffered rendering mode
2017-03-07 15:32:26 +01:00
Henrik Rydgård
1496e2caa2
Fix possible crash when task switching on Android
2017-03-06 17:04:55 +01:00
Henrik Rydgård
90e0079c98
GE Debugger D3D11: Support displaying the current texture
2017-03-06 16:46:15 +01:00
Henrik Rydgård
07bfde357d
D3D11 simpleblit: Avoid a binding hazard by swapping the texture and framebuffer bind.
2017-03-06 16:39:23 +01:00
Henrik Rydgård
a895936913
More log cleanup. Fix resize issue: Fixes #9392
2017-03-06 13:50:22 +01:00
Henrik Rydgård
440e72d250
Clean up among the logs. Remove MASTER_LOG.
2017-03-06 13:10:23 +01:00
Henrik Rydgard
5d5844632a
Fix shader issues with D3D11 feature level 9
2017-03-05 22:56:33 +01:00
Henrik Rydgard
bb3e211088
Fix bad initialization of featureLevels, breaking things in #9361
2017-03-05 22:33:18 +01:00
Henrik Rydgård
18898fb965
Merge pull request #9388 from LunaMoo/PostShaderRefresh
...
Add PostShader option to force 60fps for animated effects
2017-03-05 21:56:03 +01:00
Henrik Rydgard
042d09a049
Fix #9390 , also unbreak D3D11 screenshots
2017-03-05 20:30:39 +01:00
LunaMoo
2b0ab12c4d
Add PostShader option to force 60fps for animated effects
2017-03-05 15:04:22 +01:00
Henrik Rydgard
a04e24c300
Further D3D11 on mobile fixes
2017-03-05 14:05:04 +01:00
Henrik Rydgard
61c6d83b6e
D3D11: Fix creation of stock samplers to work on featurelevel9 GPUs
2017-03-05 12:40:09 +01:00
Henrik Rydgard
116edcb77a
Take the D3D11 feature level into account when creating shaders. May help #9369
2017-03-05 12:31:33 +01:00
Henrik Rydgard
7b3f84aae8
More buildfixes for Windows on ARM
2017-03-05 10:52:08 +01:00
Henrik Rydgard
9d116505cf
D3D11: Add a large amounts of asserts
2017-03-05 10:34:44 +01:00
Henrik Rydgard
480a05d845
D3D11: Specify DepthClipEnable = TRUE when creating rasterizer states, required on D3D11_level_9. Fixes the Pursuit Force glitch in #9361
2017-03-05 10:34:28 +01:00
xebra
7364dbea3b
[spline/bezier]Implement hardware tessellation on D3D11.
2017-03-04 22:53:40 +09:00
xebra
a0907ab7bb
[spline/bezier]Fix shared uniform a bit.
2017-03-04 22:53:39 +09:00
Henrik Rydgard
a272a4ee3f
Improve error message on vertex decoder compile fail. Also disable a broken vertex JIT function until it can be fixed.
2017-03-03 14:19:36 +01:00
Henrik Rydgard
5d4700ae7e
Sprinkle calls to CHECK_GL_ERROR_IF_DEBUG all over the place, disabled by default.
2017-03-03 14:18:40 +01:00
Henrik Rydgard
f95459ab0d
Fix bug where we tried to set aniso even if unsupported. Fixes #9377
2017-03-03 14:16:15 +01:00
Henrik Rydgard
147d311acb
Fix typo with isAllowTexture2D for hardware tesselation
2017-03-03 12:32:01 +01:00
Henrik Rydgard
700e533622
Minor D3D9 cleanups
2017-03-02 12:29:23 +01:00
Henrik Rydgard
d46397627e
Buildfixes
2017-02-28 11:40:29 +01:00
Henrik Rydgard
26a2d42731
Big mutex overhaul - remove our custom ones, make them non-recursive where possible
2017-02-28 11:40:29 +01:00
Henrik Rydgård
ba6ab0bd36
Buildfix, warning fix
2017-02-27 23:09:12 +01:00
Henrik Rydgård
d84f579928
Merge pull request #9356 from xebra/hw_tess_vulkan
...
Hardware Tessellation on Vulkan
2017-02-26 09:12:11 +01:00
Henrik Rydgard
5ba53addb5
D3D11: Fix problems with scaling 16-bit textures, fixes issue with #9345 , thanks @ufdada
2017-02-26 00:05:08 +01:00
xebra
6022b40346
[spline/bezier]Handle deleting sampler of TessellationDataTransferVulkan.
2017-02-26 00:27:25 +09:00
xebra
f9ab61a005
[spline/bezier]Implement hardware tessellation on Vulkan.
2017-02-25 19:28:15 +09:00
xebra
7b72f87308
[spline/bezier]Add support for unsupported device about HW tess.
2017-02-25 19:28:13 +09:00
xebra
0172bbe8aa
[spline/bezier]Minor fixes for HW tess GLES.
2017-02-25 18:40:20 +09:00
Henrik Rydgard
c219ae9e63
Further UWP fixes
2017-02-25 09:57:24 +01:00
Henrik Rydgard
03dab0fdbd
More UWP prep
2017-02-25 09:57:22 +01:00
Henrik Rydgard
fa80cfa4aa
Additional UWP preparations
2017-02-25 09:57:14 +01:00
Henrik Rydgard
f5fa238e22
More minor changes to make GPU and native build on UWP later
2017-02-24 20:26:38 +01:00
Henrik Rydgard
fcbc20f240
Small changes to make Common and Core build under my preliminary UWP setup.
2017-02-24 18:59:41 +01:00
Henrik Rydgard
89ac1a5c4a
Minor D3D11 scissor fix
2017-02-24 12:33:27 +01:00
Henrik Rydgård
f065f100ee
Merge pull request #9352 from LunaMoo/upscalingStuff
...
Minor workaround for 5xBR
2017-02-23 23:04:36 +01:00
Henrik Rydgard
b1971d266b
Protect Unswizzle from bad alignment of the destination. Might help #9134
2017-02-23 23:03:01 +01:00
LunaMoo
d6c2944aac
Minor workaround for 5xBR,
...
Also screen scaling filter for upscaling filters that also happen to use postShaderAtOutputResolution_.
2017-02-23 22:54:50 +01:00
Henrik Rydgard
98763655e7
Plug a memory leak in the GLES texture cache. Fixes #9089
2017-02-23 22:41:13 +01:00
Henrik Rydgard
8eb668ea59
D3D11: Enable pixel depth rounding. GL: Fix a crash bug
2017-02-23 20:40:53 +01:00
Henrik Rydgård
c355947bca
Merge pull request #9350 from hrydgard/d3d11-postproc
...
D3D11 postprocessing shaders
2017-02-23 20:39:28 +01:00
Henrik Rydgard
86f0be7724
Another shader function replacement
2017-02-23 20:29:53 +01:00
Henrik Rydgard
79bd01efb8
D3D11: Add support for viewing the depth and stencil buffers in the GE debugger
2017-02-23 16:27:26 +01:00
Henrik Rydgard
ccef648d3d
Complete implementation of post shaders for D3D11. All work except 5x scale one which looks wrong.
2017-02-23 14:51:05 +01:00
Henrik Rydgard
731026c199
D3D11: Can now switch post shader at runtime, and won't crash if they fail to translate correctly.
2017-02-23 12:42:28 +01:00
Henrik Rydgard
f1e015f577
Basic postshader translation to D3D11 works. On-the-fly switching seems broken though.
2017-02-23 12:42:28 +01:00
Henrik Rydgard
e7612c13da
Initial work on post-shader translation for D3D11
2017-02-23 12:42:24 +01:00
Henrik Rydgard
900539e200
Fix #9340 (touch controls not always getting repositioned correctly)
2017-02-23 09:31:45 +01:00
Henrik Rydgard
95aec3ac76
Fix D3D9 crash (made a mistake with locking)
2017-02-22 18:27:46 +01:00
Henrik Rydgard
0954ecf28c
D3D11: Expand 16-bit texture formats to 32-bit if they are not supported, like on Windows 7. Part of issue #9317
2017-02-22 17:31:01 +01:00
Henrik Rydgard
f24b1495ba
Assorted texture format cleanup, prep for supporting D3D11 on Win7
2017-02-22 16:23:04 +01:00
Henrik Rydgard
b94ad12aea
D3D9: Use D3DLOCK_DISCARD when updating whole textures, may be a small speedup
2017-02-21 11:35:06 +01:00
Henrik Rydgard
f772066c54
Remove some unnecessary error handling paths
2017-02-21 11:29:51 +01:00
Henrik Rydgard
06cf449719
Delete some broken DX9 code.
2017-02-21 11:11:38 +01:00
Henrik Rydgard
e16e1b6d7e
GL: If possible, use glCopyImageSubData instead of glBlitFramebuffer to copy depth buffers
2017-02-21 11:10:44 +01:00
Henrik Rydgard
78abf7453c
Add some comments and a sanity check, fix a minor leak
2017-02-21 10:58:21 +01:00
Henrik Rydgard
4c6ca76681
D3D11: Fix texture loading crash on 32-bit platforms
2017-02-20 10:15:41 +01:00
Henrik Rydgard
195eb94c8e
Texcache: Keep pointers to entries instead of full entries in the map.
2017-02-20 00:45:07 +01:00
Henrik Rydgard
ca9050af12
These should be deleted too.
2017-02-20 00:36:37 +01:00
Henrik Rydgard
4c897ff853
Forgot to delete CheckFullHash duplicates
2017-02-20 00:21:54 +01:00
Henrik Rydgard
4652c6af28
Some member variable renaming to match the convention
2017-02-20 00:19:58 +01:00
Henrik Rydgard
f753573332
Unify HandleTextureChange
2017-02-20 00:13:21 +01:00
Henrik Rydgard
f15e25c4b5
Centralize SetTexture
2017-02-20 00:05:23 +01:00
Henrik Rydgard
e24e652b0d
Prepare to unify SetTexture
2017-02-19 23:50:04 +01:00
Henrik Rydgard
aae2030a14
Unify Decimate()
2017-02-19 23:39:35 +01:00
Henrik Rydgard
d9c20fbaff
Unify ApplyTexture
2017-02-19 23:25:09 +01:00
Henrik Rydgard
7890b61cc5
More work towards unifying ApplyTexture
2017-02-19 23:19:55 +01:00
Henrik Rydgard
f839f1944e
Work towards unifying ApplyTexture
2017-02-19 23:07:00 +01:00
Henrik Rydgard
665ffe34ab
Centralize DeleteTexture
2017-02-19 22:50:04 +01:00
Henrik Rydgard
dbafc6ef95
Centralize Texcache::Clear
2017-02-19 22:31:07 +01:00
Henrik Rydgard
91611832dc
Vulkan crashfix
2017-02-19 22:02:44 +01:00
Henrik Rydgard
4364569cf4
Move TexCacheEntry outside the TextureCacheCommon class. Nested structs are annoying.
2017-02-19 18:53:30 +01:00
Henrik Rydgard
b14e10632d
Take the mapping direction into account in AnalogTestScreen. Hopefully will solve #9300 .
2017-02-19 14:33:59 +01:00
Henrik Rydgard
387ad7e4d6
OpenGL DrawContext texture handling cleanup, fixing some bugs.
2017-02-19 12:25:37 +01:00
Henrik Rydgard
eabcb22623
Refactor away SetImageData
2017-02-19 11:02:24 +01:00
Henrik Rydgard
d7238c39e9
Disable logic ops, the D3D11 debug layer says they don't work anyway..
2017-02-18 12:17:51 +01:00
Henrik Rydgard
f868a0c4a1
D3D11: Fix crash with texture scaling enabled
2017-02-18 12:00:15 +01:00
Henrik Rydgard
fc1a1a810f
Fix oversight that could cause crashes with shader blending in GL
2017-02-18 11:10:47 +01:00
Henrik Rydgard
bd6314325f
Crashfix
2017-02-18 03:00:22 +01:00
Henrik Rydgard
b0cdcfca3c
D3D11: Proper fix for DXT5 crash. May also help #9134 .
2017-02-18 02:41:17 +01:00
Henrik Rydgard
badd3669ca
Workaround for crash decoding DXT5 textures. This may be a clue to #9134
2017-02-18 02:32:33 +01:00
Henrik Rydgard
3713f4e6e6
D3D11: implement support for logic op blending when available
2017-02-18 02:14:26 +01:00
Henrik Rydgard
5a0ee6cc36
Add some plumbing to be able to reach DX11.1 features.
2017-02-18 01:54:28 +01:00
Henrik Rydgard
6a09d45aee
D3D11: Add proper checks for B4G4R4A4 format support. Not yet using the checks.
2017-02-18 01:41:08 +01:00
Henrik Rydgard
584650a0c2
Initial preparations for logic op support
2017-02-18 01:41:08 +01:00
Henrik Rydgard
e8396b10f9
D3D11: Implement screenshots.
2017-02-18 00:43:02 +01:00
Henrik Rydgard
68ba3070bc
D3D11: Add enough debug readback support to support savestate thumbnails
2017-02-18 00:27:32 +01:00
Henrik Rydgard
0e8aeaea3a
D3D11: Implement basic framebuffer readback.
...
Also make debug interfaces more consistent.
2017-02-18 00:07:49 +01:00
Henrik Rydgard
b807442641
Fix another resource leak, and fix one of the last leak fixes :P
2017-02-17 19:41:06 +01:00
Henrik Rydgard
2fabe3e1c5
Fix a number of resource leaks, both D3D11-only and general.
...
Additionally, fix D3D11 BlitFramebuffer
2017-02-17 19:23:01 +01:00
Henrik Rydgard
13a3d179d5
Further minor D3D11 fixes
2017-02-17 18:43:27 +01:00
Henrik Rydgard
061685678d
State management fixes. DBZ toon shader effect now works.
2017-02-17 17:34:21 +01:00
Henrik Rydgard
b7f58a6704
D3D11 depal: Directly index into the texture using Load() instead of messing with samplers.
2017-02-17 17:15:00 +01:00
Henrik Rydgard
ba040559c1
Fix bugs. DBZ now shows outlines, though doesn't apply them correctly.
2017-02-17 17:00:35 +01:00
Henrik Rydgard
e83dd2b524
Minor cleanup, elimintate some bind ordering hazards that D3D11 warns about
2017-02-17 14:31:02 +01:00
Henrik Rydgard
b961117897
D3D11: Attempt a straight implementation of FramebufferBlit. Shader blending not yet working.
2017-02-17 12:51:37 +01:00
Henrik Rydgard
08d173ceee
Unify ApplyShaderBlending
2017-02-17 12:21:27 +01:00
Henrik Rydgard
4538edad14
Work towards enabling shader blending on D3D11
2017-02-17 12:21:18 +01:00
Henrik Rydgard
9359922201
GL: Fix inconsistency with BindFramebufferColor
2017-02-17 12:13:53 +01:00
Henrik Rydgard
dcfc37a39d
GL: Allow ShaderTexClamp path on PowerVR if no projection is needed
2017-02-17 12:12:15 +01:00
Henrik Rydgård
a99bad046b
Merge pull request #9314 from hrydgard/unify-postproc
...
Unify postprocessing-related framebuffer code
2017-02-16 16:37:06 +01:00
Henrik Rydgard
a847de9522
Fix some minor gl bugs
2017-02-15 23:56:38 +01:00
Henrik Rydgard
68c5a6c517
Unify CopyDisplayToOutput
2017-02-15 23:24:25 +01:00
Henrik Rydgard
23762ef89f
Unify DrawFramebufferToOutput
2017-02-15 23:11:46 +01:00
Henrik Rydgard
26f208a212
Unify "DrawPixels"
2017-02-15 23:06:22 +01:00
Henrik Rydgard
84e6054b23
More work towards unifying CopyDisplayToOutput
2017-02-15 22:48:23 +01:00
Henrik Rydgard
cba37e54d0
Preparations for unifying CopyDisplayToOutput
2017-02-15 22:47:50 +01:00
Henrik Rydgard
7652bc2d8b
Declare DrawActiveTexture in FramebufferCommon
2017-02-15 22:47:49 +01:00
Henrik Rydgard
0fb1e95bac
Remove GLSL program argument to DrawActiveTexture - bind before instead.
2017-02-15 22:47:44 +01:00
Henrik Rydgard
d084da9e04
DrawActiveTexture: Don't allow passing in nullptr as a GLES program
2017-02-15 21:51:40 +01:00
Henrik Rydgard
3ac0fc2466
Move compiledraw2dprogram out of DrawActiveTexture
2017-02-15 21:51:39 +01:00
Henrik Rydgard
f95ab4a0fa
One more step
2017-02-15 21:51:39 +01:00
Henrik Rydgard
8f48816baa
Move CalcShaderUniforms to FramebufferCommon
2017-02-15 21:51:38 +01:00
Henrik Rydgard
dfc71f32cb
Initial work on shader translation using glslang+spirv-cross
2017-02-15 21:51:33 +01:00
Henrik Rydgård
3fb1f4425d
Merge pull request #9312 from xebra/fake_mipmap
...
Fix fake mipmap hacks.
2017-02-15 15:10:44 +01:00
xebra
59fd5da438
Fix fake mipmap hacks.
2017-02-15 22:07:58 +09:00
Henrik Rydgard
55beec3e89
D3D11: Enable anisotropic filtering
2017-02-15 11:46:47 +01:00
Henrik Rydgard
5c918da774
Minor cleanups (combined two identical enums, misc)
2017-02-15 11:06:59 +01:00
Henrik Rydgard
a8ee70f23d
Import SPIRV-Cross. This will be used later to translate post-processing shaders to the various shader languages we use.
...
Eventually, this will make it possible to use post-processing with
Vulkan and D3D11. Probably not DX9, though maybe.
Not adding to Android build, there's some strangeness with STL.
2017-02-14 23:33:27 +01:00
xebra
e2f9dc8f28
Add support compat to fake mipmap hacks.
2017-02-15 01:02:51 +09:00
xebra
7975addad0
Fix small issue.
2017-02-15 01:02:51 +09:00
xebra
ef536ae54d
Move wasted checks in FastRunLoop() to Execute_TexLevel()
2017-02-15 01:02:50 +09:00
xebra
945e603072
Fix fake mipmap issue related #5350
2017-02-15 01:02:50 +09:00
Henrik Rydgard
6e940dfeda
D3D11, Vulkan: Switch to 4x3 matrixes where possible.
...
Lets us unify more shader code between D3D11 and D3D9, and fixes HW
skinning on D3D11.
2017-02-14 11:59:13 +01:00
Henrik Rydgard
a9e267ae7a
Enable dualsource blend effects (glows on transparent things in Wipeout, for example)
2017-02-14 10:36:58 +01:00
Henrik Rydgard
56b3a823ba
D3D11: Improved alpha/color test, like in GL/Vulkan
2017-02-14 10:34:55 +01:00
Henrik Rydgard
b51bcd2247
D3D11 Stencil ref fix, fixes Star Ocean stencil-depth
2017-02-14 01:54:00 +01:00
Henrik Rydgard
6d4d638746
D3D11: Fix some color issues by doing thing similarly to DX9. Can be optimized later.
2017-02-14 01:31:45 +01:00
Henrik Rydgard
780006489e
D3D11 Attempt at fixing Star Ocean stencil .. doesn't quite work.
2017-02-13 17:29:50 +01:00
Henrik Rydgard
cef8dc907d
Last one for today
2017-02-13 02:12:49 +01:00
Henrik Rydgard
373c6ba12f
More D3D11 fixes, hopefully without breaking DX9
2017-02-13 02:07:27 +01:00
Henrik Rydgard
94860b6636
Additional D3D11 fixes
2017-02-13 01:38:52 +01:00
Henrik Rydgård
6033b1ee05
D3D11: Some cleanup. Fix backface culling. Wipeout still looks weird...
2017-02-12 18:29:58 +01:00
Henrik Rydgård
142b30836a
DX9 typo fix in PackDepthBuffer
2017-02-12 17:50:37 +01:00
Henrik Rydgård
328201978f
D3D11: Prepare for dual src blending support
2017-02-12 17:10:04 +01:00
Henrik Rydgård
3b12ac5f05
D3D11: Stencil and scissor work
2017-02-12 17:09:53 +01:00
Henrik Rydgård
cb407a4019
Minor tweaks
2017-02-12 16:21:24 +01:00
Henrik Rydgård
4f2fb10347
Further D3D11 fixes
2017-02-12 16:14:14 +01:00
Henrik Rydgård
bbdb0ee195
Fix the stencil buffer initialization stuff (not sure it's 100% working et)
2017-02-12 13:55:49 +01:00
Henrik Rydgård
6efdde9ea4
D3D11: Fix build issue in Release mode. Triangle fan workaround.
2017-02-12 12:12:36 +01:00
Henrik Rydgård
07c88ef2b0
D3D11: Fix reverse colors in drawpixels, fix a potential crash
2017-02-12 12:07:37 +01:00
Henrik Rydgård
4fbb537c92
Assorted D3D11 fixes
2017-02-12 12:02:13 +01:00
Henrik Rydgård
abbd6cb1d1
Fix DrawActiveTexture, now Buffered Rendering is starting to work
2017-02-12 11:20:55 +01:00
Henrik Rydgård
04b803e2f6
D3D11: Change init method for textures, so we can support mipmapping
2017-02-10 15:40:51 +01:00
Henrik Rydgård
f7717063a8
Assorted fixes for memory leaks etc
2017-02-10 14:41:32 +01:00
Henrik Rydgard
7750ee9f7b
D3D11: Fix reversed colors, stencil improvements
2017-02-10 11:36:09 +01:00
Henrik Rydgard
3f4e14f504
D3D11: Lumines is now playable in non-buffered, with reverse colors.
2017-02-10 11:25:24 +01:00
Henrik Rydgard
a8dc9360f0
D3D11: Fix clears
2017-02-10 10:32:32 +01:00
Henrik Rydgard
5ee3b534ed
More D3D11 improvements
2017-02-10 10:26:18 +01:00
Henrik Rydgard
9a6f3ccfad
D3D11: Fix depth state
2017-02-10 00:37:56 +01:00
Henrik Rydgard
aba669c3e6
D3D11: Cube now visible
2017-02-10 00:30:42 +01:00
Henrik Rydgard
a7ea169797
cube.elf now runs in D3D11 mode, still blackscreen
2017-02-10 00:07:23 +01:00
Henrik Rydgard
f9b840dbfd
More D3D11 progress
2017-02-10 00:01:56 +01:00
Henrik Rydgard
01f46e7a5d
Make the first generated D3D11 shaders compile, fix various warnings
2017-02-09 15:04:21 +01:00
Henrik Rydgard
76587ec61c
Further stuff.
2017-02-09 13:28:59 +01:00
Henrik Rydgard
ba95e0f4d9
Initial stab at porting the DX9 backend to D3D11. Not working yet.
2017-02-09 13:28:40 +01:00
Henrik Rydgard
01e11c6437
Some mostly empty files for D3D11
2017-02-08 17:47:07 +01:00
Henrik Rydgard
175b97ef34
Start stubbing out a new D3D11 backend
2017-02-08 17:35:41 +01:00
Henrik Rydgard
9f00b355ca
Unify DownloadFramebufferForClut
2017-02-08 15:58:46 +01:00
Henrik Rydgard
454f2cf4bf
Unify "SetOffsetTexture"
2017-02-08 15:48:36 +01:00
Henrik Rydgard
346b9d0c51
Texcache: Unify SetTextureFramebuffer
2017-02-08 15:44:01 +01:00
Henrik Rydgard
096018a163
Texcache: Unify AttachFramebuffer, misc
2017-02-08 15:37:40 +01:00
Henrik Rydgard
3b18f4452f
TexCache: Unify Invalidate, InvalidateAll, ClearNextFrame
2017-02-08 15:24:33 +01:00
Henrik Rydgard
29b30c197b
Unify CheckFullHash
2017-02-08 15:24:27 +01:00
Henrik Rydgard
9bdae8f32e
DrawContext: Use uniform buffers on all platforms (simulated where necessary)
2017-02-08 12:55:58 +01:00
Henrik Rydgard
41fecc8c16
More D3D11 basics. Only dynamic constant buffers left, then it should display the UI.
2017-02-07 19:45:09 +01:00
Henrik Rydgard
d78d3bb25f
Change the API for updating buffers from the CPU to be cleaner
2017-02-07 19:04:44 +01:00
Henrik Rydgard
534a65c610
Remove thin3d buffer->SetData
2017-02-07 18:42:32 +01:00
Henrik Rydgard
391f7be8f9
Unify DecimateFBOs
2017-02-07 00:46:14 +01:00
Henrik Rydgard
5c69878ccb
Unify ResizeFramebufFBO
2017-02-07 00:38:12 +01:00
Henrik Rydgard
b9283b70d9
More simplification
2017-02-07 00:31:41 +01:00
Henrik Rydgard
27d5c5a2d4
Unify NotifyRenderFramebufferSwitched
2017-02-07 00:29:02 +01:00
Henrik Rydgard
19868b5df7
Unify GetTempFBO
2017-02-07 00:24:38 +01:00
Henrik Rydgard
06addecb3d
Unify cardboard settings calculation
2017-02-07 00:19:31 +01:00
Henrik Rydgard
5b181e8244
Further work on DrawActiveTexture
2017-02-07 00:13:54 +01:00
Henrik Rydgard
275f9248a1
Preparing to unify the DrawActiveTexture API
2017-02-07 00:08:45 +01:00
Henrik Rydgard
89763efe57
Unify SetNumExtraFBOs
2017-02-07 00:08:45 +01:00
Henrik Rydgard
9e644aa815
Unify NotifyRenderFramebufferUpdated
2017-02-07 00:08:45 +01:00
Henrik Rydgard
85ec96ecf1
Unify NotifyRenderFramebufferCreated
2017-02-07 00:08:45 +01:00
Henrik Rydgard
a0992cce75
Unify DestroyFramebuf()
2017-02-07 00:08:45 +01:00
Henrik Rydgard
55aa879216
A lot of buildfixes
2017-02-06 16:16:43 +01:00
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
f1c96c056d
Move all the GL/D3D9 FBO code into thin3d.
2017-02-06 11:40:16 +01:00
Henrik Rydgard
abf7a7abe0
Windows buildfix
2017-02-06 10:28:58 +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
9c275730c5
Move pD3DDevice into dx_state.h.
2017-02-05 20:46:26 +01:00
Henrik Rydgard
f00f7d2fb8
Remove some dependencies on the pD3DDevice globals
2017-02-05 20:36:00 +01:00
Henrik Rydgard
4dd96d6993
Remove dx_fbo dependency on global.h
2017-02-05 20:19:43 +01:00