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

Issue 1214263002: Fix corrupted rendering of images (Closed)

Created:
5 years, 5 months ago by abarth-chromium
Modified:
5 years, 5 months ago
Reviewers:
jackson
CC:
mojo-reviews_chromium.org, jackson_old, gregsimon, qsr+mojo_chromium.org, yzshen+watch_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Fix corrupted rendering of images When navigating from one app to another, we create a new Android window and destroy the old one. Previously, when we destroyed the old window after creating the new window, we would destroy the Ganesh context after making the GL context for the new window current, causing us to corrupt the GL state in the new window. After this CL, we call MakeCurrent before destroying the Ganesh context so that it interacts with the proper GL context. R=jackson@google.com Committed: https://chromium.googlesource.com/external/mojo/+/c35e3edfd2ead620d21800a15eb0952ef72cb26b

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M sky/shell/gpu/ganesh_context.cc View 1 chunk +1 line, -0 lines 0 comments Download
M sky/shell/gpu/rasterizer.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
abarth-chromium
5 years, 5 months ago (2015-06-29 23:27:58 UTC) #1
jackson
lgtm
5 years, 5 months ago (2015-06-29 23:39:44 UTC) #2
abarth-chromium
5 years, 5 months ago (2015-06-29 23:40:14 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
c35e3edfd2ead620d21800a15eb0952ef72cb26b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698