Commit graph

3936 commits

Author SHA1 Message Date
Unknown W. Brackets
0a9315d0e2 Cut down the scan range to avoid perf hit.
Probably no perf hit anyway.  Should have the same functionality.
2013-07-30 00:02:34 -07:00
Unknown W. Brackets
04dc4ac19b Detect tex subarea renders and palette renders.
But right now, just drawing the original, which isn't really correct.
2013-07-30 00:02:34 -07:00
Unknown W. Brackets
797027779e Log when render to texture formats differ. 2013-07-30 00:02:33 -07:00
Unknown W. Brackets
c31859021c Check the entire FB range for textures.
Using lower_bound/upper_bound should not be very slow.
2013-07-30 00:02:33 -07:00
Unknown W. Brackets
5f5048ca04 Save the bufw for textures as well, to match fbs. 2013-07-30 00:02:32 -07:00
Unknown W. Brackets
89349eae7e Consistently use a proper type for GE fb format. 2013-07-29 23:05:59 -07:00
Unknown W. Brackets
4dde7276c6 Don't use PspDisplayPixelFormat at all. 2013-07-29 22:58:37 -07:00
Unknown W. Brackets
2f94977efe Don't include gfx/gl* outside the OpenGL GE. 2013-07-29 22:47:38 -07:00
Henrik Rydgård
d8cdf37815 Merge pull request #2986 from neobrain/math3d-extensions2
Math3d extensions2
2013-07-29 15:16:16 -07:00
neobrain
6926926267 GPU/Math3D: Change Vec3 to allow for arbitrary component base types. 2013-07-29 22:26:41 +02:00
neobrain
0ed6e93b22 GPU/Math3D: Replace ambiguous Vec3 constructors with static methods returning a new Vec3 object.
Possibly fixes a bug or two because the old code was using the constructors incorrectly.
2013-07-29 22:26:41 +02:00
neobrain
c502429c8f GPU/Math3D: Add some getter functions to allow indexing Vec3 objects like colors or texture coordinates.
GPU/Math3D: Replace Vec3::v array with a method called "AsArray".
2013-07-29 22:26:41 +02:00
neobrain
17759082dc GPU/Math3D: Replace * and % operators with the less ambiguous function names Dot and Cross. 2013-07-29 22:26:41 +02:00
The Dax
21f0bf2079 Put TextureFiltering enumerator name back. It was deleted by accident. 2013-07-29 15:34:51 -04:00
The Dax
83a255d413 Remove BufferedRendering enumerator name. 2013-07-29 15:34:51 -04:00
The Dax
5ef3a558ff Remove more magic numbers and remove enumerator names. 2013-07-29 15:34:51 -04:00
The Dax
b2dfdf6401 Perform some Windows UI cleanups. Dozens of unused IDs were leftover from Dolphin, and I doubt they'll ever be used again. Also remove several magic numbers, instead using enumerators to clarify code. 2013-07-29 15:34:50 -04:00
raven02
9cfe48dd33 Float code cleanup 2013-07-29 17:12:02 +08:00
raven02
3ff54b53a1 TransformPipeline : Set case 3 as default #1 2013-07-29 16:54:09 +08:00
raven02
ba458bf421 VertexShader : Set case 3 as default #1 2013-07-29 16:53:06 +08:00
raven02
703d5a70f3 VertexDecoder: Fix a typo #2 2013-07-29 16:41:55 +08:00
raven02
cd28c846eb VertexDecoder: Fix a typo #1 2013-07-29 16:40:57 +08:00
Unknown W. Brackets
b46ab5f5a4 Always defined WIN32_LEAN_AND_MEAN.
Might as well, less mess everywhere else.
2013-07-28 21:04:20 -07:00
Unknown W. Brackets
7b7801d59a Switch to including Windows.h from an intermediate.
This makes it easier for Xbox which uses a separate header.
2013-07-28 21:04:19 -07:00
Henrik Rydgard
50a2d1b87f More work on prescaled UV 2013-07-28 00:33:51 +02:00
Henrik Rydgard
2eaf581bbe Add experimental UV prescaling hack, hidden as it's not finished yet.
Most people should ignore this for now, it's a step towards faster skinning in the future.
2013-07-27 23:23:17 +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
e36e976877 Collapse skinning shaders with #bones < 4 to a single one.
Significant perf win for skinned characters in FF:CC and maybe other games.
2013-07-27 20:09:22 +02:00
Henrik Rydgard
9add78722d Fix size calculation for weights. Old one would waste space for small weights. 2013-07-27 19:35:55 +02:00
Henrik Rydgard
0ae3c041d2 Minor shader simplification 2013-07-27 18:16:32 +02:00
Henrik Rydgard
bccfd9f2d7 Don't set the projection matrix twice, check for -1 bone matrices (seen in logs..) 2013-07-27 17:32:24 +02:00
Henrik Rydgard
5b32d2ecaf Merge remote-tracking branch 'origin'
Conflicts:
	UI/NativeApp.cpp
2013-07-27 13:11:30 +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
raven02
b35e89f646 Fix rear mirror in Ridge Racer 2 2013-07-27 18:45:48 +08:00
raven02
380b51dc6d Revert clamp to zero and use another attempt fix 2013-07-27 18:20:07 +08:00
Unknown W. Brackets
6ffaf98d7f Try to force gcc to notice hasNormal(). 2013-07-26 22:50:55 -07:00
Unknown W. Brackets
efb1eddbc8 Remove an unused private var. 2013-07-26 22:13:43 -07:00
Henrik Rydgård
2a2a838b5e Merge pull request #2938 from raven02/patch-1
Clamp vpX0/vpY0 to zero when negative value retured
2013-07-26 15:48:38 -07:00
Henrik Rydgard
5dbf5da355 Merge remote-tracking branch 'origin' 2013-07-27 00:45:54 +02:00
Henrik Rydgard
a346697037 Update native + some very minor changes 2013-07-27 00:44:16 +02:00
Henrik Rydgård
dc213f1792 Merge pull request #2934 from raven02/ui
NewUI fix and add cycleable frameskipping/resolution to winUI
2013-07-26 15:43:35 -07:00
raven02
087cb8b5e0 Clamp vpX0/vpY0 to zero when negative value retured 2013-07-27 06:24:59 +08:00
Henrik Rydgård
cc8bba1b10 Merge pull request #2924 from thedax/master
Add initial support for native Visual Studio 2012(and above) compilation.
2013-07-26 12:03:21 -07:00
raven02
d836527254 NewUI fix and add selectable frameskipping/Resolution to winUI 2013-07-26 22:10:03 +08:00
The Dax
e00364bfa5 Add initial support for native Visual Studio 2012(and above) compilation. Just upgrade the SLN, and go. 2013-07-25 18:34:55 -04:00
Henrik Rydgård
61351e4b59 Merge branch 'patch-1' of https://github.com/raven02/ppsspp into raven02-patch-1
Conflicts:
	Windows/ppsspp.rc
	native
2013-07-25 18:20:08 +02:00
raven02
bf8e32f6f6 Remove entire if and contents 2013-07-25 20:54:24 +08:00
raven02
82b2581d79 Remove 'Display raw framebuffer' option 2013-07-25 20:23:22 +08:00
Henrik Rydgård
0812da9e01 Merge pull request #2907 from raven02/patch-2
FBO to memory : Llimit frameskip to 8 and code cleanup
2013-07-24 12:24:05 -07:00
raven02
629a134946 Fix divide by 0 bug 2013-07-25 00:29:05 +08:00