/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
#include <dali/public-api/object/any.h>
#include <dali/public-api/object/base-object.h>
#include <dali/public-api/adaptor-framework/native-image-source.h>
-#include <dali/public-api/images/native-image.h>
#include <toolkit-application.h>
namespace Dali
#define DALI_TOOLKIT_INTERNAL_VIDEO_VIEW_H
/*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
// EXTERNAL INCLUDES
#include <dali/public-api/object/property-map.h>
-#include <dali/public-api/images/native-image.h>
#include <dali/public-api/object/property-notification.h>
#include <dali/public-api/object/property-conditions.h>
#include <dali/public-api/rendering/renderer.h>
#include <dali/devel-api/scripting/enum-helper.h>
#include <dali/devel-api/scripting/scripting.h>
#include <dali/public-api/common/stage.h>
-#include <dali/public-api/images/native-image.h>
#include <dali/public-api/adaptor-framework/native-image-source.h>
#include <dali/public-api/object/type-registry.h>
#include <dali/public-api/object/type-registry-helper.h>
if( mWebEngine )
{
Texture texture = Dali::Texture::New( *mWebEngine.GetNativeImageSource() );
- const std::string nativeImageUrl = Dali::Toolkit::TextureManager::AddTexture( texture );
+ const std::string nativeImageUrl = Dali::Toolkit::TextureManager::AddTexture( texture );
mVisual = Toolkit::VisualFactory::Get().CreateVisual(
{ { Toolkit::Visual::Property::TYPE, Toolkit::Visual::IMAGE } ,
{ Toolkit::ImageVisual::Property::URL, nativeImageUrl } } );
{
Texture texture = Dali::Texture::New( *mWebEngine.GetNativeImageSource() );
const std::string nativeImageUrl = Dali::Toolkit::TextureManager::AddTexture( texture );
-
mVisual = Toolkit::VisualFactory::Get().CreateVisual(
{ { Toolkit::Visual::Property::TYPE, Toolkit::Visual::IMAGE } ,
{ Toolkit::ImageVisual::Property::URL, nativeImageUrl } } );