Giter Site home page Giter Site logo

Example using a FBO about mpv-examples HOT 2 CLOSED

mpv-player avatar mpv-player commented on August 11, 2024 1
Example using a FBO

from mpv-examples.

Comments (2)

 avatar commented on August 11, 2024

It is possible, just pass a FBO handle instead of 0. It's all documented.

from mpv-examples.

Asday avatar Asday commented on August 11, 2024

Please forgive me for being extremely stupid.

Where is it "all documented"? The comment in libmpv/sdl/main.c references render_gl.h, which I think might be mpv/libmpv/render_gl.h which in turn references glGenFrameBuffers(), which isn't mentioned in the SDL docs I found, nor is "frame", nor "buffer".

Googling for "sdl glgenframebuffers", or "sdl get framebuffer", or "sdl get fbo" all lead to the same couple of StackOverflow questions about directly modifying pixels, not getting an int I can give to mpv_opengl_fbo.fbo.

Googling for "sdl mpv fbo" gets me an example of using the opengl-cb API which the README in this repo says doesn't exist any more, an arch linux BBS thread where some guy symlinks his system python2 to python to get libreoffice to work, and this dang issue.

Could someone please point me towards where this is "all documented"? Please remember that if I try really hard, I can just about reach 30 IQ.

from mpv-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.