Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2758)

Unified Diff: cc/layers/texture_layer_impl_unittest.cc

Issue 2337913003: Fork cc::OutputSurface into cc::CompositorFrameSink. (Closed)
Patch Set: cfsfork: android-vulkan Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layers/render_surface_unittest.cc ('k') | cc/layers/texture_layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/texture_layer_impl_unittest.cc
diff --git a/cc/layers/texture_layer_impl_unittest.cc b/cc/layers/texture_layer_impl_unittest.cc
index 32c74e9580147c7d842e8c5c160c5ce1cb4ecced..0551951c12d95118f7a8bdda3e6643178f2dbedf 100644
--- a/cc/layers/texture_layer_impl_unittest.cc
+++ b/cc/layers/texture_layer_impl_unittest.cc
@@ -6,8 +6,8 @@
#include <stddef.h>
+#include "cc/output/compositor_frame_sink.h"
#include "cc/output/context_provider.h"
-#include "cc/output/output_surface.h"
#include "cc/quads/draw_quad.h"
#include "cc/quads/texture_draw_quad.h"
#include "cc/test/layer_test_common.h"
@@ -54,8 +54,10 @@ TEST(TextureLayerImplTest, Occlusion) {
LayerTestCommon::LayerImplTest impl;
gpu::Mailbox mailbox;
- impl.output_surface()->context_provider()->ContextGL()->GenMailboxCHROMIUM(
- mailbox.name);
+ impl.compositor_frame_sink()
+ ->context_provider()
+ ->ContextGL()
+ ->GenMailboxCHROMIUM(mailbox.name);
TextureMailbox texture_mailbox(
mailbox,
gpu::SyncToken(gpu::CommandBufferNamespace::GPU_IO, 0x123,
@@ -112,8 +114,10 @@ TEST(TextureLayerImplTest, OutputIsSecure) {
LayerTestCommon::LayerImplTest impl;
gpu::Mailbox mailbox;
- impl.output_surface()->context_provider()->ContextGL()->GenMailboxCHROMIUM(
- mailbox.name);
+ impl.compositor_frame_sink()
+ ->context_provider()
+ ->ContextGL()
+ ->GenMailboxCHROMIUM(mailbox.name);
TextureMailbox texture_mailbox(
mailbox,
gpu::SyncToken(gpu::CommandBufferNamespace::GPU_IO, 0x123,
« no previous file with comments | « cc/layers/render_surface_unittest.cc ('k') | cc/layers/texture_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698