Project

General

Profile

Statistics
| Branch: | Revision:

library / src / main / res @ 7f30ed38

# Date Author Comment
7f30ed38 05/10/2018 03:11 PM Leszek Koltunski

OIT: more bugfixes

56c6ca24 05/10/2018 12:30 PM Leszek Koltunski

OIT: lots of progress on all fronts. Still a few bugs to solve though!

78e89fb5 05/03/2018 03:10 PM Leszek Koltunski

Properly recreate the Atomic and LinkedList buffers onPause.
We have to discard all alpha==0.0 pixels during OIT Pass1.

b36613d8 05/03/2018 12:19 AM Leszek Koltunski

small correction for blending OIT colors.

375b3950 05/01/2018 11:19 PM Leszek Koltunski

OIT: something starts working ('Blur' and 'Multiblur' work, 'Triblur' and 'Transparency' do not)

c731c612 05/01/2018 09:07 PM Leszek Koltunski

Fix the 'OIT' artefacts.

e029600f 04/27/2018 04:40 PM Leszek Koltunski

still debugging the OIT

2f35828c 04/26/2018 11:22 AM Leszek Koltunski

- remove counting of transparent pixels from main fragment shader
- remove debugs and tidy up
- some fixes for the Mali GPU

cee0369a 04/25/2018 03:26 PM Leszek Koltunski

Order Independent Transparency: debugging

47511918 04/25/2018 02:17 PM Leszek Koltunski

Order Independent Transparency: some progress

f89a986e 04/18/2018 02:37 PM Leszek Koltunski

Order Independent Transparency: some progress

8777ce17 04/17/2018 09:21 PM Leszek Koltunski

Order Independent Transparency. Does not work yet.

ae2802b1 04/08/2018 09:07 PM Leszek Koltunski

Postprocessing buffers mBuffer[] are now shared among all postprocessing operations. This saves a lot of memory, but also means that when doing each particular postprocessing, the textures backing up the mBuffer might be too large. We need to fix two things here: when outputting to those too large textures, we need to adjust the Viewport, and when binding those too large textures as input - we need to adjust the TexCoords to compensate....

2faad666 04/02/2018 10:15 PM Leszek Koltunski

SSBO: now we have a more-or-less correct running average of the count of transparent fragments over the last few frames.

df4d7edc 03/29/2018 03:58 PM Leszek Koltunski

SSBO: correct various things.

51a3cbab 03/28/2018 10:33 PM Leszek Koltunski

SSBO: handle the fact that we might run out of space in our SSBO if we keep creating new Surfaces.

8a57da61 03/28/2018 09:14 PM Leszek Koltunski

SSBO: counting of transparent fragments more or less works now. Still the counters are zeroed out in the wrong place - every time we start rendering something to a given Surface, rather than once per frame.

27cd6b98 03/28/2018 08:29 PM Leszek Koltunski

SSBO: more and more works...

2ab60f72 03/28/2018 01:58 PM Leszek Koltunski

SSBO: something is working already, although we still get the 4 bytes back from the shader in reverse order ( so '17'=0x00000011 written by the shader becomes '285212672 = 0x11000000' )

12f45260 03/27/2018 07:56 PM Leszek Koltunski

First try at the SSBO (doesn't work - reads in the application don't pick up changes in the shader; crashes.

041b6dee 06/26/2017 03:44 PM Leszek Koltunski

Simplification in PostprocessEffects

7cd24173 06/20/2017 11:51 PM Leszek Koltunski

Move all the knowledge about Vertex and Fragment effects to their respective classes.

15aa7d94 06/08/2017 01:53 PM Leszek Koltunski

Progress with support for Effect classes.

2da9b250 05/30/2017 12:17 PM Leszek Koltunski

Beginnings of the GLOW unit test.

7170e4eb 05/24/2017 11:16 PM Leszek Koltunski

Move on to Stencil on both stages of the BLUR + separate 'blit with depth'.

This works wonders on Nexus 5X ( r=50 quality=HIGHIEST 1,4,8 cubes: 59.3,43.6,41.0 FPS! ) but it somehow fails to clear the DEPTH and STENCIL buffers on Nexus 4....

1d6d261e 05/24/2017 01:02 PM Leszek Koltunski

Move to a new way to detecting depth of postprocessing halos.
This switches off stenciling (hopefully temporarily!)

3fc9327a 05/11/2017 03:47 PM Leszek Koltunski

Use Transform Feedback to (optionally) display the Normal vectors.

604b2899 05/10/2017 12:56 PM Leszek Koltunski

Dynamic display of bounding rectangles (with coords computed by Vertex Shader and gotten with Transform Feedback) works now.

Major problem: the glMapBufferRange() slows doewn rendering in a major way. Multiblur's FPS:

Nexus5X : 35.4 before -> 12.6 after...

3e2376c4 05/09/2017 10:31 AM Leszek Koltunski

Make the Feedback APP work again.

135be991 05/09/2017 09:30 AM Leszek Koltunski

Revert "Progress with TransferFeedback app - introduce two modes: USEPOINTS 'true' or 'false'."

This reverts commit 21304c55380460c5882b789ea13eb00ffd9a686c.

dd7a5c7d 05/09/2017 09:30 AM Leszek Koltunski

Revert "This commit (and reading the OpenGL ES 3.0 spec) pretty conclusively proves that, sadly, Nexus 4's Transform Feedback implementation is incomplete (doesn't work with GL_TRIANGLES primitiveMode)"

This reverts commit 5ba19814852de1762e452662a13c4944792014a9.

f80337b5 05/09/2017 09:30 AM Leszek Koltunski

Revert "Some progress with Transform Feedback. Still many bugs all over."

This reverts commit 79921db22e4ff5a3b2e6e3466a39445f5607a695.

79921db2 05/05/2017 11:30 PM Leszek Koltunski

Some progress with Transform Feedback. Still many bugs all over.

5ba19814 05/05/2017 02:26 PM Leszek Koltunski

This commit (and reading the OpenGL ES 3.0 spec) pretty conclusively proves that, sadly, Nexus 4's Transform Feedback implementation is incomplete (doesn't work with GL_TRIANGLES primitiveMode)

21304c55 05/05/2017 12:17 AM Leszek Koltunski

Progress with TransferFeedback app - introduce two modes: USEPOINTS 'true' or 'false'.

On Nexus5X, it works with 'true' and 'false'. On Nexus 4, it works with 'true', but returns GL_INVALID_OPERATION with 'false'.

4782b4e6 05/02/2017 03:22 PM Leszek Koltunski

Progress with moving the Transform Feedback functionality from the APP to the library.

6e7c8721 04/26/2017 10:08 AM Leszek Koltunski

Simplifications.

fd2db957 04/21/2017 02:15 PM Leszek Koltunski

1) bugfix computing Gaussian BLUR kernel (for odd radii, the last offset was incorrectly computed)
2) introduce more advanced method of detecting BLUR halo (compute depths in a new way)

b7dba709 04/21/2017 10:04 AM Leszek Koltunski

Roll back the recent MIPMAP work.

f89f791a 04/19/2017 04:38 PM Leszek Koltunski

Preliminary support for MIPMAP levels of the postprocessing buffers. (doesn't work yet)

ed5bf324 03/31/2017 11:52 AM Leszek Koltunski

Merging blurred surfaces mostly ok now (blurred image still appears a bit shifted down for some reason)

1cbf4103 03/29/2017 12:55 PM Leszek Koltunski

Simplify shaders.

94f6d472 03/29/2017 11:05 AM Leszek Koltunski

Make it more flexible; now it can run almost all apps on OpenGL 2.0 contexts; OpenGL 3.0 ( with GLSL 3.00) required for POSTPROCESSING.

f2367b75 03/28/2017 12:26 PM Leszek Koltunski

Upgrade from GLSL 1.00 to GLSL 3.00 ES
Introduce separate BLUR1 and BLUR2 shaders, the second one marging (writing to gl_FragDepth still does not work)

a1b36fc8 03/16/2017 10:10 PM Leszek Koltunski

Simplify BLUR shader.

50642a86 03/03/2017 03:50 PM Leszek Koltunski

Simplify drawRecursive

c2c08950 03/02/2017 12:04 AM Leszek Koltunski

simplify blitPriv()

c1e24646 03/01/2017 11:02 PM Leszek Koltunski

Introduce Effects.blitPriv() (faster than previous drawNoEffectsPriv)

ad33f883 03/01/2017 05:48 PM Leszek Koltunski

Minor

03cb451d 03/01/2017 12:06 PM Leszek Koltunski

Speed up shaders (both compilation and execution) by explicitly enabling only the needed effects.

81a0b906 02/28/2017 11:51 PM Leszek Koltunski

Preparation for shader optimization

b2dc3c19 02/03/2017 09:45 PM Leszek Koltunski

Back out the last change.

5e58293a 02/02/2017 06:10 PM Leszek Koltunski

Effect-independent normals.

b2b83871 02/02/2017 05:32 PM Leszek Koltunski

Minor

a8537f43 02/02/2017 05:23 PM Leszek Koltunski

Preparation for effect-independent computation of the nermal vectors.

9d5bb851 01/25/2017 12:56 AM Leszek Koltunski

minor.

5ccafcca 01/24/2017 05:35 PM Leszek Koltunski

Separable Box blur fully works now!

0d81d0fb 01/24/2017 02:07 PM Leszek Koltunski

Separable Box blur (almost) works.

f1d5ea12 01/24/2017 12:51 AM Leszek Koltunski

Small progress with Blur.

2e7ad49f 01/21/2017 12:25 AM Leszek Koltunski

Define float precision in Vertex Shaders to the same like in Fragment Shaders.

667a1ad9 01/19/2017 12:28 AM Leszek Koltunski

improve Postprocessing; new icon; minor things.

c90b9e01 01/18/2017 04:01 PM Leszek Koltunski

Progress with getting Mesh'es bounding rectangle. Still doesn't quite work yet (visible : 'Cubes' app with a 0111 Mesh)

2b942cd0 01/10/2017 09:24 PM Leszek Koltunski

Naive implementation of blur works now!

bfe2c61b 01/10/2017 10:27 AM Leszek Koltunski

Blurred image visible now!

47d838ca 01/06/2017 05:20 PM Leszek Koltunski

NUM_POSTPROCESS corectly #defined now.

c638c1b0 01/06/2017 01:46 PM Leszek Koltunski

Further progress with Postprocessing. Now the missing bits are:

- implement Distorted.getFBO()
- implement Distorted.clean()
- improve compilation of DistortedPrograms so that the NUM_POSTPROCESSING and names of POSTPROCESSING effects will be #defined.

d6e94c84 01/05/2017 02:23 AM Leszek Koltunski

progress with Postprocessing.

4c1dd6e9 12/17/2016 01:20 AM Leszek Koltunski

Beginnings of support for postprocessing Effects.

b86265d6 11/24/2016 02:38 PM Leszek Koltunski

Add 3rd dimension to the Deform effect.

44efc8a8 11/24/2016 02:15 PM Leszek Koltunski

Improve the Deform app

6ebdbbf1 11/24/2016 12:58 AM Leszek Koltunski

DEFORM: add support for Regions

18d15f2f 11/23/2016 11:45 PM Leszek Koltunski

Polish up DEFORM.

dbeddd9d 11/23/2016 05:49 PM Leszek Koltunski

re-write the deform effect

3ea19d1c 11/18/2016 06:10 PM Leszek Koltunski

rearrange comments

f6cac1f6 11/18/2016 05:17 PM Leszek Koltunski

rearrange comments

82ee855a 11/14/2016 10:50 PM Leszek Koltunski

New vertex effect 'PINCH'

fa6c352d 11/14/2016 10:00 PM Leszek Koltunski

Complete moving center to 3D.

291705f6 11/03/2016 05:21 PM Leszek Koltunski

re-generate noise after passing each Point.

fe3cee39 10/21/2016 09:42 PM Leszek Koltunski

1. Workaround for th issue that my shitty Nexus 4 crashes while compiling the vertext shader (actually the wave function)
2. Improvements to the Dynamics app

ea16dc89 10/21/2016 01:44 PM Leszek Koltunski

minor stuff

350cc2f5 10/18/2016 11:19 AM Leszek Koltunski

Make the WAVE effect 5D (extra parameter 'offset')

d0c902b8 10/17/2016 03:04 PM Leszek Koltunski

swap the 2nd and the 3rd parameters in the WAVE effect and improve comments for the WAVE user API.

5b1c0f47 10/17/2016 02:12 PM Leszek Koltunski

Switch off the pre-compulting of sin and cos in CPU as it turns out that those two are single-instruction functions on any modern GPU ( http://www.gamedev.net/topic/322422-number-of-gpu-cycles-for-cos-and-sin-functions/ - link form 2005 ! )

f256e1a5 10/16/2016 10:37 PM Leszek Koltunski

Improve the comment the WAVE effect.

57297c51 10/16/2016 10:27 PM Leszek Koltunski

Correct one more issue with computation of WAVE.

c6ea3680 10/12/2016 09:50 PM Leszek Koltunski

Correct one issue with incorrect shadows in WAVE when V.z <0 .

73af5285 10/12/2016 12:29 AM Leszek Koltunski

Now we can add up the WAVE effect to others with smooth shading! Remaining issues:

- when angle A < 0, the shades are wrong
- sometimes (check with the 3D vertex & Fragment effects' app) we get black spots at seemingly random points. Looks like computational instability again.

06d71892 10/10/2016 10:15 PM Leszek Koltunski

Shades in the WAVE effect fully working, if the effect is the only one.

Remaining: combine the shades with other effects!

39b80df0 10/09/2016 10:42 PM Leszek Koltunski

Shades of the WAVE effect (almost!) working.

a7067deb 09/15/2016 09:04 PM Leszek Koltunski

small improvements in DISTORT

9ea4f88f 08/31/2016 10:39 PM Leszek Koltunski

Better normals in DISTORT

815869cb 08/30/2016 04:55 PM Leszek Koltunski

Vertex positions fully 3D now. Remaining: normals!

02ef26bc 08/30/2016 04:29 PM Leszek Koltunski

Preparation to make the WAVE effect fully 3D

6ddda212 08/29/2016 09:34 PM Leszek Koltunski

Adjustments for EffectQueueVertex.postprocess()

9b82becd 08/29/2016 06:32 PM Leszek Koltunski

Improvements for WAVE

4fde55a0 08/29/2016 04:51 PM Leszek Koltunski

Beginnings of the WAVE effect.

20af7b69 08/24/2016 09:31 PM Leszek Koltunski

Correct an important bug in the vertex shader.

b = 1/a if a!=0, 1 otherwise was incorrectly computed as b = 1.0 / (a+1.0-sign(a)). This, when 0<a<2^-24, suffers from 'round-off error': then a+1.0 = 1.0 (sic!) thus b = 1/0 !.

Correct way: b = 1.0 / ( a - (sign(a)-1.0) )

77fcb24d 08/11/2016 10:41 PM Leszek Koltunski

Fix for Bug #17: Regions of Fragment Effects migrate.

Fix is: don't send vertex position and the Fragment Effect region to the fragment shader already multiplied by the ModelView matrix (that introduces the imprecise interpolation because of the projection effect) but simply send both of them in local coords.

42e08626 08/09/2016 02:22 PM Leszek Koltunski

Remove the MACROBLOCK Effect altogether.

ff8ad0a7 07/20/2016 11:11 PM Leszek Koltunski

Fix for Bug #16: When rotated at an angle, surfaces get increasingly transparent.

This also fixes the saturation, chroma, alpha + contrast effects, while completely breaking macroblocks :)