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

Issue 1162203006: Unit tests have been created for the GPUTiming. (Closed)

Created:
5 years, 6 months ago by David Yen
Modified:
5 years, 6 months ago
Reviewers:
no sievers, vmiura
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

Unit tests have been created for the GPUTiming. We have traditionally tested all of the GPUTiming functionalities within GPUTracer since GPUTracer utilizes GPUTiming extensively. With the introduction of gl_unittests as well as GPUTiming getting more complicated it makes sense to have GPUTiming specific unit tests. This CL is the first step in moving towards that direction, simply moving all of the GPUTiming GL queries into a fake query class which can handle the query expectations. R=sievers@chromium.org, vmiura@chromium.org BUG=453965, 345227 Committed: https://crrev.com/26bd4c4dd55f61976b2ce58bacb7c82d60df7c5b Cr-Commit-Position: refs/heads/master@{#333642}

Patch Set 1 #

Patch Set 2 : Removed irrelevent test #

Total comments: 4

Patch Set 3 : Renamed GPUTimingFake #

Patch Set 4 : Merged and enabled egl api test for all platforms #

Patch Set 5 : Reverted egl unit test changes, wrong cl #

Unified diffs Side-by-side diffs Delta from patch set Stats (+452 lines, -177 lines) Patch
M gpu/command_buffer/service/gpu_tracer_unittest.cc View 1 2 14 chunks +37 lines, -175 lines 0 comments Download
M ui/gl/BUILD.gn View 1 2 3 4 3 chunks +5 lines, -0 lines 0 comments Download
M ui/gl/gl.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gl/gl_tests.gyp View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M ui/gl/gpu_timing.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gpu_timing.cc View 1 2 chunks +7 lines, -1 line 0 comments Download
A ui/gl/gpu_timing_fake.h View 1 2 1 chunk +82 lines, -0 lines 0 comments Download
A ui/gl/gpu_timing_fake.cc View 1 2 1 chunk +233 lines, -0 lines 0 comments Download
A ui/gl/gpu_timing_unittest.cc View 1 1 chunk +81 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
David Yen
5 years, 6 months ago (2015-06-05 22:00:08 UTC) #1
David Yen
On 2015/06/05 22:00:08, David Yen wrote: This CL simply moves over the mock queries from ...
5 years, 6 months ago (2015-06-05 22:02:09 UTC) #2
vmiura
lgtm
5 years, 6 months ago (2015-06-06 00:08:57 UTC) #3
David Yen
On 2015/06/06 00:08:57, vmiura wrote: > lgtm ping
5 years, 6 months ago (2015-06-09 21:05:31 UTC) #4
no sievers
https://codereview.chromium.org/1162203006/diff/20001/ui/gl/gl_tests.gyp File ui/gl/gl_tests.gyp (right): https://codereview.chromium.org/1162203006/diff/20001/ui/gl/gl_tests.gyp#newcode37 ui/gl/gl_tests.gyp:37: '<(DEPTH)/third_party/khronos', nit: I thought you had already moved this ...
5 years, 6 months ago (2015-06-09 22:56:41 UTC) #5
David Yen
https://codereview.chromium.org/1162203006/diff/20001/ui/gl/gl_tests.gyp File ui/gl/gl_tests.gyp (right): https://codereview.chromium.org/1162203006/diff/20001/ui/gl/gl_tests.gyp#newcode37 ui/gl/gl_tests.gyp:37: '<(DEPTH)/third_party/khronos', On 2015/06/09 22:56:41, sievers wrote: > nit: I ...
5 years, 6 months ago (2015-06-09 23:04:24 UTC) #6
no sievers
lgtm
5 years, 6 months ago (2015-06-09 23:30:34 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162203006/80001
5 years, 6 months ago (2015-06-09 23:40:50 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 6 months ago (2015-06-10 01:39:51 UTC) #11
commit-bot: I haz the power
5 years, 6 months ago (2015-06-10 01:40:40 UTC) #12
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/26bd4c4dd55f61976b2ce58bacb7c82d60df7c5b
Cr-Commit-Position: refs/heads/master@{#333642}

Powered by Google App Engine
This is Rietveld 408576698