Git Product home page Git Product logo

Comments (4)

ducalex avatar ducalex commented on June 6, 2024

Hey! I wrote extensive messages for those changes in the following commits:

  • Commit where I removed the option: a44530c
  • Commit where I rewrote the partial update system: 4396bb7

Let me know if you have questions!

from retro-go.

Akrobate avatar Akrobate commented on June 6, 2024

Hi! Thank you for your answer. I haven't yet read the code, but your comments are clear. I understand the reasons of the change.

And keeping the option adding your new screen update as a possible choice doesn't make sense? Someting like "Partial v2"

from retro-go.

ducalex avatar ducalex commented on June 6, 2024

And keeping the option adding your new screen update as a possible choice doesn't make sense? Someting like "Partial v2"

I don't think it's worth having an option because the new code "just works". The hashing adds some overhead (on core 1, which is underutilised) but I've done extensive measuring and I haven't found any instance where partial code was slower than always doing full frame. I've also tested all combinations of scaling and filtering and the image is identical with or without partial enabled.

There is a measurement in the debug menu called "Blit time". For comparison a full update takes ~32-36ms to send to the screen. So, as long as that number is less than that, it means that partial frame is helping or at least not hindering.

So at this point an option wouldn't benefit the user and it would waste my time because on every change I make I'd have to test partial+filtering1, full+filtering1, partial+filtering2, full+filtering2, partial, full, partial+scaling+filtering, full+scaling+filtering, etc.

All that being said! if you truly don't want partial, I can add a #define in the target file to disable it at compile time :)

from retro-go.

Akrobate avatar Akrobate commented on June 6, 2024

No no you're right it would be a waste of time. I close this issue, it was just by curiosity. Your new implementation of screen update works fine

from retro-go.

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.