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

Issue 12326013: mac content shell drt: Do not force the mesa gl implementation. (Closed)

Created:
7 years, 10 months ago by Nico
Modified:
7 years, 10 months ago
CC:
chromium-reviews, jam, sail+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, apatrick_chromium, jochen+watch_chromium.org, Zhenyao Mo, Stephen White
Visibility:
Public.

Description

Closed in favor of https://codereview.chromium.org/12315103/ mac content shell drt: Do not force the mesa gl implementation. image_transport_surface_mac.cc's ImageTransportSurface::CreateSurface() only works for DesktopGL and AppleGL, and that function is used for drawing that uses the gpu process. osmesa was added in https://codereview.chromium.org/11143009, but sadly the CL description doesn't say why. BUG=111316 TEST=animations/3d/change-transform-in-end-event.html has only minor text-antialiasing related pixel errors when running locally, instead of timing out.

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M content/common/gpu/image_transport_surface_mac.cc View 1 chunk +1 line, -1 line 1 comment Download
M content/shell/shell_main_delegate.cc View 1 chunk +2 lines, -0 lines 2 comments Download

Messages

Total messages: 7 (0 generated)
Nico
https://codereview.chromium.org/12326013/diff/1/content/shell/shell_main_delegate.cc File content/shell/shell_main_delegate.cc (right): https://codereview.chromium.org/12326013/diff/1/content/shell/shell_main_delegate.cc#newcode102 content/shell/shell_main_delegate.cc:102: switches::kUseGL, gfx::kGLImplementationOSMesaName); If you remember why you added this, ...
7 years, 10 months ago (2013-02-20 16:05:52 UTC) #1
jochen (gone - plz use gerrit)
layout tests need to run with osmesa The webgl tests differ a lot depending on ...
7 years, 10 months ago (2013-02-20 16:10:48 UTC) #2
Nico
The gpu process doesn't work on mac with osmesa. On Wed, Feb 20, 2013 at ...
7 years, 10 months ago (2013-02-20 16:12:47 UTC) #3
Nico
Offscreen discussion: osmesa does software painting in-process in the renderer, so I'll try to not ...
7 years, 10 months ago (2013-02-20 16:19:57 UTC) #4
Ken Russell (switch to Gerrit)
LGTM if this works. I don't remember off the top of my head which bots ...
7 years, 10 months ago (2013-02-26 20:25:29 UTC) #5
zmo
LGTM https://codereview.chromium.org/12326013/diff/1/content/shell/shell_main_delegate.cc File content/shell/shell_main_delegate.cc (right): https://codereview.chromium.org/12326013/diff/1/content/shell/shell_main_delegate.cc#newcode102 content/shell/shell_main_delegate.cc:102: switches::kUseGL, gfx::kGLImplementationOSMesaName); On 2013/02/20 16:05:52, Nico wrote: > ...
7 years, 10 months ago (2013-02-26 20:35:17 UTC) #6
Nico
7 years, 10 months ago (2013-02-26 20:38:20 UTC) #7
Sorry, I sent the wrong link, I meant to send out
https://codereview.chromium.org/12315103/ which does use osmesa on mac
and adds simple surface transport. It seems to work in practice, while
this CL here broke a few of the webgl layout tests (which test
extension strings and whatnot).

On Tue, Feb 26, 2013 at 9:35 PM,  <zmo@google.com> wrote:
> LGTM
>
>
>
>
https://codereview.chromium.org/12326013/diff/1/content/shell/shell_main_dele...
> File content/shell/shell_main_delegate.cc (right):
>
>
https://codereview.chromium.org/12326013/diff/1/content/shell/shell_main_dele...
> content/shell/shell_main_delegate.cc:102: switches::kUseGL,
> gfx::kGLImplementationOSMesaName);
> On 2013/02/20 16:05:52, Nico wrote:
>>
>> If you remember why you added this, I can add a comment.
>
>
> OSMesa support on Mac is incomplete, that's why we don't use it on Mac.
>
> https://codereview.chromium.org/12326013/

Powered by Google App Engine
This is Rietveld 408576698