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

Issue 2797443003: Fix screen mirroring on Chrome OS (ReflectorTexture partial swap) (Closed)

Created:
3 years, 8 months ago by halliwell
Modified:
3 years, 8 months ago
Reviewers:
danakj
CC:
chromium-reviews, jam, jbauman+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, kalyank, danakj+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix screen mirroring on Chrome OS (ReflectorTexture partial swap) Copying texture subimage requires the texture to already be defined, so ensure ReflectorTexture performs a full copy before any partial copies. Bug was caused by https://codereview.chromium.org/2699173002/, since partial swap with subrect == surface size was previously implicitly treated as a full swap. BUG=702713 Review-Url: https://codereview.chromium.org/2797443003 Cr-Commit-Position: refs/heads/master@{#461568} Committed: https://chromium.googlesource.com/chromium/src/+/08ae4cdea9398a15871e80126e6f2fbd47a4fa9b

Patch Set 1 #

Total comments: 1

Patch Set 2 : Track texture status in output surface class #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M content/browser/compositor/gpu_browser_compositor_output_surface.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/compositor/gpu_browser_compositor_output_surface.cc View 1 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 11 (5 generated)
halliwell
3 years, 8 months ago (2017-04-03 19:27:55 UTC) #3
danakj
https://codereview.chromium.org/2797443003/diff/1/content/browser/compositor/gpu_browser_compositor_output_surface.cc File content/browser/compositor/gpu_browser_compositor_output_surface.cc (right): https://codereview.chromium.org/2797443003/diff/1/content/browser/compositor/gpu_browser_compositor_output_surface.cc#newcode111 content/browser/compositor/gpu_browser_compositor_output_surface.cc:111: if (frame.sub_buffer_rect && reflector_texture_->is_texture_defined()) { Looks like this bool ...
3 years, 8 months ago (2017-04-03 19:30:56 UTC) #4
halliwell
On 2017/04/03 19:30:56, danakj wrote: > https://codereview.chromium.org/2797443003/diff/1/content/browser/compositor/gpu_browser_compositor_output_surface.cc > File content/browser/compositor/gpu_browser_compositor_output_surface.cc > (right): > > https://codereview.chromium.org/2797443003/diff/1/content/browser/compositor/gpu_browser_compositor_output_surface.cc#newcode111 ...
3 years, 8 months ago (2017-04-03 20:31:36 UTC) #5
danakj
LGTM I like this, makes it very clear we take the second branch the first ...
3 years, 8 months ago (2017-04-03 21:33:45 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2797443003/20001
3 years, 8 months ago (2017-04-03 21:34:28 UTC) #8
commit-bot: I haz the power
3 years, 8 months ago (2017-04-03 22:57:35 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/08ae4cdea9398a15871e80126e6f...

Powered by Google App Engine
This is Rietveld 408576698