Commit Graph
4473 Commits
Author SHA1 Message Date
Unknown W. Brackets bb39c2e458 Texcache: Rehash textures after mem invalidation.
Before, we were doing this when we enqueued.  We need to at least do this
when an invalidation is triggered.
2017-03-25 11:49:15 -07:00
Unknown W. Brackets 7fb7a4877d Texcache: Cleanup last bound tex invalidation.
When we're deleting, we're always about to bind a new tex.
2017-03-25 11:42:24 -07:00
Henrik Rydgård 33db883024 Merge pull request #9492 from unknownbrackets/frame-drops
Allow debug logging of frame drops
2017-03-24 20:37:18 +01:00
xebra ca7f265b11 [spline/bezier]Change all backends vertex texture format to RGBA(16 bytes). 2017-03-24 13:29:05 +09:00
Unknown W. Brackets 438af2f4fa Core: Separate collecting and displaying stats. 2017-03-23 18:57:18 -07:00
xebra f4737cc1fa Fix f14b7549. 2017-03-24 00:02:18 +09:00
xebra e6af91f1b0 [spline/bezier]Trying to fix a problem that wrong texture format causes a crash. 2017-03-23 23:57:03 +09:00
xebra f14b75492d [spline/bezier]Split SendDataToShader() into two functions. 2017-03-23 23:28:38 +09:00
LunaMoo 4a2677e0c6 Revert unintentional change from: https://github.com/hrydgard/ppsspp/commit/429bf5d8b31092fb7211b94517e590cbd51e1cdb 2017-03-23 11:54:54 +01:00
Henrik Rydgård f5e5614645 Merge pull request #9479 from hrydgard/uwp-initial-support
UWP initial support
2017-03-23 10:03:22 +01:00
Henrik Rydgård 22782b6439 UWP: Fix DPI calculations for touch. Implement back button support. 2017-03-23 10:02:29 +01:00
Henrik Rydgård 86990b3752 Disable shader translation on UWP mobile for now (TLS issues) 2017-03-23 10:02:28 +01:00
Henrik Rydgård 5e2d5fdcab Merge pull request #9486 from xebra/fake_mipmap
Add support fake mipmap hacks to D3D11.
2017-03-23 09:57:33 +01:00
Henrik Rydgård 4151fc5250 Adjust DIRTY_ALL_UNIFORMS to match the new reality. 2017-03-23 09:55:50 +01:00
xebra d475c752d4 Add support fake mipmap hacks to D3D11. 2017-03-23 15:14:49 +09:00
Unknown W. Brackets 1b02734e56 GL: Avoid common-case shuffling video/raw draws. 2017-03-22 21:00:28 -07:00
Unknown W. Brackets 3fbb545451 Allow MakePixelTexture to use a subrange.
For example, if it has a larger texture it wants to reuse, it can control
this via texcoords.  Let's keep it at top left, though.
2017-03-22 20:56:26 -07:00
Unknown W. Brackets 1932f4097b Fix a type conversion warning. 2017-03-20 07:21:54 -07:00
Henrik Rydgård 7eb13a6861 Merge pull request #9463 from unknownbrackets/resize
Fix crash on resize due to overridden property
2017-03-20 09:14:00 +01:00
Unknown W. Brackets d4ff7cc928 Spline: Simplify uniforms/dirty to one check.
This makes backends more consistent in which values they use, and reduces
the (relatively uncommon compared to other drawcalls) dirty checks for
splines.
2017-03-19 20:05:56 -07:00
Unknown W. Brackets ade110bcc8 Fix crash on resize due to overridden property. 2017-03-19 16:38:42 -07:00
Henrik Rydgard c502692490 Minor cleanup 2017-03-19 18:00:57 +01:00
Henrik Rydgard 1566ab9ac3 With this, lens flare works in 2x+ in Burnout Legends. #9361 2017-03-19 17:54:21 +01:00
Henrik Rydgard 2eed2a28c7 D3D11: Avoid a framebuffer copy when reading back data if rendering at 1x
Fix the size of the framebuffer copy.
2017-03-19 17:54:21 +01:00
Unknown W. Brackets 9b42515ef7 D3D11: Correct GE debugger stencil value display.
When hovering over a pixel, if we send a float, it won't show the 0-255
value, which we'd prefer for stencil values.  This is the easy fix.
2017-03-19 07:45:52 -07:00
Unknown W. Brackets a1f59deafe Fix some type narrowing warnings and typos. 2017-03-19 07:44:31 -07:00
Henrik Rydgard ef26ee267d D3D11: Get rid of a forgotten half pixel offset. Improves #9361 2017-03-19 14:57:48 +01:00
Henrik Rydgard 478b5dcbe1 Fix bug in D3D11 framebuffer readbacks, helps #9361, though seems off by half a pixel? 2017-03-19 14:22:06 +01:00
Henrik Rydgard 032c340f50 Revert "Vertexcache ComputeMiniHashRange: Doesn't make sense to hash more data than the step size."
This reverts commit 0bbb61e5d2.
2017-03-19 12:47:12 +01:00
Henrik Rydgard 0bbb61e5d2 Vertexcache ComputeMiniHashRange: Doesn't make sense to hash more data than the step size. 2017-03-19 12:08:21 +01:00
Unknown W. Brackets 18484bed3d D3D11: Correct non-palette 16 bit textures on Win7.
These weren't being expanded.
2017-03-18 20:10:21 -07:00
Unknown W. Brackets 41dacb792c Texcache: Reduce duplicated expand32 code. 2017-03-18 20:09:38 -07:00
Henrik Rydgård ce45edd4ce Merge pull request #9451 from unknownbrackets/gl-minor
Cleanup Windows GL core context handling, minor graphics tweaks
2017-03-18 22:47:58 +01:00
Unknown W. Brackets ae2c0193b8 D3D11: Report unexpected self-renders. 2017-03-18 13:52:30 -07:00
Henrik Rydgard fbee328293 Don't dirty texture state when kicking off a display list. This might hide real bugs and affect performance, and should not be necessary. 2017-03-18 21:47:58 +01:00
Unknown W. Brackets 78191e645d GL: Avoid unnecessary stencil shader binding.
The comment became untrue, so no need to rebind for each bit.
2017-03-18 13:47:49 -07:00
Unknown W. Brackets e9625707fa x86: Implement Jit_TcU16Through.
This just ports the updateSide logic from other types.
2017-03-18 13:44:47 -07:00
Henrik Rydgard 23367925f1 Change a PanicAlert to an ERROR_LOG. Should possibly report..
http://forums.ppsspp.org/showthread.php?tid=1310&page=3

Add a comment.
2017-03-18 21:25:30 +01:00
Unknown W. Brackets b21c081860 Texcache: Clarify STATUS_FREE_CHANGE usage. 2017-03-18 12:08:06 -07:00
Unknown W. Brackets 404c61d77d Minor typo fixes. 2017-03-18 11:51:05 -07:00
Unknown W. Brackets d0ea5ed72b Texcache: Always mark videos as freq changing.
This prevents scaling of the first frame in some cases, when later frames
would also not be scaled.  Improves performance and reduces frame
mismatch.
2017-03-18 11:49:30 -07:00
Unknown W. Brackets 30ff5d6cdb Texcache: Apply freq change flag to minihash fail.
Previously, by mistake, only full hash fails could flag a frequently
changing texture - minihash checks skipped this, causing scaling
performance issues.

Fixes #9125.
2017-03-18 11:44:06 -07:00
Unknown W. Brackets bea6d787c0 Texcache: Cleanup some code formatting.
Makes it more readable.  No functional impact.
2017-03-18 11:43:26 -07:00
Henrik Rydgård fc648f5f32 Merge pull request #9446 from hrydgard/android-lifecycle
Rework Android lost/restore GL context handling again
2017-03-18 16:10:31 +01:00
Henrik Rydgard 908193e894 Rework Android lost/restore lifecycle again. Can autorotate screen without crashing again. Should help #9295 and maybe #8906. 2017-03-18 15:21:26 +01:00
Henrik Rydgard 378170d723 Add ability to tag objects in the gl_lost_manager 2017-03-18 13:55:15 +01:00
Unknown W. Brackets 48a5488bf3 Merge pull request #9442 from hrydgard/clut-texture-format-compatibility
D3D11: Expand 16-bit CLUT textures to 32-bit if not supported.
2017-03-17 12:57:12 -04:00
Henrik Rydgård 5d613bf565 Set pitch correctly when uploading converted CLUT textures 2017-03-17 16:56:45 +01:00
Henrik Rydgård 94f16e3b7c GPU: Move "if (resized_)" to BeginHostFrame to avoid desynchronized settings.
Also wipe the input layout cache on D3D11 on resize.

Fixes #9438.
2017-03-17 11:26:11 +01:00
Henrik Rydgård 20f9ae3114 Make sure UpdateCmdInfo is called "in sync" with settings changes. Fixes #9438.
(well, at least the software skinning part. not sure if there are more).
2017-03-17 10:48:43 +01:00