Git Product home page Git Product logo

Comments (12)

floooh avatar floooh commented on July 18, 2024

I haven't looked into this for quite a long time. Is this urgent for you?

from fips-bgfx.

pixelpicosean avatar pixelpicosean commented on July 18, 2024

Not urgent at all, just trying.

BGFX still feels inconvenient comparing to Oryol. But the mesh vertex updating limitation(once per frame) is another headache. Cannot make a memory friendly sprite-batch implementation the old way. Which graphic backend has this limitation? Is keeping drawing commands the only way to do that now? I am considering using index buffer like what you did with the IMGUI wrapper, without an index buffer I need tons of memory to store vertices of curve shapes.

from fips-bgfx.

fungos avatar fungos commented on July 18, 2024

I may try to get it building with latest if needed, just need find some free time next week probably. It shouldn't be too hard to get this new dependency fipsified, it seems it is already a CMake project anyway.

from fips-bgfx.

pixelpicosean avatar pixelpicosean commented on July 18, 2024

@fungos I'd be very appreciate if you can get it work. BTW is it easy to fipsify a project if it provides CMake file? If it's not that hard I'll give it a try myself.

from fips-bgfx.

fungos avatar fungos commented on July 18, 2024

Yes, it is a manual process, but at least most of the hints are already in the CMakeLists.txt of the project. It is easier to translate than other build scripts in general.

from fips-bgfx.

fungos avatar fungos commented on July 18, 2024

@pixelpicosean I've fixed bgfx here: https://github.com/fungos/fips-bgfx
Can you test for me?
It requires CMake 2.8.11 or ~~~older~~~ newer to solve a include conflict.
The PR is here: #14 failing on travis due the older cmake version.

from fips-bgfx.

pixelpicosean avatar pixelpicosean commented on July 18, 2024

@fungos I need an older cmake to be able to compile it? I only have v3.7.1 installed for now, with which I've successfully build most targets except the bgfx-etc2 and texturec.

Here's the error message it logs:

3rdparty/etc2/ProcessRGB.cpp:208:53: 
error: member reference base type 'v4i' (aka 'uint16 [4]') is not a structure or union
        __m128i d = _mm_loadu_si128((__m128i*)a[i*2].data());
                                              ~~~~~~^~~~~

My system: macOS 10.12.2

from fips-bgfx.

fungos avatar fungos commented on July 18, 2024

Sorry, I meant newer. You should be alright with that version.
What is your compiler? Can you put your output of fips diag in a gist?
I don't have a mac to test this, so I'm in the dark here, but I may try to help you solve this issue.

This error seems to be broken code over bgfx code base when using sse4. Maybe @bkaradzic can help?

from fips-bgfx.

pixelpicosean avatar pixelpicosean commented on July 18, 2024

@fungos I've uploaded the log here fips-bgfx-cli.log

Have not seen any information about the sse4 though.

from fips-bgfx.

bkaradzic avatar bkaradzic commented on July 18, 2024

@fungos Grab latest and try again, it should be fixed.

from fips-bgfx.

fungos avatar fungos commented on July 18, 2024

Thanks @bkaradzic!
@pixelpicosean I've updated my fork. As I'm not on my pc I have only windows to test and travis-ci is failing linking over with gcc on ubuntu. But I think this will not be an issue to you.

from fips-bgfx.

pixelpicosean avatar pixelpicosean commented on July 18, 2024

Thank you people for help. Everything is ok now.

from fips-bgfx.

Related Issues (4)

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.