Commit Graph
18709 Commits
Author SHA1 Message Date
Henrik Rydgård 62aafbbf48 Merge pull request #6195 from Bigpet/SDLmuljoy
multiple SDL joystick support, initial commit
2014-06-01 22:11:10 +02:00
Henrik Rydgård 77e947bf58 Merge pull request #6200 from Bigpet/muldinputdevs
initial commit for multiple DInput devices.
2014-06-01 22:10:39 +02:00
Unknown W. Brackets 003f20c694 Allow scissor, but not depthtest during glClear().
Improves #6210.
2014-06-01 10:34:57 -07:00
Unknown W. Brackets 111b624000 Oops, this will give the right alpha of course.
Although it may not be exactly the same for 4444/5551.
2014-06-01 10:26:41 -07:00
Unknown W. Brackets c79d0a2e3c Correct alpha in stencil upload, avoid blending.
Docs say blending is slower than masking, makes sense.
2014-06-01 08:47:53 -07:00
Henrik Rydgård 71a6a4ba04 Merge pull request #6183 from sum2012/scemp4
Small improve in scemp4 part 2
2014-06-01 15:44:48 +02:00
Peter Tissen 5e34dbf3fc limit Dinput devices to the max supported in input_state and update the native submodule to get the MAX_NUM_PADS constant 2014-06-01 12:37:32 +02:00
Peter Tissen 46eb74e98a undo visual studio auto-indenting 2014-06-01 12:37:31 +02:00
Peter Tissen 7d25a1591c fix formatting 2014-06-01 12:37:30 +02:00
Peter Tissen 1024eb7b63 initial commit for multiple DInput devices.
allow multiple dinput devices but still block all dinput devices if an xinput device is present.
This still has some issues with devices not being able to be dynamically added or removed but
even many commercial games react to hot-plug DInput events. Also, the axis handling is not really
ideal yet but it works for now.
2014-06-01 12:37:30 +02:00
Henrik Rydgård 0c7c736522 Merge pull request #6205 from unknownbrackets/replace-funcs
Initial replacement for Star Ocean's stencil upload
2014-06-01 12:22:11 +02:00
Henrik Rydgård 3c521c3f88 Merge pull request #6209 from unknownbrackets/gpu-blocktransfer
Also check for x offsets within block transfers
2014-06-01 12:10:07 +02:00
Henrik Rydgård 72132fe161 Merge pull request #6206 from unknownbrackets/framebuffer-clut
Track and decimate temporary-use FBOs in one place
2014-06-01 12:06:32 +02:00
Henrik Rydgård d3fb0459e6 Merge pull request #218 from Bigpet/incMaxPad
increase number of named pads
2014-06-01 12:04:59 +02:00
Peter Tissen 3c4e046609 make enum identifiers for all pad numbers, add a constant for the max number of pads and add string names for each identifier 2014-06-01 11:38:15 +02:00
Unknown W. Brackets bc618fdb6c Also check for x offsets within block transfers.
Grand Knights History does these too, not just y offsets.  Why does it
bother when block transfer let's you specify the coordinates so exactly?
2014-06-01 02:33:44 -07:00
Unknown W. Brackets 68e5be9381 Doesn't look like these need to use depth/stencil.
May save a bit of VRAM/RAM.
2014-06-01 01:03:44 -07:00
Unknown W. Brackets 3e8442c371 Decimate temporary FBOs after not being used. 2014-06-01 01:03:43 -07:00
Unknown W. Brackets 0846673dc3 Track temporary-use FBOs all in FramebufferManager.
This way it's easier to manage their lifecycle.
2014-06-01 01:03:43 -07:00
Unknown W. Brackets 4195eac04f Get rid of depalFBOs when overwriting textures.
Just in case they are not always used as framebuffers.  We set to 0 later
anyway.
2014-06-01 01:03:04 -07:00
Henrik Rydgård 410fc713a4 Merge pull request #6202 from unknownbrackets/gpu-minor
Decimate in clut stuff, adjustments to IsReallyAClear()
2014-06-01 09:53:52 +02:00
Unknown W. Brackets 4461c7e3c4 Oops, remove an old wrong comment. 2014-05-31 22:07:43 -07:00
Unknown W. Brackets 097ab53952 Enable the glClear() optimization.
It seems to help and so far have not noticed any problems.
2014-05-31 22:07:42 -07:00
Unknown W. Brackets 580143e5e2 Disable vertex arrays before depal as well. 2014-05-31 22:07:42 -07:00
Unknown W. Brackets e109a547ae Disable vertex arrays not in use. 2014-05-31 22:07:41 -07:00
Unknown W. Brackets bd67cdab3f Add basic decimation to the depal clut cache. 2014-05-31 22:07:41 -07:00
Unknown W. Brackets b308aaad03 Update disabled IsReallyAClear() code.
Not sure if there's still something wrong about depth.
2014-05-31 22:07:40 -07:00
Unknown W. Brackets 66fff0601d Upload stencil by bit rather than by value.
Still not the most optimal way, probably, but this was an easy change.
2014-05-31 21:48:12 -07:00
Unknown W. Brackets 7c87138915 Disable the last shader properly. 2014-05-31 21:48:12 -07:00
Unknown W. Brackets 21c1c635d8 Add support for 4444/5551/8888 stencil upload. 2014-05-31 21:48:11 -07:00
Unknown W. Brackets f6d4be1d49 Hook Star Ocean's function to upload stencil data.
Hurray, it seems to work properly.
2014-05-31 21:48:11 -07:00
Unknown W. Brackets b603a71281 Fix Star Ocean movement problems due to memcpy.
It needs to handle overlap correctly, ugh.
2014-05-31 21:48:10 -07:00
Unknown W. Brackets a09b738879 Fix exit replacement hooks. 2014-05-31 21:48:10 -07:00
Unknown W. Brackets 089ee41d9c Implement a very basic stencil upload.
This is not fast or efficient, but works.
2014-05-31 21:48:09 -07:00
Unknown W. Brackets e477a765e1 Scale bits better in MakePixelTexture(). 2014-05-31 21:48:08 -07:00
Unknown W. Brackets c142207a93 Fix a few warnings, mostly type comparisons. 2014-05-31 21:42:57 -07:00
Sacha e59877558f Blackberry: buildfix.
Give up on supporting multiple libpng. FindPNG doesn't report the specific include dir it uses and the library name doesn't always match. So use libpng17 on Linux/Blackberry too.
2014-06-01 07:55:45 +10:00
sum2012 a711e3eadd Remove the hack 2014-06-01 05:09:14 +08:00
Henrik Rydgård fd19b8d271 Merge pull request #6197 from unknownbrackets/replace-funcs
Function replacement hooks and some GLES compat replacements
2014-05-31 20:30:30 +02:00
Henrik Rydgård 365f934755 Merge pull request #6201 from unknownbrackets/armjit-minor
Implement vsat0/vsat1 in armjit, minor optim
2014-05-31 20:29:00 +02:00
Unknown W. Brackets 5ccc227462 armjit: Minor const optimization in Comp_VV2Op. 2014-05-31 11:12:36 -07:00
Unknown W. Brackets df289e46a9 armjit: Use sat0/1 method from prefixes in vsat. 2014-05-31 11:12:35 -07:00
Unknown W. Brackets 1433b98c46 Clean up the framebuffer force downloads. 2014-05-31 10:03:03 -07:00
Unknown W. Brackets 085931dd1c Clear replacements on savestate outside jit too. 2014-05-31 10:03:02 -07:00
Unknown W. Brackets b2dc92b942 Add a hook for Hexyz Force's "monoclome" thread.
This fixes missing graphics in some areas in GLES, due to direct framebuf
access.
2014-05-31 10:03:02 -07:00
Unknown W. Brackets 9f01c02626 Don't try to read breakpoint info after exit.
Fixes a crash on exit when on a breakpoint.
2014-05-31 10:03:01 -07:00
Unknown W. Brackets 5dd8ebe2b4 Add a hook for Gods Eater Burst's swizzled copy. 2014-05-31 10:03:01 -07:00
Unknown W. Brackets d09be5a4bc Update PC before going into a replacement func.
This way we can report the PC properly on errors, and the replacement func
can even look at PC.
2014-05-31 10:03:01 -07:00
Unknown W. Brackets f489694515 Add the option to hook, rather than replace, funcs.
This can be useful for debugging or developing translations/game hacks,
and also gives us options when dealing with GLES incompatibilities.
2014-05-31 10:03:00 -07:00
Unknown W. Brackets 72eb15f282 Speed up debug build hashfunc lookup. 2014-05-31 10:03:00 -07:00