Commit Graph

6962 Commits

Author SHA1 Message Date
Stas Gurtovoy
613025efb3 emulator opengl: pool of fixups to the host side.
Those are the host side fixups required for the system to load
without failure to the point of bootanimation is run.

Change-Id: I42eebb123b05aaf6a0671e91e77a4ba6b330b852
2011-06-21 14:48:44 +03:00
David Turner
3f5c95553a Merge "emulator opengl: pool of fixups to the system components." 2011-06-21 04:36:22 -07:00
David Turner
6aef50929c Merge "emulator opengl: added Bind texture to EGLImage/surface" 2011-06-21 04:26:49 -07:00
David Turner
390b0753a9 Merge "emulator opengl: Added glFinishRoundTrip to GLESv2" 2011-06-21 04:25:05 -07:00
Stas Gurtovoy
6a79e88f01 emulator opengl: pool of fixups to the system components.
Those fixes make the system load without failure.
Also the flinger and bootanimation are running.

Change-Id: Ieb7039e76c444df778a421a07bccc48514199245
2011-06-21 01:41:50 +03:00
Stas Gurtovoy
2220d27302 emulator opengl: added Bind texture to EGLImage/surface
added functionality to bind an EGLImage to a texture both
in the system and host sides.

Change-Id: I2dc26090b45da080ac4d0e8f5799c95f7cc54634
2011-06-21 01:41:50 +03:00
Stas Gurtovoy
a26f6f221b emulator opengl: Added glFinishRoundTrip to GLESv2
Change-Id: Ia1c6cb7e75a1769040d13e81d0da7db5f5c28435
2011-06-21 01:41:50 +03:00
David Turner
0ed0e2fabd am e7661212: am 4a47a38b: am cd108d55: Merge "emulator opengl: Small change to support more surface attributes"
* commit 'e76612125ce64486fff9e4089537e37a34018f05':
  emulator opengl: Small change to support more surface attributes
2011-06-20 09:11:21 -07:00
David Turner
c98d28c7c6 am cbf73e7b: am 5d4b1f50: am c4b10a54: Merge "emulator opengl: Added glFinishRoundTrip implementation."
* commit 'cbf73e7bfadd3c94fceb5afc6e51fc800acbf681':
  emulator opengl: Added glFinishRoundTrip implementation.
2011-06-20 09:11:19 -07:00
David Turner
58c9dc194d am 117408f1: am 407faf4c: am b9cbdec5: Merge "emulator opengl: implemented getProcAddress in GLESv1."
* commit '117408f1b6bd6a70bb9d94276a68c6236fefe5cc':
  emulator opengl: implemented getProcAddress in GLESv1.
2011-06-20 09:11:16 -07:00
David Turner
c73a475de5 am 85f7ec00: am bf2d789d: am 52ae291a: Merge "emulator opengl: system GLESv1 first commit."
* commit '85f7ec006cdad4bacdc578068d5c670ea8f05403':
  emulator opengl: system GLESv1 first commit.
2011-06-20 09:11:09 -07:00
David Turner
e76612125c am 4a47a38b: am cd108d55: Merge "emulator opengl: Small change to support more surface attributes"
* commit '4a47a38b58ac4fe3e9ba39caa1d87131f7aef00a':
  emulator opengl: Small change to support more surface attributes
2011-06-20 09:04:54 -07:00
David Turner
cbf73e7bfa am 5d4b1f50: am c4b10a54: Merge "emulator opengl: Added glFinishRoundTrip implementation."
* commit '5d4b1f504219e4c5b9028fa45640b31f61862e7c':
  emulator opengl: Added glFinishRoundTrip implementation.
2011-06-20 09:04:52 -07:00
David Turner
117408f1b6 am 407faf4c: am b9cbdec5: Merge "emulator opengl: implemented getProcAddress in GLESv1."
* commit '407faf4c6d095ab62f6911d892d5299782ff85a2':
  emulator opengl: implemented getProcAddress in GLESv1.
2011-06-20 09:04:50 -07:00
David Turner
85f7ec006c am bf2d789d: am 52ae291a: Merge "emulator opengl: system GLESv1 first commit."
* commit 'bf2d789d0df46a055637148dd4d0792cce5c428a':
  emulator opengl: system GLESv1 first commit.
2011-06-20 09:04:46 -07:00
David Turner
4a47a38b58 am cd108d55: Merge "emulator opengl: Small change to support more surface attributes"
* commit 'cd108d55f4b1c7370d8903df957d8014f8957ae5':
  emulator opengl: Small change to support more surface attributes
2011-06-20 08:48:09 -07:00
David Turner
5d4b1f5042 am c4b10a54: Merge "emulator opengl: Added glFinishRoundTrip implementation."
* commit 'c4b10a544f211fa311bf392a0f5bfb8fa9629820':
  emulator opengl: Added glFinishRoundTrip implementation.
2011-06-20 08:47:59 -07:00
David Turner
407faf4c6d am b9cbdec5: Merge "emulator opengl: implemented getProcAddress in GLESv1."
* commit 'b9cbdec58ed9a5d78645fb200e58a8f32f59381b':
  emulator opengl: implemented getProcAddress in GLESv1.
2011-06-20 08:47:57 -07:00
David Turner
bf2d789d0d am 52ae291a: Merge "emulator opengl: system GLESv1 first commit."
* commit '52ae291af5bd69287bd6127fda9d3a72282768ee':
  emulator opengl: system GLESv1 first commit.
2011-06-20 08:47:52 -07:00
David Turner
cd108d55f4 Merge "emulator opengl: Small change to support more surface attributes" 2011-06-20 06:55:19 -07:00
David Turner
c4b10a544f Merge "emulator opengl: Added glFinishRoundTrip implementation." 2011-06-20 06:37:37 -07:00
David Turner
b9cbdec58e Merge "emulator opengl: implemented getProcAddress in GLESv1." 2011-06-20 06:28:56 -07:00
David Turner
52ae291af5 Merge "emulator opengl: system GLESv1 first commit." 2011-06-20 06:12:18 -07:00
Brett Chabot
c89b3dd6ef Add layoutlib-tests to sdk build.
Change-Id: I20140b367d4f66d1b42d167c0f63f8b3df3e85ef
2011-06-17 18:38:21 -07:00
Gilles Debunne
d318f21b4b Merge "XmlAdapters sample example no longer depends on hidden XmlDocumentProvider" 2011-06-17 11:08:00 -07:00
David 'Digit' Turner
a21ef2b154 sdk: Ensure we copy build.prop to platform image directory.
This patch ensures that we copy the generated build.prop file to
the platform image directory. This file will later be used by the
emulator and other tools to determine various properties of the
image without having to parse the system.img file.

For example, this can be used to extract the target CPU architecture
and/or ABI, and automatically adjust emulation based on this.

Change-Id: Ia5b67c6fb93078b6b224b10e3322af88b99c50b9
2011-06-17 18:01:22 +02:00
Liran
163235e504 opengl translator: fix eglGetConfigAttrib
fix renderable type parameter for eglconfig

Change-Id: Iac1d782cc37b0c7055bb90109a17583b84e6e6e3
2011-06-17 18:16:46 +03:00
Liran
ac7987ee84 opengl translator: conformance fixes
- fix destructor of eglcontext to delete its share group if needed
- fix available eglconfigs not to choose configs with BUFFER_SIZE=0
  or configs which do not support RGBA
- fix conformant bit on eglconfig
- fix typo in glBindBuffer
- fix glVertexAttribPointer to send correct offset to GL with vbo

Change-Id: I69d980407a40cb371ec62c5c883e4190bdcfce72
2011-06-17 18:16:46 +03:00
Stas Gurtovoy
de40cd3cc8 emulator opengl: Small change to support more surface attributes
Change-Id: I14d630d50c8505dabcd065e6187bd6d6509c312b
2011-06-17 17:27:19 +03:00
Stas Gurtovoy
a6882bf79d emulator opengl: Added glFinishRoundTrip implementation.
This is to allow glFinish to wait for the host render to finish.

Change-Id: I43e23aee19700b79bc70c89e791df180c6c1fb91
2011-06-17 17:27:19 +03:00
Stas Gurtovoy
903945c963 emulator opengl: implemented getProcAddress in GLESv1.
Also changed emugen to generates gl_ftable.h needed for
getProcAddress implementation.
Added not_api attrib to emugen's gl.attrib to exclude from the
generated ftable.

Change-Id: I03786ea5d5a640bbcf5efccadca5bf2ec3e09fca
2011-06-17 17:27:15 +03:00
Stas Gurtovoy
d32c2d9633 emulator opengl: system GLESv1 first commit.
This is the first commit for the GLESv1 implementation.
It also includes needed fixes in emugen to support const types.
Also, changed glFinish definition in gl.in to match the
definition as in gl.h.

Change-Id: I90262a1db6035a90af8db17984acecef6499847a
2011-06-17 17:18:45 +03:00
David Turner
cb676256b3 am 7cf38dfb: am b9d0cbb8: am 9a004971: am b7caa30b: Merge "emulator opengl: implement eglChooseConfig functionality."
* commit '7cf38dfb292fecba79f02ad7e2be26a83a308fb4':
  emulator opengl: implement eglChooseConfig functionality.
2011-06-17 05:24:30 -07:00
David Turner
7cf38dfb29 am b9d0cbb8: am 9a004971: am b7caa30b: Merge "emulator opengl: implement eglChooseConfig functionality."
* commit 'b9d0cbb8d5b2150480fdedef1f41fe133a400876':
  emulator opengl: implement eglChooseConfig functionality.
2011-06-17 05:22:26 -07:00
David Turner
b9d0cbb8d5 am 9a004971: am b7caa30b: Merge "emulator opengl: implement eglChooseConfig functionality."
* commit '9a004971397c6f9da3691dcde1031e04fc75855e':
  emulator opengl: implement eglChooseConfig functionality.
2011-06-17 05:19:51 -07:00
David Turner
9a00497139 am b7caa30b: Merge "emulator opengl: implement eglChooseConfig functionality."
* commit 'b7caa30ba29c81389a51f7d0ce38e7b89dd24367':
  emulator opengl: implement eglChooseConfig functionality.
2011-06-17 05:17:54 -07:00
David Turner
b7caa30ba2 Merge "emulator opengl: implement eglChooseConfig functionality." 2011-06-17 05:13:41 -07:00
David Turner
b995f447cf am 9872711d: am 338504e1: am a569aede: am aa77b777: Merge "emulator opengl: some system egl fixes after a review."
* commit '9872711d3ee7ccf44b1dcfa2e0087cd5be2f91bd':
  emulator opengl: some system egl fixes after a review.
2011-06-17 04:48:47 -07:00
David Turner
4fe3bee359 am b5afb43c: am 7c5ec4fa: am 3d411f51: am c39872ac: Merge "emulator opengl: moved gralloc buffer handle struct to be shared."
* commit 'b5afb43ccae21ba64595947d32ef23c091f7b1d5':
  emulator opengl: moved gralloc buffer handle struct to be shared.
2011-06-17 04:48:40 -07:00
David Turner
9872711d3e am 338504e1: am a569aede: am aa77b777: Merge "emulator opengl: some system egl fixes after a review."
* commit '338504e1e7965ed8bd2986c21b1aa3d2c641a535':
  emulator opengl: some system egl fixes after a review.
2011-06-17 04:46:19 -07:00
David Turner
b5afb43cca am 7c5ec4fa: am 3d411f51: am c39872ac: Merge "emulator opengl: moved gralloc buffer handle struct to be shared."
* commit '7c5ec4fa11ddd4a735baa379fd5ad3051e928d79':
  emulator opengl: moved gralloc buffer handle struct to be shared.
2011-06-17 04:46:10 -07:00
David Turner
338504e1e7 am a569aede: am aa77b777: Merge "emulator opengl: some system egl fixes after a review."
* commit 'a569aedecf988b121055bc96957136e5517560dd':
  emulator opengl: some system egl fixes after a review.
2011-06-17 04:43:22 -07:00
David Turner
7c5ec4fa11 am 3d411f51: am c39872ac: Merge "emulator opengl: moved gralloc buffer handle struct to be shared."
* commit '3d411f51d5993aadeba22cedebe88317a387dc3b':
  emulator opengl: moved gralloc buffer handle struct to be shared.
2011-06-17 04:43:19 -07:00
David Turner
a569aedecf am aa77b777: Merge "emulator opengl: some system egl fixes after a review."
* commit 'aa77b7776e6e86140f8112764d758dd426b71803':
  emulator opengl: some system egl fixes after a review.
2011-06-17 04:40:20 -07:00
David Turner
3d411f51d5 am c39872ac: Merge "emulator opengl: moved gralloc buffer handle struct to be shared."
* commit 'c39872ac6bc57ed702ab2b111987f671844779b0':
  emulator opengl: moved gralloc buffer handle struct to be shared.
2011-06-17 04:40:15 -07:00
David Turner
aa77b7776e Merge "emulator opengl: some system egl fixes after a review." 2011-06-17 04:24:53 -07:00
David Turner
c39872ac6b Merge "emulator opengl: moved gralloc buffer handle struct to be shared." 2011-06-17 04:24:42 -07:00
Dianne Hackborn
2a5f96547c am 712e6c2d: am e5062a33: am 102041a8: SDK only: add documentation tags.
* commit '712e6c2d2ea1f83ea3e339e8e875d4b25edeca6c':
  SDK only: add documentation tags.
2011-06-16 15:00:19 -07:00
Dianne Hackborn
712e6c2d2e am e5062a33: am 102041a8: SDK only: add documentation tags.
* commit 'e5062a33a9714a1cd81efaef3924cac2687ee4f8':
  SDK only: add documentation tags.
2011-06-16 14:57:28 -07:00
Dianne Hackborn
e5062a33a9 am 102041a8: SDK only: add documentation tags.
* commit '102041a8bc4ebca69c20f5d281a96a904c52d4c8':
  SDK only: add documentation tags.
2011-06-16 14:52:21 -07:00