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

Issue 434963002: Fix interchange of red and blue content when using rgba_4444_textures (Closed)

Created:
6 years, 4 months ago by USE s.singapati at gmail.com
Modified:
6 years, 4 months ago
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix interchange of red and blue content when using rgba_4444_textures Content is swizzled when texture format has different component order than expected format by platform. RGBA_4444 implies to use 4444 bits and does not affect component order. So, no need to swizzle contents. BUG=399634

Patch Set 1 #

Patch Set 2 : Added pixel test for RGBA4444 texture #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -1 line) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M cc/output/renderer_pixeltest.cc View 1 1 chunk +42 lines, -0 lines 6 comments Download
M cc/resources/platform_color.h View 1 chunk +1 line, -1 line 0 comments Download
A cc/test/data/blue.png View 1 Binary file 0 comments Download

Messages

Total messages: 11 (0 generated)
USE s.singapati at gmail.com
@src/cc/resources/platform_color.h SameComponentOrder() return true if the given texture format has the same component order as ...
6 years, 4 months ago (2014-08-04 08:18:03 UTC) #1
enne (OOO)
Is it possible to write a pixel or unit test for this?
6 years, 4 months ago (2014-08-04 16:53:29 UTC) #2
USE s.singapati at gmail.com
On 2014/08/04 16:53:29, enne wrote: > Is it possible to write a pixel or unit ...
6 years, 4 months ago (2014-08-06 16:19:18 UTC) #3
enne (OOO)
GPU bots aren't going to help you here. I do not think CSS3DBlueBox or Canvas2DRedBox ...
6 years, 4 months ago (2014-08-06 17:20:23 UTC) #4
USE s.singapati at gmail.com
Thank you for ideas. Test case writing in progress. We don't have blue.png in cc/test/data, ...
6 years, 4 months ago (2014-08-08 08:35:20 UTC) #5
USE s.singapati at gmail.com
Added pixel test and blue.png
6 years, 4 months ago (2014-08-08 12:50:05 UTC) #6
danakj
On Fri, Aug 8, 2014 at 4:35 AM, <s.singapati@samsung.com> wrote: > Thank you for ideas. ...
6 years, 4 months ago (2014-08-08 13:10:39 UTC) #7
enne (OOO)
https://codereview.chromium.org/434963002/diff/20001/cc/output/renderer_pixeltest.cc File cc/output/renderer_pixeltest.cc (right): https://codereview.chromium.org/434963002/diff/20001/cc/output/renderer_pixeltest.cc#newcode2118 cc/output/renderer_pixeltest.cc:2118: TYPED_TEST(RendererPixelTest, PictureDrawQuadTexture4444) { This isn't relevant for the software ...
6 years, 4 months ago (2014-08-08 18:16:17 UTC) #8
USE eero AT chromium.org
Sarath is out of office for a while, so I took over the responsibility to ...
6 years, 4 months ago (2014-08-11 11:33:58 UTC) #9
danakj
On Mon, Aug 11, 2014 at 7:33 AM, <e.hakkinen@samsung.com> wrote: > Sarath is out of ...
6 years, 4 months ago (2014-08-11 13:55:41 UTC) #10
USE eero AT chromium.org
6 years, 4 months ago (2014-08-11 14:29:34 UTC) #11
On 2014/08/11 13:55:41, danakj wrote:
> Yep make a new one.

It is here: https://codereview.chromium.org/460563003/

Powered by Google App Engine
This is Rietveld 408576698