Sergey Lipskiy
c907c3013a
Implement Debugger.
2017-06-25 15:35:48 +07:00
Sergey Lipskiy
ee60040a78
Rewrite debug logging
2017-06-25 15:02:36 +07:00
Sergey Lipskiy
4722a75b24
Implement T3DUX ucode.
...
Ucode decoded by olivieryuyu.
Details:
Toukon road 1 & 2, last legion UX: HLE implementation (extended turbo3D)? #624
https://github.com/gonetz/GLideN64/wiki/T3DUX-ucode
2017-06-16 13:23:00 +07:00
Logan McNaughton
e32dd5449f
Allow using the system's libpng and zlib
2017-05-11 16:19:41 -06:00
Francisco Zurita
2e1baf433c
Added floating point support to ColorBufferReader
...
I consolidated a lot of code that was the same between implementations in
the process, so now the code is common.
2017-04-25 16:51:18 +07:00
Sergey Lipskiy
a118a2e3dc
Switch Win32 build to xxHash usage.
2017-04-04 21:02:00 +07:00
Logan McNaughton
0b73d5f099
Add xxHash as CRC_OPT
2017-04-04 06:31:11 -06:00
gizmo98
04510a287c
arm neon: add neon version of RSP_LoadMatrix
...
Split LoadMatrix versions in different *. cpp files.
RSP_LoadMatrix.cpp = cpp version
RSP_LoadMatrixX86.cpp = x86 asm version
RSP_LoadMatrixNEON.cpp = arm neon intrinsics version
2017-03-22 21:14:49 +07:00
Sergey Lipskiy
b3906b2402
Revert "Rename opengl_ColorBufferReaderWithBUfferStorage.h/cpp"
...
This reverts commit 58ddf8822c
.
2017-03-11 13:20:59 +07:00
Francisco Zurita
58ddf8822c
Rename opengl_ColorBufferReaderWithBUfferStorage.h/cpp
...
This allow compilation with clang in Anroid Studio with Windows. This file
name was too long for some reason.
2017-02-25 00:59:56 -05:00
Sergey Lipskiy
827b6bb9cd
Code refactor: replace graphics::ObjectHandle() by graphics::ObjectHandle::null
2017-02-22 16:45:27 +07:00
Sergey Lipskiy
cebf20bf4a
Merge remote-tracking branch 'remotes/origin/master' into refactor_graphics
...
Conflicts:
projects/msvc12/GLideN64.vcxproj
projects/msvc12/GLideN64.vcxproj.filters
src/BufferCopy/ColorBufferToRDRAM.cpp
src/CMakeLists.txt
src/GLideNUI/ConfigDialog.cpp
src/GLideNUI/configDialog.ui
src/mupen64plus-video-gliden64.mk
2017-02-21 12:51:00 +07:00
Sergey Lipskiy
276018a2fc
Refactor TexrectDrawer.
2017-02-12 22:21:20 +07:00
Francisco Zurita
0e8e71639b
Implement generic copy color to RDRAM for GLES2 devices
...
Async copy is not supported for GLES2 devices unless using EGL Image
extension which has platform independent implementations
2017-02-12 14:40:01 +07:00
Sergey Lipskiy
2483903b74
Refactor TextDrawer: remove direct use of OpenGL
...
Remove DummyTextDrawer.
2017-02-12 14:27:26 +07:00
Sergey Lipskiy
a625225323
VBO implementation.
...
Thanks to Logan McNaughton for help.
2017-02-05 18:41:06 +07:00
Sergey Lipskiy
a8ecc0aa70
Implement F3DTEX/A ucode. Decoded by olivieryuyu.
...
Fixed 64 de hakken HLE not working. #268
2017-01-31 14:44:54 +07:00
Sergey Lipskiy
4ed95a4b18
Remove common\GLFunctions.h from MSVS project files.
2017-01-28 18:09:07 +07:00
Sergey Lipskiy
5c6189f3ca
Correct Readme for cmake projects
2017-01-28 10:11:54 +07:00
Sergey Lipskiy
8a99fe3eb5
Correct MSVS project file.
2017-01-26 20:19:16 +07:00
Sergey Lipskiy
f4974f6337
Correct osal project file
2017-01-26 19:55:08 +07:00
Sergey Lipskiy
3fdbed8f5e
Finaly remove OpenGL.h, OpenGL.cpp and other obsolete files.
2017-01-26 19:54:51 +07:00
Sergey Lipskiy
81702f0e5d
Remove unused files from BufferCopy
2017-01-26 19:54:47 +07:00
Sergey Lipskiy
5445dcb16f
Add ColorBufferReaderWithBufferStorage
2017-01-25 20:58:11 +07:00
Sergey Lipskiy
5ba4588752
Rewrite ColorBufferToRDRAM
2017-01-25 20:58:05 +07:00
Sergey Lipskiy
aa2131e8f6
Add color ColorBufferReader class
2017-01-25 20:57:59 +07:00
Sergey Lipskiy
80ed169e24
Remove use of OpenGL.h
2017-01-22 20:43:05 +07:00
Sergey Lipskiy
8460b08b09
Move struct PBOBinder from FrameBuffer.h to separate file.
2017-01-22 19:12:39 +07:00
Sergey Lipskiy
09a5b414c4
Remove FBOTextureFormats usage
2017-01-16 20:56:01 +07:00
Sergey Lipskiy
a30c317c4b
Implement FramebufferTextureFormats
2017-01-16 20:55:57 +07:00
Sergey Lipskiy
52aa260153
Move GraphicsDrawer and TextDrawer interfaces to OpenGLContext
2017-01-12 22:22:53 +07:00
Sergey Lipskiy
fa3e7a0584
GraphicsDrawer WIP
2017-01-11 17:07:20 +07:00
Sergey Lipskiy
f92dd70d36
Rename Drawer to GraphicsDrawer
2017-01-11 13:08:05 +07:00
Sergey Lipskiy
0d8458d6b1
Implement UnbufferedDrawer
2017-01-10 22:22:42 +07:00
Sergey Lipskiy
dd57479838
Add Drawer class to replace OGLRender WIP
2017-01-10 22:22:32 +07:00
Sergey Lipskiy
3bbb871fc6
Add DisplayWindow class to replace OGLVideo
2017-01-09 19:36:58 +07:00
Sergey Lipskiy
c39b639d7c
Remove unused shaders related files.
2017-01-08 20:31:38 +07:00
Sergey Lipskiy
7af25b2452
Rewrite shader cache
2017-01-08 17:49:53 +07:00
Sergey Lipskiy
c68b6b9085
Special shaders
2017-01-08 17:49:50 +07:00
Sergey Lipskiy
6ef2431e19
Rewrite NoiseTexture
2017-01-08 17:49:42 +07:00
Sergey Lipskiy
41d0a9ade5
Replace ShaderCombiner 2
2017-01-08 17:49:39 +07:00
Sergey Lipskiy
1d706e1fd1
Correct project files for uniformset
2017-01-08 17:49:34 +07:00
Sergey Lipskiy
bda5d81f82
CombinerProgramUniformFactory
2017-01-08 17:49:25 +07:00
Sergey Lipskiy
659bd807f5
CombinerProgramBuilder WIP
2017-01-08 17:49:05 +07:00
Sergey Lipskiy
60813209f7
CombinerProgram initial work
2017-01-03 21:57:46 +07:00
Sergey Lipskiy
19f5f8b302
Move CombinerKey class to separate files.
2017-01-03 13:37:50 +07:00
Sergey Lipskiy
cf5e9d8ed2
BufferManipulationObjects WIP
2017-01-02 21:00:49 +07:00
Sergey Lipskiy
b2dc9d7206
Remove common\GLFunctions.cpp
2017-01-01 22:00:04 +07:00
Sergey Lipskiy
3eb11aac82
setTextureParameters WIP
2017-01-01 21:59:54 +07:00
Sergey Lipskiy
62e7fcf580
Add cached GL functions.
2016-12-31 19:30:19 +07:00
Sergey Lipskiy
d6a9e4cc39
Add TextureManipulationObjectFactory
2016-12-31 19:30:11 +07:00
Sergey Lipskiy
8248617a06
Add graphics parameters.
2016-12-31 19:30:09 +07:00
Sergey Lipskiy
365b116c57
Start Graphics content implementation. First step: init , destroy , createTexture, deleteTexture
2016-12-31 19:30:05 +07:00
Sergey Lipskiy
52b95f6dd5
Remove ucode F3DSWE.
...
Rename ucode F3DWRUS to F3DBETA and use it for both Wave Race (U) and
Star Wars Shadows of Empire
2016-12-21 22:14:36 +07:00
Gillou68310
9e8b32fc89
Implement ucode for Majora's Mask
2016-12-20 17:40:33 +07:00
Sergey Lipskiy
64079054db
Add Goldeneye ucode to project files.
2016-12-15 18:31:40 +07:00
Sergey Lipskiy
f2ee42b64e
Implement ucode for Kuiki Uhabi Suigo.
...
Fixed Kuiki Uhabi Suigo: missing graphics in HLE #665
2016-12-09 11:40:59 +07:00
Sergey Lipskiy
edf8827f38
Add GLideN64 source folder to additional include path for GLideNHQ
2016-11-29 11:30:47 +07:00
Francisco Zurita
313741d827
Use BufferStorage extension for faster glReadPixels.
2016-11-24 14:20:43 +07:00
Sergey Lipskiy
1c94b4720e
Use GetUserDataPath() to determine path when creating gliden64.log #1243
2016-11-20 12:07:15 +07:00
Sergey Lipskiy
6e460499bf
Correct MSVS project files.
2016-10-28 21:43:06 +07:00
Sergey Lipskiy
48c8c25226
Remove CRC_OPT since it does not provide good enough checksum.
2016-10-18 21:00:12 +07:00
Sergey Lipskiy
9f8e07e571
Refactor CRC code: move CRC32 algorithm into separate file to avoid multiple copy of the same code
2016-10-11 17:21:46 +07:00
Sergey Lipskiy
85a5ae8ea1
Implement performance counter.
...
Implement drawing performance info on screen.
2016-10-08 14:53:33 +07:00
Sergey Lipskiy
3db8c102fb
Move string arrays from convert.h to convert.cpp
...
Make UnswapCopyWrap and DWordInterleaveWrap not inline.
2016-09-22 16:17:37 +07:00
gizmo98
a471b130e7
CRC.cpp: add ARMv8 crc intrinsics
...
Speedup:
CRC_Calculate() up to 11x
CRC_CalculatePalette() up to 4x
Will be only used if the right compiler flags are set.
rpi3: -march=armv8-a+crc -mtune=cortex-a53
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0801f/pge
1427897662265.html
If CRC32 can be replaced with CRC32C SSE4.2 CRC32C intrinsics could be
added as well.
https://github.com/gonetz/GLideN64/pull/1056#issuecomment-244530166
2016-09-07 21:34:19 +07:00
Sergey Lipskiy
50720e1dfc
Correct msvc project files.
2016-09-04 19:51:10 +07:00
Sergey Lipskiy
1fca5c5187
Correct MSVS project files.
2016-08-27 12:00:42 +07:00
Logan McNaughton
da2d580d59
Simplify cmake and fix a typo
2016-07-11 01:21:14 -06:00
gizmo98
a845be6086
OPT: Add description
2016-07-09 22:03:14 +02:00
Sergey Lipskiy
154c06b14f
Add Debug_mupenplus_uniformset configuration
2016-06-30 17:12:12 +06:00
Sergey Lipskiy
0aaadb1507
Make use of Uniform Block optional.
2016-06-30 17:12:06 +06:00
Sergey Lipskiy
4c4b1bf57d
Code refactor: move struct FBOTextureFormats to separate files.
2016-06-20 15:16:15 +06:00
Sergey Lipskiy
42f3643865
Implement software depth buffer render.
2016-06-20 15:12:31 +06:00
Sergey Lipskiy
2fbee3661f
Move TextureFilterHandler class to separate files.
2016-06-10 17:58:47 +06:00
Sergey Lipskiy
ffe0b61e76
Rename ColorBufferToRDRAMDesktop to ColorBufferToRDRAM_GL
...
and ColorBufferToRDRAMAndroid to ColorBufferToRDRAM_GLES
2016-06-08 22:06:02 +06:00
Sergey Lipskiy
70a476bb2a
Make GLFunctions.cpp for EGL common for EGL and Windows.
2016-05-30 13:57:10 +06:00
Sergey Lipskiy
26f6b545e1
ColorBufferToRDRAM: move platform specfic code to separate classes.
2016-05-30 11:11:22 +06:00
Sergey Lipskiy
2834fa1780
Code refactor: move classes FrameBufferToRDRAM, DepthBufferToRDRAM and RDRAMtoFrameBuffer from FrameBuffer.cpp to separate files.
2016-05-30 11:11:15 +06:00
Logan McNaughton
7a4ef394b1
Add support for building without GLideNHQ
2016-05-21 22:07:40 +06:00
Sergey Lipskiy
b9ee15bfb6
FrameBufferInfo API extension. Initial dummy implementation.
2016-02-27 10:51:56 +06:00
Sergey Lipskiy
f212710ea7
Make osal as separate library.
...
I need filesystem functions in the plugin, thus I decided to
move osal code from GLideNHQ to osal lib.
2015-10-08 22:54:19 +06:00
Sergey Lipskiy
9a071e4292
MSVS project correction: remove configuration Debug 1964.
2015-07-01 11:04:05 +06:00
Sergey Lipskiy
b675195fbc
MSVS project correction:
...
remove NEWGLNINTENDO64_EXPORTS preprocessor definition, add _CRT_SECURE_NO_WARNINGS one.
2015-06-30 22:47:16 +06:00
Sergey Lipskiy
c13870289d
MSVS project correction:
...
remove Boost from the list of additional library directories.
2015-06-30 22:39:20 +06:00
purplemarshmallow
b0ab13b871
GLideN64 and GLideNHQ are now in one solution
...
GLideN64 is now dependent on GLideNHQ
2015-06-30 22:33:48 +06:00
purplemarshmallow
aec07a3151
fix build warning: "TargetName(GLideN64) does not match the Linker's OutputFile property value"
2015-06-30 22:33:39 +06:00
Sergey Lipskiy
65df8335f6
Move osal_files.h and txWidestringWrapper.h from inc to osal subfolder.
2015-05-29 20:51:39 +06:00
Sergey Lipskiy
2b0db06858
Add Android compatible wrapper for wcscat and wchar_t* constant strings.
2015-05-29 20:51:19 +06:00
Sergey Lipskiy
037d2d8e1d
Remove boost dependency.
...
This modification is done mostly for Android port of the plugin.
Boost::filesystem replaced by osal-files collection of filesystem functions.
osal-files copied from mupen64plus-video-rice and modified to work with wchar_t strings.
Windows implementation should work well with unicode strings, because
Microsoft provides wide string compatible filesystem functions.
Unix implementation fakes work with unicode strings by converting them to multibyte strings.
It may not work if user will chose folder with non-ASCII path.
2015-05-26 23:40:52 +06:00
Sergey Lipskiy
9fd4d55b44
Code refactor: Make specialized shaders code for GLES2 and OGL3X (GLES3+ and desktop GL)
...
GLES2 is very limited and its limitations make source code look bad.
Step 1. Move Shaders.h and GLSLCombiner.cpp to OGL3X folder.
2015-05-20 17:16:49 +06:00
Sergey Lipskiy
e62e81c0e2
Code refactor: move some shaders utility functions to separate files.
2015-05-20 11:32:10 +06:00
Sergey Lipskiy
e73cee3a58
Code refactor: add abstract class UniformCollection.
...
Implement it for desktop GL: OGL3X/UniformBlock
and for GLES2: GLES2/UniformSet
GLES3 and above must use OGL3X/UniformBlock.
2015-05-20 11:32:05 +06:00
Sergey Lipskiy
a68db29c28
Remove Android project. Mupen64Plus AE uses main android makefile.
2015-05-13 10:22:12 +06:00
Sergey Lipskiy
0f8f8c3834
Move video_api_export.ver to mupenplus folder.
2015-05-13 10:22:12 +06:00
Sergey Lipskiy
12102146f1
Add TxFilterStub.cpp for GL ES.
...
Temporal solution to avoid compilation errors.
2015-05-13 10:22:10 +06:00
Sergey Lipskiy
759578ff14
Replace TextDrawer by TextDrawerStub for GL ES.
2015-05-13 10:22:09 +06:00
Sergey Lipskiy
2f2a22ee48
Move video_api_export.ver to projects/android folder.
2015-05-13 10:22:06 +06:00
Sergey Lipskiy
d894d465c1
Correct android project:
...
- enable c++11
- switch to GLES3
- change module name
2015-05-13 10:22:02 +06:00
Sergey Lipskiy
a8f047fea7
Add NDEBUG definition for release builds.
2015-05-13 10:21:43 +06:00
Sergey Lipskiy
a70a92f752
Switch to Unicode strings.
2015-05-13 10:21:40 +06:00
Sergey Lipskiy
13d2ff4710
Move code from ZilmarAPIImpl_common.cpp to ZilmarAPIImpl_windows.cpp
...
Remove ZilmarAPIImpl_common.cpp
2015-05-13 10:21:37 +06:00
Sergey Lipskiy
cd1a679160
Rename GLFunctions.cpp to GLFunctions_windows.cpp
2015-05-13 10:21:36 +06:00
Sergey Lipskiy
c234aa1384
Correct Android project file.
2015-05-13 10:21:35 +06:00
Sergey Lipskiy
b24de2353c
Move Android.mk to projects/android.
...
File needs corrections.
2015-05-13 10:21:34 +06:00
Sergey Lipskiy
2d4c518820
Add instructions how to build project with cmake.
...
Add Boost libs necessary for Linux build.
2015-05-13 10:21:33 +06:00
Sergey Lipskiy
94bffc2e83
Move visual studio projects for GLideN64 and GLideNHQ to projects/msvc12 folder.
...
Project file for GLideNUI is special, generated from GLideNUI.pro file,
so it is left on its old place.
glext.h moved to src/inc folder.
2015-05-13 10:21:33 +06:00