2 * Copyright (c) 2018 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
20 #include <dali/internal/graphics/common/egl-image-extensions.h>
23 #include <dali/integration-api/debug.h>
26 #include <dali/internal/graphics/gles/egl-implementation.h>
39 EglImageExtensions::EglImageExtensions(EglImplementation* eglImpl)
40 : mEglImplementation(eglImpl),
41 mImageKHRInitialized(false),
42 mImageKHRInitializeFailed(false)
44 DALI_ASSERT_ALWAYS( eglImpl && "EGL Implementation not instantiated" );
47 EglImageExtensions::~EglImageExtensions()
51 void* EglImageExtensions::CreateImageKHR(EGLClientBuffer clientBuffer)
53 DALI_LOG_ERROR(" does not support CreateImageKHR\n");
57 void EglImageExtensions::DestroyImageKHR(void* eglImageKHR)
59 DALI_LOG_ERROR(" does not support DestroyImageKHR\n");
62 void EglImageExtensions::TargetTextureKHR(void* eglImageKHR)
64 DALI_LOG_ERROR(" does not support TargetTextureKHR\n");
67 void EglImageExtensions::InitializeEglImageKHR()
69 DALI_LOG_ERROR(" does not support InitializeEglImageKHR\n");
72 } // namespace Adaptor
74 } // namespace Internal