GL acceleration in Emulator - demo - at Google IO

by Suman Saraf » Fri, 13 May 2011 21:58:29 GMT


Sponsored Links
 > Hello,

-- 



Re: GL acceleration in Emulator - demo - at Google IO

by David Turner » Mon, 16 May 2011 23:39:45 GMT


 


Not that I know of. It's a custom wire protocol.

Yes, look at development/tools/emulator/opengl/ (warning: work in progress)


-- 


Sponsored Links


Re: GL acceleration in Emulator - demo - at Google IO

by Suman Saraf » Fri, 20 May 2011 01:46:04 GMT


 Thanks David.

I checked out the latest code and have started to fiddle with it. I am trying 
to run this on x86 inside VirtualBox.

I have a few questions and would be glad if you could help:

1. I built everything inside shared and system and tests/gles_android_wrapper. 
That produced the EGL, GLES_v1 and GLES_v2 libraries. I copied these to my 
device along with the egl.cfg and gles_emul.cfg

2. do I need to build gralloc also? I did build it and planted it in 
system/lib/gralloc.default.so; overwriting the gralloc.default.so for the 
software only renderer.

3. now I need to build a renderer application which can render it remotely. I 
tried building host/renderer on Linux. Ideally I want to build this on Windows? 
Is it possible?
the resulting emulator_renderer binary (on Linux) failed to initialize 
frame-buffer because of unsupported EGL_RENDERABLE_TYPE in eglChooseConfig.

To reiterate, I ideally want to build the emulator_renderer on Windows. Is it 
possible? Is there an alternate way to render this remotely on Windows? How?

Am I completely off track or is this really the way to get this thing to run?

Thanks
Suman







-- 



Other Threads

1. Terimakasih ya.. OOT : Happy Birthday Suhi Enya

Dear teman2,
terimakasih banyak atas ucapan dan doa teman2 sekalian.
Semoga Allah SWT mengabulkannya dan membalas kebaikan teman2 semua yah.
Untuk traktiran silahken dilist aja, nanti disponsori penuh oleh Kang
Jendral SA tercinta bertempat di Springhill terdekat.
huahahahahaaa... kaboeerrrr..

*From: * "S. Ardi" <subanindiyo.a...@gmail.com>

-- 
===============
"

2. How to block a BufferedReader when no input is available?

I have code in a worker thread that needs to efficiently read a
constantly-growing input stream from a process.

The issue is that the present design uses a sleep() for a short period
if there is no input presently available, and I'd like the attempt to
read the input stream simply *block* so it magically awakes when more
input is available.  I fear this will mean a small hit on phone
responsiveness.

How does one alter code from this form to do such a thing?

BufferedReader bufferedReader =
                new BufferedReader(new
InputStreamReader(process.getInputStream()));

            do {
                String line;
                while ((line = bufferedReader.readLine()) != null) {
// new input would be processed here
                }
                Thread.sleep(500); // TODO: make this go away
            } while (true);

-- 

3. Android 2.3 Gingerbread for Nexus One & Galaxy S

4. Android 2.1 bermasalah? Atau sony tdk kompatibel dgn 2.1?

5. [WTA]LCD Milestone Bermasalah

6. Tanya2 nexus one

7. Scrollbar as data input