summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-05-27CMake: Use IMPORTED target for libpngYuri Kunde Schlesner
2017-05-27CMake: Correct inter-module dependencies and library visibilityYuri Kunde Schlesner
Modules didn't correctly define their dependencies before, which relied on the frontends implicitly including every module for linking to succeed. Also changed every target_link_libraries call to specify visibility of dependencies to avoid leaking definitions to dependents when not necessary.
2017-05-27Citra: Convert include into forward declarationYuri Kunde Schlesner
2017-05-27Remove some unnecessary inclusions of video_core.hYuri Kunde Schlesner
2017-05-27Move screen size constants from video_core to coreYuri Kunde Schlesner
video_core didn't even properly use them, and they were the source of many otherwise-unnecessary dependencies from core to video_core.
2017-05-27OpenGL: Remove unused RendererOpenGL fieldsYuri Kunde Schlesner
2017-05-27Core: Fix some out-of-style includesYuri Kunde Schlesner
2017-05-27Common: Fix some out-of-style includesYuri Kunde Schlesner
2017-05-27Move framebuffer_layout from Common to CoreYuri Kunde Schlesner
This removes a dependency inversion between core and common. It's also the proper place for the file since it makes screen layout decisions specific to the 3DS.
2017-05-27Merge pull request #2725 from wwylele/texture-samplerYuri Kunde Schlesner
gl_shader: refactor texture sampler into its own function
2017-05-27gl_shader: refactor texture sampler into its own functionwwylele
2017-05-26Merge pull request #2716 from yuriks/decentralized-resultbunnei
Decentralize ResultCode
2017-05-24Merge pull request #2697 from wwylele/proctexYuri Kunde Schlesner
Implemented Procedural Texture (Texture Unit 3)
2017-05-24FS: Remove unused result definitionYuri Kunde Schlesner
2017-05-24Common: Clean up meta-template logic in BitFieldYuri Kunde Schlesner
2017-05-24Kernel: Centralize error definitions in errors.hYuri Kunde Schlesner
2017-05-24GSP_GPU: Move error codes from result.h to local fileYuri Kunde Schlesner
2017-05-24FileSys: Move all result description to errors.hYuri Kunde Schlesner
2017-05-24result: Make error description a generic integerYuri Kunde Schlesner
It is now known that result code description vary depending on the module, and so they're best defined on a per-module basis. To support this, allow passing in an arbitrary integer instead of limiting to the ones in the ErrorDescription enum. These will be gradually migrated to their individual users, but a few will be kept as "common" codes shared by all modules.
2017-05-24Make BitField and ResultCode constexpr-initializableYuri Kunde Schlesner
2017-05-24telemetry: Log a few simple data fields throughout core.bunnei
2017-05-24core: Keep track of telemetry for the current emulation session.bunnei
2017-05-24common: Add a generic interface for logging telemetry fields.bunnei
2017-05-22Merge pull request #2692 from Subv/vfp_ftzSebastian Valle
Dyncom/VFP: Convert denormal outputs into 0 when the FTZ flag is enabled.
2017-05-21Merge pull request #2406 from Subv/session_disconnectYuri Kunde Schlesner
Kernel: Properly update port counters on session disconnection.
2017-05-21fixup! Dyncom/VFP: Convert denormal outputs into 0 when the FTZ flag is enabled.Subv
2017-05-21Kernel/Sessions: Remove the ClientSession::Create function.Subv
It is not meant to be used by anything other than CreateSessionPair.
2017-05-22Merge pull request #2694 from Subv/vfp_vsub_ftzMerry
Dyncom/VFP: Perform flush-to-zero on the second operand of vsub before sending it to vadd.
2017-05-21swrasterizer: add missing tc0_w and fragment lighting attribute processingwwylele
2017-05-20gl_rasterizer: implement procedural texturewwylele
2017-05-20pica/swrasterizer: implement procedural texturewwylele
2017-05-19Merge pull request #2661 from Subv/uds5bunnei
Services/UDS: Generate 802.11 beacon frames when a network is open.
2017-05-19Merge pull request #2710 from emmauss/ptm_ipcbunnei
use IPCHelper for PTM services
2017-05-19use IPCHelper for PTM servicesemmaus
2017-05-17pica: use correct register value for shader bool_uniformswwylele
variable value is not masked. the masked and combined register value should be used instead
2017-05-16Merge pull request #2703 from wwylele/pica-reg-reviseYuri Kunde Schlesner
pica: correct bit field length for some registers
2017-05-16pica: correct bit field length for some registerswwylele
2017-05-15Services/UDS: Use the new IPC helper functions.Subv
2017-05-15Services/UDS: Implement RecvBeaconBroadcastData.Subv
This allows the applications to retrieve 802.11 beacon frames from nearby UDS networks. Note that the networks are still not announced anywhere.
2017-05-15Services/UDS: Generate the UDS beacons when the beacon callback fires.Subv
2017-05-15Kernel: Remove a now unused enum and variable regarding a session's status.Subv
2017-05-15Kernel: Use a Session object to keep track of the status of a Client/Server ↵Subv
session pair. Reduce the associated port's connection count when a ServerSession is destroyed.
2017-05-14Merge pull request #2687 from yuriks/address-mappingsYuri Kunde Schlesner
Kernel: Map special regions according to ExHeader
2017-05-13Dyncom/VFP: Perform flush-to-zero on the second operand of vsub before ↵Subv
sending it to vadd. Previously we were letting vadd flush the value to positive 0, but there are cases where this behavior is wrong, for example, vsub: -0 - +0 = -0 vadd: -0 + +0 = +0 Now we'll flush the value to +0 inside vsub, and then negate it.
2017-05-12Merge pull request #2695 from JayFoxRox/gs-regsWeiyi Wang
Prepare Pica registers for Geometry Shaders
2017-05-12Pica: Write GS registersJannik Vogel
This adds the handlers for the geometry shader register writes which will call the functions from the previous commit to update registers for the GS.
2017-05-12Pica: Write shader registers in functionsJannik Vogel
The commit after this one adds GS register writes, so this moves the VS handlers into functions so they can be re-used and extended more easily.
2017-05-11Pica: Set program code / swizzle data limit to 4096Jannik Vogel
One of the later commits will enable writing to GS regs. It turns out that on startup, most games will write 4096 GS program words. The current limit of 1024 would hence result in 3072 (4096 - 1024) error messages: ``` HW.GPU <Error> video_core/shader/shader.cpp:WriteProgramCode:229: Invalid GS program offset 1024 ``` New constants have been introduced to represent these limits. The swizzle data size has also been raised. This matches the given field sizes of [GPUREG_SH_OPDESCS_INDEX](https://3dbrew.org/wiki/GPU/Internal_Registers#GPUREG_SH_OPDESCS_INDEX) and [GPUREG_SH_CODETRANSFER_INDEX](https://www.3dbrew.org/wiki/GPU/Internal_Registers#GPUREG_SH_CODETRANSFER_INDEX) (12 bit = [0; 4095]).
2017-05-10Merge pull request #2669 from jroweboy/async_file_watcherYuri Kunde Schlesner
Frontend: Prevent FileSystemWatcher from blocking UI thread
2017-05-10Frontend: Prevent FileSystemWatcher from blocking UI threadJames Rowe
Instead of tying the QFileSystemWatcher to the GameList and updating in the UI thread, this change moves it to the worker thread. Since it gets deleted and recreated as part of the worker thread, this prevents it from ever getting used from multiple threads (which is why it was originally done on the UI thread)