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

Issue 4101002: Mac/gpu: Don't show uninitialized surfaces while resizing plugins / composited tabs. (Closed)

Created:
10 years, 1 month ago by Nico
Modified:
9 years, 7 months ago
Reviewers:
stuartmorgan
CC:
chromium-reviews, pam+watch_chromium.org, ben+cc_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Mac/gpu: Don't show uninitialized surfaces while resizing plugins / composited tabs. BUG=53165 TEST=Go to http://webkit.org/blog/386/3d-transforms/. Resize window. Watch a youtube video click the "make bigger" button. No garbage should appear. There are still some funky artifacts at the top/right border during resizing caused by clamping the texture instead of filling with white, and sometimes (rarely) the tab flashes black/white but I'd like to tackle that in follow-up CLs. This is already much better than what's in the tree currently. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65220

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : rebase #

Patch Set 4 : '' #

Patch Set 5 : clean up #

Patch Set 6 : '' #

Patch Set 7 : use correct size when uploading #

Patch Set 8 : white padding #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -25 lines) Patch
M app/surface/io_surface_support_mac.h View 1 chunk +3 lines, -0 lines 0 comments Download
M app/surface/io_surface_support_mac.cc View 8 chunks +30 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/accelerated_surface_container_mac.h View 7 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/accelerated_surface_container_mac.cc View 1 2 3 4 5 6 7 6 chunks +35 lines, -23 lines 0 comments Download
M chrome/browser/renderer_host/accelerated_surface_container_manager_mac.cc View 1 chunk +4 lines, -1 line 1 comment Download

Messages

Total messages: 8 (0 generated)
Nico
10 years, 1 month ago (2010-10-28 23:06:19 UTC) #1
stuartmorgan
It seems really hacky to have the size changing to the new size, but the ...
10 years, 1 month ago (2010-10-28 23:32:21 UTC) #2
Nico
On Thu, Oct 28, 2010 at 4:32 PM, <stuartmorgan@chromium.org> wrote: > It seems really hacky ...
10 years, 1 month ago (2010-10-29 04:38:45 UTC) #3
stuartmorgan
On 2010/10/29 04:38:45, Nico wrote: > I admit I only thought about the compositor case, ...
10 years, 1 month ago (2010-11-02 20:31:23 UTC) #4
Nico
On 2010/11/02 20:31:23, stuartmorgan wrote: > On 2010/10/29 04:38:45, Nico wrote: > > I admit ...
10 years, 1 month ago (2010-11-05 17:23:03 UTC) #5
stuartmorgan
http://codereview.chromium.org/4101002/diff/19001/20005 File chrome/browser/renderer_host/accelerated_surface_container_manager_mac.cc (right): http://codereview.chromium.org/4101002/diff/19001/20005#newcode103 chrome/browser/renderer_host/accelerated_surface_container_manager_mac.cc:103: glClearColor(255, 255, 255, 255); This needs to be conditional ...
10 years, 1 month ago (2010-11-05 17:35:26 UTC) #6
Nico
On Fri, Nov 5, 2010 at 1:35 PM, <stuartmorgan@chromium.org> wrote: > > http://codereview.chromium.org/4101002/diff/19001/20005 > File ...
10 years, 1 month ago (2010-11-05 17:54:10 UTC) #7
stuartmorgan
10 years, 1 month ago (2010-11-05 18:03:09 UTC) #8
Okay, I didn't realize that opaque didn't mean what we wanted here. LGTM then,
but I do want to make sure handling transparent plugins doesn't get pushed out
so far that we build up a so many little breakages like this this that
untangling them all will be painful.

Powered by Google App Engine
This is Rietveld 408576698