Git Product home page Git Product logo

Comments (16)

meklu avatar meklu commented on July 19, 2024

Taking Content/*.

from fna-mghistory.

3vi1 avatar 3vi1 commented on July 19, 2024

Taking Storage.

from fna-mghistory.

3vi1 avatar 3vi1 commented on July 19, 2024

One bit of clarification, please...

MonoGame-SDL2 only ever has these defs: SDL2, OPENGL, and DEBUG... Basically, you're going to dive into every file and rip out any code that does NOT fit in one of the above defs.

In FNA can we assume that SDL2 would always be defined, and just remove the #if SDL2 conditions entirely? I ask, because I see some #else's hanging on #if SDL2 defs, and it would seem the proper thing to do for this task is drop the else, and remove the conditionals entirely if the not-def SDL2 code path is dead.

from fna-mghistory.

flibitijibibo avatar flibitijibibo commented on July 19, 2024

Ah, yeah: the SDL2 paths will be the only paths, so you can remove those conditionals. By FNA 1.0 both SDL2 and OPENGL should not be needed.

from fna-mghistory.

3vi1 avatar 3vi1 commented on July 19, 2024

Coolio. Thanks for answering that so fast!

from fna-mghistory.

extrahotchilipowder avatar extrahotchilipowder commented on July 19, 2024

Taking Input and Input/Touch

from fna-mghistory.

3vi1 avatar 3vi1 commented on July 19, 2024

Taking Graphics/Vertices/

from fna-mghistory.

extrahotchilipowder avatar extrahotchilipowder commented on July 19, 2024

Taking Media

from fna-mghistory.

flibitijibibo avatar flibitijibibo commented on July 19, 2024

Just updated the task list with all the related commits, great work on all of this so far!

from fna-mghistory.

khbecker avatar khbecker commented on July 19, 2024

Is Graphics/PackedVector done already or are there no defs to remove? I did a visual inspection and some grepping, but couldn't find anything to remove.

from fna-mghistory.

flibitijibibo avatar flibitijibibo commented on July 19, 2024

Looks like there are no defs! Will remove that now... I sorta just copypasted the same TODO list to all the folders, so some might not actually need work.

from fna-mghistory.

khbecker avatar khbecker commented on July 19, 2024

Ok. I'll take Graphics/. I see some in there.

from fna-mghistory.

khbecker avatar khbecker commented on July 19, 2024

@flibitijibibo: How should I handle Graphics/OpenGLDevice.cs's DISABLE_FAUXBACKBUFFER? I know you were in that file a lot recently. If we're removing all defs, then should the !DISABLE_FAUXBACKBUFFER case be the ones to keep?

EDIT: Taking a look at the def more makes me think that's one to keep since it is specific to this file. I have the rest of the folder done. I'll commit and pull request when I hear back on this.

from fna-mghistory.

flibitijibibo avatar flibitijibibo commented on July 19, 2024

Most of those defs should have a #region describing them at the top of the file. Those configurable defs should be left in. If there's a def not listed but looks like it should be configurable, let me know.

from fna-mghistory.

extrahotchilipowder avatar extrahotchilipowder commented on July 19, 2024

taking ./

from fna-mghistory.

flibitijibibo avatar flibitijibibo commented on July 19, 2024

We've removed all the defs where it matters! Thanks to everyone that looked at this.

from fna-mghistory.

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.