Commit graph

412 commits

Author SHA1 Message Date
Unknown W. Brackets
f77a4985f1 Keep track of whether a texture is reliable or not. 2013-02-10 14:20:58 -08:00
Unknown W. Brackets
d56f3055b6 Don't check the power of two padding in texcache. 2013-02-10 14:20:58 -08:00
Unknown W. Brackets
f15c1839ac Use backoff to invalidate textures as well. 2013-02-10 14:20:58 -08:00
Unknown W. Brackets
634b9112e4 Cache vertexes based on frames not draws. 2013-02-10 14:20:57 -08:00
Unknown W. Brackets
5f3f3b8716 Speed up TextureCache::Invalidate() in debug. 2013-02-10 13:11:29 -08:00
Xele02
381bffaa47 Remove Qt define 2013-02-10 18:15:01 +01:00
Xele02
69b837f18b Add debug dialogs (DisAsm, Memory, VFPU).
New features : Breakpoint display, thread status, display list status
Update translation and start french translation
2013-02-10 17:33:34 +01:00
Sacha
b817e3bf26 Update max to std::max 2013-02-10 23:01:18 +10:00
Henrik Rydgard
87c9aa99c2 Let's specify MAX_LOD whether it works or not on gles 2... 2013-02-10 12:13:35 +01:00
Unknown W. Brackets
430139b12a Minimal revert of the GE-related interrupt changes.
Keep most of them, just revert using getList() which isn't cutting it
right now.  Fixes #595.
2013-02-10 02:03:02 -08:00
Unknown W. Brackets
74c2769ada Don't use an f suffix in GL shaders.
Error found in Hexyz Force.
2013-02-09 17:18:01 -08:00
Henrik Rydgard
db3f01044d Turn down texturecache logging a bit. Fix unfinished optimization. 2013-02-09 21:32:02 +01:00
Henrik Rydgard
5a43f3e0ff ZWRITEDISABLE should flush drawbuffer. Fixes road glitches in Ridge Racer and MotoGP. 2013-02-09 21:25:15 +01:00
Henrik Rydgard
aef2376b34 Merge branch 'master' into framebuffer-texture
Conflicts:
	GPU/GLES/TextureCache.cpp
2013-02-09 21:18:46 +01:00
Henrik Rydgard
ca347da99c Depth range should not be applied in through mode. Fixes sky in Wipeout Pure. 2013-02-09 20:53:32 +01:00
Henrik Rydgard
4868b5041c Fall back to glGenerateMipmap on OpenGL ES 2.0 for now, explanation in comments.
Enable 4x aniso by default, just because. This might be turned into an option later.
2013-02-09 20:21:10 +01:00
Henrik Rydgard
2fcea2a7e6 Fix mipmap-related slowdown caused by excessive texture decoding 2013-02-09 19:25:36 +01:00
Henrik Rydgard
bf7e5a4115 Mipmapping! Fixes issue #614 2013-02-08 00:04:34 +01:00
Henrik Rydgard
356f5788e1 Fix more UV issues 2013-02-08 00:04:01 +01:00
Henrik Rydgard
6b3ddae554 Fix UV error introduced in previous commit 2013-02-06 21:38:19 +01:00
Henrik Rydgard
6f9347178b Let's not declare vertex arrays as RELIABLE for now. 2013-02-06 20:45:25 +01:00
Henrik Rydgard
aaf00e047b Don't convert texcoords to float either. 2013-02-06 20:30:10 +01:00
Henrik Rydgard
8749ad0cb9 Warning fixes, very minor updates to shader generators. 2013-02-06 19:04:28 +01:00
Henrik Rydgard
80f4dc4e3a Fix issue with half sized skinned objects in SW transform. 2013-02-06 19:04:28 +01:00
Henrik Rydgard
0ca279e81d Don't hash vertex buffers every frame (TCP-style backoff up until every 16th)
Saves quite a bit time otherwise spent in CityHash, blowing the dcache every time.
2013-02-06 00:43:37 +01:00
raven02
b64edadb1b Fix missing menu button and character in The Legend Of Heroes - Trails In The Sky 2013-02-06 04:26:24 +08:00
Henrik Rydgard
12cccf0cc3 Don't need to flush on GE_CMD_OFFSET. 2013-02-05 18:02:11 +01:00
Henrik Rydgard
bf7ad9e1c9 Also don't convert 16-bit bone weights to float. Fixes a bug from the last similar change. 2013-02-05 18:02:10 +01:00
Henrik Rydgard
bdc467769e Some shader and vertex format optimizations 2013-02-05 01:37:00 +01:00
Henrik Rydgard
ac7ffa5e03 Merge branch 'master' into framebuffer-texture
Conflicts:
	GPU/GLES/StateMapping.cpp
2013-02-04 23:55:11 +01:00
Henrik Rydgard
3ee6ff01e1 Fix screen size when not using buffered rendering on Android 2013-02-04 23:39:09 +01:00
Henrik Rydgard
5c5f6ef165 Fix error in vertex shader compiler - no uniform called u_matambient 2013-02-04 23:33:14 +01:00
Henrik Rydgard
bf51291527 Don't translate bone weights to floats unnecessarily. Minor optimization to ApplyShader, pushing it down the profile from 2% to 0.5% in Wipeout. 2013-02-04 23:10:40 +01:00
Henrik Rydgård
0737021858 Merge pull request #601 from unknownbrackets/hw-transform
Match the lighting/alpha logic in the sw transform
2013-02-04 11:09:38 -08:00
Unknown W. Brackets
2a6457b6ab Cut down on h files including PointerWrap.
This makes changes to it a bit faster to build.
2013-02-04 08:26:59 -08:00
Henrik Rydgård
edb9cf5c71 Merge pull request #598 from lioncash/master
Found another check that should be before the other one.
2013-02-04 08:17:59 -08:00
lioncash
5acce242c1 Another 'Check if the number is within range before accessing' array change 2013-02-04 09:36:58 -05:00
lioncash
3221438de4 Check if num is within range *before* accessing the array. 2013-02-04 08:53:20 -05:00
lioncash
025a1351b4 Get rid of unused iterators.
Also fix the formatting in 3 sprintf calls.
2013-02-04 08:49:58 -05:00
Henrik Rydgård
b9dd8d0277 Merge pull request #589 from Orphis/dlist-rewrite-part1
Dlist rewrite part1
2013-02-03 22:49:16 -08:00
Florent Castelli
8004d360dd Interrupt handler reorganization for easier GE interrupt support 2013-02-04 03:10:01 +01:00
Henrik Rydgard
2192029486 Merge branch 'master' into framebuffer-texture 2013-02-04 00:13:50 +01:00
Henrik Rydgard
a54fb0e55d Disassemble a few more Ge ops. 2013-02-04 00:03:23 +01:00
Henrik Rydgard
ce059eedf5 Disable non-through RotateUV, according to Raven02 it seems it's not needed although I have my doubts :) 2013-02-03 21:46:31 +01:00
Henrik Rydgard
2bacf8071f Fix RotateUV. Apparently the rules are reversed in through mode. 2013-02-03 12:27:52 +01:00
Unknown W. Brackets
c323a89c8d Match the lighting/alpha logic in the sw transform. 2013-02-03 00:10:40 -08:00
Henrik Rydgard
00f9c97479 Seems vertex/index addresses should be computed through the same mechanism as jumps.
Gets rid of bad vertex address messages in Sol Trigger.
2013-02-02 23:48:22 +01:00
Henrik Rydgard
ec7dd1f5b1 Merge branch 'master' into framebuffer-texture 2013-02-02 13:42:44 +01:00
Henrik Rydgard
510f1ac3f4 Some misc GE constant renames / disasm 2013-02-02 13:40:26 +01:00
Henrik Rydgard
0769a1d3e8 I think I finally understood how origin-relative GE jumps are supposed to work. 2013-02-02 13:38:34 +01:00