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

Issue 8418035: Fix gl context change on dropping a texture (Closed)

Created:
9 years, 1 month ago by pkotwicz
Modified:
9 years, 1 month ago
Reviewers:
sky, jonathan.backer
CC:
chromium-reviews, Ian Vollick, piman+watch_chromium.org, jonathan.backer
Visibility:
Public.

Description

Fix gl context change on dropping a texture As we are now recomputing holes in the draw path, we cannot change the GLContext. This patch resets the change in GL context incurred by DropTexture. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108501

Patch Set 1 #

Patch Set 2 : fixed #

Patch Set 3 : More correct comment #

Patch Set 4 : nicer diff #

Patch Set 5 : Changes as recommended as per backer #

Total comments: 2

Patch Set 6 : Changes as per sky #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -1 line) Patch
M ui/gfx/compositor/compositor_gl.h View 1 2 3 4 5 2 chunks +5 lines, -0 lines 1 comment Download
M ui/gfx/compositor/compositor_gl.cc View 1 2 3 4 5 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
pkotwicz
9 years, 1 month ago (2011-10-28 22:04:14 UTC) #1
pkotwicz
9 years, 1 month ago (2011-10-28 22:05:33 UTC) #2
sky
If compositor_gl cares about this, why can't it track the state itself? By that I ...
9 years, 1 month ago (2011-10-28 22:28:52 UTC) #3
pkotwicz
I can do what you suggest if it is ok by you to put back ...
9 years, 1 month ago (2011-10-28 22:38:38 UTC) #4
pkotwicz
9 years, 1 month ago (2011-10-28 22:38:50 UTC) #5
sky
The compositor should outlive the textures. But I know Jonathan has deal with more issues ...
9 years, 1 month ago (2011-10-28 22:40:00 UTC) #6
pkotwicz
9 years, 1 month ago (2011-10-31 18:36:44 UTC) #7
jonathan.backer
lgtm
9 years, 1 month ago (2011-10-31 18:41:08 UTC) #8
sky
http://codereview.chromium.org/8418035/diff/8001/ui/gfx/compositor/compositor_gl.h File ui/gfx/compositor/compositor_gl.h (right): http://codereview.chromium.org/8418035/diff/8001/ui/gfx/compositor/compositor_gl.h#newcode36 ui/gfx/compositor/compositor_gl.h:36: scoped_refptr<gfx::ScopedMakeCurrent> ScopedMakeCurrent() { Don't inline this. http://codereview.chromium.org/8418035/diff/8001/ui/gfx/gl/scoped_make_current.h File ui/gfx/gl/scoped_make_current.h ...
9 years, 1 month ago (2011-10-31 20:44:44 UTC) #9
pkotwicz
9 years, 1 month ago (2011-11-02 22:54:11 UTC) #10
jonathan.backer
lgtm http://codereview.chromium.org/8418035/diff/13001/ui/gfx/compositor/compositor_gl.h File ui/gfx/compositor/compositor_gl.h (right): http://codereview.chromium.org/8418035/diff/13001/ui/gfx/compositor/compositor_gl.h#newcode34 ui/gfx/compositor/compositor_gl.h:34: virtual bool MakeSharedContextCurrent(); I think that we can ...
9 years, 1 month ago (2011-11-02 23:09:34 UTC) #11
sky
LGTM
9 years, 1 month ago (2011-11-02 23:13:41 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/8418035/13001
9 years, 1 month ago (2011-11-03 16:36:15 UTC) #13
commit-bot: I haz the power
9 years, 1 month ago (2011-11-03 18:11:53 UTC) #14
Change committed as 108501

Powered by Google App Engine
This is Rietveld 408576698