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

Issue 8869007: GLSurface::Resize implementations release the current context if they are current before resize. (Closed)

Created:
9 years ago by apatrick_chromium
Modified:
9 years ago
Reviewers:
jonathan.backer
CC:
chromium-reviews, dhollowa+watch_chromium.org
Visibility:
Public.

Description

GLSurface::Resize implementations release the current context if they are current before resize. This is because, if the newly allocated surface happens to have the same handle / address, a subsequent MakeCurrent will think that the surface has not changed and early out. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113677

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -1 line) Patch
M ui/gfx/gl/gl_surface_egl.cc View 2 chunks +15 lines, -1 line 0 comments Download
M ui/gfx/gl/gl_surface_osmesa.cc View 3 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
apatrick_chromium
9 years ago (2011-12-07 23:54:30 UTC) #1
jonathan.backer
9 years ago (2011-12-08 21:27:02 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698