Commit Graph

28413 Commits

Author SHA1 Message Date
espes 21e55dc3c0 this was bugging me 2015-04-21 01:59:24 -07:00
espes a100275422 not going to fix this any time soon... 2015-04-21 01:59:24 -07:00
espes 98b5749b29 cheanups to smc 2015-04-21 01:59:24 -07:00
espes 80bb4653bb don't ignore a broken bootrom path 2015-04-21 01:59:23 -07:00
espes f8aba27d5b fix a random reg addr 2014-05-30 00:03:38 +10:00
espes c4e3b0fe62 probably a more correct way to handle vsh output 2014-05-30 00:01:06 +10:00
espes 0772f947c9 get rid of texture state struct 2014-05-29 00:32:48 +10:00
espes 56df8b58e3 fix compilation with gcc 2014-05-29 00:25:43 +10:00
espes 4ea5b61461 Correct 16-bit color formats.. 2014-05-28 01:16:28 +10:00
espes 344f0b2e2f move vertex dmas out of kelvin 2014-05-27 16:05:09 +10:00
espes ece3b714fa somewhat more correct vertex program output fix... 2014-05-27 16:05:02 +10:00
espes dad84440f9 silly log2 rounded the wrong way 2014-05-26 23:05:56 +10:00
espes 88de3488d9 texture format fixes; swizzled surface, courtesy of JayFoxRox 2014-05-26 05:08:30 +10:00
Jannik Vogel dc70d18040 Close opened files 2014-05-26 05:04:52 +10:00
espes 2c4571a3cd Initial integration of JayFoxRox's GLSL vertex program translator 2014-05-26 05:04:47 +10:00
espes 7eb49195f0 initial support for PVIDEO 2014-05-03 03:03:13 +10:00
espes b6bf7e751c few extra texture formats courtesy of blueshogun 2014-05-02 04:06:46 +10:00
espes ce9d484ab0 minor nv2a fixes 2014-04-27 15:16:53 +10:00
espes 308a719ef5 hack up rtc for xbox :/ 2014-04-27 15:15:51 +10:00
espes a604e498e4 nope 2014-04-27 15:12:07 +10:00
espes 06f324848d things are even *less* broken if we undo the perspecive divide proper 2013-11-23 11:31:58 +11:00
espes fa46a9eaa5 nv2a_psh tweaks 2013-11-23 11:17:30 +11:00
espes 720b776eda mipmaps, fix inline diffuse 2013-11-23 09:56:10 +11:00
espes 7792a89829 things are a lot less broken if we assume shaders preform the perspective divide... 2013-11-22 16:49:29 +11:00
espes c769f3de88 memory leak... 2013-11-22 16:39:53 +11:00
espes e98ca035ee fixed function viewport handling; implement flip_stall; cleanups... 2013-11-21 07:56:16 +11:00
espes b062d9f4a6 fixed function composite transform; combiner constants 2013-11-18 06:45:38 +11:00
espes dd7f22b07d initial fixed function stuff; texture unswizzling 2013-11-17 16:26:24 +11:00
espes ef7f80bb86 kinda handle immediate-mode vertex stuff; refactoring 2013-11-15 13:47:24 +11:00
Marc-André Lureau 7af215ee16 vga: fix invalid read after free
After calling dpy_gfx_replace_surface(s->con, surface), the outer
surface is invalid.

==5370== Invalid read of size 4
==5370==    at 0x460229: surface_bits_per_pixel (console.h:250)
==5370==    by 0x466A81: get_depth_index (vga.c:1173)
==5370==    by 0x467EC2: vga_draw_graphic (vga.c:1718)
==5370==    by 0x4687A5: vga_update_display (vga.c:1914)
==5370==    by 0x2A782E: qxl_hw_update (qxl.c:1766)
==5370==    by 0x3EB83B: graphic_hw_update (console.c:254)
==5370==    by 0x3FBE31: qemu_spice_display_refresh (spice-display.c:418)
==5370==    by 0x2A7D01: display_refresh (qxl.c:1886)
==5370==    by 0x3EEE1C: dpy_refresh (console.c:1436)
==5370==    by 0x3EB543: gui_update (console.c:192)
==5370==    by 0x3C43B3: timerlist_run_timers (qemu-timer.c:488)
==5370==    by 0x3C4416: qemu_clock_run_timers (qemu-timer.c:499)
==5370==  Address 0x22ffb1e0 is 0 bytes inside a block of size 56 free'd
==5370==    at 0x4A074C4: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==5370==    by 0x4245FC: free_and_trace (vl.c:2771)
==5370==    by 0x50899AE: g_free (gmem.c:252)
==5370==    by 0x3EE8D3: qemu_free_displaysurface (console.c:1332)
==5370==    by 0x3EEDB7: dpy_gfx_replace_surface (console.c:1427)
==5370==    by 0x467EB6: vga_draw_graphic (vga.c:1714)
==5370==    by 0x4687A5: vga_update_display (vga.c:1914)
==5370==    by 0x2A782E: qxl_hw_update (qxl.c:1766)
==5370==    by 0x3EB83B: graphic_hw_update (console.c:254)
==5370==    by 0x3FBE31: qemu_spice_display_refresh (spice-display.c:418)
==5370==    by 0x2A7D01: display_refresh (qxl.c:1886)
==5370==    by 0x3EEE1C: dpy_refresh (console.c:1436)

Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 1383664554-15248-1-git-send-email-marcandre.lureau@gmail.com
Signed-off-by: Anthony Liguori <aliguori@amazon.com>
2013-11-14 23:30:15 +11:00
espes 0611af4d25 LOL ram 2013-11-14 10:00:35 +11:00
espes 755005cb8c shader caching 2013-11-14 09:53:39 +11:00
espes 14ac13f70b terrible fragment shader generation 2013-11-14 09:52:30 +11:00
espes 8b3628cb39 cleanups.. 2013-11-13 21:15:52 +11:00
espes 41fda5fc25 share more graphics state proper or something 2013-11-13 21:14:13 +11:00
espes 7116f4eb13 cleanups to context creation; handle 0 viewport z scale 2013-09-12 04:04:11 +10:00
espes ca76432648 nv2a: clear rectangles; fix surface upload; start unfucking pgraph state 2013-09-06 06:01:27 +10:00
espes 35c578eedf ...and I still screw it up 2013-09-05 08:07:44 +10:00
espes b37d82f35c functional gamepad emulation :) 2013-09-05 07:46:46 +10:00
espes 761d06bab6 ohci: fix handling of transfer underruns
See:
https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Devices/USB/DevOHCI.cpp#L2343
https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Devices/USB/DevOHCI.cpp#L2363
2013-09-05 01:45:37 +10:00
espes 7b4fdbb60b finally fix up irq routing 2013-08-29 16:47:33 +10:00
espes 2c88de84af initial skeleton xid driver 2013-08-29 16:32:34 +10:00
espes 10d5d5925c push cpu-modified backbuffer to opengl and debug cleanups 2013-08-25 15:33:19 +10:00
espes 37b20e9b14 fix IMAGE_BLIT derp 2013-08-24 16:16:42 +10:00
espes 5cc6ebf9bd let lpc47m157 control its own serial devices 2013-08-24 16:11:26 +10:00
espes 4a23de0a88 move xbox hardware to hw/xbox 2013-08-21 18:06:10 +10:00
espes 8b5cf2082a significant windpl modifications 2013-08-20 23:34:49 +10:00
espes 63fcf45a9b commit windpl 2013-08-20 23:29:08 +10:00
espes 3a7b7d4978 build fixes for merge 2013-08-20 16:46:49 +10:00
espes ff3f9be0e2 Merge tag 'v1.6.0' into xbox
Conflicts:
	block/Makefile.objs
	configure
	hw/Makefile.objs
	hw/audio/ac97.c
	hw/i386/Makefile.objs
	hw/ide/core.c
	ui/console.c
2013-08-19 22:46:10 +10:00