STREAM_TEXTURE_RESOURCE,
IO_SURFACE,
-#if defined(GOOGLE_TV)
+#if defined(VIDEO_HOLE)
// TODO(danakj): Implement this with a solid color layer instead of a video
// frame and video layer.
HOLE,
-#endif
+#endif // defined(VIDEO_HOLE)
// TODO(danakj): Remove this and abstract TextureMailbox into
// "ExternalResource" that can hold a hardware or software backing.
gpu::Mailbox mailbox;
PlaneResource(unsigned resource_id,
- gfx::Size resource_size,
+ const gfx::Size& resource_size,
ResourceFormat resource_format,
gpu::Mailbox mailbox)
: resource_id(resource_id),
};
static void RecycleResource(base::WeakPtr<VideoResourceUpdater> updater,
RecycleResourceData data,
- unsigned sync_point,
+ uint32 sync_point,
bool lost_resource);
ContextProvider* context_provider_;