48 Commits

Author SHA1 Message Date
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
Unknown W. Brackets
0a217a1254 Use accessors better for block transfers. 2013-08-24 11:34:36 -07:00
Unknown W. Brackets
c141e94fe9 Use gstate.* accessors in a few more places. 2013-08-24 11:34:35 -07:00
Unknown W. Brackets
92dbfd177a Render the display width properly in softgpu. 2013-08-17 10:57:08 -07:00
Unknown W. Brackets
90affa2203 Remove very questionable DrawSync override. 2013-08-17 09:53:10 -07:00
Unknown W. Brackets
a4bea9c878 Add support for multithreading in softgpu. 2013-08-17 09:52:35 -07:00
Tony Wasserka
67f95d38e5 softgpu: Some cleanups in SoftGpu.cpp 2013-08-16 23:49:15 +02:00
Tony Wasserka
838d22d120 softgpu: Implement memory transfers. 2013-08-16 23:49:14 +02:00
Tony Wasserka
11a94e1d14 softgpu: Implement spline surface drawing (without patch subdivision). 2013-08-16 23:49:13 +02:00
Tony Wasserka
ad8449c382 softgpu: Add some safety checks. 2013-08-16 23:49:13 +02:00
Tony Wasserka
f35e085859 softgpu: Change framebuffer writes to act on actual 16 bit pixels if that's the framebuffer format. 2013-08-16 23:49:11 +02:00
Tony Wasserka
44035df446 SoftGpu: Add support for triangle fans. 2013-08-16 23:49:10 +02:00
Tony Wasserka
a013aad6f1 softgpu: Fix incorrect depth buffer write base address.
softgpu: Implement framebuffer pixel formats different than RGBA8888.
softgpu: Move texel decoding functions to a separate header.
2013-08-16 23:49:09 +02:00
Tony Wasserka
602e0e5358 softgpu: Add working CLUT support. 2013-08-16 23:49:04 +02:00
Tony Wasserka
bd49480244 softgpu: Add initial support for triangle strips. No idea if they work. 2013-08-16 23:49:01 +02:00
Tony Wasserka
b33646cced softgpu: Disable texturing in clear mode. 2013-08-16 23:49:01 +02:00
Tony Wasserka
00b7fbd19e softgpu: Implement depth testing. 2013-08-16 23:49:01 +02:00
Tony Wasserka
3cdf2a789d softgpu: Write to the correct frame buffer in RAM. 2013-08-16 23:49:01 +02:00
Tony Wasserka
29921e4b44 softgpu: Disable alpha blending when copying framebuffer to screen. 2013-08-16 23:49:00 +02:00
Tony Wasserka
288de895db softgpu: Support indexed rendering. 2013-08-16 23:48:58 +02:00
Tony Wasserka
0c6a4c1bb6 softgpu: Working rectangle support. Through mode support. Clear mode support. Vertex color support. 2013-08-16 23:48:56 +02:00
Tony Wasserka
55d6646fc3 softgpu: Add something like rectangle support. Doesn't seem to work :/ 2013-08-16 23:48:56 +02:00
Tony Wasserka
adbe80c290 softgpu: Move around some code to keep SoftGpu.cpp clean. 2013-08-16 23:48:54 +02:00
Tony Wasserka
5510434f90 softgpu: Cleanups. 2013-08-16 23:48:54 +02:00
Tony Wasserka
6e124f351b softgpu: Working vertex position transform! 2013-08-16 23:48:54 +02:00
Tony Wasserka
209e040b73 softgpu: Fix some bugs, committing stuff before it breaks again... 2013-08-16 23:48:54 +02:00
Tony Wasserka
a4af6d4bc4 softgpu: Add line drawing. (yep, transform code definitely doesn't work.. :p). 2013-08-16 23:48:53 +02:00
Tony Wasserka
40cdabeb7d softgpu: Add vertex position transformation code. Seems to be doing something, even though it's not the right thing :/ 2013-08-16 23:48:53 +02:00
Tony Wasserka
55a94f9852 softgpu: Use existing VertexDecoder/VertexReader to add vertex decoding support. 2013-08-16 23:48:53 +02:00
Tony Wasserka
232a0378b7 softgpu: Clean up. 2013-08-16 23:48:52 +02:00
Tony Wasserka
b1d4919327 softgpu: Dummy implementation for CopyDisplayToOutput. 2013-08-16 23:48:52 +02:00
Tony Wasserka
19c6fedb79 Copy NullGpu to SoftGpu. 2013-08-16 23:48:52 +02:00