Mathew Maidment
0509292f86
Merge pull request #3431 from stenzek/shadercache
...
ShaderGen: Remove virtual methods and string from ShaderGeneratorInterface.
2016-01-04 19:11:14 -05:00
Mathew Maidment
18ac844e4b
Merge pull request #3442 from lioncash/unique_ptr
...
OGL: Correct unique_ptr types
2016-01-03 17:29:07 -05:00
Lioncash
1bcfae5fd7
OGL: Correct unique_ptr types
...
By default unique_ptr will call delete on the given type if an array
qualifier isn't present, not delete[]. It's important to explicitly
specify an array is being handled.
2016-01-03 16:00:16 -05:00
Mathew Maidment
a63873535f
Merge pull request #3437 from endrift/missing-include
...
HW: Add missing header for sprintf()
2016-01-03 04:52:15 -05:00
Lioncash
01f99a04a2
VideoBackend: Get rid of a boolean global
...
Also gets rid of global headers
2016-01-02 18:03:28 -05:00
Lioncash
edda018d54
OnScreenDisplay: Make CallbackType an enum class
2016-01-02 14:57:55 -05:00
Lioncash
f3c05d39b9
GLInterface: Make GLInterfaceMode an enum class
2016-01-02 14:26:43 -05:00
Lioncash
df9c9ad706
GLInterfaceBase: In-class initialize protected members
...
Gives the class a well-defined initial state
2016-01-02 14:26:42 -05:00
Lioncash
11a7defdba
WGL: Make class member private
2016-01-02 14:26:41 -05:00
Lioncash
df2f6089be
GLInterface: Add missing override specifiers
2016-01-02 14:26:36 -05:00
Lioncash
6093d1f72a
ProgramShaderCache: Simplify SHADERUID comparison operators
2016-01-01 22:28:42 -05:00
Mathew Maidment
988f62dfb1
Merge pull request #3427 from rohit-n/build-pch
...
Fix building with PCH disabled.
2016-01-01 15:36:48 -05:00
Mathew Maidment
787bf156f0
Merge pull request #3414 from booto/set-dtv-bit-for-wads-too
...
VI: set the JP bit of VI's DTV reg when needed
2015-12-30 17:47:25 -05:00
Lioncash
4bc7c0c5a8
DSPCore: Prefix globals with g_
2015-12-29 10:40:44 -05:00
Lioncash
78565fabbc
DSPCore: Make the DSP emitter global a unique_ptr
2015-12-29 10:29:02 -05:00
Lioncash
e082ebad1a
HiresTextures: Remove the need to explicitly free SOIL allocated data
2015-12-29 08:40:17 -05:00
Lioncash
1d01fbd217
HiresTextures: Make Load return a unique_ptr
2015-12-29 08:40:15 -05:00
Lioncash
6a9e4511b5
HiresTextures: Remove unnecessary header includes
2015-12-29 08:40:07 -05:00
Mathew Maidment
8843760ad7
Merge pull request #3405 from phire/fix-unused-var
...
FifoAnalyzer: Fix a few warnings that visual studio missed.
2015-12-28 02:54:55 -05:00
Lioncash
c5f123a70b
ShaderGenCommon: Remove unnecessary static keywords
...
Functions defined in a header should be inline only, otherwise program
code is generated for every other file that calls said functions
2015-12-26 18:02:54 -05:00
Lioncash
c151fe582f
ShaderGenerators: Remove unnecessary inline keywords
...
Static by itself is sufficient
2015-12-26 17:57:32 -05:00
Lioncash
8ce3a4aa70
ShaderGeneration: Get rid of static buffers
2015-12-26 17:01:54 -05:00
Lioncash
a8ab156a29
Fifo: Convert define into constant
...
Also moves it to the cpp file where it's used.
2015-12-25 16:07:04 -05:00
Mathew Maidment
cfd300586a
Merge pull request #3391 from rohit-n/build-pch
...
Fix building with PCH disabled.
2015-12-23 17:36:40 -05:00
Lioncash
8371c428cd
VertexLoaderBase: Get rid of explicit delete and new
2015-12-22 20:09:54 -05:00
Mathew Maidment
3cf16f8573
Merge pull request #3382 from lioncash/render
...
Render: Get rid of explicit new and delete
2015-12-22 19:26:26 -05:00
Lioncash
da0e647346
Render: Get rid of explicit new and delete
2015-12-22 19:10:05 -05:00
Lioncash
e422af9cce
FramebufferManager: Get rid of raw new and delete
2015-12-22 18:06:05 -05:00
Mathew Maidment
1b69743ba1
Merge pull request #3362 from lioncash/memory
...
NANDContentLoader/WiiWAD: Get rid of raw delete and new
2015-12-22 06:39:12 -05:00
Mathew Maidment
98c0c79895
Merge pull request #3376 from spxtr/DQt2
...
Use const reference, explicit, final, and override consistently in DQt2
2015-12-22 06:33:37 -05:00
Lioncash
f448c6e291
FramebufferManagerBase: Get rid of explicit delete and new
2015-12-21 15:57:48 -05:00
Mathew Maidment
4c62a5c0a4
Merge pull request #3370 from rohit-n/warnings
...
Silence -Wshadow and -Wmaybe-uninitialized warnings.
2015-12-21 11:44:51 -05:00
Mathew Maidment
44a3578993
Merge pull request #3367 from spxtr/DQt2
...
DQt2: Use a separate INI file for UI settings
2015-12-21 11:33:56 -05:00
Lioncash
d20ba76ab3
StreamBuffer: Make factory function return a std::unique_ptr
2015-12-21 10:21:38 -05:00
Lioncash
ec71452706
StreamBuffer: Correct function casing
2015-12-21 10:09:03 -05:00
Lioncash
1eea95a5be
StreamBuffer: Use std::array for fences
2015-12-21 10:07:56 -05:00
Lioncash
7b69fec8e7
StreamBuffer: Remove unnecessary inline specifiers
...
Methods defined directly in class bodies are inline by default
2015-12-21 10:04:14 -05:00
Mathew Maidment
365a326798
Merge pull request #3369 from lioncash/unique
...
VideoBackends: Simplify initialization and deinitialization of resources
2015-12-21 01:57:37 -05:00
Lioncash
f295182833
VideoBackends: Simplify initialization and deinitialization of resources
...
Approximately three or four times now, the issue of pointers being
in an inconsistent state been an issue in the video backend renderers
with regards to tripping up other developers.
Global (ugh) resources are put into a unique_ptr and will always have a
well-defined state of being - null or not null
2015-12-20 22:40:37 -05:00
Mathew Maidment
1fbab188ad
Merge pull request #3368 from hdcmeta/dx11_cleanup
...
Set g_vertex_manager to nullptr on DX11 backend shutdown
2015-12-20 21:41:26 -05:00
Mathew Maidment
6b9d37b6ef
Merge pull request #3365 from spxtr/DQt2
...
DQt2: Move menu bar into its own file.
2015-12-20 00:30:47 -05:00
Lioncash
cbeb7034eb
Volume: Make GetTMD return a vector
2015-12-19 18:00:44 -05:00
Lioncash
c78c54c546
NANDContentLoader/WiiWAD: Get rid of raw delete and new
2015-12-19 17:37:09 -05:00
Mathew Maidment
7a78df2624
Merge pull request #3349 from JosJuice/am-baseboard
...
DolphinWX: Change "AM-Baseboard" string to "AM Baseboard"
2015-12-17 18:25:54 -05:00
Mathew Maidment
15580e6a3d
Merge pull request #3305 from spxtr/DQt
...
DQt2: Refactors.
2015-12-17 18:24:52 -05:00
Mathew Maidment
c1b2eba82b
Merge pull request #3348 from JosJuice/u64
...
DolphinQt: Attempt at fixing issue 9170
2015-12-17 16:45:24 -05:00
Mathew Maidment
13296cef77
Merge pull request #3341 from spxtr/discio
...
DQt2: Repackage the unique_ptr in GameFile into a QSharedPointer
2015-12-16 00:10:53 -05:00
Lioncash
cc75f2ea14
SI: Get rid of explicit delete and new
2015-12-12 14:41:45 -05:00
Lioncash
272054ec94
EXI_Device: Get rid of explicit delete and new
2015-12-12 14:39:40 -05:00
Lioncash
392c1335b7
Interpreter: Get rid of some aliasing casts
2015-12-09 19:14:53 -05:00
Lioncash
f7977fdee5
Jit: Fall back to interpreter when frsp's record bit is set
2015-12-09 14:11:45 -05:00
Lioncash
3acf165787
Interpreter: Update CR when FRSP's record bit is set
2015-12-09 12:51:53 -05:00
Lioncash
a98bddc352
Interpreter: Remove underscore from frsp's parameter
2015-12-09 12:50:50 -05:00
Lioncash
6295297ab3
DiscIO: Get rid of a few explicit deletes
2015-12-08 04:35:56 -05:00
Lioncash
edbbf493f8
DiscIO: Make factory methods return unique_ptrs
...
Rather than rely on the developer to do the right thing,
just make the default behavior safely deallocate resources.
If shared semantics are ever needed in the future, the
constructor that takes a unique_ptr for shared_ptr can
be used.
2015-12-07 05:57:37 -05:00
Lioncash
e7b98e27ab
EXI: Use std::array and std::unique_ptr for managing channels
2015-12-06 14:51:55 -05:00
Lioncash
7762d68c4b
Rasterizer: Mark some references as const
2015-12-06 02:51:36 -05:00
Lioncash
0608ed5130
Rasterizer: Specify internal linkage on Draw
...
It's not exposed in the header.
2015-12-06 02:51:34 -05:00
Lioncash
a0924b5e1b
Rasterizer: Convert BLOCK_SIZE into a constant variable
2015-12-06 02:51:33 -05:00
Lioncash
2793785e0c
Rasterizer: Get rid of a clamp macro
2015-12-06 02:51:28 -05:00
Lioncash
9b921c2e7c
Rasterizer: Get rid of a trivial pointer cast
2015-12-06 02:44:06 -05:00
Lioncash
0917db7fc0
NullSound: Use std::array for the buffer
2015-12-05 18:13:55 -05:00
Lioncash
0d4baa0744
NullSound: Replace header define with private constant
2015-12-05 18:13:49 -05:00
Lioncash
f6c247d10e
WII_IPC_HLE_Device_usb: const correctness for function parameters
...
The data passed in isn't modified in these functions
Also normalizes variables with prefixed underscores in the modified
functions (and normalizes outliers to our current coding style), as
single-underscore followed by any lowercased/uppercased character is
reserved for use in the global namespace (it's a common misconception this
is assumed to only be the case for underscores followed by a capital
character, but this is only the case in C, not C++).
2015-12-05 16:14:37 -05:00
Lioncash
e0eef7bef4
WaveFile: Get rid of an explicit delete
2015-12-02 20:05:18 -05:00
Mathew Maidment
9e389ab144
Merge pull request #3303 from degasus/valgrind
...
VideoSW: Fix uninitialized variable warnings
2015-12-02 16:35:53 -05:00
Mathew Maidment
a5904b522d
Merge pull request #3306 from JosJuice/incorrect-trans
...
Remove incorrect usage of _trans
2015-12-02 11:58:14 -05:00
Mathew Maidment
73c904f0d0
Merge pull request #3297 from Seeker14491/patch-1
...
Fix typo in anti-aliasing dropdown description
2015-11-29 16:09:13 -05:00
Lioncash
35b02db39d
ISOFile: Get rid of explicit deletes
2015-11-21 21:15:01 -05:00
Lioncash
b9975694ab
InputConfig: Clean up controller management
2015-11-19 02:41:33 -05:00
Mathew Maidment
34bfb1bd0e
Merge pull request #3263 from JosJuice/isofile-gamefile-includes
...
ISOFile/GameFile: Clean up includes
2015-11-15 22:15:03 -05:00
Lioncash
9cc4cffa1d
Merge pull request #3228 from Tilka/typedef
...
GLExtensions: remove duplicate typedefs
2015-11-03 19:24:10 -05:00
Lioncash
d7b486e336
Merge pull request #3214 from delroth/master
...
Add linter script which will replace the ad-hoc commands ran by the linter Buildbot
2015-11-01 15:25:36 -05:00
Lioncash
b14f5424bf
Merge pull request #3215 from delroth/remove-check
...
DolphinWX: Remove the dolphin-emulator.com check.
2015-10-30 18:28:03 -04:00
Lioncash
e76b1f2d56
Merge pull request #3170 from spxtr/pipes
...
Implemented GC Controller inputs via named pipes.
2015-10-28 16:39:57 -04:00
Lioncash
7a6ff8a95b
DSPJitRegCache: Make the allocation array part of the DSPJitRegCache class
2015-10-24 23:36:18 -04:00
Lioncash
6b297ebcff
DSPRegCache: Class access level formatting
2015-10-24 23:32:12 -04:00
Lioncash
fe10a20be1
Merge pull request #3195 from lioncash/android
...
Arm64Emitter: Minor changes
2015-10-24 12:06:53 -04:00
Lioncash
382a2f390c
Merge pull request #3199 from sepalani/debug_mem_range
...
MemoryCheckDlg: Fix close/cancel buttons
2015-10-23 14:56:03 -04:00
Lioncash
2630752ffe
Arm64Emitter: Get rid of a pointer cast
2015-10-22 15:32:11 -04:00
Lioncash
018c85c248
Arm64Emitter: Mark trivial functions as constexpr
2015-10-22 15:22:38 -04:00
Lioncash
c28e3affc5
TextureCacheBase: Change CacheLinesPerRow to BytesPerRow
2015-10-22 08:14:43 -04:00
Lioncash
f696b323c0
WII_IPC_HLE: Remove unused typedef
2015-10-21 13:43:22 -04:00
Lioncash
10c1fd7f38
MathUtil: Make Rectangle constructors and equality operator constexpr
2015-10-20 20:30:36 -04:00
Lioncash
09641ec313
MathUtil: Default initialize Rectangle class data members
...
Puts Rectangles into a valid state upon creation
2015-10-20 20:30:16 -04:00
Lioncash
695ffefef7
FifoAnalyzer: Replace loop with std::accumulate
2015-10-19 10:29:00 -04:00
Lioncash
c756025902
Core: Move a global into a namespace
2015-10-16 22:52:41 -04:00
Lioncash
1b3307043b
DSPHLE: Remove duplicated struct
...
This is already present in the DSPHLE class directly
2015-10-16 13:02:21 -04:00
Lioncash
419fed3952
VertexShaderManager: Get rid of other magic constants
2015-10-15 23:41:42 -04:00
Lioncash
b5b304cff2
VertexShaderManager: Get rid of float pointer casts
2015-10-15 23:34:54 -04:00
Lioncash
03986c6fad
UCodes: Simplify ExramRead
2015-10-15 22:48:22 -04:00
Lioncash
c420c52308
UCodes: Get rid of pointer casts
2015-10-15 22:45:03 -04:00
Lioncash
737de5e115
StreamADPCM: Convert into a namespace
...
No need to have a class with only static member functions
2015-10-08 19:46:55 -04:00
Lioncash
e955a3a191
Merge pull request #3141 from lioncash/get
...
ConfigManager: Get rid of an unnecessary smart-pointer get() call
2015-10-08 19:46:01 -04:00
Lioncash
66a576548c
ConfigManager: Get rid of an unnecessary smart-pointer get() call
2015-10-08 19:36:28 -04:00
Lioncash
307ef88af6
DSPEmitter: Rename Default() to FallBackToInterpreter()
2015-10-08 12:45:14 -04:00
Lioncash
5f181957b3
NANDContentLoader: Replace a string rbegin() call with a back() call
2015-10-07 09:47:26 -04:00
Lioncash
1a74765146
Merge pull request #3146 from ShadowsFriend/nopch_fix
...
Include string.h in Hash.cpp if PCH is disabled
2015-10-06 09:09:30 -04:00
Lioncash
f53d060d70
DSPIntCCUtil: Remove unused function GetMultiplyModifier
2015-10-05 19:40:11 -04:00
Lioncash
1a989985c1
DSPIntCCUtil: Mark translation local functions as static
2015-10-05 19:39:09 -04:00