Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Issue 13135004: android_webview: changes to support Android GraphicBuffers (Closed)

Created:
7 years, 9 months ago by kaanb
Modified:
7 years, 8 months ago
CC:
chromium-reviews, cc-bugs_chromium.org, android-webview-reviews_chromium.org, klobag.chromium
Visibility:
Public.

Description

android_webview: changes to support Android GraphicBuffers BUG=175012 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192882

Patch Set 1 #

Patch Set 2 : Revert accidentally committed file #

Patch Set 3 : Remove more accidental changes #

Patch Set 4 : Set GraphicBufferFactory in GraphicBufferImpl rather than BrowserViewRendererImpl #

Patch Set 5 : Add GetStride() API on the GraphicBuffer #

Total comments: 14

Patch Set 6 : Incorporate code reviews #

Total comments: 15

Patch Set 7 : Incorporate code reviews #

Patch Set 8 : Add blank line between functions #

Patch Set 9 : Add blank line between functions #

Patch Set 10 : Fix factory signature and includes #

Patch Set 11 : Rename cc::GraphicBuffer to gfx::PixelBuffer #

Patch Set 12 : Fixing a few cases where GraphicBuffer was used #

Total comments: 14

Patch Set 13 : Fix comments in ui/gl/pixel_buffer.h #

Total comments: 4

Patch Set 14 : Incorporate code reviews #

Total comments: 2

Patch Set 15 : Fix a typo #

Patch Set 16 : Rebase #

Patch Set 17 : s/PixelBuffer/GpuMemoryBuffer/ #

Patch Set 18 : s/pixel_buffer/gpu_memory_buffer/ in gl.gyp #

Patch Set 19 : Alphabetize gyp files #

Patch Set 20 : Add missing comma to gl.gyp #

Patch Set 21 : Rebase #

Patch Set 22 : Fix unintentionally modified line #

Patch Set 23 : Remove unnecessary OVERRIDE in gpu_memory_buffer_factory_impl #

Unified diffs Side-by-side diffs Delta from patch set Stats (+303 lines, -10 lines) Patch
M android_webview/android_webview.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +7 lines, -1 line 0 comments Download
A android_webview/browser/gpu_memory_buffer_factory_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +22 lines, -0 lines 0 comments Download
A android_webview/browser/gpu_memory_buffer_factory_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +16 lines, -0 lines 0 comments Download
A android_webview/browser/gpu_memory_buffer_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +38 lines, -0 lines 0 comments Download
A android_webview/browser/gpu_memory_buffer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +61 lines, -0 lines 0 comments Download
M android_webview/common/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -0 lines 0 comments Download
M android_webview/common/aw_switches.h View 1 2 3 4 5 2 chunks +4 lines, -1 line 0 comments Download
M android_webview/common/aw_switches.cc View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
A android_webview/common/gpu_memory_buffer_factory_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +19 lines, -0 lines 0 comments Download
A android_webview/common/gpu_memory_buffer_factory_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +27 lines, -0 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +6 lines, -1 line 0 comments Download
M android_webview/native/aw_contents.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +9 lines, -1 line 0 comments Download
M android_webview/public/browser/draw_gl.h View 1 2 3 4 5 6 2 chunks +24 lines, -1 line 0 comments Download
M android_webview/renderer/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +3 lines, -1 line 0 comments Download
M android_webview/renderer/aw_content_renderer_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +4 lines, -2 lines 0 comments Download
M android_webview/renderer/aw_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +7 lines, -1 line 0 comments Download
M ui/gl/gl.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download
A ui/gl/gpu_memory_buffer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +50 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
kaanb
This will be the first patch to land for the Android GraphicBuffer support in Chromium. ...
7 years, 9 months ago (2013-03-29 04:20:23 UTC) #1
joth
https://codereview.chromium.org/13135004/diff/9001/android_webview/browser/graphic_buffer_factory_impl.h File android_webview/browser/graphic_buffer_factory_impl.h (right): https://codereview.chromium.org/13135004/diff/9001/android_webview/browser/graphic_buffer_factory_impl.h#newcode1 android_webview/browser/graphic_buffer_factory_impl.h:1: // Copyright (c) 2013 The Chromium Authors. All rights ...
7 years, 8 months ago (2013-04-02 19:12:11 UTC) #2
kaanb
https://codereview.chromium.org/13135004/diff/9001/android_webview/browser/graphic_buffer_factory_impl.h File android_webview/browser/graphic_buffer_factory_impl.h (right): https://codereview.chromium.org/13135004/diff/9001/android_webview/browser/graphic_buffer_factory_impl.h#newcode1 android_webview/browser/graphic_buffer_factory_impl.h:1: // Copyright (c) 2013 The Chromium Authors. All rights ...
7 years, 8 months ago (2013-04-02 23:16:54 UTC) #3
jamesr
https://codereview.chromium.org/13135004/diff/17001/cc/resources/graphic_buffer.h File cc/resources/graphic_buffer.h (right): https://codereview.chromium.org/13135004/diff/17001/cc/resources/graphic_buffer.h#newcode35 cc/resources/graphic_buffer.h:35: typedef base::Callback<scoped_ptr<cc::GraphicBuffer>(const gfx::Size&)> gfx::Size should be passed by value, ...
7 years, 8 months ago (2013-04-03 03:14:37 UTC) #4
kaanb
https://codereview.chromium.org/13135004/diff/17001/cc/resources/graphic_buffer.h File cc/resources/graphic_buffer.h (right): https://codereview.chromium.org/13135004/diff/17001/cc/resources/graphic_buffer.h#newcode35 cc/resources/graphic_buffer.h:35: typedef base::Callback<scoped_ptr<cc::GraphicBuffer>(const gfx::Size&)> On 2013/04/03 03:14:38, jamesr wrote: > ...
7 years, 8 months ago (2013-04-03 04:39:53 UTC) #5
Jói
DEPS LGTM
7 years, 8 months ago (2013-04-03 14:01:02 UTC) #6
kaanb
I renamed cc::GraphicBuffer to gfx::PixelBuffer and now it moves under ui/gl. Please take another look.
7 years, 8 months ago (2013-04-04 20:55:45 UTC) #7
jamesr
https://codereview.chromium.org/13135004/diff/34001/cc/cc.gyp File cc/cc.gyp (right): https://codereview.chromium.org/13135004/diff/34001/cc/cc.gyp#newcode1 cc/cc.gyp:1: # Copyright 2012 The Chromium Authors. All rights reserved. ...
7 years, 8 months ago (2013-04-04 21:05:27 UTC) #8
joth
lg2m w/ some comment fixes https://codereview.chromium.org/13135004/diff/32001/cc/cc.gyp File cc/cc.gyp (left): https://codereview.chromium.org/13135004/diff/32001/cc/cc.gyp#oldcode1 cc/cc.gyp:1: # Copyright (c) 2012 ...
7 years, 8 months ago (2013-04-04 21:53:33 UTC) #9
kaanb
https://codereview.chromium.org/13135004/diff/32001/cc/cc.gyp File cc/cc.gyp (left): https://codereview.chromium.org/13135004/diff/32001/cc/cc.gyp#oldcode1 cc/cc.gyp:1: # Copyright (c) 2012 The Chromium Authors. All rights ...
7 years, 8 months ago (2013-04-04 22:26:18 UTC) #10
joth
lgtm https://codereview.chromium.org/13135004/diff/40001/ui/gl/pixel_buffer.h File ui/gl/pixel_buffer.h (right): https://codereview.chromium.org/13135004/diff/40001/ui/gl/pixel_buffer.h#newcode28 ui/gl/pixel_buffer.h:28: // Frees a previously allocated buffer. Greeing a ...
7 years, 8 months ago (2013-04-04 22:41:46 UTC) #11
kaanb
https://codereview.chromium.org/13135004/diff/40001/ui/gl/pixel_buffer.h File ui/gl/pixel_buffer.h (right): https://codereview.chromium.org/13135004/diff/40001/ui/gl/pixel_buffer.h#newcode28 ui/gl/pixel_buffer.h:28: // Frees a previously allocated buffer. Greeing a buffer ...
7 years, 8 months ago (2013-04-04 22:58:44 UTC) #12
kaanb
+gman as reviewer as apatrick is out-of-office
7 years, 8 months ago (2013-04-05 01:29:13 UTC) #13
kaanb
FYI I've renamed the PixelBuffer interface to GpuMemoryBuffer per the discussions in https://codereview.chromium.org/13543007/
7 years, 8 months ago (2013-04-05 23:28:10 UTC) #14
greggman
lgtm
7 years, 8 months ago (2013-04-08 17:24:26 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaanb@chromium.org/13135004/54001
7 years, 8 months ago (2013-04-08 17:25:26 UTC) #16
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-08 17:31:19 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaanb@chromium.org/13135004/58004
7 years, 8 months ago (2013-04-08 17:34:23 UTC) #18
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-08 17:57:39 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaanb@chromium.org/13135004/9006
7 years, 8 months ago (2013-04-08 18:03:58 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaanb@chromium.org/13135004/62004
7 years, 8 months ago (2013-04-08 18:19:02 UTC) #21
commit-bot: I haz the power
7 years, 8 months ago (2013-04-08 20:38:16 UTC) #22
Message was sent while issue was closed.
Change committed as 192882

Powered by Google App Engine
This is Rietveld 408576698