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

Issue 1709443002: Clear IOSurfaces immediately after creating them. (Closed)

Created:
4 years, 10 months ago by erikchen
Modified:
4 years, 10 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clear IOSurfaces immediately after creating them. Calling IOSurfaceLock() followed by IOSurfaceUnlock() appears sufficient. BUG=584760 Committed: https://crrev.com/c789639d94066ccc3c935d31b8c6a756815fbb8a Cr-Commit-Position: refs/heads/master@{#376054}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Comments from reveman@. #

Patch Set 3 : Fix flag. #

Total comments: 2

Patch Set 4 : Comments from reveman. #

Total comments: 4

Patch Set 5 : Comments from avi. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -5 lines) Patch
M ui/gfx/mac/io_surface.cc View 1 2 3 4 1 chunk +10 lines, -1 line 0 comments Download
M ui/gl/test/gl_image_test_template.h View 1 2 3 4 2 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 30 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1709443002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1709443002/1
4 years, 10 months ago (2016-02-17 02:58:11 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-17 04:06:37 UTC) #4
erikchen
reveman: Please review No more failures on the vms, after switching the test to render ...
4 years, 10 months ago (2016-02-17 05:24:35 UTC) #6
reveman
https://codereview.chromium.org/1709443002/diff/1/ui/gfx/mac/io_surface.cc File ui/gfx/mac/io_surface.cc (right): https://codereview.chromium.org/1709443002/diff/1/ui/gfx/mac/io_surface.cc#newcode154 ui/gfx/mac/io_surface.cc:154: // https://code.google.com/p/chromium/issues/detail?id=584760#c17 This bug cannot be accessed outside google. ...
4 years, 10 months ago (2016-02-17 18:37:37 UTC) #7
erikchen
https://codereview.chromium.org/1709443002/diff/1/ui/gfx/mac/io_surface.cc File ui/gfx/mac/io_surface.cc (right): https://codereview.chromium.org/1709443002/diff/1/ui/gfx/mac/io_surface.cc#newcode154 ui/gfx/mac/io_surface.cc:154: // https://code.google.com/p/chromium/issues/detail?id=584760#c17 On 2016/02/17 18:37:37, reveman wrote: > This ...
4 years, 10 months ago (2016-02-17 18:51:15 UTC) #8
reveman
lgtm % typo nit https://codereview.chromium.org/1709443002/diff/40001/ui/gfx/mac/io_surface.cc File ui/gfx/mac/io_surface.cc (right): https://codereview.chromium.org/1709443002/diff/40001/ui/gfx/mac/io_surface.cc#newcode153 ui/gfx/mac/io_surface.cc:153: // Zero-initialize the texture. Calling ...
4 years, 10 months ago (2016-02-17 19:21:51 UTC) #9
erikchen
https://codereview.chromium.org/1709443002/diff/40001/ui/gfx/mac/io_surface.cc File ui/gfx/mac/io_surface.cc (right): https://codereview.chromium.org/1709443002/diff/40001/ui/gfx/mac/io_surface.cc#newcode153 ui/gfx/mac/io_surface.cc:153: // Zero-initialize the texture. Calling IOSurfaceLock/IOSurfaceUnlock appears On 2016/02/17 ...
4 years, 10 months ago (2016-02-17 19:23:56 UTC) #10
erikchen
kbr: Please review ui/gl/test/gl_image_test_template.h.
4 years, 10 months ago (2016-02-17 19:24:12 UTC) #12
reveman
Btw, the unit test doesn't do exactly what you expect right now. The code was ...
4 years, 10 months ago (2016-02-17 19:25:47 UTC) #14
Ken Russell (switch to Gerrit)
lgtm
4 years, 10 months ago (2016-02-17 19:31:56 UTC) #16
erikchen
On 2016/02/17 19:31:56, Ken Russell wrote: > lgtm reveman's CL has landed: https://codereview.chromium.org/1708733002/
4 years, 10 months ago (2016-02-17 22:32:27 UTC) #17
erikchen
avi: Please review ui/gfx/mac/io_surface.cc
4 years, 10 months ago (2016-02-17 22:34:09 UTC) #22
Avi (use Gerrit)
LGTM with nits. https://codereview.chromium.org/1709443002/diff/60001/ui/gfx/mac/io_surface.cc File ui/gfx/mac/io_surface.cc (right): https://codereview.chromium.org/1709443002/diff/60001/ui/gfx/mac/io_surface.cc#newcode155 ui/gfx/mac/io_surface.cc:155: // https://code.google.com/p/chromium/issues/detail?id=584760#c17 You can abbreviate it ...
4 years, 10 months ago (2016-02-17 23:07:25 UTC) #23
erikchen
https://codereview.chromium.org/1709443002/diff/60001/ui/gfx/mac/io_surface.cc File ui/gfx/mac/io_surface.cc (right): https://codereview.chromium.org/1709443002/diff/60001/ui/gfx/mac/io_surface.cc#newcode155 ui/gfx/mac/io_surface.cc:155: // https://code.google.com/p/chromium/issues/detail?id=584760#c17 On 2016/02/17 23:07:25, Avi wrote: > You ...
4 years, 10 months ago (2016-02-17 23:55:30 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1709443002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1709443002/80001
4 years, 10 months ago (2016-02-17 23:57:17 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 10 months ago (2016-02-18 01:07:05 UTC) #28
commit-bot: I haz the power
4 years, 10 months ago (2016-02-18 01:07:48 UTC) #30
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c789639d94066ccc3c935d31b8c6a756815fbb8a
Cr-Commit-Position: refs/heads/master@{#376054}

Powered by Google App Engine
This is Rietveld 408576698