Commit Graph
2056 Commits
Author SHA1 Message Date
Henrik Rydgard f4c05392e2 GLES: Disable logic op while alpha blend is enabled. Having them both enabled at the same time makes no sense, and this seems like the safest possible fix for #3220 as logic op usage is rare. 2013-08-18 13:00:14 +02:00
Henrik Rydgård 0f1d8f82df Merge pull request #3217 from unknownbrackets/softgpu
Fix softgpu's 4444 color conversion
2013-08-18 01:34:03 -07:00
Sacha 8908ec22a8 Small changes. Symbian buildfix. 2013-08-18 18:17:23 +10:00
Sacha e7cf9361ff Symbian can't compile Software GPU (internal compiler error). Probably can't run it well either. So, disabled. 2013-08-18 18:07:15 +10:00
Unknown W. Brackets ff9cff08ed Fix softgpu's 4444 color conversion.
And use the standard 4->8 swizzling funcs (more self documenting.)
2013-08-17 17:33:10 -07:00
Henrik Rydgård 52940abf31 Merge pull request #3212 from unknownbrackets/softgpu
Software GPU width tweak
2013-08-17 10:58:54 -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
Unknown W. Brackets f501c98a5d Report "Software" for sw GPU engine. 2013-08-17 09:48:06 -07:00
raven02 758cc878fb softgpu : should be vreader.ReadColor1 2013-08-17 22:21:14 +08:00
raven02 8ff2a1bb35 softgpu : fix v_color0 to use MaterialAmbient 2013-08-17 22:05:50 +08:00
Henrik Rydgard 9f3848b49c swrast warning fixes 2013-08-17 12:37:47 +02:00
Henrik Rydgård fa59ba4e3d Merge pull request #3197 from neobrain/softgpu2
Software Renderer
2013-08-17 02:22:22 -07:00
neobrain edc0dd9e48 GPU: Remove unncessary flags in the VC project file. 2013-08-17 10:50:17 +02:00
Unknown W. Brackets 52f1de8f1d Use xxHash instead of CityHash, it's faster.
At least on Windows it's definitely got the edge.
2013-08-16 23:48:42 -07:00
Tony Wasserka 74eafcab1a softgpu: Process rasterization in screen space, rather than drawing space. 2013-08-16 23:49:15 +02:00
Tony Wasserka c707140512 softgpu: Implement normal reversal. 2013-08-16 23:49:15 +02:00
Tony Wasserka d0c05b78d6 softgpu: Fix some stencil testing related bugs. 2013-08-16 23:49:15 +02:00
Tony Wasserka 67f95d38e5 softgpu: Some cleanups in SoftGpu.cpp 2013-08-16 23:49:15 +02:00
Tony Wasserka 45577507f3 softgpu: Disable clipping if it's not requested by the game. Also fix some clipping-related bugs. 2013-08-16 23:49:14 +02:00
Tony Wasserka fc336772e6 softgpu: Fix normal-mode rectangle drawing. 2013-08-16 23:49:14 +02:00
Tony Wasserka 838d22d120 softgpu: Implement memory transfers. 2013-08-16 23:49:14 +02:00
Tony Wasserka 2962d242cb softgpu: Implement skinning. 2013-08-16 23:49:14 +02:00
Tony Wasserka e984374b29 GPU: Explicitily assign enum values for GEComparison. 2013-08-16 23:49:14 +02:00
Tony Wasserka 9bc3e8bf07 softgpu: Generate texture coordinates for environment mapping even if lighting is disabled altogether. 2013-08-16 23:49:13 +02:00
Tony Wasserka 6b90aa250d softgpu: Polish some helper function signatures. 2013-08-16 23:49:13 +02:00
Tony Wasserka 11a94e1d14 softgpu: Implement spline surface drawing (without patch subdivision). 2013-08-16 23:49:13 +02:00
Tony Wasserka f4cb929073 softgpu: Fix a lighting bug. 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 f6feb874ed softgpu/Rasterizer: Structure some code more clearly. 2013-08-16 23:49:12 +02:00
Tony Wasserka 1450157e09 softgpu: Implement environment mapping. 2013-08-16 23:49:12 +02:00
Tony Wasserka d2f30961af softgpu: Make perspective correct uv mapping code more readable and implement projection mapping. 2013-08-16 23:49:12 +02:00
Tony Wasserka 104feea8eb softgpu: Restructure texture sampling code a bit. 2013-08-16 23:49:12 +02:00
Tony Wasserka bacadefde4 softgpu: Optimization, part 3. 2013-08-16 23:49:12 +02:00
Tony Wasserka b22a82d350 softgpu: Optimization, part 2. 2013-08-16 23:49:11 +02:00
Tony Wasserka 0c6a9dcf50 softgpu: Optimization, part 1. 2013-08-16 23:49:11 +02:00
Tony Wasserka 002ab3e3ad softgpu: Hackfix CLUT4 texture deswizzling. 2013-08-16 23:49:11 +02:00
Tony Wasserka 62b384e052 softgpu: Lots of clearmode fixes. 2013-08-16 23:49:11 +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 917dc276dc softgpu: Small cleanup in Clipper. 2013-08-16 23:49:10 +02:00
Tony Wasserka 2ea7162962 softgpu: Implement depth range test. 2013-08-16 23:49:10 +02:00
Tony Wasserka e1216e91cc softgpu: Implement texture scaling, texture offset and texture coordinate wrapping/clamping. 2013-08-16 23:49:10 +02:00
Tony Wasserka 44035df446 SoftGpu: Add support for triangle fans. 2013-08-16 23:49:10 +02:00
Tony Wasserka c8f1819179 softgpu: Fix triangle borders not fitting together properly. 2013-08-16 23:49:09 +02:00
Tony Wasserka d91d5c087b GPUState: Fix depth buffer stride getter. 2013-08-16 23:49:09 +02:00
Tony Wasserka 4e1d2f0cb2 softgpu: Implement logic ops. 2013-08-16 23:49:09 +02:00
Tony Wasserka c957574f90 softgpu: Implement color masking. 2013-08-16 23:49:09 +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 b2d4df2ddf Fixes for CLUT decoding 2013-08-16 23:49:08 +02:00