Git Product home page Git Product logo

Comments (3)

DanAlbert avatar DanAlbert commented on August 22, 2024

I'm confused. What's the NDK bug you're trying to report?

from ndk.

paxbun avatar paxbun commented on August 22, 2024

@DanAlbert ANativeWindow_fromSurface makes the ViewGroup (or AndroidViewsHandle) containing the SurfaceView black, not the SurfaceView itself, not on the latest Android, but on API 29 (I haven't tested on API 30-33). I actually couldn't find whether this is the issue of the Android framework or the issue of NDK, but since this does not happen on the latest Android, I decided to report it here. This just happens after the invocation of ANativeWindow_fromSurface; would it not be related to NDK? Sorry for making you confused...

from ndk.

DanAlbert avatar DanAlbert commented on August 22, 2024

The NDK is essentially just an LLVM distribution (okay, and some build system stuff). We ship the headers and library stubs for the OS APIs, but that all comes from the OS; the NDK is just the box it ships in. Anything related to API behavior is an OS thing, not an NDK thing.

What fix are you looking for here? Do you want future versions of the OS to behave like 29? If so, file a framework bug. If you want androidx to paper over things and pretend each OS behaves identically, file an androidx bug.

from ndk.

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.