diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-10 17:53:30 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-10 17:53:30 +0000 |
commit | 59fee305b4eb62b3f6b710e4d5e19487fff7993d (patch) | |
tree | f1791f2f9c8749469525217fb93fb5cb69c017cf /cc/test/pixel_test_output_surface.h | |
parent | 8e62c624a2ca76440e29c3fe929120f534ea1f8a (diff) | |
download | chromium_src-59fee305b4eb62b3f6b710e4d5e19487fff7993d.zip chromium_src-59fee305b4eb62b3f6b710e4d5e19487fff7993d.tar.gz chromium_src-59fee305b4eb62b3f6b710e4d5e19487fff7993d.tar.bz2 |
cc: Remove DeviceViewport and DeviceClip from the RendererClient
Now the client only contains a method that is needed to be run on
LayerTreeHostImpl, no getters exist. Instead all values are pushed
into the renderer.
Some cleanups in GLRenderer unittests and the pixel tests has resulted.
Since gl_renderer_unittest file changed so dramatically anyway, I did a
clang-format on the whole file.
R=aelias@chromium.org, enne@chromium.org, enne
BUG=
Review URL: https://codereview.chromium.org/108653003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239802 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/pixel_test_output_surface.h')
-rw-r--r-- | cc/test/pixel_test_output_surface.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/cc/test/pixel_test_output_surface.h b/cc/test/pixel_test_output_surface.h index 0b58ac26..2aca4f2 100644 --- a/cc/test/pixel_test_output_surface.h +++ b/cc/test/pixel_test_output_surface.h @@ -22,20 +22,12 @@ class PixelTestOutputSurface : public OutputSurface { void set_surface_expansion_size(gfx::Size surface_expansion_size) { surface_expansion_size_ = surface_expansion_size; } - void set_viewport_offset(gfx::Vector2d viewport_offset) { - viewport_offset_ = viewport_offset; - } - void set_device_clip(gfx::Rect device_clip) { - device_clip_ = device_clip; - } void set_has_external_stencil_test(bool has_test) { external_stencil_test_ = has_test; } private: gfx::Size surface_expansion_size_; - gfx::Vector2d viewport_offset_; - gfx::Rect device_clip_; bool external_stencil_test_; }; |