Commit Graph

2327 Commits

Author SHA1 Message Date
Jacky Romano
a4205ba264 Android emulator opengles - unit test gles wrapper
This adds opengl es implementation driver that selects whether to use
the native android emulator opengl impelementation or use a remote,
host side renderer. This driver is used to selectivley run applications using
the remote renderer. The selection is based on the application/process name and
is configured using /etc/gles_emul.cfg in the emulator side.

This change also installs /etc/egl.cfg that is used by the Android opengl wrapper
to select an opengl implementation

Change-Id: I66eda3d48938f8057bf45e6476b7faefaf1130fb
2011-03-28 19:18:27 +02:00
Jacky Romano
2d824c62e7 Android emulator opengl - unit testing render control api
This adds minimal rendering control api codec that is used by opengl codec
unit tests. The api is used to pass messages regarding resource creation
(surfaces, opengl context) and swapbuffers notifications.
The actual encoder and decoder code is generated using 'emugen'

Change-Id: Ia9b74ae755d032a9b02fdc5f85575d4cd8ada326
2011-03-28 19:08:40 +02:00
Jacky Romano
f92438f64c Android emulator opengl - OpenGL ES 1.1 decoder
This change adds the opengl host side decoder library (libGLESv1_dec)
The library uses the GLESv1 api defintion (part of libGLESv1_enc library)
used by emugen to generate the library code. It also includes
The generated code is wrapped with the GLDecoder class to handle OpenGL
specific semantics

Change-Id: I0948f1984e538d8f6cfedc961e6296686b4be850
2011-03-28 19:08:20 +02:00
Jacky Romano
6a04b8afc5 Emulator opengl - Opengl ES 1.1 encoder
This change the opengl target side encoder library (libGLESv1_enc)
The library includes api definition files for 'emugen' code generation
tool and a serrounding code to handle opengl specific sematics (such as client state)
tracking

Change-Id: I8708b945c8c9c7fbe06147b703bdee27a576c7a0
2011-03-28 19:06:03 +02:00
Jacky Romano
c27986a3c2 Opengl implementation - codec common code
This change adds the libOpenglCodecCommon, which holds
shared code between the encoder and the decoder parts of the opengl
codec. The library is built as static with both a target version and
a host version.

Change-Id: I163eea8fdb635620e6cde9d1d75c3e7369953213
2011-03-28 19:01:49 +02:00
David Turner
99d6295f69 Merge "Enable lcd backlight in the emulator." 2011-03-28 07:04:33 -07:00
David 'Digit' Turner
5f64d75d1d qemud: disable debug traces
They're verbose and unuseful during normal usage.

Change-Id: Ia5e2fb89b0a4844ce911a735078efdafb56bc1b4
2011-03-24 17:14:44 +01:00
Jamie Gennis
548c959907 GLES2Dbg: Remove spurious execute file permissions.
This change is just a chmod -x of some files that shouldn't aren't
executable.

Change-Id: I6599f73d474e6ddadff2df6289c75e4e136219fe
2011-03-22 15:10:47 -07:00
Tim Wan
eb02d8daa6 Enable lcd backlight in the emulator.
Adding a new lights.goldfish.so library to enable
lcd backlight in the emulator

Change-Id: I2a6c8af268859d7d30fd90b60ac2a0fe0d9625e8
2011-03-22 13:57:01 +01:00
David Li
9e05cfa929 Merge "GLES2Debugger: Make command exchange async to improve performance." 2011-03-17 14:38:44 -07:00
David Turner
3b20e47efd am f375d1f6: am 091b78c2: am 7ba56321: Merge "Emugen : A tool to generate wire protocol code"
* commit 'f375d1f63cbe92095a65766b75bdeabbe2fe0388':
  Emugen : A tool to generate wire protocol code
2011-03-16 08:43:39 -07:00
David Turner
f375d1f63c am 091b78c2: am 7ba56321: Merge "Emugen : A tool to generate wire protocol code"
* commit '091b78c2030d77bc9ae3fb8d692efa2efe31b3f8':
  Emugen : A tool to generate wire protocol code
2011-03-16 08:39:08 -07:00
David Turner
7ba563216a Merge "Emugen : A tool to generate wire protocol code" 2011-03-16 07:55:55 -07:00
Jacky Romano
9760e2863a Emugen : A tool to generate wire protocol code
Emugen is a tool that can be used to generate code that
deals with marshaling/unmarshaling request to/from a wire-protocol.
Its input is an API defintion files and its output is C++ source
code for the client (caller) and the server (callee) sides.

See README file for more details.

This submission is resubmission of code that lived under
sdk/emulator/opengl/. However, it also includes minor updates
in ApiGen.cpp

Change-Id: I0ede7448e0a0e26fa0fbc5590d07d1f2f6566f0a
2011-03-16 15:58:23 +02:00
Iliyan Malchev
62c656f89a Merge "development: remove LOCAL_PRELINK_MODULE" 2011-03-14 16:58:50 -07:00
David Li
6e1d354d06 Merge changes I91604740,Ibe105b60
* changes:
  Added state tracking and vertex data capturing.
  Initial commit of OpenGL ES 2.0 Debugger Client
2011-03-14 15:17:53 -07:00
Iliyan Malchev
1dcd97644a development: remove LOCAL_PRELINK_MODULE
Change-Id: I6ae5c92aba05c3991bda260c264de835244f7f3e
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-03-14 14:24:21 -07:00
David 'Digit' Turner
fbd686b031 am a1ae75c8: am 2876ff6b: Merge "emulator: Move platform-specific modules to development.git"
* commit 'a1ae75c868ffb1171ba0f3b3644c84b571a3dbce':
  emulator: Move platform-specific modules to development.git
2011-03-14 11:50:48 -07:00
David Li
6f85d436f3 GLES2Debugger: Make command exchange async to improve performance.
In message loop, use select to check for available commands from client,
 rather than always expecting commands in eglSwapBuffers.
Client can send commands at any time.

Change-Id: I607c8fa571a896996c0a3300de904b6e263fc281
Signed-off-by: David Li <davidxli@google.com>
2011-03-11 11:11:41 -08:00
David 'Digit' Turner
e59bd87056 emulator: Move platform-specific modules to development.git
This copies the platform-specific emulator modules from sdk.git into
development.git/tools/emulator/system/. Note the use of guard variables
to prevent clashes when the original modules are still in the tree.

The goal is to submit this and https://review.source.android.com/#change,21737,
then later remove the modules from sdk.git when we move the internal sdk branch
to the appropriate tools_rXXX branch.

Change-Id: I762d0efb72d93a935d96c4549f36029c258c3ef9
2011-03-11 16:38:28 +01:00
David Li
8b2eabd60d Added state tracking and vertex data capturing.
Change-Id: I91604740aa73a5611f0eb511d02f09a767273700
Signed-off-by: David Li <davidxli@google.com>
2011-03-08 16:57:24 -08:00
David Li
5d710c2629 Initial commit of OpenGL ES 2.0 Debugger Client
Displays GL call parameters, textures, screen captures and shader source.
Server code is in frameworks/base/opengl/libs/GLES2_dbg.
Protobuf code is generated using generate_debugger_message_proto.py in server code.

Change-Id: Ibe105b60dbe59af84f721c077d2c138a4d04767e
Signed-off-by: David Li <davidxli@google.com>
2011-03-07 18:27:46 -08:00
Alex Sakhartchouk
67a81ea84d Merge "renderscript geometry converter. Initial implementation of the converted from .obj and .dae file to the renderscript file format." 2011-02-23 09:41:15 -08:00
David Turner
00c7197273 Merge "Remove obsolete zoneinfo generation tool." 2011-02-18 15:21:15 -08:00
Elliott Hughes
6772417eb5 Remove obsolete zoneinfo generation tool.
The latest version of this tool is in bionic, and should be used instead.

Change-Id: I47c0f4ca1eab6058e470cf7a7b24ed64108a6317
2011-02-18 15:05:38 -08:00
Xavier Ducrohet
a243ca05ed Fix WXGA skin for proper sensor support.
Change-Id: I53cb68a1f996ad72577b5c368e422b6b5e4804ca
2011-02-16 18:54:52 -08:00
Alex Sakhartchouk
17bd28b0ce renderscript geometry converter.
Initial implementation of the converted from .obj and .dae file to the renderscript file format.

Change-Id: I47f4ecf0fb68515914b660dd3d548afa1920d79c
2011-02-11 17:51:44 -08:00
Raphael
bb0f61d73d am 5eafc91a: Merge "merge "SDK: make \'mkstub\' less verbose." from HC. Do not merge." into gingerbread
* commit '5eafc91ad3216561d2287f327580644fb1e04cfb':
  merge "SDK: make 'mkstub' less verbose." from HC. Do not merge.
2011-02-04 14:49:19 -08:00
Raphael
b82fbc6442 merge "SDK: make 'mkstub' less verbose." from HC. Do not merge.
mkstub is the tool used to stub the google_apis maps.jar.
Since we're integrating it in the build, we want to control its verbosity.

Change-Id: I93d7dc6a63426affac008f8ef367a0d79277b59a
2011-02-04 12:35:17 -08:00
Raphael
8252cdea30 SDK: make 'mkstub' less verbose.
mkstub is the tool used to stub the google_apis maps.jar.
Since we're integrating it in the build, we want to control its verbosity.

Change-Id: Ic0cfacb79a0aa260bcafb54bdc6bdb5a98b1c87a
2011-02-03 22:56:14 -08:00
Xavier Ducrohet
0af60fc747 Fix WXGA skin
Change-Id: Ia283c1f9774318661c7164fdb9da70c72bb26bdc
2011-01-16 13:41:34 -08:00
Brett Chabot
b45644eac0 Replace use of ro.monkey with ro.test_harness.
Bug 3329873

Change-Id: Ia681803c3d0b0afeceb178b8314c9d7227d99355
2011-01-09 14:11:50 -08:00
Xavier Ducrohet
29ad0f4e6c Update heapSize for WXGA skin.
Change-Id: I8c0f376535d0e0969b02bd774b52a1bbbdeb7fc6
2011-01-07 15:07:47 -08:00
Xavier Ducrohet
9709bd228b Add WXGA skin.
Change-Id: I29e62d5a1bf9d5017bfdca9fe07ae4e3124f951c
2011-01-07 14:37:37 -08:00
Xavier Ducrohet
300b84c427 Cherry-pick f0e5e933 from master.
Move emulator skins to development.git

Also added new default RAM config to the skins.

Change-Id: Ic22592573d6d153fb94e2e2c981068936cae1219
2011-01-07 13:04:25 -08:00
Xavier Ducrohet
daf0b895e8 Cherry-pick f0e5e933 from master.
Move emulator skins to development.git

Also added new default RAM config to the skins.

Change-Id: I520c485f4ef9f6d9d2eea126ed46d96b5fc3e785
2011-01-07 13:03:22 -08:00
Xavier Ducrohet
f0e5e93307 Move emulator skins to development.git
Also added new default RAM config to the skins.

Change-Id: Ib786287b43f639c6ae80bf109ac4fe5b12635676
2011-01-06 13:31:24 -08:00
Ken Wakasa
b68c6b1cbe Move tools/makedict from platform/development to platform/packages/inputmethods/LatinIME
The corresponding change is I01ef7084

Change-Id: I559207ab75feffe5ef4678c4a85f178a024448c5
2010-12-11 02:07:56 +09:00
Brett Chabot
fb0b7c06a7 Change hosttestlib to use ddm-prebuilt.
Change-Id: I9124f34e6ba5559afc9a4bf9b5c70690385db11a
2010-09-21 11:44:23 -07:00
Bruce Gay
e96d56c27c Adding support for crespo and stingray in the labpretest.sh
Change-Id: I2af967290653cc5ed40e3ddae233c5da61ac61aa
2010-09-10 12:36:34 -07:00
Jae Yong Sung
f34d3e617b Functionality to separate dictionary by set size
Change-Id: Idb0e79e0dc79563a7043c245bcd80ebf5f02dc65
2010-08-10 15:36:34 -07:00
Thomas Tuttle
60a7ddf27e elftree: Recursively display ELF dependencies in a tree
Change-Id: Ifec17edf90796d0f810341cf62c9e5dfdee083c2
2010-08-02 16:53:33 -07:00
Brett Chabot
3a5897a4fe am d53cf3ba: am 8ddb2873: Change hosttestlib to use ddm-prebuilt.
Merge commit 'd53cf3ba04f48d234200e8418876db62cb0b6b56'

* commit 'd53cf3ba04f48d234200e8418876db62cb0b6b56':
  Change hosttestlib to use ddm-prebuilt.
2010-07-28 11:46:55 -07:00
Brett Chabot
d53cf3ba04 am 8ddb2873: Change hosttestlib to use ddm-prebuilt.
Merge commit '8ddb2873df96c7181c9358f5c9286e273648bf89' into gingerbread-plus-aosp

* commit '8ddb2873df96c7181c9358f5c9286e273648bf89':
  Change hosttestlib to use ddm-prebuilt.
2010-07-28 11:37:12 -07:00
Brett Chabot
8ddb2873df Change hosttestlib to use ddm-prebuilt.
Change-Id: Ibd1c44096893bc8804a4d7644fc83d2edd443bb2
2010-07-27 17:57:38 -07:00
Bill Napier
4a8359add3 Remove the rest of the monkeyrunner files.
Change-Id: I2336e5342c2dcd495ca3ecb981f2200a549097ba
2010-07-27 17:28:42 -07:00
Bill Napier
255ee00edc am 32553f52: Remove monkeyrunner so it can move to the SDK project.
Merge commit '32553f5291b1e0c5363db8bd7f280037f4f600e2' into gingerbread-plus-aosp

* commit '32553f5291b1e0c5363db8bd7f280037f4f600e2':
  Remove monkeyrunner so it can move to the SDK project.
2010-07-27 17:12:57 -07:00
Bill Napier
2e163ac649 Move MonkeyRunner from development to sdk.
Change-Id: I87ac348a48d64706aee2e66cf833944b15b70dd8
2010-07-27 17:07:58 -07:00
Eric Fischer
fa4a0311ae am b5ebc485: am cc7fc9e8: Update time zone data to the new version 2010k.
Merge commit 'b5ebc48565ceb23feba21cc12fbbb2cc34802209'

* commit 'b5ebc48565ceb23feba21cc12fbbb2cc34802209':
  Update time zone data to the new version 2010k.
2010-07-27 16:59:26 -07:00
Eric Fischer
b5ebc48565 am cc7fc9e8: Update time zone data to the new version 2010k.
Merge commit 'cc7fc9e839cee6c33d099a94c5bdb655bd83ccd9' into gingerbread-plus-aosp

* commit 'cc7fc9e839cee6c33d099a94c5bdb655bd83ccd9':
  Update time zone data to the new version 2010k.
2010-07-27 16:35:22 -07:00