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

Issue 6538102: Add support for runtime fall-back from o3d to o2d. (Closed)

Created:
9 years, 10 months ago by milligan
Modified:
9 years, 7 months ago
CC:
o3d-review_googlegroups.com
Visibility:
Public.

Description

Add support for runtime fall-back from o3d to o2d iff o3d initialization fails for any reason. This is still only supported on linux for GL renderer. o2d mode can still be forced at compile time via the force_cairo=1 GYP_DEFINE. Verified on Linux in o3d and o2d mode and on Mac. Unit tests are still passing 100%. Also confirmed o2d fall-back using NX on Linux. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=75776

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 4

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 2

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -14 lines) Patch
M core/cross/cairo/renderer_cairo.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M core/cross/client_info.h View 1 2 3 3 chunks +6 lines, -10 lines 0 comments Download
M core/cross/client_info.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M core/cross/gl/renderer_gl.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M core/cross/renderer.h View 1 chunk +6 lines, -0 lines 0 comments Download
M plugin/cross/o3d_glue.cc View 1 2 3 4 5 6 2 chunks +24 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
milligan
Ready for code review.
9 years, 10 months ago (2011-02-23 00:07:54 UTC) #1
Tristan Schmelcher 2
http://codereview.chromium.org/6538102/diff/4002/core/cross/client_info.h File core/cross/client_info.h (right): http://codereview.chromium.org/6538102/diff/4002/core/cross/client_info.h#newcode140 core/cross/client_info.h:140: void SetRenderer2d(bool render2d) { This should be SetRender2d to ...
9 years, 10 months ago (2011-02-23 02:08:51 UTC) #2
milligan
Updated to incorporate feedback to date. Please especially check the flow in o2d_glue.cc to be ...
9 years, 10 months ago (2011-02-23 17:07:50 UTC) #3
Tim H
LGTM
9 years, 10 months ago (2011-02-23 18:22:16 UTC) #4
gangji
LGTM.
9 years, 10 months ago (2011-02-23 18:48:42 UTC) #5
Tristan Schmelcher 2
http://codereview.chromium.org/6538102/diff/13002/plugin/cross/o3d_glue.cc File plugin/cross/o3d_glue.cc (right): http://codereview.chromium.org/6538102/diff/13002/plugin/cross/o3d_glue.cc#newcode274 plugin/cross/o3d_glue.cc:274: // To force cairo, pretend all previous renderer initialization ...
9 years, 10 months ago (2011-02-23 19:27:30 UTC) #6
Tristan Schmelcher 2
9 years, 10 months ago (2011-02-23 19:51:58 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698