summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-01-07Merge pull request #1999 from ReinUsesLisp/dirty-shaderbunnei
gl_shader_cache: Use dirty flags for shaders
2019-01-07gl_shader_cache: Use dirty flags for shadersReinUsesLisp
2019-01-07Merge pull request #1989 from lioncash/setbunnei
service/vi: Unstub IApplicationDisplayService's SetLayerScalingMode
2019-01-07Merge pull request #1992 from DarkLordZach/move-profile-manager-uibunnei
qt: Move profile manager to own UI tab
2019-01-07Merge pull request #1990 from ReinUsesLisp/copy-surface-stream-copybunnei
gl_rasterizer_cache: Use GL_STREAM_COPY for PBOs
2019-01-05gl_rasterizer_cache: Use GL_STREAM_COPY for PBOsReinUsesLisp
Since the data is doing the path CPU -> GPU -> GPU copy is the most approximate hint. Using GL_STREAM_DRAW generated a performance warning on Nvidia's stack. Changing this hint removed the warning.
2019-01-05Merge pull request #1988 from lioncash/resbunnei
service/vi: Correct reported dimensions from IApplicationDisplayService's GetDisplayResolution()
2019-01-04service/vi: Correct scaling mode conversionsLioncash
These values are not equivalent, based off RE. The internal value is put into a lookup table with the following values: [3, 0, 1, 2, 4] So the values absolutely do not map 1:1 like the comment was indicating.
2019-01-04service/vi: Factor out scaling mode conversions from the IPC function itselfLioncash
Avoids entangling the IPC buffer appending with the actual operation of converting the scaling values over. This also inserts the proper error handling for invalid scaling values.
2019-01-04service/vi: Unstub IApplicationDisplayService' SetLayerScalingMode()Lioncash
This appears to only check if the scaling mode can actually be handled, rather than actually setting the scaling mode for the layer. This implements the same error handling performed on the passed in values.
2019-01-04Merge pull request #1981 from ogniK5377/open-app-area-createbunnei
Return no application area when games try to open an application area
2019-01-04Merge pull request #1980 from ogniK5377/applet-msg-updatebunnei
Proper no message handling for AM::PopMessage
2019-01-04service/vi: Correct reported dimensions from IApplicationDisplayService's ↵Lioncash
GetDisplayResolution() Within the actual service, it makes no distinguishing between docked and undocked modes. This will always return the constants values reporting 1280x720 as the dimensions.
2019-01-04qt: Move profile manager to own UI tabZach Hilman
2019-01-04Removed pulse event typeDavid Marcec
Pulse is considered a hack and nothing should be using it. We should completely remove it
2019-01-03Merge pull request #1975 from lioncash/vibunnei
service/vi: Minor updates and corrections to the DisplayInfo struct
2019-01-04Return no application area when games try to open an application areaDavid Marcec
This will prompt CreateApplicationArea
2019-01-04Proper no message handling for AM::PopMessageDavid Marcec
When we have no messages, we should be returning an error code.
2019-01-03 Fixed botw deadlock(and possibly 30 fps games rendering too fast? needs ↵David Marcec
testing to confirm) Upon investigating the issue with #1878, I found that games are the ones who handle the vsync event resetting and not us.
2019-01-02Merge pull request #1976 from lioncash/displaybunnei
service/vi: Implement OpenDefaultDisplay in terms of OpenDisplay
2019-01-02Merge pull request #1978 from lioncash/enabledbunnei
service/vi: Implement SetDisplayEnabled()
2019-01-02Merge pull request #1942 from DarkLordZach/profile-select-game-bootbunnei
qt: Add setting to prompt for user on game boot
2019-01-02Merge pull request #1941 from DarkLordZach/profile-select-save-databunnei
qt: Use ProfileSelectionDialog when selecting user for save data
2019-01-02service/vi: Implement SetDisplayEnabled()Lioncash
This IPC command is simply a stub inside the actual service itself, and just returns a successful error code regardless of input. This is likely only retained in the service interface to not break older code that relied upon it succeeding in some way.
2019-01-02Merge pull request #1977 from lioncash/vi-logbunnei
service/vi: Log more information where applicable
2019-01-02service/vi: Log more information where applicableLioncash
In many cases, we didn't bother to log out any of the popped data members. This logs them out to the console within the logging call to provide more contextual information.
2019-01-02service/vi: Implement OpenDefaultDisplay in terms of OpenDisplayLioncash
Internally within the vi services, this is essentially all that OpenDefaultDisplay does, so it's trivial to just do the same, and forward the default display string into the function.
2019-01-02Merge pull request #1961 from ReinUsesLisp/tex-view-2dbunnei
gl_rasterizer_cache: Texture view if shader samples array but OGL is not
2019-01-02service/vi: Correct initial width and height valuesLioncash
Based off RE, it appears that almost all display types seem to use 1920x1080 except for a few (null display, edid display).
2019-01-02service/vi: Document unknown DisplayInfo struct membersLioncash
It appears that the two members indicate whether a display has a bounded number of layers (and if set, the second member indicates the total number of layers).
2019-01-02Merge pull request #1944 from FearlessTobi/port-4187bunnei
Port citra-emu/citra#4187: "Qt/Configure: Use sidebar to divide tabs into smaller groups"
2019-01-02Merge pull request #1969 from lioncash/castbunnei
yuzu: Fix truncation warnings within UI code
2018-12-31yuzu/configure_general: Silence truncation warnings in loadConfiguration()Lioncash
The QPixmap API expects an unsigned int.
2018-12-31yuzu/config: Silence truncation warningsLioncash
2018-12-31core/kernel: Remove unnecessary inclusionsLioncash
Gets rid of a few unnecessary header dependencies in some source files.
2018-12-31Merge pull request #1966 from lioncash/backtracebunnei
arm_interface: Minor cleanup
2018-12-30kernel/svc: Correct misleading error message within CreateThread()Lioncash
This is a bounds check to ensure that the thread priority is within the valid range of 0-64. If it exceeds 64, that doesn't necessarily mean that an actual priority of 64 was expected (it actually means whoever called the function screwed up their math). Instead clarify the message to indicate the allowed range of thread priorities.
2018-12-30kernel/svc: Sanitize core number and thread priorities in CreateThread()Lioncash
Now that we handle the kernel capability descriptors we can correct CreateThread to properly check against the core and priority masks like the actual kernel does.
2018-12-30kernel/process: Rename GetAllowedProcessorMask() and ↵Lioncash
GetAllowedThreadPriorityMask() Makes them consistent with their kernel capability counterparts.
2018-12-30kernel/svc: Simplify thread core ID sanitizing in CreateThreadLioncash
Rather than use a switch here, this can be collapsed into a simple range check, which is a little easier on the eyes.
2018-12-30arm_interface: Make include path relative for arm_interface.hLioncash
Makes it consistent with the rest of the includes.
2018-12-30arm_interface: Make LogBacktrace() a const member functionLioncash
This function doesn't modify instance state, so it can be made const.
2018-12-30arm_interface: Mark variables as const where applicable in LogBacktrace()Lioncash
Two of these variables have fixed values, so we can make that immediately obvious from the get-go.
2018-12-30arm_interface: Remove unnecessary semicolonLioncash
Namespaces don't require the use of a semicolon. Silences a -Wextra-semi warning.
2018-12-30Merge pull request #1956 from lioncash/process-threadSebastian Valle
kernel/process: Start the main thread using the specified ideal core
2018-12-29Merge pull request #1847 from ogniK5377/backtrace-breakbunnei
Print backtrace on svcBreak
2018-12-29Merge pull request #1964 from lioncash/timebunnei
service/time: Minor cleanup
2018-12-29gl_rasterizer_cache: Texture view if shader samples array but OGL is notReinUsesLisp
When a shader samples a texture array but that texture in OpenGL is created without layers, use a texture view to increase the texture hierarchy. For example, instead of binding a GL_TEXTURE_2D bind a GL_TEXTURE_2D_ARRAY view.
2018-12-29service/time: Minor cleanup to GetClockSnapshot()Lioncash
Moves some variables closer to their actual usage sites.
2018-12-29service/time: Fill in some structures and remove padding where not necessaryLioncash