Commit Graph

49298 Commits

Author SHA1 Message Date
Mathias Agopian
9b7176b428 am d213910a: am 9b5534b0: Merge changes I8283a989,I64add89a into klp-dev
* commit 'd213910ab0acc956ee66bd3a0079a6393e7c695c':
  switch to use mat4
  vector and matrix classes for graphics use
2013-08-30 18:33:08 -07:00
Mathias Agopian
d213910ab0 am 9b5534b0: Merge changes I8283a989,I64add89a into klp-dev
* commit '9b5534b0e5e1510f56e6a2c58ad0816167603ebd':
  switch to use mat4
  vector and matrix classes for graphics use
2013-08-30 18:31:38 -07:00
Mathias Agopian
9b5534b0e5 Merge changes I8283a989,I64add89a into klp-dev
* changes:
  switch to use mat4
  vector and matrix classes for graphics use
2013-08-31 01:30:10 +00:00
Jesse Hall
83ae7708cd am 2d28c372: am 87967c18: Merge "Force async behavior for the virtual display output BufferQueue" into klp-dev
* commit '2d28c37269ca55b2be896ca67271994ebbc2bc84':
  Force async behavior for the virtual display output BufferQueue
2013-08-30 14:25:07 -07:00
Jesse Hall
2d28c37269 am 87967c18: Merge "Force async behavior for the virtual display output BufferQueue" into klp-dev
* commit '87967c186995d1500875c495cba8f04f7cff76cc':
  Force async behavior for the virtual display output BufferQueue
2013-08-30 14:19:13 -07:00
Jesse Hall
87967c1869 Merge "Force async behavior for the virtual display output BufferQueue" into klp-dev 2013-08-30 21:14:55 +00:00
Rom Lemarchand
b3fb0ae7fd fix incorrect aspect ratio label
2048x1536 was labeled as 3:2 when it is 4:3.

Change-Id: I981af139ba3d1c6f111772aeaccf95c679999370
2013-08-29 16:19:18 -07:00
Jesse Hall
8db92553e9 Force async behavior for the virtual display output BufferQueue
Bug: 10551087
Change-Id: I40bbb2b87d64420939a0ea309254f281437dab56
2013-08-29 16:09:11 -07:00
Mathias Agopian
aa62c663b7 am bf5e8b63: am 19733a32: minor clean-up of the GLESRenderer
* commit 'bf5e8b631db3dbd9cee5cf8805c5379f013b54db':
  minor clean-up of the GLESRenderer
2013-08-28 18:41:31 -07:00
Mathias Agopian
bf5e8b631d am 19733a32: minor clean-up of the GLESRenderer
* commit '19733a32799f792125913e746e8644d16f8dc223':
  minor clean-up of the GLESRenderer
2013-08-28 18:40:14 -07:00
Mathias Agopian
3e75e82f52 am ecebe12e: am 931bda1c: reset the gl viewport at each frame for each display
* commit 'ecebe12e708e6946821facce1fa05cd86570c33f':
  reset the gl viewport at each frame for each display
2013-08-28 18:19:48 -07:00
Mathias Agopian
ecebe12e70 am 931bda1c: reset the gl viewport at each frame for each display
* commit '931bda1c472ba8c8e965bdba6757ff94154df903':
  reset the gl viewport at each frame for each display
2013-08-28 18:17:28 -07:00
Mathias Agopian
19733a3279 minor clean-up of the GLESRenderer
Change-Id: I978dea25b7687fbbbb283f09c24e115d9bad49a2
2013-08-28 18:13:56 -07:00
Mathias Agopian
931bda1c47 reset the gl viewport at each frame for each display
Bug: 10097128, 9506003
Change-Id: Ie0403a631e339a9134216224f3366f46ece58b53
2013-08-28 18:11:46 -07:00
Mathias Agopian
a04a7f1c82 am 6377eea3: am 672ddf2b: remove adreno 130 workaround support
* commit '6377eea3f39e7eb072c3ea885467c38fe7bf9448':
  remove adreno 130 workaround support
2013-08-28 15:52:01 -07:00
Mathias Agopian
e2fa2b970f am 0221aaf1: am f4486c6e: try to keep omap4 alive
* commit '0221aaf149b9849f2f2e5cee236281c2e24a5f73':
  try to keep omap4 alive
2013-08-28 15:52:00 -07:00
Mathias Agopian
6377eea3f3 am 672ddf2b: remove adreno 130 workaround support
* commit '672ddf2b58b6c6ddef4fc4f296e5fa53910d8e3b':
  remove adreno 130 workaround support
2013-08-28 15:49:37 -07:00
Mathias Agopian
0221aaf149 am f4486c6e: try to keep omap4 alive
* commit 'f4486c6ea4bcb728ee0f38df7a8ec75c389d9d2e':
  try to keep omap4 alive
2013-08-28 15:49:36 -07:00
Mathias Agopian
672ddf2b58 remove adreno 130 workaround support
Change-Id: I8ea5ee65d405114b30cfaa44e1a0c971d1ef2a61
2013-08-28 15:27:30 -07:00
Mathias Agopian
f4486c6ea4 try to keep omap4 alive
Bug: 10527646
Change-Id: Iec572a910e932115cf4f2e1215142b10cd91bd6f
2013-08-28 15:22:29 -07:00
John Reck
f6dd8f501b am 68bfe1fe: am 05f0a81a: Merge "Add libpng include path"
* commit '68bfe1fea6b6d7976e09b447f589ee51c86e7483':
  Add libpng include path
2013-08-27 10:30:42 -07:00
John Reck
68bfe1fea6 am 05f0a81a: Merge "Add libpng include path"
* commit '05f0a81a93f0d41fa4115c752e617849d145fe5b':
  Add libpng include path
2013-08-27 09:54:06 -07:00
John Reck
05f0a81a93 Merge "Add libpng include path" 2013-08-27 16:49:46 +00:00
Mathias Agopian
a8c386f1c3 switch to use mat4
Change-Id: I8283a989cfd2b74d53958150bc90298bc083fee7
2013-08-26 20:42:07 -07:00
Mathias Agopian
595ea77f6b vector and matrix classes for graphics use
- this implements vec2, vec3, vec4, which are float vectors
of size 2, 3 and 4 respectively.

the code allows easy instantiation of vectors of a different
type via the tvec{2|3|4}<T> template classes.

- this also implements mat4 which is a float 4x4 matrix. the
tmat44<T> template class allows easy instantiation of a
4x4 matrix of a different value_type.

The vector types have some minimal support for the
glsl style swizzled access; for instance:

  vec4 u;
  vec3 v = u.xyz;

only .x, .xy, .xyz and their .stpq / .rgba equivalent are
supported.

most operators are supported on both vector and matrices:
arithmetic, unary, compound assignment and comparison
(bit-wise operators NOT supported).

- operations available on vectors include:
dot, length, distance, normalize and cross

- operations available on matrices include:
transpose, inverse, trace

- and a few utilities to create matrices:
ortho, frustum, lookAt

Change-Id: I64add89ae90fa78d3f2f59985b63495575378635
2013-08-26 20:41:13 -07:00
John Reck
e9b2dfe3fd Add libpng include path
Forward compatibility change

Change-Id: Iae792715d9a9aea34f53cd6383981371835c4a31
2013-08-26 16:48:46 -07:00
Mathias Agopian
d3cf96416e am 288b94b4: am f2e4fcd9: Merge changes I34935d21,If423cd29 into klp-dev
* commit '288b94b4abb42c534def97e955c6ae77e79afe6c':
  handle several vsync signal correctly
  only use format compatible with CPU consumers
2013-08-26 15:17:19 -07:00
Mathias Agopian
1057bbe72e am db54dbe3: am ed127ea3: Merge "make sure SF initialization is ran at target priority and correct thread group" into klp-dev
* commit 'db54dbe37228fd6e16fec02ce35d6b5a54015dca':
  make sure SF initialization is ran at target priority and correct thread group
2013-08-26 15:17:19 -07:00
Mathias Agopian
64ca284d91 am 01ff3d6f: am bcab7b17: fix DimLayer in GLES2.0 SF
* commit '01ff3d6fde685193955874643d26ec4e799aa3a8':
  fix DimLayer in GLES2.0 SF
2013-08-26 15:17:18 -07:00
Mathias Agopian
288b94b4ab am f2e4fcd9: Merge changes I34935d21,If423cd29 into klp-dev
* commit 'f2e4fcd96c11861bd0af1a9525344c1b691c9de9':
  handle several vsync signal correctly
  only use format compatible with CPU consumers
2013-08-26 15:03:24 -07:00
Mathias Agopian
db54dbe372 am ed127ea3: Merge "make sure SF initialization is ran at target priority and correct thread group" into klp-dev
* commit 'ed127ea3834045597a072dcf31877ff3084582ff':
  make sure SF initialization is ran at target priority and correct thread group
2013-08-26 15:03:23 -07:00
Mathias Agopian
01ff3d6fde am bcab7b17: fix DimLayer in GLES2.0 SF
* commit 'bcab7b17b1c5476935a6f2f916922b4eb57991a4':
  fix DimLayer in GLES2.0 SF
2013-08-26 15:03:19 -07:00
Mathias Agopian
f2e4fcd96c Merge changes I34935d21,If423cd29 into klp-dev
* changes:
  handle several vsync signal correctly
  only use format compatible with CPU consumers
2013-08-24 00:12:42 +00:00
Mathias Agopian
ed127ea383 Merge "make sure SF initialization is ran at target priority and correct thread group" into klp-dev 2013-08-24 00:12:05 +00:00
Mathias Agopian
9414d67f46 make sure SF initialization is ran at target priority and correct thread group
SF can spawn threads (indirectly) during initialization
and we want those to be spawned at URGENT_DISPLAY_PRIORITY
(in theory they should set their own, but some code lives
in vendor libraries and doesn't).

Bug: 10430209
Change-Id: I5b3a8f979297de287614c8eafd8267bef1176e4b
2013-08-23 17:10:32 -07:00
Mathias Agopian
bcab7b17b1 fix DimLayer in GLES2.0 SF
DimLayer state wasn't initialized properly.

Bug: 10442967
Change-Id: I384c1d85c58c96ae29d5daa1fabee9f4ce003501
2013-08-23 16:12:34 -07:00
Jeff Brown
02a72bc071 am 14641f7f: (-s ours) am 464febc4: Remove input flinger stubs. (DO NOT MERGE)
* commit '14641f7f308870a7c526a57aeb79786b438b4794':
  Remove input flinger stubs.  (DO NOT MERGE)
2013-08-22 19:36:01 -07:00
Jeff Brown
14641f7f30 am 464febc4: Remove input flinger stubs. (DO NOT MERGE)
* commit '464febc44908fb4a8fca9e513ba8469750dde838':
  Remove input flinger stubs.  (DO NOT MERGE)
2013-08-22 19:34:04 -07:00
Jeff Brown
464febc449 Remove input flinger stubs. (DO NOT MERGE)
Bug: 10446930
Change-Id: I4dd46f539cd2a2e324dfc83b45ba2787f7404a4a
2013-08-22 18:40:07 -07:00
Jeff Tinker
be0b32a132 am 052f9b2f: am 39bfc698: Merge "Add ability to test supported content types to MediaDrm" into klp-dev
* commit '052f9b2fadcb0585aab688e9ff1015534fbbb6a7':
  Add ability to test supported content types to MediaDrm
2013-08-22 16:17:13 -07:00
Jeff Tinker
052f9b2fad am 39bfc698: Merge "Add ability to test supported content types to MediaDrm" into klp-dev
* commit '39bfc6989259c5d24fd43f3d7fa7e967a4b17aac':
  Add ability to test supported content types to MediaDrm
2013-08-22 16:13:15 -07:00
Jeff Tinker
39bfc69892 Merge "Add ability to test supported content types to MediaDrm" into klp-dev 2013-08-22 23:08:09 +00:00
Eino-Ville Talvala
3b15290d9c am 169636c6: am b6aea00c: Merge "Surface: Fix controlledByApp parameter" into klp-dev
* commit '169636c62bd6c434ecc6fa60359baa3789f840b8':
  Surface: Fix controlledByApp parameter
2013-08-22 12:30:08 -07:00
Eino-Ville Talvala
169636c62b am b6aea00c: Merge "Surface: Fix controlledByApp parameter" into klp-dev
* commit 'b6aea00c7843705fdc6d265d7e15b3df52e86009':
  Surface: Fix controlledByApp parameter
2013-08-22 12:26:51 -07:00
Eino-Ville Talvala
b6aea00c78 Merge "Surface: Fix controlledByApp parameter" into klp-dev 2013-08-22 19:23:27 +00:00
Todd Poynor
cf80873586 libbatteryservice: add interface to read individual battery properties
Change-Id: I089eb6348053a8a9c8bca59e57ed97b4af14825a
2013-08-22 01:57:19 +00:00
Mathias Agopian
bef42c50eb handle several vsync signal correctly
Change-Id: I34935d2197ce8e914fef2f110896e47b44225ad2
2013-08-21 17:45:46 -07:00
Mathias Agopian
0f288fcc9c only use format compatible with CPU consumers
EGL now picks the buffer format out of a small set
of formats compatible with CPU consumers instead of
using the EGL_NATIVE_VISUAL_ID.

Bug: 10194508
Change-Id: If423cd29601b7a3ace8670f4c73004132cfc4b31
2013-08-21 16:36:34 -07:00
Mathias Agopian
c7fbebe87e am 0a289c9c: am 4ceff3d5: screenshot layers wouldn\'t work in some cases
* commit '0a289c9cc8733a893ea145ddbbcc322dc92ea1c8':
  screenshot layers wouldn't work in some cases
2013-08-21 16:01:35 -07:00
Jeff Tinker
611d3d4816 Add ability to test supported content types to MediaDrm
bug: 10244066
Change-Id: I6666d0dbfdc6e791deb9a82c918255af4fa19816
2013-08-21 16:00:06 -07:00