Skip to content

Commit

Permalink
Fix OOM in TextureUpload perf test
Browse files Browse the repository at this point in the history
The test texture size is reduced from 2k x 2k to 1k x 1k to avoid OOM on
lower-memory devices.

Bug: 945415
Change-Id: I66611417114212427f0a2cfc677450f5e705a7ca
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1537331
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
  • Loading branch information
ShabbyX authored and Commit Bot committed Mar 26, 2019
1 parent 50fb5cc commit 4864e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/perf_tests/TextureUploadPerf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ struct TextureUploadParams final : public RenderTestParams
iterationsPerStep = kIterationsPerStep;
trackGpuTime = true;

baseSize = 2048;
baseSize = 1024;
subImageSize = 64;

webgl = false;
Expand Down

0 comments on commit 4864e0c

Please sign in to comment.