projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "[Tizen] Fix rendering issue by tbm_surface and eglSwapBuffers in native rende...
[platform/core/uifw/dali-adaptor.git]
/
adaptors
/
tizen
/
native-render-surface-tizen.cpp
diff --git
a/adaptors/tizen/native-render-surface-tizen.cpp
b/adaptors/tizen/native-render-surface-tizen.cpp
index
787507f
..
7af6a74
100644
(file)
--- a/
adaptors/tizen/native-render-surface-tizen.cpp
+++ b/
adaptors/tizen/native-render-surface-tizen.cpp
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 201
6
Samsung Electronics Co., Ltd.
+ * Copyright (c) 201
7
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.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-51,6
+51,7
@@
struct NativeRenderSurface::Impl
mTbmFormat( isTransparent ? TBM_FORMAT_ARGB8888 : TBM_FORMAT_RGB888 ),
mOwnSurface( false ),
mDrawableCompleted( false ),
mTbmFormat( isTransparent ? TBM_FORMAT_ARGB8888 : TBM_FORMAT_RGB888 ),
mOwnSurface( false ),
mDrawableCompleted( false ),
+ mTbmQueue( NULL ),
mConsumeSurface( NULL ),
mThreadSynchronization( NULL )
{
mConsumeSurface( NULL ),
mThreadSynchronization( NULL )
{
@@
-129,7
+130,7
@@
void NativeRenderSurface::CreateEglSurface( EglInterface& egl )
Internal::Adaptor::EglImplementation& eglImpl = static_cast<Internal::Adaptor::EglImplementation&>( egl );
Internal::Adaptor::EglImplementation& eglImpl = static_cast<Internal::Adaptor::EglImplementation&>( egl );
- eglImpl.CreateSurfaceWindow(
(EGLNativeWindowType)mImpl->mTbmQueue
, mImpl->mColorDepth );
+ eglImpl.CreateSurfaceWindow(
reinterpret_cast< EGLNativeWindowType >( mImpl->mTbmQueue )
, mImpl->mColorDepth );
}
void NativeRenderSurface::DestroyEglSurface( EglInterface& egl )
}
void NativeRenderSurface::DestroyEglSurface( EglInterface& egl )
@@
-151,7
+152,7
@@
bool NativeRenderSurface::ReplaceEGLSurface( EglInterface& egl )
Internal::Adaptor::EglImplementation& eglImpl = static_cast<Internal::Adaptor::EglImplementation&>( egl );
Internal::Adaptor::EglImplementation& eglImpl = static_cast<Internal::Adaptor::EglImplementation&>( egl );
- return eglImpl.ReplaceSurfaceWindow(
(EGLNativeWindowType)mImpl->mTbmQueue ); // reinterpret_cast does not compile
+ return eglImpl.ReplaceSurfaceWindow(
reinterpret_cast< EGLNativeWindowType >( mImpl->mTbmQueue ) );
}
void NativeRenderSurface::StartRender()
}
void NativeRenderSurface::StartRender()