summaryrefslogtreecommitdiffstats
path: root/cc/test/test_context_support.h
diff options
context:
space:
mode:
authoralexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-03 07:26:24 +0000
committeralexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-03 07:26:24 +0000
commit3950477db68ae090f35daadc612734f7356cd580 (patch)
treebcc1a2829304785b5e9c970377184df2bad58029 /cc/test/test_context_support.h
parent17e28caac4f0088c14f98424efdf0868d3d6c94c (diff)
downloadchromium_src-3950477db68ae090f35daadc612734f7356cd580.zip
chromium_src-3950477db68ae090f35daadc612734f7356cd580.tar.gz
chromium_src-3950477db68ae090f35daadc612734f7356cd580.tar.bz2
Initialize overlay validator in GpuBrowserCompositorOutputSurface.
Plus refactor overlay transform into separate file to use the same type in cc, ozone and context_support. BUG= Review URL: https://codereview.chromium.org/220723006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261301 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/test_context_support.h')
-rw-r--r--cc/test/test_context_support.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/test/test_context_support.h b/cc/test/test_context_support.h
index 9fd5d1d..7162b21 100644
--- a/cc/test/test_context_support.h
+++ b/cc/test/test_context_support.h
@@ -30,7 +30,7 @@ class TestContextSupport : public gpu::ContextSupport {
virtual void SetSwapBuffersCompleteCallback(
const base::Closure& callback) OVERRIDE;
virtual void ScheduleOverlayPlane(int plane_z_order,
- unsigned plane_transform,
+ gfx::OverlayTransform plane_transform,
unsigned overlay_texture_id,
const gfx::Rect& display_bounds,
const gfx::RectF& uv_rect) OVERRIDE;
@@ -42,7 +42,7 @@ class TestContextSupport : public gpu::ContextSupport {
const SurfaceVisibleCallback& set_visible_callback);
typedef base::Callback<void(int plane_z_order,
- unsigned plane_transform,
+ gfx::OverlayTransform plane_transform,
unsigned overlay_texture_id,
const gfx::Rect& display_bounds,
const gfx::RectF& crop_rect)>