diff options
author | piman@google.com <piman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-29 21:47:45 +0000 |
---|---|---|
committer | piman@google.com <piman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-29 21:47:45 +0000 |
commit | e7f67c8405f8b5388852711e986e5e3a5bc8794d (patch) | |
tree | f4ae68f52ebf9e686917574d50ca635361ec12d0 /gpu/tools/tools.gyp | |
parent | 137647655b62c63ec52e4789facb248af7ca4cce (diff) | |
download | chromium_src-e7f67c8405f8b5388852711e986e5e3a5bc8794d.zip chromium_src-e7f67c8405f8b5388852711e986e5e3a5bc8794d.tar.gz chromium_src-e7f67c8405f8b5388852711e986e5e3a5bc8794d.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>
Review URL: http://codereview.chromium.org/7792002
Patch from Joshua Trask <joshtrask@google.com>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98706 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', + ], + }, + ], + }], + ], +} |