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

Issue 974913003: gpu: Run texture upload perf test with different texture formats. (Closed)

Created:
5 years, 9 months ago by Daniele Castagna
Modified:
5 years, 9 months ago
Reviewers:
reveman, piman
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu: Run texture upload perf test with different texture formats. The two formats GL_LUMINANCE and GL_RED_EXT are now been tested in addition to GL_RGBA. GL_LUMINANCE and GL_RED_EXT are used for yuv resources that are uploaded by VideoLayerImpl. BUG=423481 Committed: https://crrev.com/ac138e5c000fad73b2e4528615b3fd83f467be94 Cr-Commit-Position: refs/heads/master@{#319788}

Patch Set 1 #

Patch Set 2 : Rebase on master. #

Total comments: 4

Patch Set 3 : Add NOTREACHED in the default switch statement. Replace GenerateTextureData from format to bytes_pe… #

Total comments: 5

Patch Set 4 : Move format check closer to where the format is used to determine the number of bits per pixel. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -28 lines) Patch
M gpu/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M gpu/gpu.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/perftests/texture_upload_perftest.cc View 1 2 3 8 chunks +81 lines, -28 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
Daniele Castagna
No rush on this since I want to commit crrev.com/962863002 first. Thank you!
5 years, 9 months ago (2015-03-03 20:26:54 UTC) #4
reveman
https://codereview.chromium.org/974913003/diff/60001/gpu/perftests/texture_upload_perftest.cc File gpu/perftests/texture_upload_perftest.cc (right): https://codereview.chromium.org/974913003/diff/60001/gpu/perftests/texture_upload_perftest.cc#newcode86 gpu/perftests/texture_upload_perftest.cc:86: int bytes_per_pixel = format == GL_RGBA ? 4 : ...
5 years, 9 months ago (2015-03-03 21:59:40 UTC) #5
Daniele Castagna
https://codereview.chromium.org/974913003/diff/60001/gpu/perftests/texture_upload_perftest.cc File gpu/perftests/texture_upload_perftest.cc (right): https://codereview.chromium.org/974913003/diff/60001/gpu/perftests/texture_upload_perftest.cc#newcode86 gpu/perftests/texture_upload_perftest.cc:86: int bytes_per_pixel = format == GL_RGBA ? 4 : ...
5 years, 9 months ago (2015-03-06 17:29:16 UTC) #6
reveman
lgtm with nits https://codereview.chromium.org/974913003/diff/80001/gpu/perftests/texture_upload_perftest.cc File gpu/perftests/texture_upload_perftest.cc (right): https://codereview.chromium.org/974913003/diff/80001/gpu/perftests/texture_upload_perftest.cc#newcode291 gpu/perftests/texture_upload_perftest.cc:291: EXPECT_THAT(format, testing::AnyOf(GL_RGBA, GL_LUMINANCE, GL_RED_EXT)); nit: I ...
5 years, 9 months ago (2015-03-06 19:37:54 UTC) #7
Daniele Castagna
https://codereview.chromium.org/974913003/diff/80001/gpu/perftests/texture_upload_perftest.cc File gpu/perftests/texture_upload_perftest.cc (right): https://codereview.chromium.org/974913003/diff/80001/gpu/perftests/texture_upload_perftest.cc#newcode291 gpu/perftests/texture_upload_perftest.cc:291: EXPECT_THAT(format, testing::AnyOf(GL_RGBA, GL_LUMINANCE, GL_RED_EXT)); On 2015/03/06 at 19:37:54, reveman ...
5 years, 9 months ago (2015-03-06 20:20:16 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/974913003/100001
5 years, 9 months ago (2015-03-06 20:32:26 UTC) #11
Daniele Castagna
+piman for owners review.
5 years, 9 months ago (2015-03-06 20:39:58 UTC) #14
piman
LGTM
5 years, 9 months ago (2015-03-09 22:34:14 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/974913003/100001
5 years, 9 months ago (2015-03-09 22:44:11 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:100001)
5 years, 9 months ago (2015-03-10 00:22:17 UTC) #18
commit-bot: I haz the power
5 years, 9 months ago (2015-03-10 00:22:59 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ac138e5c000fad73b2e4528615b3fd83f467be94
Cr-Commit-Position: refs/heads/master@{#319788}

Powered by Google App Engine
This is Rietveld 408576698