Commit Graph

6962 Commits

Author SHA1 Message Date
David Turner
92d5f9009a am cb4d9ff2: am 26025f17: am 5b060ef9: Merge changes I1c2d8bc4,I64a63c2e,Ia209f88a,I9e797024,Ic09a5d0e
* commit 'cb4d9ff2a816f67c224c31be3a39135b69d372a6':
  emulator opengl: guest/host rendering syncronization.
  emulator opengl: initialize new colorbuffers
  emulator opengles: Fixed bug in gralloc unregister_buffer
  emulator opengles: Fixed a bug in eglChooseConfig implementation.
  opengles emulator: Fixed upside-down gl image
2011-06-28 05:12:10 -07:00
David Turner
b554ee726a am 1cac4c47: am b072bc8b: am 052effb8: Merge "Fix an iligal "free"."
* commit '1cac4c47878f890118bcca65906865c1b7f31a0d':
  Fix an iligal "free".
2011-06-28 05:12:08 -07:00
David Turner
0a22cbfbd3 am 4c5e4e11: am f222e481: am 7c91ae77: Merge "tex 0 is legal."
* commit '4c5e4e1166d82096fa537a5b56e4534ddbf2f641':
  tex 0 is legal.
2011-06-28 05:12:06 -07:00
David Turner
5ee0507fc6 am b955e57d: am ab37200b: am de74b496: Merge "Support GL_(NUM_)COMPRESSED_TEXTURE_FORMATS get."
* commit 'b955e57dc3e9052333c25932aa16c7f123ee6deb':
  Support GL_(NUM_)COMPRESSED_TEXTURE_FORMATS get.
2011-06-28 05:12:03 -07:00
David Turner
868d428666 am 4e9130a6: am bcb0c197: Merge "emulator opengl: fixed wrong delete"
* commit '4e9130a6f49bec0caceba6974b082a21f244b2c1':
  emulator opengl: fixed wrong delete
2011-06-28 04:59:24 -07:00
David Turner
cb4d9ff2a8 am 26025f17: am 5b060ef9: Merge changes I1c2d8bc4,I64a63c2e,Ia209f88a,I9e797024,Ic09a5d0e
* commit '26025f179e8e51bce376cf7fdad42bcfdcd58fff':
  emulator opengl: guest/host rendering syncronization.
  emulator opengl: initialize new colorbuffers
  emulator opengles: Fixed bug in gralloc unregister_buffer
  emulator opengles: Fixed a bug in eglChooseConfig implementation.
  opengles emulator: Fixed upside-down gl image
2011-06-28 04:59:21 -07:00
David Turner
1cac4c4787 am b072bc8b: am 052effb8: Merge "Fix an iligal "free"."
* commit 'b072bc8bf3ea2c09f27495b5465daeb2cc7e517a':
  Fix an iligal "free".
2011-06-28 04:59:19 -07:00
David Turner
4c5e4e1166 am f222e481: am 7c91ae77: Merge "tex 0 is legal."
* commit 'f222e481abfcc07bea69a90ce25fea702b5133b4':
  tex 0 is legal.
2011-06-28 04:59:17 -07:00
David Turner
b955e57dc3 am ab37200b: am de74b496: Merge "Support GL_(NUM_)COMPRESSED_TEXTURE_FORMATS get."
* commit 'ab37200b39ae24054c428479cbed63596297773d':
  Support GL_(NUM_)COMPRESSED_TEXTURE_FORMATS get.
2011-06-28 04:57:41 -07:00
David Turner
4e9130a6f4 am bcb0c197: Merge "emulator opengl: fixed wrong delete"
* commit 'bcb0c197a1d13d2c48ff98dd89f87f15486f1817':
  emulator opengl: fixed wrong delete
2011-06-28 04:55:48 -07:00
David Turner
26025f179e am 5b060ef9: Merge changes I1c2d8bc4,I64a63c2e,Ia209f88a,I9e797024,Ic09a5d0e
* commit '5b060ef926eea0d92f43e1474a5bdbc2dc5794c5':
  emulator opengl: guest/host rendering syncronization.
  emulator opengl: initialize new colorbuffers
  emulator opengles: Fixed bug in gralloc unregister_buffer
  emulator opengles: Fixed a bug in eglChooseConfig implementation.
  opengles emulator: Fixed upside-down gl image
2011-06-28 04:55:46 -07:00
David Turner
b072bc8bf3 am 052effb8: Merge "Fix an iligal "free"."
* commit '052effb85f939305f9ff6b743d3447e8e972b75e':
  Fix an iligal "free".
2011-06-28 04:55:44 -07:00
David Turner
f222e481ab am 7c91ae77: Merge "tex 0 is legal."
* commit '7c91ae77caa1b277bba162ada95a8a104da9923c':
  tex 0 is legal.
2011-06-28 04:55:41 -07:00
David Turner
bcb0c197a1 Merge "emulator opengl: fixed wrong delete" 2011-06-28 04:45:32 -07:00
David Turner
ab37200b39 am de74b496: Merge "Support GL_(NUM_)COMPRESSED_TEXTURE_FORMATS get."
* commit 'de74b496a11b962d9ca3d6188326093b6cfd0c88':
  Support GL_(NUM_)COMPRESSED_TEXTURE_FORMATS get.
2011-06-28 04:45:04 -07:00
David Turner
5b060ef926 Merge changes I1c2d8bc4,I64a63c2e,Ia209f88a,I9e797024,Ic09a5d0e
* changes:
  emulator opengl: guest/host rendering syncronization.
  emulator opengl: initialize new colorbuffers
  emulator opengles: Fixed bug in gralloc unregister_buffer
  emulator opengles: Fixed a bug in eglChooseConfig implementation.
  opengles emulator: Fixed upside-down gl image
2011-06-28 04:44:48 -07:00
David Turner
052effb85f Merge "Fix an iligal "free"." 2011-06-28 04:39:41 -07:00
David Turner
7c91ae77ca Merge "tex 0 is legal." 2011-06-28 04:38:57 -07:00
David Turner
de74b496a1 Merge "Support GL_(NUM_)COMPRESSED_TEXTURE_FORMATS get." 2011-06-28 04:38:18 -07:00
Narayan Kamath
b688761bab Add sample TTS engine
Bug: 4149751
Change-Id: Id8e96d4ec442db46cb97edaeab3ef7c13321ba1f
2011-06-28 09:38:23 +01:00
David 'Digit' Turner
e89c5e20a0 am 5853cce9: am 97c9b03f: am a6896d75: am 402b02f8: Merge "ndk: x86: Update android-9 x86 platform files"
* commit '5853cce9d0a28ff4ee64909af86dc40e1639e9b8':
  ndk: x86: Update android-9 x86 platform files
2011-06-27 14:15:43 -07:00
David 'Digit' Turner
5853cce9d0 am 97c9b03f: am a6896d75: am 402b02f8: Merge "ndk: x86: Update android-9 x86 platform files"
* commit '97c9b03f62cc7d1102d5f4803bb8ed2b511ed060':
  ndk: x86: Update android-9 x86 platform files
2011-06-27 10:53:27 -07:00
David 'Digit' Turner
97c9b03f62 am a6896d75: am 402b02f8: Merge "ndk: x86: Update android-9 x86 platform files"
* commit 'a6896d75d1985270a39e12676469a59dcbb096eb':
  ndk: x86: Update android-9 x86 platform files
2011-06-27 10:47:29 -07:00
David 'Digit' Turner
a6896d75d1 am 402b02f8: Merge "ndk: x86: Update android-9 x86 platform files"
* commit '402b02f8ecbbed55539ee6afd6141bcaad1cc7c3':
  ndk: x86: Update android-9 x86 platform files
2011-06-27 10:21:58 -07:00
David 'Digit' Turner
402b02f8ec Merge "ndk: x86: Update android-9 x86 platform files" 2011-06-27 04:39:55 -07:00
Yochai Shefi Simchon
e02b38778a Fix an iligal "free".
m_map[GL_TEXTURE_COORD_ARRAY] is not an allocated pointer, therefore it shouldn't be freed.

Change-Id: I84e2937c16ddcbb8922cdf270de86732ee966d60
2011-06-25 17:02:33 +03:00
Yochai Shefi Simchon
33cd758244 tex 0 is legal.
Change-Id: I99f59aa0aff1986e86e0954bb61924895b9b044f
2011-06-25 17:02:33 +03:00
Yochai Shefi Simchon
72233c6be3 Support GL_(NUM_)COMPRESSED_TEXTURE_FORMATS get.
Change-Id: I6adb541649ec83f50f520e27a26814a47359b827
2011-06-25 17:02:33 +03:00
Guy Zadikario
a0b0d08e17 emulator opengl: fixed wrong delete
Solves a crash in Replica Island.

Change-Id: Id085cc2c88d0e3bdbf59f43882b7397b15ded05c
2011-06-25 16:56:08 +03:00
Guy Zadikario
0536060b40 emulator opengl: guest/host rendering syncronization.
Added a return value for rcFlushWindowColorBuffer and
rcUpdateColorBuffer in order to make those calls to block
with a round-trip to the host. This is to make sure that
the color buffer is up-to-date before the flinger use it
for rendering.
Also added a call to the native windows's lock function after
EGL is attached and bound to render on the window. This call
was missed before.

This syncronization can be optimized by removing the round-trip
and insert sync primitive to the stream at every draw command that
reads from a color buffer to make the sync happen on the host
before rendering the color buffer and remove the need for the
guest to wait for that update.

Change-Id: I1c2d8bc407b69663e992a68d5aa755f19bbe0ec3
2011-06-25 16:56:08 +03:00
Guy Zadikario
4ef1f3474e emulator opengl: initialize new colorbuffers
Initialize new allocated color buffers with zeros.

Change-Id: I64a63c2eda83fdec1926c387e171324fb07ebe83
2011-06-25 16:56:08 +03:00
Stas Gurtovoy
88ad268dd9 emulator opengles: Fixed bug in gralloc unregister_buffer
Reset the ashmemBase & mappedPid on unregister_buffer

Change-Id: Ia209f88a15eb51edb39b1a799500d835b944bc87
2011-06-25 16:30:30 +03:00
Stas Gurtovoy
128f401e4f emulator opengles: Fixed a bug in eglChooseConfig implementation.
The config_size argument in rcChooseConfig should match the number
of requested configs and not the size in bytes to store it.
Moved the configs array size computation into rendeerControl.attrib.

Change-Id: I9e797024522965a656764c20252b25ff5ae657f5
2011-06-25 16:30:30 +03:00
Stas Gurtovoy
fdcba322fe opengles emulator: Fixed upside-down gl image
This fix performs a flip software copy to match our coords with those expected by the flinger.
We may think of a better implementation in the future.

Change-Id: Ic09a5d0e22f7e209b33c07c993a3d56e328dd3ed
2011-06-25 16:28:58 +03:00
Dianne Hackborn
72ad4eef97 Add API demo for LocalBroadcastManager.
Change-Id: Iee1e1189c579ab287718d138916448a02a833e44
2011-06-24 14:35:54 -07:00
David 'Digit' Turner
2409c5a6d7 ndk: x86: Update android-9 x86 platform files
This updates the platform files for API level 9 on x86 to
the binaries built from the internal Gingerbread branch
containing the back-ported AOSP x86 support patches.

Change-Id: I5bc43b4a5c346f7fab8eb57289803edc0c0f2d75
2011-06-24 22:39:14 +02:00
David 'Digit' Turner
6ab8e331e3 am 07bd4949: am bf115d33: am 29bcef8f: am 688620eb: Merge "sdk: Ensure we copy build.prop to platform image directory."
* commit '07bd49498684cf905eeab6260a4de11f8ebc4f64':
  sdk: Ensure we copy build.prop to platform image directory.
2011-06-24 10:50:47 -07:00
David 'Digit' Turner
229cc8fc89 am 4a2a7caf: am 80e88b37: am 993178d2: am 588d3e7a: Merge "emulator: opengl: Update/simplify build scripts"
* commit '4a2a7caf951c606e2796cf273a1459ce6f0af6cd':
  emulator: opengl: Update/simplify build scripts
2011-06-24 10:50:28 -07:00
Raphael
effacceabd am eae54028: am 0221f2d8: am 320d10ef: Package the 2 llvm-rs-cc versions in the Windows SDK.
* commit 'eae54028c2d763c4edd7129f5d9b91d6541b6dea':
  Package the 2 llvm-rs-cc versions in the Windows SDK.
2011-06-23 14:31:19 -07:00
Xavier Ducrohet
01fa6e5ece am 08419fc7: am 608bb77f: am 79aa3cea: Prepare new plat-tools SDK component with 2 llvm versions.
* commit '08419fc7ba3251fa1b059136abc63db24ad7ef1d':
  Prepare new plat-tools SDK component with 2 llvm versions.
2011-06-23 14:31:02 -07:00
David Turner
e6911c05fc am e8b6d94f: am 12e9736f: am f528fddf: am bd414ea2: Merge "opengl translator: fix eglGetConfigAttrib"
* commit 'e8b6d94fa3e901372860995dc2d0db07620310a3':
  opengl translator: fix eglGetConfigAttrib
2011-06-23 07:49:56 -07:00
David Turner
b12c8370db am 8b712206: am 5605bd75: am 227247ea: am 8e706026: Merge "opengl translator: conformance fixes"
* commit '8b7122068e76a9d9215d691663a2661a976dd861':
  opengl translator: conformance fixes
2011-06-23 07:49:53 -07:00
David Turner
007e62d167 am 2284ef40: am 15b6cc56: am b4b448a9: am 97dba6cf: Merge "emulator gralloc: removed compilation warnings."
* commit '2284ef400c8e94c782e3c4d392bf6767fb1f1d85':
  emulator gralloc: removed compilation warnings.
2011-06-23 07:49:50 -07:00
David Turner
35fa0a9a0f am a792c749: am 47271614: am cb0cad4b: am 4e18d73d: Merge "emulator opengl: Fix gralloc color buffer uploads"
* commit 'a792c7495d2c342ce5de9803281bf33a51973a40':
  emulator opengl: Fix gralloc color buffer uploads
2011-06-23 07:49:46 -07:00
David Turner
4d9d221a01 am 347a98cd: am 95d7f3ce: am 00736340: am ec3f9a75: Merge "emulator opengl: Added support for config_size 0 to FBConfig::chooseConfig"
* commit '347a98cd249c70c362c427fada9526afc65c7c37':
  emulator opengl: Added support for config_size 0 to FBConfig::chooseConfig
2011-06-23 07:49:43 -07:00
David Turner
91c685f105 am 4be3c181: am 3001b512: am c848f113: am ad66b123: Merge "emulator opengl: fix crash in gralloc_free"
* commit '4be3c18126dbfc19e783ee86cd11de67b395277d':
  emulator opengl: fix crash in gralloc_free
2011-06-23 07:49:39 -07:00
David Turner
ba71934340 am e38f9f31: am c76cd1af: am 49c24102: am 97dfbff4: Merge "emulator opengl: implement glGetString"
* commit 'e38f9f31a0b8d29d513286032ad79b2fc8214e82':
  emulator opengl: implement glGetString
2011-06-23 07:49:35 -07:00
David Turner
694422de04 am daaabe8a: am 1d8ebc35: am 4f2b6309: am 5b675210: Merge "emulator opengl: use eglGetProcAddress in EGL dispatch."
* commit 'daaabe8a8d47af6745f2d29d5eb84a6e3db16ca5':
  emulator opengl: use eglGetProcAddress in EGL dispatch.
2011-06-23 07:48:15 -07:00
David Turner
25308eed19 am 6d9eb604: am 7fb8f627: am fa60dc0a: am c3349b5a: Merge "emulator egl translator: Fix eglGetProcAddress."
* commit '6d9eb604639c26bcf59610c5c8527b1c5be98c82':
  emulator egl translator: Fix eglGetProcAddress.
2011-06-23 07:48:10 -07:00
David Turner
d33845d070 am cdb5dd35: am b0361b1c: am 022254b8: am f4c9f254: Merge "opengl renderer: Fixed colorBuffer texture creation."
* commit 'cdb5dd355047c15d4fa456630a1df596623a7d80':
  opengl renderer: Fixed colorBuffer texture creation.
2011-06-23 07:48:06 -07:00