Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add setFilter function to configure the video's texture filtering #78

Merged
merged 2 commits into from
Sep 26, 2023

Conversation

dasisdormax
Copy link
Contributor

Adding to the previous discussion in #77, this is a simple implementation of configuring the texture filtering of a VideoPlayer. The filter is applied to the currently active video texture and all textures that are created later.

In order to share the implementation across platforms, an abstract class AbstractVideoPlayer was created. If a different way to do this is better or the name should be changed (I could also imagine "VideoPlayerCommon"), I am open to suggestions.

Finally, I updated the version number as there is now a default filter set that wasn't set before.

@@ -14,7 +14,7 @@ gdxVersion=1.12.0

# Publishing settings
group=com.badlogicgames.gdx-video
version=1.3.2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if increasing the version is necessary. We haven't even made a full release yet. There are only snapshots.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, right. I'll remove that change for now.

Do you think a full release will happen at some point, or do you know what's missing for that?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can make a full release in the next few days. I didn't make it until now because I wanted the code to get more tested and the desktop implementation wasn't that good (like you experienced)

@dasisdormax dasisdormax force-pushed the common-texture-management branch from 0ac7fe8 to bfa2e84 Compare September 26, 2023 08:02
@SimonIT SimonIT merged commit 4301ef7 into libgdx:master Sep 26, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants