Jesse Hall
25902c0540
am f37a7ed6: GLES translator: don\'t delete EGLImage textures
...
* commit 'f37a7ed6c5c609a3afc33f81bf50893362917ae6':
GLES translator: don't delete EGLImage textures
2011-11-22 15:37:32 -08:00
Jesse Hall
f25dc0f673
am faaf1553: EmuGL: set texture info from EGLImage
...
* commit 'faaf1553cfa39c23ceb198ba7edbd46ff3a11f7a':
EmuGL: set texture info from EGLImage
2011-11-22 15:37:31 -08:00
Vladimir Chtchetkine
6f00e7fc48
Update supported frame sizes for fake camera
...
Camera framework requires 352x288, and 320x240 frames for video preview and video
recording. If these dimensions are missing in camera properties the camera app
may abort when entering video mode, or start video recording.
Also truned off switching fake frames, leaving only the checker board.
Change-Id: I63d145c967f1ba83992141ec97700f094a9d53a7
2011-11-22 15:15:57 -08:00
Jesse Hall
af4f66be50
EmuGL: implement OES_EGL_image_external for GLESv1
...
GLESv2 support will come in a followup change but will take advantage
of the GLClientState changes.
Change-Id: Ib6cbb4dafbd071e3b59b1e5d808b3e23656ada92
2011-11-21 13:47:49 -08:00
Jesse Hall
f37a7ed6c5
GLES translator: don't delete EGLImage textures
...
When remapping a GLES texture to a different GL texture in
glEGLImageTargetTexture2DOES(), the GLES texture's previous GL texture was
deleted unconditionally. This is bad when it came from an EGLImage and is
therefore owned by (and will continue to be used by) some other object.
The code now skips deleting the old GL texture if it came from an EGLImage.
This mirrors the logic in glDeleteTextures().
Change-Id: I5b650334a7019d824517c2915b1f23961fbbd809
2011-11-21 13:14:19 -08:00
Jean-Baptiste Queru
2cb7d006ac
am 189281a7: am 8dca56ba: Add missing -lX11 on the link line.
...
* commit '189281a755ef5df5d16be0b94dd3e71059f28e92':
Add missing -lX11 on the link line.
2011-11-18 15:23:15 -08:00
Jesse Hall
faaf1553cf
EmuGL: set texture info from EGLImage
...
The EGL->GL translator implementation of glEGLImageTargetTexture2DOES was
properly replacing uses of the target texture object with the texture object
associated with the EGLImage in the host GL library, but wasn't updating its
own info about the texture (dimensions, etc.). This broke places where the
translator relied on knowing this, e.g. when implementing the GLES glDrawTexi
call on top of GL glDrawArrays.
Change-Id: Ia4aefd89852a2609221c56da76bfac927464c0b2
2011-11-18 14:11:49 -08:00
Jean-Baptiste Queru
189281a755
am 8dca56ba: Add missing -lX11 on the link line.
...
* commit '8dca56ba8d98c40fee0e6d547a49b0f7325efffc':
Add missing -lX11 on the link line.
2011-11-18 13:50:33 -08:00
Jean-Baptiste Queru
8dca56ba8d
Add missing -lX11 on the link line.
...
Change-Id: I881c1740bc6ae3a4086f6a400b5d0b9973b61a78
2011-11-18 12:08:39 -08:00
James Dong
43a67b48c2
am b62c5b91: am f8781452: Update the media_profiles.xml file to include maximum memory usage support for video editor
...
* commit 'b62c5b9156d589ea8aaa6c441530b2ef371f1915':
Update the media_profiles.xml file to include maximum memory usage support for video editor
2011-11-17 07:48:19 -08:00
James Dong
f8781452d9
Update the media_profiles.xml file to include maximum memory usage support for video editor
...
Change-Id: I26eacaaca76b72fc5a43ee8fabacf62060418edd
related-to-bug: 5625690
2011-11-16 14:37:49 -08:00
Mathias Agopian
3170096834
am b81d6b19: am fb305664: Merge "should fix sdk build" into ics-mr1
...
* commit 'b81d6b19ecd1cba24bb1093855b4b2c423de36bf':
should fix sdk build
2011-11-15 21:15:56 -08:00
Mathias Agopian
9c14396791
should fix sdk build
...
Change-Id: I5b403056f5245eae9a6476d9d573a3b1c25ea0c6
2011-11-15 21:09:15 -08:00
Vladimir Chtchetkine
50ab613ece
Fix temperature sensor
...
Change-Id: I4cc1264f4437172e78b38ce394e4dd005ad1a59f
2011-11-09 18:02:21 -08:00
David Hu
9bc092f5b1
Change the test to user the listener mechanism
...
this is to avoid the precision issue with the coordinates
DO NOT MERGE
Change-Id: Icfab3fa6fd0a331aef12ee71c73bac04dc9685be
2011-11-08 14:43:36 -08:00
David Hu
63e5983c9b
Merge "Change the test to user the listener mechanism"
2011-11-02 20:11:20 -07:00
David Hu
acf95539c3
Change the test to user the listener mechanism
...
this is to avoid the precision issue with the coordinates
Change-Id: Icfab3fa6fd0a331aef12ee71c73bac04dc9685be
2011-11-02 17:01:23 -07:00
Steve Block
629719e390
Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE
...
See https://android-git.corp.google.com/g/#/c/143865
Bug: 5449033
Change-Id: Iad3a485eed0dc273d66607d30a7b9b79b02c03b6
2011-10-25 18:24:59 +01:00
Eddy Talvala
e53a773396
Merge "Added white balance settings to the camera Emulator."
2011-10-24 09:41:20 -07:00
Christine Chen
12c0b21abe
Added white balance settings to the camera Emulator.
...
- Added the white balance control to the fake camera.
Change-Id: I5ada253a3ae7195ca5625a3601c9e4ed819fa2cc
2011-10-20 17:49:35 -07:00
David 'Digit' Turner
a8f182c105
Merge "emulator: opengl: add design document for emulation implementation."
2011-10-19 10:14:13 -07:00
David 'Digit' Turner
aafffde798
Merge "emulator: opengl: minor fix and reformatting"
2011-10-19 10:13:55 -07:00
David 'Digit' Turner
0e205e6d6e
emulator: opengl: minor fix and reformatting
...
This patches fixes a minor invalid usage of delete (instead of delete[])
and reformats the source code a little to make it more obvious.
Change-Id: If853d12e74549abcc6682430c837b0f14da81fdc
2011-10-19 17:54:20 +02:00
David 'Digit' Turner
fb2ddf9347
emulator: opengl: add design document for emulation implementation.
...
This patch adds a rather extensive document explaining the design
of our OpenGLES emulation, both on the guest and the host.
Change-Id: I13cf1eac21e5a8a0be170b5f90100b04f9ae6d75
2011-10-19 16:43:24 +02:00
Vladimir Chtchetkine
f7f6886820
Cherry picked from c9a94b0f in master. Do not merge.
...
Implement CAMERA_MSG_PREVIEW_FRAME callback
Also does better work detecting pixel format for video frames, depending on the
mode that camera is intended to be operated with.
Change-Id: Idb2dfc7c0a79e81eff58f83a14af769afc713096
2011-10-18 12:32:24 -07:00
Vladimir Chtchetkine
caa1aeafba
Implement CAMERA_MSG_PREVIEW_FRAME callback
...
Also does better work detecting pixel format for video frames, depending on the
mode that camera is intended to be operated with.
Change-Id: I352204b8d6d1a9e7857d77b6363de2bb5d5db0dd
2011-10-17 12:56:54 -07:00
Christine Chen
366396d9b0
Added exposure compensation control for the fake camera.
...
Change-Id: I10bc16d9d521f82e12ff335eed29465ac08b5595
2011-10-14 15:14:36 -07:00
Xavier Ducrohet
faa85e4d5b
Make the VXGA720 skin indicate no hw back/home keys.
...
Change-Id: Iea7121903e75275849f0bcc2ecbc533aa37c3971
2011-10-04 10:51:37 -07:00
Xavier Ducrohet
8a585470c5
Add 1280x720@320dpi skin.
...
Also tweak some skins to provide more ram to the emulator
for better performance.
Change-Id: I89dcdb7a6a78d95132820db284c1fdfb6f82c6db
2011-10-03 20:27:07 -07:00
David 'Digit' Turner
b8b0bacb8c
am 7b2cacb4: am 76f63551: am 894a63dd: emulator: opengl: Add custom_write optimization to encoder.
...
* commit '7b2cacb4523bc564321d0726c8b53b72f6b1c562':
emulator: opengl: Add custom_write optimization to encoder.
2011-09-28 04:46:47 -07:00
David 'Digit' Turner
c11d87d30a
am 5127bebf: am 8790e10a: am 5d7f0875: emulator: opengl: \'large\' buffer optimization
...
* commit '5127bebff8d3848c96749d80c8c4ad79fc88bb54':
emulator: opengl: 'large' buffer optimization
2011-09-28 04:46:46 -07:00
David 'Digit' Turner
7dc4d98eb6
am 175512d4: am 5d2e245d: am e72ed049: emulator: opengl: improve gralloc debug traces
...
* commit '175512d4aba36f5e5be9a12dca64cc27d159ec98':
emulator: opengl: improve gralloc debug traces
2011-09-28 04:46:45 -07:00
David 'Digit' Turner
640cf6988b
am 81488f05: am ac6c7392: am 9a6c0287: emulator: opengl: fix inccorect delete usage.
...
* commit '81488f055f5a2bd7e5307a0e16d5ff924baf566e':
emulator: opengl: fix inccorect delete usage.
2011-09-28 04:46:45 -07:00
David 'Digit' Turner
bb1e135697
am f90030a9: am 0bf9070e: am 6aca3d9f: emulator: opengl: add missing EGLDisplay destructor
...
* commit 'f90030a9bf63d47840c88c6f8022bc0a903df9dd':
emulator: opengl: add missing EGLDisplay destructor
2011-09-28 04:46:42 -07:00
David 'Digit' Turner
0426ac51b5
am 5703f4d9: am 81ee5461: am 8abfab1b: emulator: opengl: make internal tables const.
...
* commit '5703f4d9ec04f5e774f8cb154af7fd087bebfffd':
emulator: opengl: make internal tables const.
2011-09-28 04:46:37 -07:00
David 'Digit' Turner
7b2cacb452
am 76f63551: am 894a63dd: emulator: opengl: Add custom_write optimization to encoder.
...
* commit '76f63551d36b1de63c63f357e5f0646ed8c306bb':
emulator: opengl: Add custom_write optimization to encoder.
2011-09-28 04:41:09 -07:00
David 'Digit' Turner
5127bebff8
am 8790e10a: am 5d7f0875: emulator: opengl: \'large\' buffer optimization
...
* commit '8790e10a7f27b0e364605f5ef48bb22fb078b4b0':
emulator: opengl: 'large' buffer optimization
2011-09-28 04:41:08 -07:00
David 'Digit' Turner
175512d4ab
am 5d2e245d: am e72ed049: emulator: opengl: improve gralloc debug traces
...
* commit '5d2e245d760c7e100a657e408686def677e1ff0c':
emulator: opengl: improve gralloc debug traces
2011-09-28 04:41:07 -07:00
David 'Digit' Turner
81488f055f
am ac6c7392: am 9a6c0287: emulator: opengl: fix inccorect delete usage.
...
* commit 'ac6c73921cb03f6785457700b7d349158fcb6902':
emulator: opengl: fix inccorect delete usage.
2011-09-28 04:41:06 -07:00
David 'Digit' Turner
f90030a9bf
am 0bf9070e: am 6aca3d9f: emulator: opengl: add missing EGLDisplay destructor
...
* commit '0bf9070ec5ddea4e4c048e4c5a5eaf25ed2c0b7a':
emulator: opengl: add missing EGLDisplay destructor
2011-09-28 04:41:05 -07:00
David 'Digit' Turner
5703f4d9ec
am 81ee5461: am 8abfab1b: emulator: opengl: make internal tables const.
...
* commit '81ee546174830e039bb523eec6139eb99e77a45e':
emulator: opengl: make internal tables const.
2011-09-28 04:41:03 -07:00
David 'Digit' Turner
76f63551d3
am 894a63dd: emulator: opengl: Add custom_write optimization to encoder.
...
* commit '894a63dd6eb8a1c675c21a8a10eff8c0118890c8':
emulator: opengl: Add custom_write optimization to encoder.
2011-09-28 04:28:52 -07:00
David 'Digit' Turner
8790e10a7f
am 5d7f0875: emulator: opengl: \'large\' buffer optimization
...
* commit '5d7f0875e9cda2d6ab37b49f0b6ceed8f0d16f45':
emulator: opengl: 'large' buffer optimization
2011-09-28 04:28:51 -07:00
David 'Digit' Turner
5d2e245d76
am e72ed049: emulator: opengl: improve gralloc debug traces
...
* commit 'e72ed049a890da6883b0de09a2263b88b648391a':
emulator: opengl: improve gralloc debug traces
2011-09-28 04:27:22 -07:00
David 'Digit' Turner
ac6c73921c
am 9a6c0287: emulator: opengl: fix inccorect delete usage.
...
* commit '9a6c02877a128a0236377ee21b78767faa50ad83':
emulator: opengl: fix inccorect delete usage.
2011-09-28 04:27:21 -07:00
David 'Digit' Turner
0bf9070ec5
am 6aca3d9f: emulator: opengl: add missing EGLDisplay destructor
...
* commit '6aca3d9f7c8e637ec253ca1d501d8b91d3e63770':
emulator: opengl: add missing EGLDisplay destructor
2011-09-28 04:27:20 -07:00
David 'Digit' Turner
81ee546174
am 8abfab1b: emulator: opengl: make internal tables const.
...
* commit '8abfab1baf04ebd57f8eff74485b746d56368014':
emulator: opengl: make internal tables const.
2011-09-28 04:27:14 -07:00
Vladimir Chtchetkine
e466a63ab4
Include correct endian.h file
...
Apparently including sys/endian.h directly produces uninitialized endianness macros.
Should include target CPU-dependent header instead.
Change-Id: Ib16f0470d27baa085bf1675a403c02efa6f994c4
2011-09-27 15:41:12 -07:00
David 'Digit' Turner
009a020ce9
resolved conflicts for merge of 944b4f80 to master
...
Change-Id: I83f38f345caa456466d86e46f4f3c94721b7ebd1
2011-09-27 21:27:20 +02:00
Vladimir Chtchetkine
1bc31fe7e0
Some minor polishing.
...
Change-Id: I2e8f2bf3671e9676f115aaa894684618087e979d
2011-09-23 14:41:46 -07:00