Commit Graph

50595 Commits

Author SHA1 Message Date
Aravind Akella
d9441e4c27 Surface maxDelay and isWakeUpSensor flag in Sensor.java.
Change-Id: Idd1e9045190beeca87b086b272e8cbf0bed05bae
2014-05-23 18:58:01 -07:00
Etienne Le Grand
630e31d6ed Add heart rate to ASensorEvent
Change-Id: Ic82838b17a575de93d499e44a454bb382f17678f
2014-05-23 12:35:10 -07:00
Aravind Akella
72c524dd8c am 040730e8: am 1236710b: Remove getRequiredPermission from NDK.
* commit '040730e8954b2f686390434646f82bc333de7058':
  Remove getRequiredPermission from NDK.
2014-05-23 18:04:27 +00:00
Dan Stoza
c18790018b SurfaceFlinger: Add sourceCrop to screenshot
Adds a sourceCrop Rect parameter to screenshot commands, which allows
clients to capture only a portion of the screen instead of the whole
screen.

Bug: 15137922
Change-Id: I629447573cd34ffb96334cde7ba02490b9ea06d8
2014-05-23 09:19:03 -07:00
Aravind Akella
040730e895 am 1236710b: Remove getRequiredPermission from NDK.
* commit '1236710bccd8f5870c0281e24a899c3d58f708e6':
  Remove getRequiredPermission from NDK.
2014-05-22 22:44:55 +00:00
Santos Cordon
9bf29a81df Merge "Allow "telecomm" service to be registered with the phone UID." 2014-05-22 21:21:29 +00:00
Aravind Akella
1236710bcc Remove getRequiredPermission from NDK.
Change-Id: Ic967adde89f30261c75fca67c09d14d35bd1cdb3
2014-05-22 13:19:49 -07:00
The Android Automerger
cfe99e79a6 merge in master-release history after reset to 102a072d90 2014-05-22 07:22:05 -07:00
The Android Automerger
30fc16db37 merge in master-release history after reset to fca1b54031 2014-05-22 05:50:26 -07:00
Santos Cordon
3fb4de7193 Allow "telecomm" service to be registered with the phone UID.
Change-Id: I9180797451dcb2e9029b20bed47f5d5cb8cddb9f
2014-05-21 22:59:41 -07:00
Jesse Hall
102a072d90 Merge "opengl: Fix include style in generated JNI code" 2014-05-22 04:43:19 +00:00
Jesse Hall
72aa92381a Merge "opengl: Un-hide GLES31 and GLES31Ext classes" 2014-05-22 04:42:20 +00:00
Jesse Hall
6487b67d8e Merge "opengl: Add GLES31 and GLES31Ext class templates" 2014-05-22 04:41:54 +00:00
Jesse Hall
fca1b54031 opengl: Regenerate code with ES 3.1 and new extensions
Enable ES 3.1 generation in glgen.py, and regenerate everything to add
support for that as well as these new extensions in the registry:
- EXT_copy_image
- EXT_draw_buffers_indexed
- EXT_geometry_shader
- EXT_gpu_shader5
- EXT_primitive_bounding_box
- EXT_shader_implicit_conversions
- EXT_shader_io_blocks
- EXT_tessellation_shader
- EXT_texture_border_clamp
- EXT_texture_buffer
- EXT_texture_cube_map_array
- EXT_texture_view

Bug: 15028495
Change-Id: I3f45a7ef5367c70e54ce6b36a8c030ae11033434
2014-05-21 15:32:23 -07:00
Jesse Hall
d6061de255 opengl: Add EXT_primitive_bounding_box to registry
This extension hasn't been published yet, so it isn't in the public
registry. That will change before the next platform release to AOSP.

Bug: 15028495
Change-Id: I3f8ac50e6a7f782738518cfd4571b07f94f83c49
2014-05-21 15:24:38 -07:00
Jesse Hall
3667e33862 opengl: Update registry and headers from Khronos
gl.xml @ r26697:
https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api

GLES headers @ r26698:
https://cvs.khronos.org/svn/repos/registry/trunk/public/gles/api

Bug: 15028495
Change-Id: I57e0d8caac2bc2edb10c8252e06ffdb9a5ccf48b
2014-05-21 15:12:42 -07:00
Jesse Hall
0a4d08e560 Merge "opengl: Update GLES headers and generate *.in from registry XML" 2014-05-21 22:03:44 +00:00
Jesse Hall
3703f7f014 opengl: Update GLES headers and generate *.in from registry XML
Import GLES headers from Khronos SVN r26322:
https://cvs.khronos.org/svn/repos/registry/trunk/public/gles/api

There are many non-functional whitespace and parameter name changes
included here. These were introduced upstream when converting from the
old .spec registry to the new XML registry.

There are also some new extensions added. Unfortunately there isn't a
version of the XML that matches the headers the previous versions of
the *.in files were generated from, so I can't separate out the
non-functional changes from the new extensions (other than temporarily
hacking them out of the XML). See below for a list.

Finally, I had to hack the official glext.h. Khronos hasn't updated
the official GLES1 headers since switching to the XML registry, and
there is one critical difference: a "const void**" parameter in the
official header is "const void* const*" in the registry. I changed the
header to avoid build errors with code generated from the registry.

Dependencies on the *.in files required manually updating some
GLES_trace/ files as well:

- gltrace_api.{h,cpp} must be manually re-generated using
  tools/genapi.py.
- New GL prototypes must be manually added to gltrace.proto.
- gltrace.pb.{h,cpp} must be regenerated using aprotoc (see dev.make)

New GLES extensions in libs/GLES_CM/glext_api.in:
- GL_OES_byte_coordinates
- GL_EXT_map_buffer_range
- GL_APPLE_copy_texture_levels
- GL_APPLE_sync

New GLES2 extensions in libs/GLES2/gl2ext_api.in:
- GL_KHR_blend_equation_advanced
- GL_KHR_debug
- GL_OES_sample_shading
- GL_OES_texture_storage_multisample_2d_array
- GL_EXT_disjoint_timer_query
- GL_EXT_draw_buffers
- GL_EXT_draw_instanced
- GL_EXT_instanced_arrays
- GL_EXT_map_buffer_range
- GL_EXT_map_buffer_range
- GL_EXT_multiview_draw_buffers
- GL_EXT_separate_shader_objects
- GL_ANGLE_instanced_arrays
- GL_ANGLE_translated_shader_source
- GL_APPLE_copy_texture_levels
- GL_APPLE_sync
- GL_INTEL_performance_query
- GL_NV_blend_equation_advanced
- GL_NV_copy_buffer
- GL_NV_draw_instanced
- GL_NV_framebuffer_blit
- GL_NV_framebuffer_multisample
- GL_NV_instanced_arrays
- GL_NV_non_square_matrices

Bug: 15028495
Change-Id: I902517c23354e14f9c63b1584db286d682315bb5
2014-05-21 14:58:00 -07:00
The Android Automerger
5462979df4 merge in master-release history after reset to b9e879d429 2014-05-21 05:50:22 -07:00
Jeff Brown
b9e879d429 Merge "Support VIRTUAL flag in keyboard layouts." 2014-05-21 02:34:36 +00:00
Jeff Brown
5a7d2f9a15 Support VIRTUAL flag in keyboard layouts.
This flag is used to provide haptic feedback for virtual hard keys.

Bug: 14319563
Change-Id: Ia0ca1acc8cfa00a42d1c04d279dfa59c6cc00f4d
2014-05-20 17:29:30 -07:00
Andy McFadden
f79fcdb19a Merge "Add IMPLEMENTATION_DEFINED to dump" 2014-05-20 22:29:49 +00:00
Jesse Hall
df7d661533 Merge "Revert "Update GLES headers from Khronos SVN r26322"" 2014-05-20 21:59:37 +00:00
Jesse Hall
2b2ac21078 Revert "Update GLES headers from Khronos SVN r26322"
This reverts commit 20670e33c7.

Change-Id: Iae3dfbaf852ff1b6906af1d5508c2baf1173b481
2014-05-20 21:59:29 +00:00
Jesse Hall
f1186d5853 Merge "Revert "opengl: Generate *.in from registry XML"" 2014-05-20 21:38:55 +00:00
Jesse Hall
0b96e6c44b Revert "opengl: Generate *.in from registry XML"
This reverts commit 4a73962c69.

Change-Id: I1fa5cbe4d0b86f6df69d616157b3fec68d706d7a
2014-05-20 21:38:44 +00:00
Jesse Hall
e585fddf31 Merge "Revert "opengl: Update registry and headers from Khronos"" 2014-05-20 21:37:34 +00:00
Jesse Hall
9cb36d8e83 Merge "Revert "opengl: Add EXT_primitive_bounding_box to registry"" 2014-05-20 21:29:48 +00:00
Jesse Hall
d934836ab9 Merge "Revert "opengl: Regenerate code with ES 3.1 and new extensions"" 2014-05-20 21:29:27 +00:00
Jesse Hall
6e356a9173 Revert "opengl: Update registry and headers from Khronos"
This reverts commit f466a51c13.

Change-Id: I2fe400e2dab8327695c36dc8eed101654368cd4b
2014-05-20 21:27:40 +00:00
Jesse Hall
959b90bad9 Revert "opengl: Add EXT_primitive_bounding_box to registry"
This reverts commit a66730f787.

Change-Id: Idc7b589316f95ca48eced9d1c30c56acd9466410
2014-05-20 21:27:28 +00:00
Jesse Hall
fe3b15a5b0 Revert "opengl: Regenerate code with ES 3.1 and new extensions"
This reverts commit 6cb7d3dc9f.

Change-Id: I2eb7fd721dda9c14a0bfcef1b1c9d9843bbec94b
2014-05-20 21:27:17 +00:00
Jesse Hall
391109083f opengl: Fix include style in generated JNI code
Bug: 15028495
Change-Id: Ie38d398751a374f11bef8944a2aa0f8311934911
2014-05-20 13:31:05 -07:00
Jesse Hall
0232d3d11c opengl: Un-hide GLES31 and GLES31Ext classes
Bug: 15028495
Change-Id: Iaac1e8d2ad5ea840d728a78804e2566be18a4340
2014-05-20 13:31:05 -07:00
Jesse Hall
16f0392874 opengl: Add GLES31 and GLES31Ext class templates
Bug: 15028495
Change-Id: I276d04f029d441e092428fad72f09ca15e1d233a
2014-05-20 13:31:05 -07:00
Andy McFadden
f0058ca0e5 Add IMPLEMENTATION_DEFINED to dump
The "dumpsys SurfaceFlinger" output shows pixel formats in
human-readable form now.  Add IMPLEMENTATION_DEFINED.

Change-Id: If567e34dad4b940fbfb4d0b70c65f6ab8cd5f5e7
2014-05-20 13:28:50 -07:00
Jesse Hall
26d82dd0ab Merge "opengl: Regenerate code with ES 3.1 and new extensions" 2014-05-20 18:42:20 +00:00
Jesse Hall
c1eef76d2c Merge "opengl: Add EXT_primitive_bounding_box to registry" 2014-05-20 18:39:52 +00:00
Jesse Hall
481b5ebb90 Merge "opengl: Update registry and headers from Khronos" 2014-05-20 18:39:32 +00:00
Jesse Hall
eb6e4cc81c Merge "opengl: Generate *.in from registry XML" 2014-05-20 18:39:16 +00:00
Jesse Hall
aa986dd171 Merge "Update GLES headers from Khronos SVN r26322" 2014-05-20 18:38:48 +00:00
Ben Murdoch
ec7cbdfe41 am 2bb7438c: am c210aec4: Merge "Add android.software.webview software feature." into klp-modular-dev
* commit '2bb7438c8ef1b4f09063250d5efe6dc98c10bdd7':
  Add android.software.webview software feature.
2014-05-20 17:30:21 +00:00
The Android Automerger
00e1b85256 merge in master-release history after reset to ca2fbf6982 2014-05-20 05:50:10 -07:00
Ben Murdoch
2bb7438c8e am c210aec4: Merge "Add android.software.webview software feature." into klp-modular-dev
* commit 'c210aec479e2e3e2a5e7f355f28fe9625a23f707':
  Add android.software.webview software feature.
2014-05-20 09:35:34 +00:00
Ben Murdoch
c210aec479 Merge "Add android.software.webview software feature." into klp-modular-dev 2014-05-20 09:31:59 +00:00
Jinsuk Kim
ca2fbf6982 Merge "New keycode definitions for HDMI-CEC" 2014-05-20 00:34:06 +00:00
Jesse Hall
0abc6e904a Merge "Import GL registry from upstream @r26448." 2014-05-19 23:49:07 +00:00
Jesse Hall
42defc1af7 Merge "Remove vestigial remnants of GLES2_dbg" 2014-05-19 23:48:54 +00:00
Jesse Hall
c8fc3a49a2 Merge "Disable warnings when generating GL wrappers" 2014-05-19 23:48:41 +00:00
Jesse Hall
544198338f Merge "Rationalize GLES2/3 .in files." 2014-05-19 23:48:33 +00:00