aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClay Murphy <claym@google.com>2013-06-04 11:17:23 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-06-04 11:17:23 -0700
commited8e3b0ff31044571788a279e2a71ef57b73b168 (patch)
tree90680d7ad8b44f9869ce6420ae6d377bb08c4ff5
parent523536ac2e219e8f5f85df446144dbc939b6ad30 (diff)
parent32eb2cf648196b62223c36f4a64adcb8d8cdd840 (diff)
downloadsource.android.com-ed8e3b0ff31044571788a279e2a71ef57b73b168.tar.gz
am 32eb2cf6: am 5ba56f75: Adding use_gpu_pixel_buffers hwui.r_buffer_cache_size Bug: 9258861
* commit '32eb2cf648196b62223c36f4a64adcb8d8cdd840': Adding use_gpu_pixel_buffers hwui.r_buffer_cache_size Bug: 9258861
-rw-r--r--src/devices/tuning.jd17
1 files changed, 13 insertions, 4 deletions
diff --git a/src/devices/tuning.jd b/src/devices/tuning.jd
index b33e4534..aedbd5f1 100644
--- a/src/devices/tuning.jd
+++ b/src/devices/tuning.jd
@@ -93,15 +93,18 @@ in the <code>device.mk</code> as <code>PRODUCT_PROPERTY_OVERRIDES</code>.
using a cache large enough to hold two screens worth of 8-bit textures. For instance, on a 1280x800 display, a full screen buffer uses about 1 MB, so the cache should be at least 2 MB.</td>
</tr>
<tr>
-
-
<td><code>ro.hwui.fbo_cache_size</code></td>
<td><code>integer</code></td>
<td><code>16</code></td>
<td>Defines the number of FBO names the renderer can hold in the cache at any given time.
We recommend keeping this number low.</td>
</tr>
-
+<tr>
+ <td><code>ro.hwui.r_buffer_cache_size</code></td>
+ <td><code>float</code></td>
+ <td><code>2</code></td>
+ <td>Defines the size, in megabytes, of the render buffers cache per process. It is recommended to use a cache large enough to hold twice the screen in 8 bits. For instance, on a 1280x800 display, a full screen buffer uses about 1 MB so the cache should be at least 2 MB. The cache can be smaller if the device supports 4 bits or 1 bit stencil buffers.</td>
+</tr>
<tr>
<td><code>ro.hwui.texture_cache_flush_rate</code></td>
<td><code>float</code></td>
@@ -178,4 +181,10 @@ in the <code>device.mk</code> as <code>PRODUCT_PROPERTY_OVERRIDES</code>.
<td>Defines the luminance threshold above which white gamma correction is applied.
The value must be defined in the range 0..255.</td>
</tr>
-</table> \ No newline at end of file
+<tr>
+ <td><code>hwui.use_gpu_pixel_buffers</code></td>
+ <td><code>boolean</code></td>
+ <td><code>true</code></td>
+ <td>Used to enable or disable the use of PBOs on OpenGL ES 3.0 hardware. PBOs are used by the renderer to perform asynchronous texture uploads, especially for the font cache. This property should always remain enabled but can be disabled during bringup or development if the use of PBOs causes corruptions or terrible performance. This is why the property is not read-only.</td>
+</tr>
+</table>