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

Issue 17859003: Allow DrawingBuffer to present to a bitmap. (Closed)

Created:
7 years, 6 months ago by jbauman
Modified:
7 years, 5 months ago
CC:
blink-reviews, jamesr, eae+blinkwatch, abarth-chromium, danakj, Rik, Stephen Chennney, jeez, pdr.
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Allow DrawingBuffer to present to a bitmap. The WebExternalTextureLayer can now ask the DrawingBuffer to present to a bitmap in a mailbox, which will be used with the software renderer and webgl. BUG=151713 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153737

Patch Set 1 #

Total comments: 3

Patch Set 2 : use WebExternalBitmap #

Total comments: 8

Patch Set 3 : #

Total comments: 3

Patch Set 4 : #

Total comments: 5

Patch Set 5 : #

Patch Set 6 : #

Total comments: 2

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -44 lines) Patch
M Source/WebKit/chromium/tests/DrawingBufferTest.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/WebKit/chromium/tests/FakeWebGraphicsContext3D.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/platform/graphics/GraphicsContext3D.h View 1 4 chunks +16 lines, -0 lines 0 comments Download
M Source/core/platform/graphics/GraphicsContext3D.cpp View 1 2 3 4 7 chunks +60 lines, -17 lines 0 comments Download
M Source/core/platform/graphics/chromium/Canvas2DLayerBridge.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/platform/graphics/gpu/DrawingBuffer.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/platform/graphics/gpu/DrawingBuffer.cpp View 1 2 3 4 3 chunks +12 lines, -1 line 0 comments Download
M Tools/DumpRenderTree/chromium/TestRunner/src/TestPlugin.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
A + public/platform/WebExternalBitmap.h View 1 2 3 4 5 6 1 chunk +15 lines, -9 lines 0 comments Download
M public/platform/WebExternalTextureLayerClient.h View 1 2 3 4 5 6 2 chunks +5 lines, -3 lines 0 comments Download
M public/platform/WebGraphicsContext3D.h View 1 2 1 chunk +0 lines, -7 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
jbauman
Ken, do you think this approach makes sense? This goes with https://codereview.chromium.org/17859002/
7 years, 6 months ago (2013-06-26 11:33:53 UTC) #1
Ken Russell (switch to Gerrit)
The overall approach LGTM. I would have used a different argument than a bool but ...
7 years, 5 months ago (2013-06-27 13:41:01 UTC) #2
jbauman
PTAL. I've added WebExternalBitmap, which is used to encapsulate a base::SharedMemory for this. Also, I've ...
7 years, 5 months ago (2013-07-01 22:27:39 UTC) #3
Ken Russell (switch to Gerrit)
LGTM. Couple of further questions. Just checking, will the Chromium-side implementations of WebGraphicsContext3D::readBackFramebuffer be deleted ...
7 years, 5 months ago (2013-07-02 11:22:12 UTC) #4
jbauman
Yeah, I'll delete the chromium implementation of WebGraphicsContext3D::readBackFramebuffer when this is in. https://codereview.chromium.org/17859003/diff/5001/Source/core/platform/graphics/GraphicsContext3D.cpp File Source/core/platform/graphics/GraphicsContext3D.cpp ...
7 years, 5 months ago (2013-07-02 19:43:31 UTC) #5
jbauman
Jochen, could you review the public/ portions of this?
7 years, 5 months ago (2013-07-02 21:07:08 UTC) #6
jochen (gone - plz use gerrit)
I'd recommend asking James to have a look at this, as he's more familiar with ...
7 years, 5 months ago (2013-07-02 22:37:01 UTC) #7
jbauman
Jamesr@, could you review the public/ parts of this?
7 years, 5 months ago (2013-07-02 23:14:29 UTC) #8
jamesr
https://codereview.chromium.org/17859003/diff/20001/Source/core/platform/graphics/GraphicsContext3D.cpp File Source/core/platform/graphics/GraphicsContext3D.cpp (right): https://codereview.chromium.org/17859003/diff/20001/Source/core/platform/graphics/GraphicsContext3D.cpp#newcode632 Source/core/platform/graphics/GraphicsContext3D.cpp:632: unsigned bufferSize = 4 * width * height; this ...
7 years, 5 months ago (2013-07-03 21:53:01 UTC) #9
jbauman
Ok, everything should be fixed. PTAL. On 2013/07/03 21:53:01, jamesr wrote: > https://codereview.chromium.org/17859003/diff/20001/Source/core/platform/graphics/GraphicsContext3D.cpp > File ...
7 years, 5 months ago (2013-07-03 23:16:44 UTC) #10
jamesr
/public/ lgtm with a couple comment nits https://codereview.chromium.org/17859003/diff/29001/public/platform/WebExternalBitmap.h File public/platform/WebExternalBitmap.h (right): https://codereview.chromium.org/17859003/diff/29001/public/platform/WebExternalBitmap.h#newcode46 public/platform/WebExternalBitmap.h:46: virtual uint8 ...
7 years, 5 months ago (2013-07-03 23:18:56 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbauman@chromium.org/17859003/22002
7 years, 5 months ago (2013-07-08 23:44:40 UTC) #12
commit-bot: I haz the power
7 years, 5 months ago (2013-07-09 01:33:41 UTC) #13
Message was sent while issue was closed.
Change committed as 153737

Powered by Google App Engine
This is Rietveld 408576698