Commit Graph

8277 Commits

Author SHA1 Message Date
David 'Digit' Turner
0ce5a57448 am c37aea7b: am ad41863c: am 3c84652d: Merge "emulator: Add libqemu static library to implement qemu pipes."
* commit 'c37aea7b46eef99555570e3e06de465d02e7312e':
  emulator: Add libqemu static library to implement qemu pipes.
2011-04-29 15:09:59 -07:00
David 'Digit' Turner
c37aea7b46 am ad41863c: am 3c84652d: Merge "emulator: Add libqemu static library to implement qemu pipes."
* commit 'ad41863c00467c41e392bd5565b20356dc90b393':
  emulator: Add libqemu static library to implement qemu pipes.
2011-04-29 14:53:53 -07:00
Amit Feller
0ff6e7917b supporting EGL_KHR_image_base & EGL_KHR_gl_texture_2d_image extentions
Change-Id: I69c3e975c892bcd0872c47e349b427f570d7e82d
2011-04-29 22:10:43 +02:00
Amit Feller
fce7b684b1 integrating objectNameManger into GLES implementation
Change-Id: Icda250f9e9d3af15a2d7c214136b777833d5596d
2011-04-29 22:10:43 +02:00
Amit Feller
a245cb125f Emulator's host translator EGL implementation.
This is the EGL implementation for the host EGL/GLES translator.

EglImp.cpp - includes the EGL entry points implementation.
ThreadInfo.cpp - defines the per-thread info which is shared to EGL and GLES
EglOsApi.h - platform dependant interface functions.
EglLinuxApi.cpp - implements the GLX platform of EglOsApi
EglWindowsApi.cpp - implenents the Windows platform of EglOsApi - This has not been compiled yet!!!

Change-Id: I30a8cf457858ef04febf67005787d8d18e5e7a70
2011-04-29 22:10:43 +02:00
Amit Feller
03dcd431cc Emulator's GLES translator implementation.
This is the GLESv1 on top of OpenGL implementation on the host.
GLDispatch - dispatch table to host OpenGL implementation.
GLESimp - includes GLES entry points implementation.

Change-Id: Ief5eac2253a5a98b75a5d76363a36b7587d17391
2011-04-29 22:10:43 +02:00
Conley Owens
9d89b171ee Merge "Fix typo in informational text" 2011-04-29 10:52:44 -07:00
John Evans
15ef1a8091 New version of SampleSyncAdapter sample code that allows local editing
The changes made were
pretty sweeping. The biggest addition was to allow on-device contact
creation/editing, and supporting 2-way sync to the sample server that
runs in Google App Engine.

The client-side sample code also includes examples of how to support
the user of AuthTokens (instead of always sending username/password
to the server), how to change a contact's picture, and how to set
IM-style status messages for each contact.

I also greatly simplified the server code so that instead of mimicking
both an addressbook and an IM-style status update system for multiple
users, it really just simulates an addressbook for a single user. The
server code also includes a cron job that (once a week) blows away the
contact database, so that it's relatively self-cleaning.

Change-Id: I017f1d3f9320a02fe05a20f1613846963107145e
2011-04-28 10:31:38 -07:00
David 'Digit' Turner
ad41863c00 am 3c84652d: Merge "emulator: Add libqemu static library to implement qemu pipes."
* commit '3c84652dd8cf01ceebf521832cd2df1ce08cfdfd':
  emulator: Add libqemu static library to implement qemu pipes.
2011-04-28 08:06:27 -07:00
David 'Digit' Turner
3c84652dd8 Merge "emulator: Add libqemu static library to implement qemu pipes." 2011-04-28 07:52:00 -07:00
David 'Digit' Turner
e1eea50214 emulator: Add libqemu static library to implement qemu pipes.
See hardware/libhardware/include/hardware/qemu_pipe.h for the API
implemented by the library. It enables very fast reads/writes between
the guest system and specific emulator services.

Define BUILD_LIBQEMU_TESTS=true in your environment to build the
test programs (a simple host ping-pong server, and a benchmark
guest program).

You can invoke them with:

1/ Testing TCP pipes:

   host:  test-libqemu-1 -tcp 8012
   guest: test-libqemu-2 -pipe tcp:8012

Alternatively

   guest: su
          test-libqemu-2 -tcp 8012

2/ Testing Unix pipes:

   host:  test-libqemu-1 -unix /tmp/libqemu-socket
   guest: test-libqemu-2 -pipe unix:/tmp/libqemu-socket

3/ Testing internal pingpong server (within the emulator)

   host:   /* nothing to do */
   guest:  test-libqemu-2

Change-Id: Ib50fc9cbee6b5f4581baca97412d6f69d4f84860
2011-04-28 16:48:15 +02:00
Liran
fb06a28c30 GLESv1 extensions
This fix adds support for OpenGLES 1.1 extensions in the codec
layer. This fix also includes bug fixes in GLEncoder (client-state)
and gles android wrapper modules.

Change-Id: I512649724d43e4af9d3ce5d49ae66d9f4da0b823
2011-04-28 09:24:46 +03:00
Bernhard Reutner-Fischer
b99b5f6b67 Fix typo in informational text
Change-Id: I43958dea3a6c89523f5d4b914effdc7eb602ae8b
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-04-26 13:27:06 +02:00
The Android Automerger
3f2b06f3c5 Revert "Comment out jdwpspy Makefile temporarily to fix build"
This reverts commit 6bacf7b761, which is not necessary
2011-04-25 10:57:23 -07:00
Sriram Raman
6bacf7b761 Comment out jdwpspy Makefile temporarily to fix build
Change-Id: I3b77d3ec9c9f5267ac3a05716a64fc073b60cec2
2011-04-25 12:05:40 -04:00
David Li
a130006227 GLES2Dbg: more tests and minor fixes/improvements
Change-Id: I55c360372623c019da0c1ba2eebbc68f73f0f211
Signed-off-by: David Li <davidxli@google.com>
2011-04-22 18:18:30 -07:00
Dianne Hackborn
38c48e57fb Add new API demo for implementing a custom loader.
Also turn the fragment cursor list demo into a loader cursor demo.

Change-Id: I36d7b63de74c230188be18bd80890d66762ff6aa
2011-04-20 10:28:00 -07:00
David Li
9df3fc14d2 GLES2Dbg: use GL implementation constants sent from server
Change-Id: I29d48a3e1454a284e714bc3b2f9e6350b0085c21
Signed-off-by: David Li <davidxli@google.com>
2011-04-19 15:33:41 -07:00
David Li
7698df91fa GLES2Dbg: initial tests
Also remove GLFunction enum, since the enums already exist in
DebuggerMessage.Function

Change-Id: If273041b73ab51c9aff405ce6d6cce387b4a3725
Signed-off-by: David Li <davidxli@google.com>
2011-04-18 15:21:53 -07:00
David Li
c26ad8b03b GLES2Dbg: noop - camelCase function names
Change-Id: Ifff2157fc9acd6d51b652a157a086dd0f81a67ae
Signed-off-by: David Li <davidxli@google.com>
2011-04-18 15:21:53 -07:00
David Li
3a9021e615 GLES2Dbg: generate Android.mk and main function
Change-Id: Ib44a86cf4b675f6ace930bebf12873178d49c989
Signed-off-by: David Li <davidxli@google.com>
2011-04-18 15:21:32 -07:00
David Li
5d916dff8b GLES2Dbg: reconstruct vertex attributes to match indices
Rather than converting glDrawElements into glDrawArrays and
 uploading all attributes each draw call.
Also added CaptureDraw and CaptureSwap options.

Change-Id: If8ac6556a2674868ce83f074ce4068a6af2d3a0e
Signed-off-by: David Li <davidxli@google.com>
2011-04-18 15:21:32 -07:00
David Li
7befbd7dee GLES2Dbg: cache Messages to RandomAccessFile
-Load and format Message when the frame is selected to save memory.

Change-Id: I4ff9edf049dc724a73d6643bde1d53ec8b625114
Signed-off-by: David Li <davidxli@google.com>
2011-04-18 15:21:32 -07:00
David Li
e80cdf2ade Merge "GLES2Dbg: code gen for frame" 2011-04-18 15:14:50 -07:00
David Li
2e0807eba1 Merge "GLES2Dbg: organize calls into frames and contexts" 2011-04-18 15:14:41 -07:00
David Li
7a4f65dd8e Merge "GLES2Dbg: add more state tracking and snapshot of state per GL call" 2011-04-18 15:14:29 -07:00
David Li
c558c07533 Merge "GLES2Dbg: use mesa glsl_compiler for syntax checking" 2011-04-18 15:14:20 -07:00
David Li
b2e5b062a0 Merge "GLES2Dbg: improve protocol and error check after shader upload" 2011-04-18 15:14:06 -07:00
David Li
9468e9e68b Merge "GLES2Dbg: implemented shader tracking and editing" 2011-04-18 15:13:57 -07:00
David Li
07b8cde297 Merge "GLES2Dbg: use 256KB chunks for lzf compression" 2011-04-18 15:13:47 -07:00
David Li
04a1304456 Merge "GLES2Dbg: implemented MessageParser" 2011-04-18 15:13:40 -07:00
David Li
77161b6f0c Merge "GLES2Dbg: added SETPROP expectResponse" 2011-04-18 15:13:34 -07:00
David Li
04f38f057b Merge "GLES2Dbg: change TableViewer to ListViewer" 2011-04-18 15:13:24 -07:00
David Li
effb1bef50 Merge "GLES2Dbg: added reference frame for glReadPixels" 2011-04-18 15:13:16 -07:00
David Li
ae9fc9ec8a Merge "GLES2Dbg: use liblzf for compressing images" 2011-04-18 15:13:04 -07:00
David Turner
5ed0345c49 am f61c5ad5: am 092b588b: am 9e9b85c3: Merge "Really fix the Mac build."
* commit 'f61c5ad575bbbe40df5ed5b343e734a9094b43cf':
  Really fix the Mac build.
2011-04-16 13:36:29 -07:00
David Turner
f61c5ad575 am 092b588b: am 9e9b85c3: Merge "Really fix the Mac build."
* commit '092b588b0bcafcab6579407042a5bb0890bc890e':
  Really fix the Mac build.
2011-04-16 13:34:05 -07:00
David Turner
092b588b0b am 9e9b85c3: Merge "Really fix the Mac build."
* commit '9e9b85c3f610ebd9165644a96ccfbdd704ab3bc6':
  Really fix the Mac build.
2011-04-16 13:29:26 -07:00
David Turner
9e9b85c3f6 Merge "Really fix the Mac build." 2011-04-16 13:25:48 -07:00
David Turner
eff952cdbf Really fix the Mac build.
Damned!

Change-Id: Ice8295fb23beefe328207112b011489276b5b278
2011-04-16 22:21:57 +02:00
David Turner
9214f6c36a am e91699fe: am 43fa53c4: am 34f083b1: Merge "Fix mac build"
* commit 'e91699fe2106277a136ed714a2da67e6e729da77':
  Fix mac build
2011-04-16 10:53:24 -07:00
David Turner
e91699fe21 am 43fa53c4: am 34f083b1: Merge "Fix mac build"
* commit '43fa53c42871bc565b40a19a1bc7761d30881ba6':
  Fix mac build
2011-04-16 10:50:49 -07:00
David Turner
43fa53c428 am 34f083b1: Merge "Fix mac build"
* commit '34f083b1f3d45e60fb60bd11f9af0515cc3255fa':
  Fix mac build
2011-04-16 10:41:21 -07:00
David Turner
34f083b1f3 Merge "Fix mac build" 2011-04-16 10:25:15 -07:00
David Turner
427cb6c3b0 Fix mac build
Change-Id: Ic0ada31663beadbff06ac18ca4c5960c869b0ec8
2011-04-16 19:23:56 +02:00
David Turner
88048ffb53 am 5ecdcdfb: am a25b885e: am 218ccb4d: Merge "emulator opengl: small test app for the emulator renderer API."
* commit '5ecdcdfb91513f5698c1ca9649a1d3890a2fb561':
  emulator opengl: small test app for the emulator renderer API.
2011-04-16 07:05:01 -07:00
David Turner
a71b220f28 am e99ef4fa: am 89ea131e: am 36fc1bfe: Merge "emulator opengl: the host renderer executable."
* commit 'e99ef4fa07b1e3697bd31bca2cc1e07f3e1b21bc':
  emulator opengl: the host renderer executable.
2011-04-16 07:04:59 -07:00
David Turner
3020b9643d am b07b714a: am a8c91545: am bb45561f: Merge "emulatgor opengl: First commit of the host renderer library."
* commit 'b07b714a1d5a6ff20ffce2339c96f39f8879bc87':
  emulatgor opengl: First commit of the host renderer library.
2011-04-16 07:04:57 -07:00
David Turner
f8016c97b4 am a2192b8e: am ba19e88d: am c4721695: Merge "emulator opengl: add OpenglOsUtils library, a set of OS utils."
* commit 'a2192b8e17a7b8c9eb98ac4101ca09086949cb5b':
  emulator opengl: add OpenglOsUtils library, a set of OS utils.
2011-04-16 07:04:55 -07:00
David Turner
4c752a85d8 am 6504f70b: am 0a2bacf6: am b06b3c76: Merge changes If48f5ed6,Ic63a6f73
* commit '6504f70b744d4a396fe7a016f70e331afde53348':
  emulator opengl: first commit of gralloc implementation.
  emulator opengl: OpenglSystemCommon library shared between gralloc/EGL/GLES.
2011-04-16 07:03:11 -07:00