J
J
jonic2013-06-25 10:18:37
Objective-C
jonic, 2013-06-25 10:18:37

Marmalade: eGL context forwarding, from EAGLSharegroup to GLubyte?

Good afternoon! Now I am writing extensions for marmalade that works with GPUImage. The spec says I need to share the egl context between marmalade and gpuimage. Yesterday I struggled for a day, but I can not understand how this can be implemented. I am a little better than bad with Objective-C.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Egor Merkushev, 2014-02-15
@egormerkushev

Write, please, did you succeed?
I have a similar task, but with cocos2d-x.

J
jonic, 2014-02-15
@jonic

The context could not be forwarded, so I did the following, in the marmalade extension (and there I also used cocos2d-x) under iOs, I created a code that works with gpuimage in a separate context. and on rendering to the texture, I simply ripped out the array from there, and returned it to marmalad, filling it with the texture created by cocos2d-x. But it seems to me that you will have a different kind of task :) In general, it was pitch hell. They did an analogue of Heads UP.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question