Git Product home page Git Product logo

Comments (7)

fadden avatar fadden commented on May 5, 2024

Does the little color blob at the bottom keep animating? If you hit the "capture" button after it freezes, does it create a recording?

I don't have access to a Nexus 6, so I can't reproduce the issue. (It doesn't happen on the devices I have access to.)

This is not related to issue #36, as that race condition is caused by having two EGL contexts that share data. Although now I'm confused -- you wrote "ContinuousCaptureActivity" but also "Show + capture camera", which are different things. If you meant CameraCaptureActivity then it probably is relevant.

from grafika.

rkrishnan2012 avatar rkrishnan2012 commented on May 5, 2024

Interesting finds:

  • Happens on Nexus 5x too (in case you have that)
  • Starting the camera resumes the screen
  • If I start it with the recording started, screen doesn't freeze.
  • this (https://github.com/yulu/ShaderCam) sample project doesn't freeze either

Edit: Sorry I meant "CameraCaptureActivity", I've been staring at this for too long haha
Edit 2: Adding fixes it. Could you explain this magic?
GLES20.glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
GLES20.glClear(GLES20.GL_COLOR_BUFFER_BIT);

from grafika.

fadden avatar fadden commented on May 5, 2024

I don't know why calling glClear() would affect things. Weird.

from grafika.

rkrishnan2012 avatar rkrishnan2012 commented on May 5, 2024

Can I mark this as fixed and could you accept the pull request XD?

from grafika.

fadden avatar fadden commented on May 5, 2024

Without understanding the nature of the bug, it's impossible to declare that the change fixes the problem, rather than simply disguising it.

In any event, there are some legal questions with regard to accepting pull requests, and as a non-employee I'm not in a position to answer them. So somebody else would need to handle it.

from grafika.

jschleppy avatar jschleppy commented on May 5, 2024

@fadden You mentioned "Does the little color blob at the bottom keep animating?". I see this moving blob. Has this been addressed elsewhere? This is the only mention of it I can find for the Continuous Capture. Trying to get rid of the blob...

from grafika.

jschleppy avatar jschleppy commented on May 5, 2024

@fadden Figured it out. Commenting out calls to "drawExtra" eliminated the blob. Guessing it's intentional for some reason I can't understand...

from grafika.

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.