Mathias Agopian
52e6ada69e
Merge "minor clean-up. SurfaceFlinger doesn't need libpixelflinger.so."
2010-12-14 15:51:32 -08:00
Mathias Agopian
aa0e56f9f2
Merge "dump callstack on Surface use error"
2010-12-14 15:51:22 -08:00
Jason Sams
fc29088e58
Merge "Add support for non-malloc backed textures."
2010-12-14 14:32:36 -08:00
Romain Guy
fa7952dbb8
Colors are in the [0..1] range, not [0..255]
...
This fixes rendering in YouTube and other applications.
Change-Id: Ib5f3df632cde97374113ed42f895f136b2796373
2010-12-14 13:45:54 -08:00
Romain Guy
89f4ec6a83
Merge "Colors are in the [0..1] range, not [0..255]"
2010-12-14 13:45:07 -08:00
Romain Guy
b36ba1d6d7
Merge "OpenGLRenderer would not render colors < ALPHA_THRESHOLD Bug #3282805 "
2010-12-14 11:52:02 -08:00
Shih-wei Liao
6b32fab1db
1. Add Context to a RenderScript or RenderScriptGL instance.
...
This is to allow RenderScript to better interact with the Android environment.
E.g., per-app cache.
2. Plumbing, testing.
3. Added getApplicationContext in RenderScript.java.
Change-Id: I85edeebe38825e20b2e86f4f4815689dfc332ef9
2010-12-14 11:17:20 -08:00
Romain Guy
5536841e54
OpenGLRenderer would not render colors < ALPHA_THRESHOLD
...
Bug #3282805
This bug was introduced with a previous refactoring. This also fixes
issues with setting the alpha when drawing bitmaps.
Change-Id: Id47641d26a4536c7e540041f92243bf6db9fc96d
2010-12-14 10:59:41 -08:00
Brad Fitzpatrick
0bd5243b75
Framework-side support for Dalvik "isSensitiveThread" hook.
...
Used in lock contention stats.
Bug: 3226270
Change-Id: Ie6f58d130a29079a59bdefad40b80304d9bc3623
2010-12-14 09:28:16 -08:00
Jason Sams
f2e69a911a
Merge "More API updates."
2010-12-13 23:53:35 -08:00
Romain Guy
029feb941d
Merge "Refactor OpenGLRenderer to simplify OpenGL drawing code."
2010-12-13 18:30:15 -08:00
Romain Guy
70ca14e08a
Refactor OpenGLRenderer to simplify OpenGL drawing code.
...
This is the first step of the refactoring:
- drawColorRect
- drawTextureMesh
Remaining methods to refactor:
- setupTextureAlpha8
- drawPath
- setupShadow
- drawText
- drawLines
- composeLayerRegion
Change-Id: I0fced6a05b6b6eee10ee7cef0c3fbdaa6cefab20
2010-12-13 18:24:33 -08:00
Jason Sams
5e0035af36
Add support for non-malloc backed textures.
...
Change-Id: Iee8e987591caa17b4c8186f8173089925140a568
2010-12-13 17:11:21 -08:00
Mathias Agopian
06f9ebf4f6
minor clean-up. SurfaceFlinger doesn't need libpixelflinger.so.
...
Change-Id: I3bdca74351c8e480a05084bc412a96c5f685221d
2010-12-13 16:47:31 -08:00
Jason Sams
d4b23b5444
More API updates.
...
Change-Id: I754dc645ac08fa25019eed8fd8b7b3c47f178ff2
2010-12-13 15:32:35 -08:00
Alex Sakhartchouk
6b5222dd53
Perf test
...
Change-Id: I5cfc1b6dd438b13091993d4669e10fb2e49aaa06
2010-12-13 14:48:21 -08:00
Jason Sams
3ccc75fa51
Merge "Add multitouch support to physics test. Fix context state overwrite calling invoke."
2010-12-11 18:52:37 -08:00
Jason Sams
4859f5233c
Add multitouch support to physics test.
...
Fix context state overwrite calling invoke.
Change-Id: I7a71237bcf36abb31f98eb6d872501fdfb007d81
2010-12-11 17:42:30 -08:00
Mathias Agopian
0cfb45a423
Merge "[3258939] Need snapshot to limit which layers are included"
2010-12-10 16:30:46 -08:00
Mathias Agopian
3dd25a6bf7
[3258939] Need snapshot to limit which layers are included
...
Change-Id: Id7351a0e3f53dde99b291cffba553d89fd4d7ca9
2010-12-10 16:22:31 -08:00
Jason Sams
54ca458787
Merge "Remove CreateFromBitmapRef and add CopyTo(bitmap) replacement."
2010-12-10 16:06:19 -08:00
Jason Sams
4ef6650bd0
Remove CreateFromBitmapRef and add
...
CopyTo(bitmap) replacement.
Change-Id: Ib73fb9f4bfe5f468eaf0f8f1bf68a93759eef00d
2010-12-10 16:03:15 -08:00
Mathias Agopian
f7d63cf2cb
dump callstack on Surface use error
...
Change-Id: I38e260dd47349b9af3a999dda683a083a94be16d
2010-12-10 15:37:48 -08:00
Stephen Hines
cfcea7a1d0
Remove vector array test from RSTest.
...
This test will soon yield an appropriate compile-time error.
Change-Id: I8f9bef7c4c6f954753268a2c1816337f347eae06
2010-12-10 15:27:35 -08:00
Romain Guy
e8a8db1d3b
Merge "Ignore empty layers."
2010-12-10 14:42:21 -08:00
Romain Guy
32963c393a
Ignore empty layers.
...
Change-Id: Ib2f99cdab654881fe079306e27d87c5ef9535700
2010-12-10 14:43:41 -08:00
Romain Guy
a06cdd53d6
Merge "Correctly compare strings in UTF-8 instead of UTF-16 Bug #3272858 "
2010-12-10 12:33:34 -08:00
Romain Guy
25dc3a7dba
Correctly compare strings in UTF-8 instead of UTF-16
...
Bug #3272858
Change-Id: Idacd5d7c2c052b4834a8ddb5906ab32b3f548f73
2010-12-10 12:33:05 -08:00
Jeff Brown
6f7f877cc0
Merge "Fix race condition in fallback key processing."
2010-12-09 18:54:35 -08:00
Jeff Brown
00045a7e6f
Fix race condition in fallback key processing.
...
Need to ensure that the channel is still valid before proceeding.
Bug: 3271482
Change-Id: Ia6863cbedd9b53cbc5c9c8815e9ea90bef3d2218
2010-12-09 18:14:23 -08:00
Romain Guy
af636ebf5f
Don't set the invisible flag when saving an empty layer.
...
Bug #3270371
Change-Id: I65e85671c2fb70d74553c91213e5e759e0ac64ee
2010-12-09 17:47:21 -08:00
Jason Sams
3eb3106137
Merge "Fix a severe cleanup bug where teardown of the GL driver could occur on the wrong thread."
2010-12-09 12:21:19 -08:00
Jason Sams
546f01b6d5
Fix a severe cleanup bug where teardown of the GL
...
driver could occur on the wrong thread.
Change-Id: Icd56182ccbd1371124a247695bf3ebd3085df450
2010-12-09 12:19:46 -08:00
Jason Sams
5c1619fff4
Fix build
...
Change-Id: I189d3b8afd351ab5cf604105579212593a98d5a4
2010-12-09 00:58:47 -08:00
Jason Sams
3247842c67
Merge "Allocation API update."
2010-12-08 23:46:28 -08:00
Romain Guy
279d34f4b2
Merge "New, better line drawing implementation. Bug #3207544 Bug #3225875 "
2010-12-08 19:10:51 -08:00
Romain Guy
a957eea785
New, better line drawing implementation.
...
Bug #3207544
Bug #3225875
Change-Id: Ibdd1dfc64e01625d5c441f39eb0aa3ee647f6ff5
2010-12-08 19:06:58 -08:00
Mathias Agopian
19f9eda28a
fix [3259708] Graphic Buffer Mapper does not support YV12
...
remove a bunch of a code that was there only to support broken gralloc implementations
Change-Id: I3c1a9172224cbcc283601abfbbd695a20815451f
2010-12-08 16:48:28 -08:00
Jason Sams
5476b450e5
Allocation API update.
...
Change-Id: I9b4a71f9e94c7d3978f06b7971051ab4f8472503
2010-12-08 16:14:36 -08:00
Mathias Agopian
d211230633
remove support for PUSH_BUFFER surfaces and overlays
...
the same functionality is now supported through
the h/w composer HAL, and YUV support in the GPU.
Change-Id: I8146605449954b8e8fd7f78810b7d873c2d8f5bf
2010-12-08 16:13:59 -08:00
Erik Gilling
94720d7ec4
surfaceflinger: add support for gralloc dump hooks
...
Change-Id: Ib6f539ed0132b70d040d653c03d52cc04249ac3c
2010-12-08 15:40:11 -08:00
Kenny Root
1542af3597
Merge "Change assets to use 64-bit API"
2010-12-08 14:46:22 -08:00
Kenny Root
ddb76c4644
Change assets to use 64-bit API
...
The asset system and supporting libraries were using off_t instead of
off64_t to access files larger than 2GB (32-bit signed). This change
replaces all off_t with off64_t and lseek64.
There is a new utils/Compat.h added for Mac OS compatibility.
Also fixed some size-related compiler warnings.
Bug: 3205336
Change-Id: I9097b3cb7a602e811fe52f245939d8975da55e9e
2010-12-08 11:21:30 -08:00
Romain Guy
dde4c35385
Merge "Correctly release the OpenGL Canvas on EGL error."
2010-12-07 20:15:29 -08:00
Romain Guy
67f27952c1
Correctly release the OpenGL Canvas on EGL error.
...
Change-Id: Ib31fd8445f7ce5f7aa7e0205de0e7db80d024fc2
2010-12-07 20:12:50 -08:00
Jeff Brown
49ed71db42
Add support for fallback keycodes.
...
This change enables the framework to synthesize key events to implement
default behavior when an application does not handle a key.
For example, this change enables numeric keypad keys to perform
their associated special function when numlock is off.
The application is informed that it is processing a fallback keypress
so it can choose to ignore it.
Added a new keycode for switching applications.
Added ALT key deadkeys.
New default key mappings:
- ESC -> BACK
- Meta+ESC -> HOME
- Alt+ESC -> MENU
- Meta+Space -> SEARCH
- Meta+Tab -> APP_SWITCH
Fixed some comments.
Fixed some tests.
Change-Id: Id7f3b6645f3a350275e624547822f72652f3defe
2010-12-07 17:35:26 -08:00
Mathias Agopian
f30c828752
am 48f42f8c: am 4153bf3a: Merge "[3171580] don\'t automatically log GraphicBuffer allocation failures" into gingerbread
...
* commit '48f42f8c3fbd33b2f46c6290ff5963dd58938cf9':
[3171580] don't automatically log GraphicBuffer allocation failures
2010-12-07 17:24:03 -08:00
Mathias Agopian
4e345ab7df
am a2977c38: Merge changes Ie03796ae,Ide3e980a into gingerbread
...
* commit 'a2977c383d363e1e88a5b36230b1fa4c312807d2':
[3171580] SurfaceFlinger Bypass mode. (DO NOT MERGE)
[3171580] Add transform field to native buffers. (DO NOT MERGE)
2010-12-07 14:22:56 -08:00
Mathias Agopian
48f42f8c3f
am 4153bf3a: Merge "[3171580] don\'t automatically log GraphicBuffer allocation failures" into gingerbread
...
* commit '4153bf3a259624a2f2dc497b77b225a1fb517abc':
[3171580] don't automatically log GraphicBuffer allocation failures
2010-12-07 14:20:09 -08:00
Mathias Agopian
a2977c383d
Merge changes Ie03796ae,Ide3e980a into gingerbread
...
* changes:
[3171580] SurfaceFlinger Bypass mode. (DO NOT MERGE)
[3171580] Add transform field to native buffers. (DO NOT MERGE)
2010-12-07 14:18:56 -08:00