Hi,

I have been trying to build sdk emulator for windows host, and fiddling
around to figure out which repo/branch we should use for host and guest
opengl. I have a few questions regarding same.

I noticed these repo, host side opengl for emulator:
         https://android.googlesource.com/platform/external/qemu , and
guest side source code is at :
        https://android.googlesource.com/device/generic/goldfish
        https://android.googlesource.com/device/generic/goldfish-openg

Now now I am not sure which branches have latest working code.

I tried using "emu-1.4-release" for qemu opengl and built for windows host
dlls ([ibEGL_translator.dll, libGLES_CM_translator.dll,
libGLES_V2_translator.dll, libOpenglRender.dll].

And created custom renderer.exe:
Initially I faced issue that subWindow HWND getting invalid,  it got fixed
once I created subwindow on new thread having windows message loop.
But now I am seeing that wglMakeCurrent is failing for every
FrameBuffer::post() call with error code = 0x6 (invalid handle), though
handle seems to valid.

I would appreciate if sdk emulator developer can help me answer few
questions:

1. Should we initialize initOpenGLRenderer(), createOpenGLSubwindow from UI
thread only?
2. In what condition FrameBuffer::post() would fail in  wglMakeCurrent(...)
inside bindSubwin_locked(), and everything else seems to be working?
3. Is there any reference implementation available for
"emulator_renderer.exe". like it was available in older sdk, now in
https://android.googlesource.com/platform/external/qemu for branch emu-*?

4. from which repo/branch we should refer to get latest source code to
android side opengl implentation that work for kitkat based emulator?

Thanks in advance,
-Shiv

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to