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

139 Commits

Author SHA1 Message Date
Sergey Lipskiy
b00a593da0 Correct GraphicsDrawer::copyTexturedRect.
Fixed slide effect in BAR
2017-03-16 18:50:15 +07:00
Sergey Lipskiy
cebca46e0a Do not update viewport for rects in GraphicsDrawer::_updateStates 2017-03-16 18:50:15 +07:00
Sergey Lipskiy
811dea1d77 Rewrite viewport for polygons with screen coords. 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
d4617b309a Code cleanup: remove unused variable in GraphicsDrawer::updateScissor 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
e6811b4d4f Move gDP.colorImage.height update to FrameBufferList::setBufferChanged. 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
c8e6644bd7 Use software render to calculate frame buffer height. 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
bca21ed071 Invert y coordinate to align image origin with frame origin. 2017-03-16 18:50:14 +07:00
Sergey Lipskiy
8ea0cddbec Disable texcoord attribs for fillrect.
Fixed fillrects in Pokemon Stadium 2.
2017-03-11 12:46:40 +07:00
Sergey Lipskiy
1c72ef16fd Code refactor: move gDP.rectColor initialization to gDP.cpp 2017-03-01 11:49:58 +07:00
Sergey Lipskiy
eebdd32932 Replace rectAttrib::color by uniform. 2017-02-28 15:48:14 +07:00
Sergey Lipskiy
01cd2a59e9 Revert "Code cleanup: remove unused variable in GraphicsDrawer::updateScissor"
This reverts commit 87f1ab79a0.
2017-02-28 14:14:05 +07:00
Sergey Lipskiy
87f1ab79a0 Code cleanup: remove unused variable in GraphicsDrawer::updateScissor 2017-02-27 21:03:54 +07:00
Sergey Lipskiy
873a830d88 Always render to FBO, even when frame buffer emulation is disabled. 2017-02-25 14:08:26 +07:00
Sergey Lipskiy
827b6bb9cd Code refactor: replace graphics::ObjectHandle() by graphics::ObjectHandle::null 2017-02-22 16:45:27 +07:00
Sergey Lipskiy
5b3b2920bc Do not set sampler states for multisampled textures:
"GL_INVALID_ENUM is generated if the effective target is either GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY, and pname is any of the sampler states."
Fixed HWFBE when MSAA enabled.

Correct code formatting.
2017-02-18 21:40:41 +07:00
Sergey Lipskiy
85239acc36 Fix GraphicsDrawer::drawLine 2017-02-14 15:01:26 +07:00
Sergey Lipskiy
97acd7d071 TextDrawer must be inited before TextureFilterHandler. 2017-02-12 15:06:31 +07:00
Sergey Lipskiy
2483903b74 Refactor TextDrawer: remove direct use of OpenGL
Remove DummyTextDrawer.
2017-02-12 14:27:26 +07:00
Francisco Zurita
1319687f86 Replace ANDROID macro definition with OS_ANDROID 2017-02-09 20:38:27 +07:00
matto
2b4b82a7d2 Fixing compiling issue
cmath needs to be included explicitly, at least in gcc.
2017-01-30 22:56:34 -05:00
Sergey Lipskiy
df4a81bfea Add special Parameter classes to make parametrs usage more safe. 2017-01-28 16:52:09 +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
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
602e1dd859 Correct cmake project file. Fix compilation on Linux. 2017-01-25 21:01:21 +07:00
Sergey Lipskiy
80ed169e24 Remove use of OpenGL.h 2017-01-22 20:43:05 +07:00
Sergey Lipskiy
4e459c7645 Change type of CachedTexture name to graphics::ObjectHandle 2017-01-21 19:48:02 +07:00
Sergey Lipskiy
0887dda647 Rewrite post-processor gamma correction and orientation correction.
TODO: Bloom.
2017-01-18 22:39:10 +07:00
Sergey Lipskiy
41be8a20e8 Correct texturedRectShadowMap() and texturedRectMonochromeBackground() 2017-01-17 21:52:28 +07:00
Sergey Lipskiy
c5e2575722 Fixes 2017-01-16 20:56:13 +07:00
Sergey Lipskiy
e83c3489a3 Replace OGLVideo by DisplayWindow
Replace OGLRender by GraphicsDrawer
2017-01-16 20:56:11 +07:00
Sergey Lipskiy
06749dcf9e Remove GraphicsDrawer::_getTextSize 2017-01-16 20:56:08 +07:00
Sergey Lipskiy
4bdf22cac1 Implement GraphicsDrawer::_initData() GraphicsDrawer::_destroyData() GraphicsDrawer::_setSpecialTexrect() 2017-01-16 20:56:06 +07:00
Sergey Lipskiy
809987b515 Implement GraphicsDrawer::_initStates() 2017-01-16 20:56:04 +07:00
Sergey Lipskiy
5e67d79ae7 Implement Context::blitFramebuffers 2017-01-14 17:08:02 +07:00
Sergey Lipskiy
704378777d Implement GraphicsDrawer::copyTexturedRect 2017-01-14 15:58:14 +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