Henrik Rydgard
a517b8d53f
Fix #3117 (by reverting part of a previous change), plus a minor change that might speed GT up.
2013-08-10 23:25:55 +02:00
Unknown W. Brackets
450e4c7fea
Factor out event queue logic to a template mixin.
2013-08-10 03:33:09 -07:00
Unknown W. Brackets
5e363bcbd2
Don't allow gpu->Flush() to be called publicly.
2013-08-09 22:57:54 -07:00
Unknown W. Brackets
e71cf2ec7e
Don't queue Flush() etc. while on GPU thread.
...
Oops, that makes it not actually flush properly of course.
Also made a simpler guard wrapper to avoid extra braces in too many
places. Reduced contention areas slightly.
2013-08-09 22:57:52 -07:00
Unknown W. Brackets
02e301e5fe
Add a simple message event system to the GE.
...
With this, the CPU thread feature now mostly works.
2013-08-09 22:41:31 -07:00
Unknown W. Brackets
52ca93aab2
Add mutex locks around list management.
...
This way we can safely execute lists on a separate thread.
2013-08-09 22:41:31 -07:00
Unknown W. Brackets
0dc6bab9ff
Shouldn't be necessary to flush on drawsync.
2013-08-07 00:32:27 -07:00
Henrik Rydgard
773115bb6d
GPU: tiny optimization and log fix
2013-08-06 19:08:38 +02:00
raven02
6798762eaa
May fix Vsync broken previously
2013-08-06 23:08:57 +08:00
Unknown W. Brackets
f7a39d1b12
Move ReapplyGfxState() to GPUCommon.
...
This way it can be overridden, and simplifies some other things.
2013-08-04 15:15:50 -07:00
raven02
50f98fe498
Add texture level parameter
2013-07-30 23:23:02 +08:00
raven02
75c9ce2498
GPUstate :Add getTextureWidth() & getTextureHeight()
...
and
2013-07-30 23:09:22 +08:00
Unknown W. Brackets
89349eae7e
Consistently use a proper type for GE fb format.
2013-07-29 23:05:59 -07:00
Henrik Rydgard
50a2d1b87f
More work on prescaled UV
2013-07-28 00:33:51 +02:00
Henrik Rydgard
8602c276ca
Remove that silly factor 2 for floating point texcoords and weights.
...
No longer needed since we treat the various vertex formats separately.
2013-07-27 22:14:34 +02:00
Henrik Rydgard
d6b4c9c9c3
More bits should be masked off the baseptr and stride of block transfers.
...
Does not fix GT fonts though.
2013-07-27 13:08:23 +02:00
Henrik Rydgard
a346697037
Update native + some very minor changes
2013-07-27 00:44:16 +02:00
raven02
100d336fb2
Remove _ suffix and hide the GPU mode on GLES2
2013-07-22 04:17:54 +08:00
raven02
0216f52359
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
UI/GameSettingsScreen.cpp
UI/MenuScreens.cpp
Windows/ppsspp.rc
2013-07-22 00:03:54 +08:00
raven02
87fc81e56d
Consolidate Rendering Mode
2013-07-21 23:17:42 +08:00
raven02
39c6c7f634
Merge items to new UI
2013-07-20 22:03:52 +08:00
Henrik Rydgard
b5d5291a58
Avoid unnecessary buffer flips even when buffered rendering is on. Speeds up buffered rendering in 30fps games.
2013-07-18 10:48:07 +02:00
Henrik Rydgård
ff5dfcec13
Merge pull request #2786 from raven02/patch-6
...
New attempt to generate FBO using fb_stride
2013-07-17 11:45:13 -07:00
raven02
07e118b6a1
New attempt to generate FBO using fb_stride
2013-07-18 02:17:54 +08:00
tpu
c525d2fb86
bugfix: params of textureCache_.Invalidate
2013-07-15 23:54:44 +08:00
The Dax
93e1404056
Remove dead code.
2013-07-11 15:51:45 -04:00
Henrik Rydgard
bf1e07661a
Cheap HW transform solution for raven02's texture scaling fix.
2013-07-10 01:23:35 +02:00
Henrik Rydgard
1256d5528d
Use EXT_swap_control_tear when available to ensure that VSync never slows things down (tears instead if it can't keep up, better than stuttering)
2013-07-07 11:25:18 +02:00
Unknown W. Brackets
cc36da061b
These are in gstate_c, don't need externs.
2013-06-30 23:56:23 -07:00
Juliano do Amaral Chaves
d0aeff0d4b
Update DisplayListInterpreter.cpp
2013-06-29 21:07:04 -03:00
Henrik Rydgard
f3c227041d
Only set uniform variables as dirty when there's a difference in value.
2013-06-24 19:25:22 +02:00
Henrik Rydgård
cc705c72eb
Revert "Support tex level factor 000001 (fixed at 0, that is, mipmapping off)"
...
This reverts commit eaede89761 .
Conflicts:
GPU/GLES/TextureCache.cpp
2013-06-21 10:02:57 +02:00
Henrik Rydgard
eaede89761
Support tex level factor 000001 (fixed at 0, that is, mipmapping off)
2013-06-20 21:57:09 +02:00
Henrik Rydgard
e782b6f20e
Add VSync option in Windows. Turns itself off when unthrottled.
2013-06-16 23:45:06 +02:00
Henrik Rydgard
112f1b4901
Wipe all FBOs on device lost. May help app switching issues on Android.
2013-06-11 11:28:41 +02:00
Henrik Rydgard
ea2b923ddf
Logic precedence error, warning fixes
2013-06-11 11:05:34 +02:00
Unknown W. Brackets
f8d6bda678
Add a better signal for VRAM copies in the GPU.
2013-06-09 23:55:32 -07:00
Unknown W. Brackets
dbb2dfdcff
Invalidate FBOs when it's obvious they should be.
...
This fixes videos not being visible in for example Star Ocean.
Most likely any games doing a copy directly from the mpeg decode.
2013-06-08 04:51:57 -07:00
Henrik Rydgard
0d0148dad3
Change check in DoBlockTransfer to catch some more videos.
2013-06-06 10:30:05 +02:00
Henrik Rydgard
9ae044de43
Keep a separate pointer for non-VRAM displayptr. Fixes GTA intro movie while still not breaking MotoGP.
2013-06-06 00:01:43 +02:00
Henrik Rydgard
44042b0ef9
Detect a method that some games use to get video on the screen. No more need to turn on raw framebuffer in these cases (this may not catch all of them).
2013-06-05 23:03:42 +02:00
Unknown W. Brackets
c115a6f36c
Don't report alphatest masks for always/never.
2013-05-31 10:40:39 -07:00
Unknown W. Brackets
9c85bd92e4
Show statistics for GPU cycles executed per frame.
2013-05-31 10:40:16 -07:00
Henrik Rydgård
367e9bcefb
Remove DrawWireframe option to save space in dialog, it doesn't really work right anyway
2013-05-16 17:18:53 +02:00
Unknown W. Brackets
41fb41afdb
Only report these once to avoid spam.
2013-05-12 12:00:21 -07:00
Unknown W. Brackets
5619c84432
Defer palette conversion after clut load.
...
Because the format can easily be specified afterward.
2013-05-12 10:57:41 -07:00
Unknown W. Brackets
39c0e6c096
Add reporting for unsupported GE commands.
...
And clean up some disasm for a couple others.
2013-05-12 10:30:26 -07:00
Unknown W. Brackets
7e23299c36
Immediately load the clut on LOADCLUT.
2013-05-12 01:56:26 -07:00
Unknown W. Brackets
518394cca8
Allow the full features string to be logged.
2013-05-12 01:56:25 -07:00
Unknown W. Brackets
7dd0d242e2
Load the clut only using LOADCLUT, not every tex.
...
This is a small optimization, and should match PSP behavior better.
It also allows us to hash the clut and convert colors less often.
2013-05-12 01:56:24 -07:00