Henrik Rydgard
95b6b50fd5
Disable screen rotation in non-buffered rendering (as it won't worK)
2015-05-12 22:44:18 +02:00
Unknown W. Brackets
1e8f2c2630
Allow clut load outside valid mem, fill with zero.
...
And only for the parts outside memory.
2015-04-12 22:38:17 -07:00
Henrik Rydgard
db110d60a1
Rename some colorconv functions
2015-04-08 23:01:17 +02:00
Henrik Rydgard
31961eace9
Color conv attempt 2. Start consolidating simple color conversion functions in a single header+cpp.
2015-04-08 22:52:46 +02:00
Henrik Rydgard
cae58cafee
Revert "Merge pull request #7361 from hrydgard/color-conv-centralize"
...
This reverts commit f1b57dabf5
, reversing
changes made to 41001637ce
.
2015-01-22 19:53:32 +01:00
Henrik Rydgard
4d1c1e41f3
Optimize and consolidate color conversion a bit
2015-01-20 17:32:55 +01:00
Henrik Rydgard
2623a48b4a
Centralize color conversion functions in Common/ColorConv.
2015-01-20 17:32:54 +01:00
Unknown W. Brackets
f311d4008d
Leave VBOs and index buffers bound for reuse.
2015-01-11 17:03:45 -08:00
Lioncash
dc436aebe8
GPU: Get rid of unused variable warnings
2014-12-12 09:29:41 -05:00
Unknown W. Brackets
337b34ef6a
Eat cycles during block transfers.
...
Tests show this takes a number very close to 1.9 times the number of bytes
in cycles @222.
Using that value caused a tiny fps drop in one area of the God of War
demo, which may be correct but might also cause complaints. A lot of our
other timing is not accurate, so using a lower value (1.6) to be on the
safer side.
This may cause things to reschedule more accurately when games drawsync,
and improves the gpu/commands/blocktransfer test.
2014-08-30 22:02:28 -07:00
Unknown W. Brackets
eaf3288304
Add debug interface for non-L0 texture preview.
2014-06-15 09:30:37 -07:00
Unknown W. Brackets
adee76cd62
Add a matching PerformMemoryUpload().
...
Just so we have both Download and Upload to use later.
2014-06-10 00:45:03 -07:00
Unknown W. Brackets
089ee41d9c
Implement a very basic stencil upload.
...
This is not fast or efficient, but works.
2014-05-31 21:48:09 -07:00
Unknown W. Brackets
1433b98c46
Clean up the framebuffer force downloads.
2014-05-31 10:03:03 -07:00
Unknown W. Brackets
8dcc09c9e1
Use a separate func for gpu memset().
2014-05-27 07:50:01 -07:00
Unknown W. Brackets
8275f613ce
UpdateMemory() now returns whether to skip the cpy.
...
This way it can do it itself as necessary in the right order.
2014-05-25 21:48:41 -07:00
Unknown W. Brackets
4cc4cfed4c
Note that VADDR/IADDR are not updated on PRIM.
...
Even though they do increase the addresses, they don't affect the CMD
registers.
Also, make sure not to use a crazy bytesRead for a zero-sized prim.
2014-05-04 18:24:49 -07:00
Unknown W. Brackets
a843cbd580
Shrink the very common sceKernelThread.h include.
2014-03-15 11:44:02 -07:00
Unknown W. Brackets
d2108a962e
Switch from USING_GLES2 to MOBILE_DEVICE.
...
Still using USING_GLES2 for, well, GLES2. But for things that are really
about mobile, we need a new define. Devices are coming that don't use
GLES2.
2014-02-08 16:37:58 -08:00
Unknown W. Brackets
4ea4554ddf
softgpu: detect a vram-relative display addr.
2014-01-11 09:51:32 -08:00
Henrik Rydgård
87f203a5b8
More include untangling
2013-12-29 23:44:35 +01:00
Unknown W. Brackets
8f73ae07c0
softgpu: Fix preview region y1 in ge debugger.
2013-12-29 13:45:10 -08:00
Unknown W. Brackets
473fb866e6
softgpu: Implement vertex preview.
...
And move ConvertMatrix4x3To4x4() into a common place since there were
differing implementations, which was only confusing.
2013-12-29 13:45:10 -08:00
Unknown W. Brackets
eb0ea71f24
softgpu: Use region for debugger buffer previews.
...
It's fine if it resizes or etc., but this should generally be the
interesting area of vram to show, without any confusing noise on the
side/etc.
2013-12-29 13:02:04 -08:00
Henrik Rydgard
3ed7c6d48f
SoftGPU: Display at correct aspect ratio independent of window size.
2013-12-17 09:02:54 +01:00
Unknown W. Brackets
b1d78020c4
softgpu: Keep track of frame dirty for frameskip.
...
But only when frameskip is enabled. Let's always draw in case of pixel
poking when it's off.
2013-12-15 14:32:04 -08:00
Unknown W. Brackets
da1224bb57
softgpu: Use the display, not current, framebuffer.
...
Fixes blinking in save dialogs and probably other bugs.
2013-12-15 11:59:23 -08:00
Unknown W. Brackets
13bf4d83fa
Add memchecks for common HLE copy operations.
...
Better to catch some than miss everything.
2013-12-14 14:56:05 -08:00
Henrik Rydgård
68b08ffb9f
SoftGPU: Quick and dirty lines and points implementation
...
No line/point texturing support yet.
2013-12-09 12:43:49 +01:00
Unknown W. Brackets
d227b13f36
softgpu: Advance vertex/index address on prim.
...
Fixes some broken graphics in a lot of places.
2013-11-20 21:59:45 -08:00
Unknown W. Brackets
b62e36e997
Support frameskip in softgpu.
2013-10-27 16:50:03 -07:00
Unknown W. Brackets
98e257c95d
Add GPU cycle estimation to the softgpu.
2013-10-27 15:05:57 -07:00
Henrik Rydgard
f5a63d7d41
Better fix for the UINT_64 define issue on android
2013-10-20 13:52:31 +02: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
31171cc044
Grab the stencil buffer in softgpu debugging.
2013-10-07 00:50:15 -07:00
Unknown W. Brackets
d49ad5f114
Use an accessor for depth/frame addresses.
2013-10-06 22:17:53 -07:00
Unknown W. Brackets
32f2f045e4
Don't report a loadclut of 0.
2013-10-05 15:41:44 -07:00
Unknown W. Brackets
2eb10c3b3f
Add basic GetCurrentTexture() to softgpu.
2013-10-05 11:37:14 -07:00
Unknown W. Brackets
da1d700904
Attempt to support rendering depth/stencil.
...
But no interface yet. I can't tell if it works, I just get black...
2013-09-28 02:38:05 -07:00
Henrik Rydgard
424b4cbd5f
Move GE_CMD_BJUMP to GPUCommon. Add the flag. (no actual bbox impl yet)
2013-09-24 14:14:04 +02:00
Unknown W. Brackets
6af44910c1
Add an interface to return the current framebuffer.
2013-09-22 19:03:31 -07:00
Unknown W. Brackets
242879b0ea
Remove a bunch of debug logs, sync with gles.
...
This may fix bad vertex/index addresses, or crashes from the matrix
arrays. The debug logging is better replaced with "dump this frame".
2013-09-14 14:28:37 -07:00
Unknown W. Brackets
8ddbc0a9ab
Don't allow boneMatrixNumber to go outside bounds.
...
Just from the GLES code.
Fixes the Monster Hunter 3rd demo crash, but not sure why it's trying to
use crazy numbers in the first place...
2013-09-14 14:10:50 -07:00
Unknown W. Brackets
dc81547d32
Use less pointer math in softgpu buffer access.
2013-09-14 11:36:56 -07:00
Henrik Rydgard
c88920be4b
Bail more gracefully if no real OpenGL driver is installed on XP
2013-09-11 21:35:44 +02:00
Henrik Rydgard
5e6c837ced
Fix issue where the SoftGPU would render double size if "antialiasing" was on.
2013-09-10 22:27:05 +02:00
Unknown W. Brackets
2e8b475789
Don't ignore the low bits of the framebuf pointer.
2013-09-07 02:01:01 -07:00
Unknown W. Brackets
8d16b76c15
Add some reporting to the software GPU.
2013-09-01 01:15:07 -07:00
Unknown W. Brackets
5ab04a3076
Centralize CLUT handling form gstate values.
2013-08-24 11:34:37 -07:00