1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00
Commit Graph

2161 Commits

Author SHA1 Message Date
Sergey Lipskiy
bfe3e265bb Remove defines for vertex attribute indices from gSP.h 2017-01-28 18:02:54 +07:00
Sergey Lipskiy
df4a81bfea Add special Parameter classes to make parametrs usage more safe. 2017-01-28 16:52:09 +07:00
Sergey Lipskiy
c8bf408b57 Reset CachedBindFramebuffer when a frame buffer deleted. 2017-01-28 11:02:24 +07:00
Sergey Lipskiy
1e8ae2aab2 Correct source files list in mupen64plus-video-gliden64.mk 2017-01-28 10:12:01 +07:00
Sergey Lipskiy
ffe3dfc65e Remove fragment_shader_blender for R PI.
Content is moved to glsl_CombinerProgramBuilder.cpp
2017-01-28 10:11:59 +07:00
Sergey Lipskiy
ac2d57dad2 Remove common/GLFunctions.h 2017-01-28 10:11:56 +07:00
Sergey Lipskiy
5c6189f3ca Correct Readme for cmake projects 2017-01-28 10:11:54 +07:00
Sergey Lipskiy
05da51d7a8 Add EGL section to GLFunctions. 2017-01-28 10:11:51 +07:00
Sergey Lipskiy
21df8f08e1 Remove ARB_buffer_storage.h 2017-01-28 10:11:49 +07:00
Sergey Lipskiy
5ddfd78f50 Rewrite TextureLoadParameters.
This static structure uses static values from Parameters.cpp.
It can be initialized before initialization of parameters it uses.
I had to put it inside aux struct with delayed initialization.

MSVS 2013 can't do initialization of non-static objects with initialization list,
so I had to add ugly workaround for it.
2017-01-28 10:11:45 +07:00
Sergey Lipskiy
1a87d75efe Correct internal texture formats. 2017-01-27 22:39:34 +07:00
Sergey Lipskiy
1d2aa4b96e Use std::to_string for GL version numbers in shaders headers.
std::stringstream can't take number as input on Linux for unknown reason.

This is GLideN64 problem, plain test application from http://www.cplusplus.com
works correct.
2017-01-27 22:39:25 +07:00
Sergey Lipskiy
50c0c38b63 Set texture unit for initialized texture in DepthBufferToRDRAM::init() 2017-01-27 22:39:13 +07:00
Sergey Lipskiy
6fe83a23c3 Add missing files to cmake project 2017-01-27 22:38:57 +07:00
Sergey Lipskiy
a249e2e3cc Delete vertex shaders in CombinerProgramBuilder destructor. 2017-01-26 22:14:45 +07:00
Sergey Lipskiy
3538536aa5 Minor code refactoring in _compileCombiner 2017-01-26 22:07:28 +07:00
Sergey Lipskiy
15f54acd5e Reset bind texture when texture deleted. 2017-01-26 21:38:34 +07:00
Sergey Lipskiy
ea4d174e5c Correct texture initialization. 2017-01-26 21:36:54 +07:00
Sergey Lipskiy
8a99fe3eb5 Correct MSVS project file. 2017-01-26 20:19:16 +07:00
Sergey Lipskiy
cbf504fb40 Minor code cleanup in Utils::isExtensionSupported 2017-01-26 19:55:13 +07:00
Sergey Lipskiy
f4974f6337 Correct osal project file 2017-01-26 19:55:08 +07:00
Sergey Lipskiy
efcb7b3227 Correct CombinerInfo::_compile for 1 cycle mode. 2017-01-26 19:55:02 +07:00
Sergey Lipskiy
2196bf644b Merge CachedActiveTexture and CachedBindTexture into one function. 2017-01-26 19:54:59 +07:00
Sergey Lipskiy
6cc60c24ae Enable cached GL functions 2017-01-26 19:54:54 +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
acec086c38 Add ColorBufferReaderWithEGLImage for GLES2 2017-01-26 19:54:44 +07:00
Sergey Lipskiy
ff0d0d59b4 ColorBufferReader: move m_pixelData to base class. Code cleanup. 2017-01-26 19:54:39 +07:00
Sergey Lipskiy
5ad454cebf Fix GraphicsDrawer::_initStates() call. 2017-01-25 21:58:17 +07:00
Sergey Lipskiy
9107c15f06 Correct scissor enable in GraphicsDrawer::copyTexturedRect 2017-01-25 21:39:44 +07:00
Sergey Lipskiy
7c022aeb35 Disable scissor before glBlitFramebuffer. 2017-01-25 21:39:15 +07:00
Sergey Lipskiy
203a26794f Fix TODO issue in gSP::_copyDepthBuffer() 2017-01-25 21:01:59 +07:00
Sergey Lipskiy
1d828c5603 Fix TODO issue in ZlutTexture::init() 2017-01-25 21:01:49 +07:00
Sergey Lipskiy
7560c794d9 Fix TODO issues in opengl_TextureManipulationObjectFactory.cpp 2017-01-25 21:01:43 +07:00
Sergey Lipskiy
6b5f51784b Fix TODO issue in glsl_CombinerProgramUniformFactory.cpp 2017-01-25 21:01:37 +07:00
Sergey Lipskiy
c9f98d175c Fix some TODO issues in FrameBuffer.cpp 2017-01-25 21:01:32 +07:00
Sergey Lipskiy
602e1dd859 Correct cmake project file. Fix compilation on Linux. 2017-01-25 21:01:21 +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
a94bac0dd0 Buffers to RDRAM rewrite WIP 2017-01-23 21:20:48 +07:00
Sergey Lipskiy
86708c6dc2 Remove OpenGL from RDRAMtoColorBuffer 2017-01-23 21:20:43 +07:00
Sergey Lipskiy
57d600fc86 Remove OpenGL from DepthBufferToRDRAM 2017-01-23 21:20:36 +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
4a97083d77 Raplace GL types in TextureLoadParameters 2017-01-22 18:44:42 +07:00
Sergey Lipskiy
663f696d8f Remove direct calls of glBindTexture and GL_UNPACK_ALIGNMENT related functions. 2017-01-22 18:10:52 +07:00
Sergey Lipskiy
40f051deab Fix typo ge-get 2017-01-22 17:40:07 +07:00
Sergey Lipskiy
4e459c7645 Change type of CachedTexture name to graphics::ObjectHandle 2017-01-21 19:48:02 +07:00
Sergey Lipskiy
ed7cc2c1f5 Correct DepthImage related shaders. 2017-01-21 19:04:29 +07:00