|
[Android] Implement asynchronous zero-copy bitmap capture API.
This introduces zero-copy bitmap capture API for Android. Using this, the
caller avoids a duplicate copy of the bitmap being created. This saves us
about ~8MB of memory (while using ARGB_8888 for 1920x1080 resolution) or
about ~4MB of memory (while using RGB565 for 1920x1080 resolution).
This also significantly saves the power on variety of android devices using KitKat.
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+204 lines, -36 lines) |
Patch |
 |
M |
content/browser/android/content_view_core_impl.h
|
View
|
|
6 chunks |
+24 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/android/content_view_core_impl.cc
|
View
|
|
6 chunks |
+70 lines, -3 lines |
1 comment
|
Download
|
 |
M |
content/browser/frame_host/render_widget_host_view_child_frame.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_widget_host_view_child_frame.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_widget_host_view_guest.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_widget_host_view_guest.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_android.h
|
View
|
|
4 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_android.cc
|
View
|
|
6 chunks |
+34 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_aura.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_aura.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_gtk.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_gtk.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_mac.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_mac.mm
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/port/browser/render_widget_host_view_port.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
1 comment
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
View
|
|
3 chunks |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/android/content_view_core.h
|
View
|
|
3 chunks |
+15 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/test/test_render_view_host.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/test/test_render_view_host.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gfx/android/java_bitmap.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/android/java_bitmap.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
Total messages: 17 (0 generated)
|