Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

LinuxRendererGLES: consolidate custom renderers #14030

Merged
merged 1 commit into from
Jun 15, 2018

Conversation

lrusak
Copy link
Contributor

@lrusak lrusak commented Jun 13, 2018

This is mostly dead code. Let's do what the GL renderer did.

The comment about CVREF render method indicates that this may break it.

@lrusak lrusak added Type: Cleanup non-breaking change which removes non-working or unmaintained functionality Component: Video rendering v18 Leia labels Jun 13, 2018
@Memphiz
Copy link
Member

Memphiz commented Jun 13, 2018

So what is your Intention in Breaking CoreVideo Rendercapture? Not sure what I should review on that - that comment is there for a reason I am pretty sure. Now we have an extra y flip for corevideo references.
If you want me to test this change by doing a screenshot with this commit applied - I can do so of course. But if nothing else changed behaviour before - this will result in an upside down screenshot when using vtb video acceleration.

@FernetMenta
Copy link
Contributor

That comment is from a time before I rewrote vtb, isn‘t it? Further it is not rendering but rendercapture

@Memphiz
Copy link
Member

Memphiz commented Jun 13, 2018

In have adapted my comment ...

@FernetMenta
Copy link
Contributor

If vtb needs different code, it should be done in vtb, not generic gles. This was the idea of rework of renderers

@lrusak
Copy link
Contributor Author

lrusak commented Jun 13, 2018

Of course my intention isn't to break it. I would like to fix it properly if it needs fixing.

@Memphiz
Copy link
Member

Memphiz commented Jun 14, 2018

@lrusak it doesn't compile:

http://jenkins.kodi.tv/job/IOS-ARM64/4782/console

in case you find an easy compile fix by looking at the log - please trigger jenkins for another test build for me to test. While trying to compile current master here yesterday - i realised that i need xcode9 now due to thread local storage changes. At that time my free time was over. ;)

@@ -64,13 +64,8 @@ struct YUVCOEF

enum RenderMethod
{
RENDER_GLSL = 0x001,
RENDER_SW = 0x004,
RENDER_POT = 0x010,

This comment was marked as spam.

@Memphiz
Copy link
Member

Memphiz commented Jun 14, 2018

So i tried this by generating bookmarks while playing via VTB (using VideoCoreRef)

Nightly build: - bookmark is correctly oriented
This PR (+ the compile fix): bookmark looks correctly orientated.
This PR (+ the compile fix) with the y flip commented out: upside down bookmark

So i guess something changed somewhere that makes the rotation mandatory for VTB / VCREF too. Just wondering why nightly had the correct orientation then - because it had the flip skipped for VCREF ...

All fine then i guess.

@lrusak
Copy link
Contributor Author

lrusak commented Jun 14, 2018

@Memphiz really great! thanks for testing 👍

Copy link
Member

@Memphiz Memphiz left a comment

Choose a reason for hiding this comment

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

One once it compiles :)

@lrusak lrusak merged commit c51ed07 into xbmc:master Jun 15, 2018
@Rechi Rechi added this to the Leia 18.0-alpha2 milestone Jun 15, 2018
@lrusak lrusak deleted the rendermethod-cleanup branch February 11, 2022 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Video rendering Type: Cleanup non-breaking change which removes non-working or unmaintained functionality v18 Leia
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants