Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2)

Issue 4972048: Use GR_GL_BGRA only if SK_B32_SHIFT is zero

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 2 months ago by hclam
Modified:
14 years, 2 months ago
Reviewers:
bsalomon
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Use GR_GL_BGRA only if SK_B32_SHIFT is zero Not all chromium ports use BGRA and we should use GR_GL_BGRA only if SK_B32_SHIFT is zero.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M gpu/include/GrGLConfig_chrome.h View 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 3
hclam
14 years, 2 months ago (2011-08-30 16:48:20 UTC) #1
bsalomon
On 2011/08/30 16:48:20, hclam wrote: Looks good, could we put some GR_STATIC_ASSERT()s that the a,r,g,b ...
14 years, 2 months ago (2011-08-30 17:01:20 UTC) #2
hclam
14 years, 2 months ago (2011-08-30 17:06:18 UTC) #3
On 2011/08/30 17:01:20, bsalomon wrote: > On 2011/08/30 16:48:20, hclam wrote: > > Looks good, could we put some GR_STATIC_ASSERT()s that the a,r,g,b shifts line > up with the what GL enums expect? yup, that's a good idea.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b