diff options
author | piman@google.com <piman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-31 00:08:34 +0000 |
---|---|---|
committer | piman@google.com <piman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-31 00:08:34 +0000 |
commit | 8348e600d177c538e9f8ad1a314941cb53f8e9b3 (patch) | |
tree | 20c4b139e2d6eed9ec667ce207066691f2e57107 /gpu/tools/tools.gyp | |
parent | 714fe56f1a80a4844f3c1c9fa44c791179863e24 (diff) | |
download | chromium_src-8348e600d177c538e9f8ad1a314941cb53f8e9b3.zip chromium_src-8348e600d177c538e9f8ad1a314941cb53f8e9b3.tar.gz chromium_src-8348e600d177c538e9f8ad1a314941cb53f8e9b3.tar.bz2 |
Initial checkin of the compositor_model_bench tool
This tool simulates the GPU demands of Chromium's GPU-accelerated compositor. In
the current version, we simulate the performance of the existing forward
rendering model; coming changes will prototype a new model.
BUG=None
TEST=self
This is http://codereview.chromium.org/7718020/ with trivial fixes
Original change by Joshua Trask <joshtrask@google.com>
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98706
Review URL: http://codereview.chromium.org/7792002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98900 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/tools/tools.gyp')
-rw-r--r-- | gpu/tools/tools.gyp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gpu/tools/tools.gyp b/gpu/tools/tools.gyp new file mode 100644 index 0000000..0f1a9d2 --- /dev/null +++ b/gpu/tools/tools.gyp @@ -0,0 +1,37 @@ +# Copyright (c) 2011 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'variables': { + 'chromium_code': 1, + }, + 'targets': [ + ], + 'conditions': [ + ['OS == "linux" and target_arch != "arm"', { + 'targets': [ + { + 'target_name': 'compositor_model_bench', + 'type': 'executable', + 'dependencies': [ + '../../base/base.gyp:base', + '../../ui/gfx/gl/gl.gyp:gl', + ], + 'libraries': [ + '-lGL', + '-ldl', + ], + 'sources': [ + 'compositor_model_bench/compositor_model_bench.cc', + 'compositor_model_bench/render_tree.cc', + 'compositor_model_bench/shaders.cc', + 'compositor_model_bench/render_models.cc', + 'compositor_model_bench/render_model_utils.cc', + 'compositor_model_bench/forward_render_model.cc', + ], + }, + ], + }], + ], +} |