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

OpenGL context support for vo_gpu_next #9486

Merged
merged 3 commits into from
Nov 22, 2021
Merged

Commits on Nov 20, 2021

  1. video: opengl: teach start_frame() about out_fbo == NULL

    This case was added in 662c793
    for use in vo_gpu_next as a visibility test before rendering a frame.
    The OpenGL context doesn't have this so it just returns true.
    sfan5 committed Nov 20, 2021
    Configuration menu
    Copy the full SHA
    ae5a7f5 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2021

  1. vo_gpu_next: factor out context-specific code to gpu_next/context.c

    This is done to avoid cluttering vo_gpu_next.c with more ifdeffery and context-specific code
    when additional backends are added in the near future.
    Eventually gpu_ctx is intended to take the place of ra_ctx to further separate gpu and gpu_next.
    sfan5 committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    b548f09 View commit details
    Browse the repository at this point in the history
  2. vo_gpu_next: implement OpenGL context support

    Wrapping the context is pretty straightforward. This is only complicated
    by needing to account for the upside-down framebuffer in a few places.
    sfan5 committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    21b2d26 View commit details
    Browse the repository at this point in the history