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

3566 Commits

Author SHA1 Message Date
fzurita
43a5d16905 Keep a color copy FBO and texture per N64 frame buffer 2021-04-19 21:50:55 +07:00
fzurita
5f7a7cadc2 Stop using predefined texture sizes introduced for Android
For Android we use EGL image for async copies and for sync copies and
devices that don't support EGL image, the fixed texture sizes don't seem
to improve performance.
2021-04-19 21:50:55 +07:00
Logan
7a6289b270 Fix N64 Depth Compare on Intel PC 2021-04-14 21:07:22 +07:00
Sergey Lipskiy
d27ce4781f Fix calculation of clamping parameters for texture engine:
use integer part of tile coordinates to calculate tile dimensions.

Fixed texture glitches io topgear overdrive, #2464
2021-03-18 16:35:57 +07:00
Sergey Lipskiy
e31b7b7045 Fix issues in renderAndDrawTriangles.
Fixed regression with Paper Mario Lantern Ghost Boss Fight #2468
2021-03-16 00:20:31 +07:00
Sergey Lipskiy
92c9bd8408 Fix issues with software clipping:
* fixed max screen Y calculation. It fixes bug in Top Gear Overdrive, #2450
* fixed typo in rasterise().
2021-03-02 21:44:07 +07:00
Sergey Lipskiy
e07b09b4d0 Add Statistics OSD info.
Show number of drawn rects, lines and triangles per frame.
2021-02-28 19:50:05 +07:00
fzurita
063fdae46e Don't allow EGL image on tegra devices 2021-02-22 13:03:21 +07:00
Sergey Lipskiy
9d68263a91 Add custom settings for Dino Planet
Fixes dynamic shadow in Dino Planet, #2461
2021-02-21 15:47:00 +07:00
Sergey Lipskiy
e09d153233 Do not test values of 8bit buffer before write them to RDRAM.
Fixed copy of 8bit aux buffers to RDRAM.

refs #2461
2021-02-21 15:41:56 +07:00
fzurita
35554dabf0 Fix N64 Depth compare with Adreno 2021-02-17 16:58:28 +07:00
Sergey Lipskiy
442d4ed894 Fix near-palne clipping for GLES.
Fixes #2449 Cruis'n world invisible car
2021-02-14 01:00:10 +07:00
s2s
090b38e2d3 Optimize coverage computation algorithm 2021-02-13 15:26:25 +07:00
Jj0YzL5nvJ
e6c3797726 Build script: bug correction and new features 2021-02-11 16:27:10 +07:00
Sergey Lipskiy
7a0dd7ff1a Fixes in software clipping:
fixed culling when viewport is negative.

Fixed Graphical issues in Diddy Kong Racing #2447
2021-02-07 18:47:12 +07:00
Sergey Lipskiy
6a00e50f9a Add custom settings for NASCAR games. 2021-02-07 18:46:48 +07:00
Sergey Lipskiy
d17c50fd7e Enambe native res texrects for "40 Winks" in custom ini.
Fixed #2432 40 Winks displays squares on 2D Backgrounds
2021-02-07 17:56:34 +07:00
fzurita
f48b158c0d Fix usage of GL extension GL_EXT_draw_elements_base_vertex 2021-02-07 11:39:19 +07:00
fzurita
dc6340bfff Fix issue where the barycoords vertex attribute was not being disabled 2021-02-04 20:06:43 +07:00
fzurita
c92d13c094 Improve the draw elemenets base vertex check 2021-02-04 20:05:13 +07:00
Rosalie Wanders
31b38a7a2b GLideNHQ: add wildcard support 2021-02-02 17:55:14 +07:00
Sergey Lipskiy
88e606de95 Another fix for texrect lower y. Follow-up 1e915af.
Fixed #2402 Wave race, black lines in texrects [Regression].
2021-01-31 21:25:27 +07:00
Sergey Lipskiy
7d237650ef Correct texture coordinates calculation in gSPSprite2DBase.
Fixed WipEout 64 Texture Pack #2423
2021-01-24 19:40:47 +07:00
fzurita
85ad11bbdd GLideN64 soft vertex clipping performance improvement for Adreno GPUs 2021-01-22 15:14:46 +07:00
fzurita
e129d66c22 Compile shader from keys if shader storage binary is invalid 2021-01-20 22:47:33 +07:00
Sergey Lipskiy
402cf6f8b6 Implement software vertex clipping. 2021-01-20 17:07:23 +07:00
fzurita
8b75b5dc96 Fix incorrect width used for sync color buffer reads with EGLImage 2021-01-20 16:42:35 +07:00
S2S
eb8ac40136 Revert 538674d
Fixes Oak's Check with CopyColorFromRDRAM enabled
2021-01-08 23:00:42 +07:00
Sergey Lipskiy
1c7b8914bc Revert cmake version back to 2.6 for GLideNHQ because it don't compile on Mac with 3.9 2021-01-06 12:30:42 +07:00
Sergey Lipskiy
a44b58add1 Fix warnings.
refs #2428
2021-01-05 14:17:58 +07:00
fzurita
2aa18a8ac7 Fix recently introduced GLES 2.0 GLSL compilation errors 2021-01-05 13:40:47 +07:00
Sergey Lipskiy
ad272060f7 Disable coverage by default.
Fixes #2426
2021-01-03 21:55:08 +07:00
Rosalie Wanders
66051912c5 TextDrawer::drawText: add setScissor 2020-12-31 11:44:45 +07:00
Sergey Lipskiy
955c2f3b17 Add isHWLSupported bit to CombinerKey.
A game may use several microcodes, where some microcodes support HW lighting and others are not.
The same combiner can be used for both cases. isHWLSupported bit helps to resolve that problem.
2020-12-28 16:18:18 +07:00
Sergey Lipskiy
f9ef2bd8fb Remove old LLE code. 2020-12-27 21:48:45 +07:00
Jj0YzL5nvJ
1ccdec39af Avoid more problems with spaces and drop AWK 2020-12-27 15:56:32 +07:00
oddMLan
af0b9382fe [UI-wtl] Fix texture dir saving
Also: Attempt to mkdir directory if typed/copied to the edit field (ported from 6d47fa5c48)

Fixes issue #2330
2020-12-27 15:51:02 +07:00
oddMLan
3d5311d180 Add pixel coverage checkbox to GLideN64-wtl 2020-12-27 13:11:38 +07:00
Sergey Lipskiy
ca68dc3675 Do not fail if indices of barycoords attributes are greater or equal to max vertex attributes. 2020-12-27 13:11:32 +07:00
S2S
2f8372c113 Cleanup coverage calculation 2020-12-27 12:20:46 +07:00
S2S
a214ab822e Standarize the number of barycentric coordinate vertex attributes.
Use only two coordinates as vertex attributes for triangles to match the number of coordinates rectangles use. The third one can be computed in the vertex shader.
2020-12-27 12:20:42 +07:00
Sergey Lipskiy
47054eabc0 Add enableCoverage setting.
Not implemented for GLideNUI-wtl yet.
2020-12-27 12:20:39 +07:00
Sergey Lipskiy
2233cf9f04 Support 'barycoords' vertex attribute in unbuffered drawer. 2020-12-27 12:20:35 +07:00
S2S
61172283c1 Update blender to use coverage 2020-12-27 12:20:19 +07:00
S2S
fa848dc3f9 Fix issue with dual source blending 2020-12-27 12:01:16 +07:00
S2S
fdf3bc4f21 Compute coverage value 2020-12-27 12:01:16 +07:00
S2S
486cf59614 Load barycentric coordinates as vertex attributes 2020-12-27 12:01:16 +07:00
Sergey Lipskiy
192317955e Limit maxMSAALevel by 16. 2020-12-26 10:24:00 +07:00
Rosalie Wanders
ddec3866a7 Implement cross-platform max MSAA level detection 2020-12-26 10:23:54 +07:00
Sergey Lipskiy
f04ac8296d Implement max MSAA level detection.
Zilmar spec and Windows only.

Fixes #2216 MSAA max not 16x in UI
2020-12-26 09:51:32 +07:00