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

Issue 2782006: Remove duplicated code in AcceleratedSurface using PbufferGLContext instead.... (Closed)

Created:
10 years, 6 months ago by vt
Modified:
9 years, 7 months ago
CC:
chromium-reviews, John Grabowski, pam+watch_chromium.org, apatrick_chromium
Visibility:
Public.

Description

Remove duplicated code in AcceleratedSurface using PbufferGLContext instead. This also fixes a crash caused by the OpenGL bindings not being initialized. BUG=46286 TEST=flash plugin 10.1 works again in both mac 10.5 and 10.6 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49836

Patch Set 1 #

Total comments: 3

Patch Set 2 : Address review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -79 lines) Patch
M app/gfx/gl/gl_context.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M app/gfx/gl/gl_context_mac.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M app/surface/accelerated_surface_mac.h View 1 6 chunks +10 lines, -8 lines 0 comments Download
M app/surface/accelerated_surface_mac.cc View 1 6 chunks +26 lines, -68 lines 0 comments Download
M gpu/command_buffer/service/gpu_processor_mac.cc View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
vt
10 years, 6 months ago (2010-06-12 15:40:43 UTC) #1
apatrick
Awesome! I will test it, run it through the trybots and commit the patch if ...
10 years, 6 months ago (2010-06-12 17:22:09 UTC) #2
Ken Russell (switch to Gerrit)
This is a good cleanup; thanks for doing it. There is a problem with Pepper ...
10 years, 6 months ago (2010-06-14 21:20:01 UTC) #3
Ken Russell (switch to Gerrit)
LGTM after the issue below is fixed. Do you need help landing this fix? Or ...
10 years, 6 months ago (2010-06-14 22:30:14 UTC) #4
vt
On 2010/06/14 22:30:14, kbr wrote: > Do you need help landing this fix? Or are ...
10 years, 6 months ago (2010-06-15 16:02:21 UTC) #5
vt
http://codereview.chromium.org/2782006/diff/1/4 File app/surface/accelerated_surface_mac.cc (right): http://codereview.chromium.org/2782006/diff/1/4#newcode53 app/surface/accelerated_surface_mac.cc:53: DCHECK(gl_context_->IsCurrent()); On 2010/06/14 22:30:14, kbr wrote: > This DCHECK ...
10 years, 6 months ago (2010-06-15 16:02:29 UTC) #6
Ken Russell (switch to Gerrit)
10 years, 6 months ago (2010-06-15 22:04:51 UTC) #7
Committed per above. Thanks for your contribution.

Powered by Google App Engine
This is Rietveld 408576698