|
ui: Use single buffer SurfaceTexture mode for native GpuMemoryBuffers on Android.
This makes the surface texture implementation of GLImage require a copy
which allows us to release the ST properly and use single buffered mode.
The result is that we gain control over the memory usage and can support
persistent map usage.
BUG=
TEST=gl_unittests --gtest_filter=GLImageSurfaceTexture*
Total comments: 8
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+272 lines, -53 lines) |
Patch |
 |
M |
content/browser/gpu/browser_gpu_memory_buffer_manager.cc
|
View
|
1
|
3 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_memory_buffer_factory_surface_texture.cc
|
View
|
1
2
|
4 chunks |
+34 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
|
View
|
|
3 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/BUILD.gn
|
View
|
1
2
3
4
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/android/surface_texture.h
|
View
|
|
3 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/android/surface_texture.cc
|
View
|
|
4 chunks |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_surface_texture.h
|
View
|
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_surface_texture.cc
|
View
|
1
2
|
3 chunks |
+99 lines, -39 lines |
0 comments
|
Download
|
 |
A |
ui/gl/gl_image_surface_texture_unittest.cc
|
View
|
1
2
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_tests.gyp
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 9 (2 generated)
|