diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-03 16:17:44 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-03 16:17:44 +0000 |
commit | bd59c695ce30ec87bcccfc84365a89893d630e53 (patch) | |
tree | 140141daee119a2c47a550d6581ad74232d4dc6e /ui/surface/surface.gyp | |
parent | 24f342eac0b3785e0e3208577382b825debeb2a6 (diff) | |
download | chromium_src-bd59c695ce30ec87bcccfc84365a89893d630e53.zip chromium_src-bd59c695ce30ec87bcccfc84365a89893d630e53.tar.gz chromium_src-bd59c695ce30ec87bcccfc84365a89893d630e53.tar.bz2 |
Revert 174943 because it broke ui_unittests in win-vista, win7.
> [ui/surface] Separate image processing logic from presentation logic.
>
> The D3D image processing code from AcceleratedPresenter moves to its own class, "ui/surface/accelerated_surface_transformer_win.h". This split allows the image processing code to be tested independently of the present-scheduling system, and so we add unit tests doing exactly that. Utility functions (loading d3d, creating temp surfaces) doing things commonly required by test, transform, and present code -- these functions are moved to a third location, "ui/surface/d3d9_utils_win.h"
>
> The new unit tests -- which live in the ui_unittests binary -- make extensive use of pseudorandom image content, which I think is kind of neat. The tests use D3D HAL devices; I tried to use REF, but it didn't work, as StretchRect+LINEAR is not supported by refrast. So as a result we may have a GPU vendor dependency in these results.
>
> BUG=161537
> TEST=new ui_unittests
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=174028
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=174338
>
> Review URL: https://chromiumcodereview.appspot.com/11464017
TBR=nick@chromium.org
Review URL: https://codereview.chromium.org/11737018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174964 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/surface/surface.gyp')
-rw-r--r-- | ui/surface/surface.gyp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ui/surface/surface.gyp b/ui/surface/surface.gyp index fa08607..d0ef432 100644 --- a/ui/surface/surface.gyp +++ b/ui/surface/surface.gyp @@ -66,13 +66,9 @@ 'sources': [ 'accelerated_surface_mac.cc', 'accelerated_surface_mac.h', - 'accelerated_surface_transformer_win.cc', - 'accelerated_surface_transformer_win.h', - 'accelerated_surface_transformer_win.hlsl', 'accelerated_surface_win.cc', 'accelerated_surface_win.h', - 'd3d9_utils_win.cc', - 'd3d9_utils_win.h', + 'accelerated_surface_win.hlsl', 'io_surface_support_mac.cc', 'io_surface_support_mac.h', 'surface_export.h', |