Project

General

Profile

Download (7.68 KB) Statistics
| Branch: | Revision:

library / src / main / java / org / distorted / library / main / DistortedEffects.java @ 6c3a8db8

# Date Author Comment
6c3a8db8 02/24/2021 01:34 PM Leszek Koltunski

Add a new API DistortedEffects.exists(long id)

fb001aff 01/08/2021 04:08 PM Leszek Koltunski

Plug two more memory leaks. It should be fine now.

8b36dabf 01/08/2021 01:18 AM Leszek Koltunski

Plug a major memory leak.
Still one more leak remains - a similar UniformBuffer has to be markedForDeletion in the EffectQueues.

3543a3cf 11/28/2020 11:37 PM Leszek Koltunski

Put new things to the StackFrame.

d4d1958a 11/26/2020 11:03 AM Leszek Koltunski

Minor.

43814a57 11/26/2020 10:29 AM Leszek Koltunski

Fix the fact that the static DistortedEffects.mAllQueues was global, shared between all Activities.
Completely replace this mechanism with a non-static list of links from a VertexEffect to all VertexEffectQueues this effect is a member of.

9becf30e 08/23/2020 11:29 PM Leszek Koltunski

Speedup: remember the mesh associations of VertexEffects only once, when they actually change, and not every time we compute() a VertexQueue.

ceed2df6 05/20/2020 11:05 AM Leszek Koltunski

Change abortAll to removeAll in effectQueues (for consistency)
Remove all pre-effects from the component queues when they are not used anymore.

044b5494 02/26/2020 10:23 PM Leszek Koltunski

Move the Effects.setStretch to Meshbase.setStretch

c90aca24 02/26/2020 03:52 PM Leszek Koltunski

Move the 'pre-multiply mesh before applying any effects' thing from [(Xsize of texture, Ysize of texture) x Mesh's zFactor] to Effects.setStretch(sx,sy,sz)

20dbec0e 05/11/2019 10:33 PM Leszek Koltunski

Simplify the way applications can get notifications when an effect finishes.

Now, instead of the 'DistortedEffects.(de)registerForNotifications()' 2 APIs, we call a single 'Effect.notifyWhenFinished()'.

106ae28d 05/07/2019 10:35 PM Leszek Koltunski

Progress with DistortedCube.

34e43b0a 05/07/2019 08:06 PM Leszek Koltunski

Progress with DistortedCube.

46b572b5 05/03/2019 10:46 PM Leszek Koltunski

Correct the Legal notice.

7602a827 05/02/2019 10:41 PM Leszek Koltunski

Rename all the classes that are not exported to application to 'Internal'

809dcae3 05/02/2019 10:33 PM Leszek Koltunski

Finally move the EffectQueues to their own package.

d5b709df 05/02/2019 06:26 PM Leszek Koltunski

Cut another interdependency between the Queues and the rest: it is no longer necessary to add DNodes to PostprocessQueue to rearrange the Nodes by buckets. The rearranging is now done on next render instead.

bfe45b4a 05/02/2019 01:22 PM Leszek Koltunski

Move all Program-related stuff to Distorted. Now the DistortedEffects class is very simple.

a0397f32 05/02/2019 12:54 PM Leszek Koltunski

Make DistortedEffects oblivious of the effect types.

84d51487 05/02/2019 10:21 AM Leszek Koltunski

Cut one interdependency between the EffectQueuePreprocess and DistortedEffects

6bce98fc 05/01/2019 02:34 PM Leszek Koltunski

Minor.

8bfefd68 05/01/2019 12:27 PM Leszek Koltunski

Split the DistortedNode class into two - DistortedNode and DistortedNodeData

c43abe6c 04/30/2019 09:42 AM Leszek Koltunski

Fixes for memory leak problems uncovered by the 'Rubik' app. (mainly: new method DistortedNode.markForDeletion)

b24e4719 01/02/2019 03:57 PM Leszek Koltunski

Make the Fragment effects truly 3D: change their 4D 'region' into a 3D 'center' (a point in 3D) and 3D 'region' (which is now a set of 3 radii defining an ellipsoid around the center)

Also corresponding changes to the applications.

8e88389e 12/07/2018 11:56 AM Leszek Koltunski

Translate the size of the Halo around postprocessed objects from 'number pixels around the object' (as held in the Effects themselves) to a float suitable for Inflating the underlying Mesh with the per-vertex Inflate vectors.

7a5e538a 11/30/2018 02:28 PM Leszek Koltunski

Progress with Inflate (building block of postprocessing effects: the proper way of marking a halo around a Mesh)
'Inflate' app testing the machanism. MeshFlat appears to be working, now we only need to fill up the per-vertex Inflate vector in the MeshCubes.

da681e7e 11/26/2018 09:21 PM Leszek Koltunski

Some simplifications in Meshes. Hide stuff inside MeshBase.

715e7726 11/21/2018 11:00 AM Leszek Koltunski

Rename MeshObject to MeshBase.

6c00149d 11/20/2018 10:49 PM Leszek Koltunski

Fully move the Meshes to their own package.

466450b5 11/20/2018 10:00 PM Leszek Koltunski

Beginnings of a separate package only with Meshes.

99730f26 07/31/2018 01:43 PM Leszek Koltunski

Correct the way we display Normals (didn't work in case rendering was of OIT type)

a13dde77 07/25/2018 08:43 PM Leszek Koltunski

Progress with a more generic 'preprocess' stage of Postprocessing Effects.

031fbe7a 07/17/2018 01:14 PM Leszek Koltunski

Partially 'fix' Glow effect for the case when FBO_QUEUE_SIZE > 1 (come back to pre-FBO_QUEUE_SIZE level of functionality).
Still, Glow needs to actually get implemented correctly.

12f9e4bb 07/05/2018 12:39 PM Leszek Koltunski

a mix of two changes:

1) remove the DistortedInputSurface interface (now every Surface is Input)
2) make the OIT SSBO self-adjustable in size

acb44099 07/04/2018 10:30 PM Leszek Koltunski

Make the OIT SSBO size independent of screen size.

86c352e0 07/02/2018 03:02 PM Leszek Koltunski

Some progress with not-postprocessed OIT.

c1a38ba3 07/01/2018 11:21 PM Leszek Koltunski

Progress with non-postprocessed OIT.

Status: compiles, but fails to work on both Adreno and Mali. Crashes the app (Adreno) or the whole system (Mali)

c25273e0 06/29/2018 02:03 PM Leszek Koltunski

Standarize GLSL version across the whole library.

97020807 06/29/2018 11:25 AM Leszek Koltunski

Start merging master and OIT.

61ce8e90 06/29/2018 11:07 AM Leszek Koltunski

Minor.

344ac0e4 05/30/2018 02:22 PM Leszek Koltunski

OIT: fix for 'out of memory' crash on Mali GPUs.

~The thing still does not fully work there - there are still strange flashes in apps that innvolve OIT, for example in 'Triblur'.

33f59f22 05/21/2018 05:17 PM Leszek Koltunski

OIT: move towards 4 passes ( clear - build - collapse - render )

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.

c92d84ec 05/01/2018 11:21 PM Leszek Koltunski

minor.

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

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....

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...

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.

e6519ac8 03/27/2018 12:51 PM Leszek Koltunski

Up library requirements to OpenGL ES 3.1 (needed for the upcoming GL_SHADER_STORAGE_BUFFER)

70b6a155 07/14/2017 04:37 PM Leszek Koltunski

Internal API change around postprocessing.

7266d8ef 06/30/2017 02:35 PM Leszek Koltunski

Fix quality levels in Glow.

73208cab 06/29/2017 11:47 PM Leszek Koltunski

Debugging Glow.

bed13bea 06/29/2017 08:27 PM Leszek Koltunski

Progress with Glow.

4b9fe2e9 06/27/2017 01:32 PM Leszek Koltunski

Introduce concepts of 'in' and 'out' postprocessing qualities.

86d322b5 06/27/2017 01:03 PM Leszek Koltunski

Make Postprocessing quality per-effect (rather than applied to the whole queue)

faa3ff56 06/27/2017 10:57 AM Leszek Koltunski

Javadoc.

3521c6fe 06/26/2017 11:02 PM Leszek Koltunski

move EffectQuality to the effect package.

1149be8f 06/26/2017 09:15 PM Leszek Koltunski

Fixes for dynamic postprocessing.

8ec0b28a 06/22/2017 10:53 PM Leszek Koltunski

Minor

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

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

6b0b4f60 06/15/2017 09:04 PM Leszek Koltunski

Fixes for removing effects.

26a4e5f6 06/15/2017 12:14 AM Leszek Koltunski

Reorganize the way we add and remove all Effects (do it through DistortedMaster and is POSTPROCES - adjust Bucket and SORT Nodes).

Buggy: removing effects does not work.

fe6fe99a 06/14/2017 09:51 PM Leszek Koltunski

Small API simplification.

80b3acf6 06/13/2017 03:47 PM Leszek Koltunski

Remove DistortedEffectsPostprocess and unify it with DistortedEffects.

Job not finished - doesn't compile now!

8fbd0237 06/13/2017 11:49 AM Leszek Koltunski

Fix 'Different Bitmaps' APP. Now 27 out of 31 APPs work.

2ef5dd9e 06/12/2017 10:56 PM Leszek Koltunski

Bugfixes for the recent 'Effect classes' API change.

47316d20 06/11/2017 10:42 PM Leszek Koltunski

Some progress with Effect classes.

11 apps compile now.

ae77d55e 06/09/2017 03:39 PM Leszek Koltunski

Further progress with Apps.

c3651001 06/09/2017 03:01 PM Leszek Koltunski

Convert the first few Apps to the new Effect API.

da9b3f07 06/09/2017 01:27 PM Leszek Koltunski

Progress with support for Effect classes.

The library compiles now!

6bb59aad 06/08/2017 03:54 PM Leszek Koltunski

Progress with support for Effect classes.

fe82a979 06/07/2017 05:18 PM Leszek Koltunski

Progress with support for Effect classes.