Commit Graph

30115 Commits

Author SHA1 Message Date
espes a197b7d493 vga hack becuase 16-bit surfaces are broken in cocoa
This is easier to fix properly when recent console overhauls are merged in.
2015-07-15 03:13:43 +10:00
espes cfe80b9613 implement dsp max instruction 2015-07-15 03:12:19 +10:00
espes 2f436be848 improve inline buffer handling 2015-07-14 22:42:43 +10:00
espes ebd0e71614 s/swizzle_mask/gl_swizzle_mask/ 2015-07-14 21:11:52 +10:00
espes f87991504d fix barbie horse adventures framebuffer corruption 2015-07-14 04:21:21 +10:00
espes 33997e3a61 Merge branch 'texture-formats' into xbox 2015-07-14 02:53:41 +10:00
espes ec7a83d745 some style and const-correctness fixes 2015-07-14 02:52:59 +10:00
Jannik Vogel 2e0a16873d Cleanup uyvy 2015-07-14 02:51:20 +10:00
Jannik Vogel 285d50f334 Add uyvy textures 2015-07-14 02:51:20 +10:00
Jannik Vogel 33791c7412 Use new swizzle_mask for luminance textures 2015-07-14 02:51:20 +10:00
Jannik Vogel 66c4b94a88 Remove spaces 2015-07-14 02:51:19 +10:00
Jannik Vogel a3d110025e Fix GL3 error with luminance 2015-07-14 02:51:19 +10:00
Jannik Vogel 5e0a80b649 Some new texture formats + YUV conversion=WIP 2015-07-14 02:51:19 +10:00
Jannik Vogel f4ba11f180 Added first palette texture mode 2015-07-14 02:51:19 +10:00
espes c82a15d28e Merge pull request #13 from JayFoxRox/attribute-fix
Use newly converted buffer after conversion
2015-07-14 02:41:18 +10:00
espes ba0bb10c98 Merge pull request #12 from JayFoxRox/mipmap-fix
Fix GL3 mipmaps by forcing at least 1x1
2015-07-14 02:39:28 +10:00
espes 3ca7c1fe42 ymax instead of ymin for clip seems to work better 2015-07-14 02:38:24 +10:00
espes 82b884beaa Merge pull request #7 from JayFoxRox/surface-flip
Surface flip
2015-07-14 02:33:16 +10:00
Jannik Vogel f34954e6e8 Use newly converted buffer after conversion 2015-07-13 18:32:39 +02:00
Jannik Vogel bd5cb25887 Fix GL3 mipmaps by forcing at least 1x1 2015-07-13 18:28:36 +02:00
espes 23c9ee9517 Merge pull request #8 from JayFoxRox/clear-masks
Clear masks
2015-07-14 02:09:29 +10:00
espes 213767cee5 disable gl debugging by default 2015-07-14 01:55:05 +10:00
Jannik Vogel a753f3d06c Cleanup clear code 2015-07-13 17:53:18 +02:00
espes 15c5e94319 Merge pull request #11 from JayFoxRox/gl-debug
GL debug
2015-07-14 01:47:27 +10:00
Jannik Vogel 414e72299e Proper clear masks and region 2015-07-13 17:46:07 +02:00
Jannik Vogel 1efddc36d5 Remove dead code and remind about inplace+vram 2015-07-13 17:42:14 +02:00
Jannik Vogel 1040e2605b Surface flip on upload 2015-07-13 17:24:28 +02:00
Jannik Vogel c919b19824 Remove redundant NV2A text 2015-07-13 17:21:31 +02:00
Jannik Vogel cd54aa6158 Style and more debug info 2015-07-13 17:21:31 +02:00
Jannik Vogel 8faac03869 More GL Debug output 2015-07-13 17:21:31 +02:00
espes a50409ef19 don't assert for passthrough texture mode 2015-07-13 23:30:06 +10:00
espes 94b2c7ea7c initial support for paletted textures 2015-07-13 23:18:26 +10:00
espes 9dea936168 checking for exactly opengl 3.3 breaks forward-compatible contexts 2015-07-13 23:05:56 +10:00
espes 3e2523518c Merge pull request #5 from JayFoxRox/glx-gl-3.3
GLX version for GL 3.3 Core
2015-07-13 23:00:31 +10:00
Jannik Vogel 3364a7b461 Fatal messages to stderr 2015-07-13 14:25:40 +02:00
Jannik Vogel c32594ed12 Check GL Version in NV2A 2015-07-13 14:22:47 +02:00
Gerd Hoffmann c918b0a8a0 usb: add vendor request defines
Add defines for vendor specific usb control requests.
Group defines by Device / Interface / Endpoint while
being at it.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>

Conflicts:
	include/hw/usb.h
2015-07-13 22:11:00 +10:00
espes 74653cae79 Merge pull request #6 from JayFoxRox/xid-rumble
XID Rumble
2015-07-13 22:06:03 +10:00
Jannik Vogel b392aeed7a Cleanup GLX 2015-07-13 13:10:40 +02:00
Jannik Vogel 7bfec09454 Improve XID code quality 2015-07-13 12:44:52 +02:00
espes 7509c1d444 use texture swizzle mask for alpha textures 2015-07-13 15:08:57 +10:00
espes 6ffb0ffbd0 s32k is probably signed 2015-07-13 14:50:31 +10:00
espes 6e965b2c1d make attribute uploads lazy 2015-07-13 13:45:39 +10:00
espes bf7948c70d maybe fix ARL instruction 2015-07-13 01:21:07 +10:00
Jannik Vogel 1aa0eee37c S1 (as UV?) should be normalized, fixes textures in Halo 2015-07-12 21:55:49 +10:00
Jannik Vogel ffba4cfb7a XID Rumble 2015-07-12 13:06:44 +02:00
Jannik Vogel 6acc7e2d13 GLX version for GL 3.3 Core 2015-07-12 12:50:48 +02:00
espes be5a78e918 actually do the sse4.2 compile check for fast_hash 2015-07-12 01:58:24 +10:00
espes c47148e63d the simple changes that might fix linux 2015-07-12 01:37:22 +10:00
espes 1a4664a9f8 a bunch of trailing whitespace has accumulated 2015-07-12 01:34:03 +10:00