Code Monkey home page Code Monkey logo

Comments (4)

hughsando avatar hughsando commented on June 24, 2024
  1. Are you using nme or openfl templates?
  2. That would be a bummer.

On Wed, Jul 9, 2014 at 12:46 AM, delahee [email protected] wrote:

Hi folks / @hughsando https://github.com/hughsando,

1- I am trying to improve contextLost handling for android for h3d. Sadly
when the game boots, there is 3 successive context lost fired.

Back in the days we did not have so much contex lost when protoyping h3d.
it sort of arose recently.

2- When i generate new framebuffers, it seems surfaceCreated is generate
and then it trigger a context lost too (i'll try to reproduce and file a
dedicated bug if confirmed)

Have someone experienced that kind of things ?

Thanks !

β€”
Reply to this email directly or view it on GitHub
#145.

from nme.

delahee avatar delahee commented on June 24, 2024

1-we use raw openfl tpl for h3d

I ll work on it today.
Le 9 juil. 2014 02:26, "Hugh Sanderson" [email protected] a Γ©crit :

  1. Are you using nme or openfl templates?
  2. That would be a bummer.

On Wed, Jul 9, 2014 at 12:46 AM, delahee [email protected]
wrote:

Hi folks / @hughsando https://github.com/hughsando,

1- I am trying to improve contextLost handling for android for h3d.
Sadly
when the game boots, there is 3 successive context lost fired.

Back in the days we did not have so much contex lost when protoyping
h3d.
it sort of arose recently.

2- When i generate new framebuffers, it seems surfaceCreated is generate
and then it trigger a context lost too (i'll try to reproduce and file a
dedicated bug if confirmed)

Have someone experienced that kind of things ?

Thanks !

β€”
Reply to this email directly or view it on GitHub
#145.

β€”
Reply to this email directly or view it on GitHub
#145 (comment).

from nme.

delahee avatar delahee commented on June 24, 2024

Ok I am in deep shit : http://developer.android.com/reference/android/opengl/GLSurfaceView.Renderer.html#onSurfaceCreated(javax.microedition.khronos.opengles.GL10, javax.microedition.khronos.egl.EGLConfig)

Basically creating a framebuffer is creating a surface so both OR losing the context so both calls have same entry point and divergent semantics. I'll try to find a way to overcome this. BTW I sent apatch about preserveContext but did not know where to commit it for nme, if you could propagate it would be cool for your users :

openfl/lime#182

I keep in touch.

from nme.

delahee avatar delahee commented on June 24, 2024

Ok I have diverging results depending on what SDK I use to compile the app AND devices...so cooool :)

from nme.

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.