Skip to content

Conversation

ThomasH99
Copy link
Owner

update

shannah and others added 13 commits May 5, 2020 06:05
… actually corrects some fairly serious issues with text field editing that made it frustrating to try to move the cursor. #3032
Note: To ensure backward compatibility, alpha must be non-zero.  A zero alpha is interpreted as 0xff.  So if you want alpha gradient, it needs to get in range 1-255.  This commit only addresses iOS.  JavaSE port already supports linear gradient alpha.  Need to check other ports.  Likely that Javascript, Android, and UWP don't support alpha gradients either.
Also note that radial gradients still don't support alpha.
…et up queue so that only one google analytics connection can be made at a time. This is to guard against issues where there is a network issue or the analytics service is down, and all of the available network threads are blocked waiting for analytics requests to complete.
Example code that solves the image orientation issues reported on https://stackoverflow.com/q/61619714:
https://gist.github.com/jsfan3/7fc101523955e8179fadd2c713a09e05

Tested on my devices. See the javadocs :)
…re exactly why these changes fix the issue. Some warnings indicated that there was some double releasing going on in the stack on the network thread, so I added guarding of release methods to prevent double release in network connections. Memory warnings were also reported when releasing alpha mask data that was passed to open GL texture drawing. Moving these free calls until after opengl was unbound from the buffer seemed to fix these warnings, and the app no longer crashes due to these memory issues.
@ThomasH99 ThomasH99 merged commit bb0497d into ThomasH99:master May 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants