Commit Graph
2056 Commits
Author SHA1 Message Date
raven02andHenrik Rydgård 23b817f86c Use glLineWidth/glPointSize to specify the width of rasterized lines and size of points. 2013-10-09 19:01:21 +02:00
Henrik Rydgård 39d28c27e2 Update native with gl shutdown fix (helps orientation change).
This also adds some logging that helped me figure things out.
2013-10-09 16:09:16 +02:00
raven02 2cdb2d1e1f Extra cycles execute .Fix #3979 & #3883 2013-10-09 19:45:28 +08:00
Henrik Rydgård 6d6ea77df2 Add comments (speedup plans for GLES) and reformat a bit (no changes) 2013-10-09 11:56:46 +02:00
Henrik Rydgård ab759a9350 If bPrescaleUV is enabled, no need to flush on change of these params.
Also disable the QCOM hint, not sure it does any good at all.
2013-10-09 10:44:12 +02:00
Henrik Rydgård 31f5610292 Disable the glTexStorage2D path for now, too many issues. 2013-10-09 09:44:23 +02:00
Henrik Rydgard 4c2c015774 Expose the experimental "bPrescaleUV" as "Texture Coord Speedhack"
It's actually quite beneficial in some games, can substantially reduce
glUniform4fv calls.

Also throw in a second shot at glDrawRangeElements.
2013-10-08 22:59:40 +02:00
Henrik Rydgard 7a0b1e40c6 Update native (making GLES3 features possible on desktop). Minor optimization. 2013-10-08 21:50:43 +02:00
Henrik Rydgård 0a4750909e Try to avoid unnecessary calls to glEnable/DisableVertexAttribArray 2013-10-08 17:47:47 +02:00
Henrik Rydgård 4b019bfcbb Remove '_' from attribute names as Adreno hates them in glBindAttribLocation.
Sigh.

Also remove some logging.
2013-10-08 17:26:33 +02:00
Henrik Rydgård 0ecac31abd Use glBindAttribLocation to simplify shader usage a little. 2013-10-08 17:18:59 +02:00
Henrik Rydgård df29da0b13 GLES3: Use glTexStorage2D for (possibly) more efficient texture uploading 2013-10-08 15:00:48 +02:00
Henrik Rydgård 2362640346 Merge pull request #4072 from raven02/patch-25
GLES: Add GE_CMD_ZWRITEDISABLE to ZTEST section
2013-10-08 01:53:00 -07:00
Unknown W. Brackets f1f526f8cd Add some additional unknown cmds to reporting. 2013-10-08 00:34:17 -07:00
raven02 bf64df71f9 GLES: Add GE_CMD_ZWRITEDISABLE to ZTEST section 2013-10-08 09:29:51 +08:00
Henrik Rydgard fc8aa7bd8f Crashfix dumping display lists that start at the start of VRAM (seems to hit this in GTA).
Add a couple of comments.
2013-10-07 22:58:46 +02:00
Henrik Rydgard cd57e8a09d Forgot that you should never walk arrays with member variables, throws off the MSVC optimizer (probably a pointer aliasing issue) 2013-10-07 21:35:22 +02:00
Henrik Rydgard 4751dd631c Some more IndexGenerator optimization just for kicks 2013-10-07 21:13:52 +02:00
Henrik Rydgard f645988b8f More precision annotations in shader generators, other microoptimizations 2013-10-07 20:15:00 +02:00
Henrik Rydgard af46d17b94 Optimize index generator 2013-10-07 20:15:00 +02:00
Henrik Rydgård 07cf92b3a9 Merge pull request #4066 from unknownbrackets/debugger
GE debugger - fix some preview issues, softgpu stencil fix
2013-10-07 06:12:55 -07:00
Unknown W. Brackets b9811c7c97 Use the slow way to get the softgpu texture.
So that it actually shows what the softgpu is using.
2013-10-07 01:26:48 -07:00
Unknown W. Brackets 5c2d418d95 Read softgpu stencil using existing funcs.
Slower but at least it's the same.
2013-10-07 01:02:58 -07:00
Unknown W. Brackets b9453f82ca Use the full alpha bits for stencil in softgpu.
It works to increment and set the stencil, so it can't be high bits only.
2013-10-07 01:00:43 -07:00
Unknown W. Brackets 31171cc044 Grab the stencil buffer in softgpu debugging. 2013-10-07 00:50:15 -07:00
Unknown W. Brackets a0d84d45cc Flip the texture preview when it's a framebuffer. 2013-10-07 00:38:46 -07:00
Henrik Rydgård 8f7a9656c8 Merge pull request #4062 from unknownbrackets/debugger
Show tabs for depth/stencil in ge debugger, other improvements
2013-10-06 23:59:54 -07:00
Unknown W. Brackets ff0e9cf32d Make it possible to flip flags in the ge debugger. 2013-10-06 22:17:56 -07:00
Unknown W. Brackets 3af88b1e4e Show the stencil buffer properlyish in ge debugger. 2013-10-06 22:17:55 -07:00
Unknown W. Brackets d49ad5f114 Use an accessor for depth/frame addresses. 2013-10-06 22:17:53 -07:00
Unknown W. Brackets 0c03dc2dec Handle it better when viewing an invalid addr. 2013-10-06 22:17:52 -07:00
Unknown W. Brackets a09119ba04 Correct savestates when dls had context saving.
It was wrong, and also they were different between 64/32 bit.
2013-10-06 22:10:44 -07:00
Henrik Rydgård 92a2f2d0f0 Merge pull request #4049 from unknownbrackets/gpu-minor
Skip bounding box when set to 0
2013-10-05 23:03:08 -07:00
Unknown W. Brackets dcdf730407 Fix a possibly wrong framebuffer pointer. 2013-10-05 17:19:52 -07:00
Unknown W. Brackets a5e9c3b10a Get stencil/depth reading for ge debugger.
Possibly works on NVIDIA only...
2013-10-05 17:19:17 -07:00
Unknown W. Brackets 32f2f045e4 Don't report a loadclut of 0. 2013-10-05 15:41:44 -07:00
Unknown W. Brackets 01c84caffc Skip bounding box when set to 0.
VectorTD does this, for example, and it seems innocent, just resetting all
cmds.  Not sure what it should set the flag to, though.
2013-10-05 15:41:44 -07:00
Henrik Rydgård fec5110dfc Merge pull request #4045 from unknownbrackets/warnings
Warning fixes
2013-10-05 13:31:34 -07:00
Unknown W. Brackets eae6e87620 Simplify lighting clamping in softgpu. 2013-10-05 13:05:32 -07:00
Unknown W. Brackets 013e3f3be2 Add very basic and slow DXT decoding to softgpu. 2013-10-05 12:25:18 -07:00
Unknown W. Brackets 2eb10c3b3f Add basic GetCurrentTexture() to softgpu. 2013-10-05 11:37:14 -07:00
Unknown W. Brackets 49bd553238 Avoid some shadowing warnings. 2013-10-05 11:13:39 -07:00
Sacha 424a24366c Buildfix for Symbian. 2013-10-05 02:51:56 +10:00
Henrik Rydgard bfd30886b7 Save a few GL calls per frame on Tegra using NV_draw_texture 2013-10-01 16:22:55 +02:00
raven02 90e77f8c30 Remove duplicate comment 2013-10-01 14:04:48 +08:00
raven02 7f3a3ccd6c Projection mapping : Initialize z as 1.0f 2013-10-01 09:01:38 +08:00
Henrik Rydgård 6b3d78adfc glDrawRangeElements seems to cause problems in monster hunter? 2013-09-30 13:22:17 +02:00
Henrik Rydgård add0350b56 Merge pull request #3967 from raven02/patch-17
Quick fix FF4 CC missing title text in framebuffer-to-memory mode
2013-09-30 03:39:47 -07:00
Henrik Rydgård a95a1a914c Merge pull request #3992 from unknownbrackets/savestates
Add rewind functionality only (no UI)
2013-09-30 01:52:49 -07:00
Henrik Rydgard f48e0af235 Better check for blendmode 2013-09-30 10:17:23 +02:00