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
[Tizen] Implement partial update
[platform/core/uifw/dali-adaptor.git]
/
dali
/
internal
/
graphics
/
gles
/
egl-implementation.h
diff --git
a/dali/internal/graphics/gles/egl-implementation.h
b/dali/internal/graphics/gles/egl-implementation.h
old mode 100644
(file)
new mode 100755
(executable)
index
c0cf433
..
12dcbac
--- a/
dali/internal/graphics/gles/egl-implementation.h
+++ b/
dali/internal/graphics/gles/egl-implementation.h
@@
-48,10
+48,12
@@
public:
* @param[in] multiSamplingLevel The Multi-sampling level required
* @param[in] depthBufferRequired Whether the depth buffer is required
* @param[in] stencilBufferRequired Whether the stencil buffer is required
* @param[in] multiSamplingLevel The Multi-sampling level required
* @param[in] depthBufferRequired Whether the depth buffer is required
* @param[in] stencilBufferRequired Whether the stencil buffer is required
+ * @param[in] partialUpdateAvailable Whether the partial update is available
*/
EglImplementation( int multiSamplingLevel,
Integration::DepthBufferAvailable depthBufferRequired,
*/
EglImplementation( int multiSamplingLevel,
Integration::DepthBufferAvailable depthBufferRequired,
- Integration::StencilBufferAvailable stencilBufferRequired );
+ Integration::StencilBufferAvailable stencilBufferRequired,
+ Integration::PartialUpdateAvailable partialUpdateAvailable );
/**
* Destructor
/**
* Destructor
@@
-125,6
+127,16
@@
public:
*/
virtual void SwapBuffers( EGLSurface& eglSurface );
*/
virtual void SwapBuffers( EGLSurface& eglSurface );
+ /**
+ * Get current buffer age
+ */
+ virtual int GetBufferAge( EGLSurface& eglSurface );
+
+ /**
+ * Set Damaged rect for Partial update
+ */
+ virtual void SetDamagedRect( std::vector<int> damagedRectArray, EGLSurface& eglSurface );
+
/**
* Performs an OpenGL copy buffers command
*/
/**
* Performs an OpenGL copy buffers command
*/
@@
-240,6
+252,7
@@
private:
int32_t mMultiSamplingLevel;
int32_t mGlesVersion;
int32_t mMultiSamplingLevel;
int32_t mGlesVersion;
+ std::vector<int> mDamagedRectArray;
ColorDepth mColorDepth;
ColorDepth mColorDepth;
@@
-250,8
+263,12
@@
private:
bool mStencilBufferRequired;
bool mIsSurfacelessContextSupported;
bool mIsKhrCreateContextSupported;
bool mStencilBufferRequired;
bool mIsSurfacelessContextSupported;
bool mIsKhrCreateContextSupported;
-
bool mIsFirstFrameAfterResume;
bool mIsFirstFrameAfterResume;
+ bool mIsKhrPartialUpdateSupported;
+ bool mPartialUpdateAvailable;
+
+ PFNEGLSETDAMAGEREGIONKHRPROC mEglSetDamageRegionKHR;
+ PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC mSwapBuffersWithDamage;
};
} // namespace Adaptor
};
} // namespace Adaptor