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

Issue 27227: Linux: support displays without Xrender support. (Closed)

Created:
11 years, 10 months ago by agl
Modified:
9 years, 7 months ago
Reviewers:
Evan Martin
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Linux: support displays without Xrender support. VNC servers don't support Xrender. For this use case, we implement a slow fallback which byte-fiddles the Skia bitmaps as needed to support 32 and 24 bit visuals.

Patch Set 1 #

Total comments: 10

Patch Set 2 : ... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -9 lines) Patch
M chrome/browser/renderer_host/backing_store.h View 1 2 chunks +14 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/backing_store_x.cc View 1 4 chunks +96 lines, -4 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_gtk.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/x11_util.h View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/common/x11_util.cc View 1 2 chunks +35 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
agl
11 years, 10 months ago (2009-02-26 19:45:50 UTC) #1
Evan Martin
lg, minor comments http://codereview.chromium.org/27227/diff/1/2 File chrome/browser/renderer_host/backing_store.h (right): http://codereview.chromium.org/27227/diff/1/2#newcode116 Line 116: // given depth. "given" here ...
11 years, 10 months ago (2009-02-26 20:41:56 UTC) #2
agl
11 years, 10 months ago (2009-02-26 20:51:44 UTC) #3
http://codereview.chromium.org/27227/diff/1/2
File chrome/browser/renderer_host/backing_store.h (right):

http://codereview.chromium.org/27227/diff/1/2#newcode116
Line 116: // given depth.
On 2009/02/26 20:41:56, Evan Martin wrote:
> "given" here refers to the depth below?

Yes, comment updated.

http://codereview.chromium.org/27227/diff/1/3
File chrome/browser/renderer_host/backing_store_x.cc (right):

http://codereview.chromium.org/27227/diff/1/3#newcode114
Line 114: const uint32_t* bitmap_in = static_cast<const
uint32_t*>(bitmap->memory());
On 2009/02/26 20:41:56, Evan Martin wrote:
>   COMPILE_ASSERT(__BYTE_ORDER == __LITTLE_ENDIAN,
>                  assumes_little_endian);
> 
> here or somewhere around here, just so it's not so hard for someone else to
find
> this code when we do our MIPS port.  :P

Done.

http://codereview.chromium.org/27227/diff/1/3#newcode136
Line 136: CHECK(false) << "Sorry, we don't support your visual depth without "
On 2009/02/26 20:41:56, Evan Martin wrote:
> maybe include the visual depth in the error message?

Done.

http://codereview.chromium.org/27227/diff/1/5
File chrome/common/x11_util.cc (right):

http://codereview.chromium.org/27227/diff/1/5#newcode93
Line 93: // have been in every version.
On 2009/02/26 20:41:56, Evan Martin wrote:
> this comment doesn't parse.  i think you left out some wordsd.

Done.

http://codereview.chromium.org/27227/diff/1/5#newcode115
Line 115: XPixmapFormatValues* formats = XListPixmapFormats(dpy, &count);
On 2009/02/26 20:41:56, Evan Martin wrote:
> Wonder if this is a sync call...

Should be cached in Xlib.

Powered by Google App Engine
This is Rietveld 408576698