Signed-off-by: Mun Gwan-gyeong
---
src/compiler/glsl/ir_hierarchical_visitor.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/compiler/glsl/ir_hierarchical_visitor.h
b/src/compiler/glsl/ir_hierarchical_visitor.h
index 824b05e73d..5f5acd041b 100644
This deduplicates free routines of color_buffers array.
v2:
- Add clear_all argument to check clearing all of color_buffers or not.
- Fixes from Eric's review:
a) polish check routine of check_lock and color_buffers[i].locked
b) move 'native_buffer = NULL' to avoid leaking locked buffers
To share common free DRIimage code.
In preparation to adding of new platform which uses this helper.
v2:
- Fixes from Eric's review:
a) Split out series of refactor for helpers to a separate series.
b) Add the new helper function and use them to replace the old code in the
same
This is added for preventing adding of new color buffers structure and back*
when new platform backend is added.
This refactoring separates out the common and platform specific bits.
This makes odd casting in the platform_foo.c but it prevents adding of new
ifdef magic.
Because of color_buffers
Signed-off-by: Mun Gwan-gyeong
---
src/compiler/nir/nir.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index 87c725625d..0174c30504 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@
To share common free DRIimage code.
In preparation to adding of new platform which uses this helper.
v2:
- Fixes from Eric's review:
a) Split out series of refactor for helpers to a separate series.
b) Add the new helper function and use them to replace the old code in the
same
This deduplicates free routines of color_buffers array.
v2:
- Add clear_all argument to check clearing all of color_buffers or not.
- Fixes from Eric's review:
a) polish check routine of check_lock and color_buffers[i].locked
b) move 'native_buffer = NULL' to avoid leaking locked buffers
To share common get and create dri_image_front code.
In preparation to adding of new platform which uses this helper.
v2:
- Remove unneeded ifdef magic
- Fixes from Eric's review:
a) Split out series of refactor for helpers to a separate series.
b) Add the new helper function and use
To share common free DRIimage code.
In preparation to adding of new platform which uses this helper.
v2:
- Fixes from Eric's review:
a) Split out series of refactor for helpers to a separate series.
b) Add the new helper function and use them to replace the old code in the
same
It add an initialization of buffer age on dri2_surface_set_back_buffer().
Fixes from Emil's review
- Split out separated patch for adding of missed initialization of buffer
age. [1]
[1] https://lists.freedesktop.org/archives/mesa-dev/2017-October/173129.html
Signed-off-by: Mun Gwan-gyeong
If color_buffer is set once, we don't need to set a same native buffer to
remained free slot of color_buffers. So we can go out of the loop when
color_buffer is set first.
Fixes from Emil's review
- Add setting "updated" and bailing out when the color_buffer is set.[1]
[1]
To share common update buffer age code.
This updates old buffer's age and sets current back buffer's age to 1.
In preparation to adding of new platform which uses this helper.
v2:
- Fixes from Eric's review:
a) Split out series of refactor for helpers to a separate series.
b) Add the new
From: "Mun, Gwan-gyeong"
This is added for preventing adding of new color buffers structure and back*
when new platform backend is added.
This refactoring separates out the common and platform specific bits.
This makes odd casting in the platform_foo.c but it prevents adding
To share common record buffers and update back buffer code.
This records all the buffers created by each platform's native window and
update back buffer for updating buffer's age in swap_buffers.
In preparation to adding of new platform which uses this helper.
v2:
- Remove unneeded ifdef magic
From: "Mun, Gwan-gyeong"
To share common free outdated buffers and update size code.
This compares width and height arguments with current egl surface dimension,
if the compared surface dimension is differ, then it free local buffers and
updates dimension.
In preparation to
It gives a quick overview and references of developing OpenGLES / EGL
Driver for Tizen.
v2:
- Fixes from Eric's review:
Change links of Setup build environment for Tizen (Raspberry Pi 3) and
Tizen Binary Download Instructions for Raspberry Pi 3 to `tizen-` prefixed
pages.
- Add Setup
It adds support of dri_image_loader to egl dri2 tizen backend.
- referenced a basic buffer flow and management implementation from
android's.
It adds dri_image_back/dri_image_back member variables to dri_egl_surface for
a management of back/front buffers.
v2:
- Fixes from Emil's review:
It adds TIZEN_image_native_surface extension string to _EGLExtensions.
And it adds a routine of creating an EGLImage from a tbm_surface.
- section overview
from
https://www.khronos.org/registry/EGL/extensions/TIZEN/EGL_TIZEN_image_native_surface.txt
"Tizen Buffer Manager (TBM) is a
Tizen platform (actually WL_TBM protocol) internally processes similiar actions
such as mesa's BindWaylandDisplayWL/UnbindWaylandDisplayWL/QueryWaylandBufferWL.
So the platform_tizen.c needs to implemment BindWaylandDisplayWL,
UnbindWaylandDisplayWL and QueryWaylandBufferWL apart from mesa's.
-
It adds support of dri2_loader to egl dri2 tizen backend.
- referenced a basic buffer flow and management implementation from android.
And it implements a query buffer age extesion for tizen and turn on
swap_buffers_with_damage extension.
- it add color buffer related member variables to
In the tizen platform, a wl_buffer wraps a tbm_surface. The tbm_surface contains
gem name or prime fd. For creating dri_image, we need to extract the tbm_surface
from the wl_buffer and we use tpl_display_get_buffer_from_native_pixmap() api
for that.
v2:
a) Add switch's default case to return
It checks tpl-egl/libtbm/libtdm packages and defines HAVE_PLATFORM_TIZEN.
This feature is enabled by the config option '--with-platforms=tizen'
v2: Fixes from Emil's review:
- Add require_libdrm to tizen platform
Signed-off-by: Mun Gwan-gyeong
---
configure.ac | 10
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ *
+ * Authors:
+ *Gwan-gyeong Mun <elong...@gmail.com>
Hi,
These Patch v5 series modified with new helper function series [1].
These series only have mesa for tizen feature.
[1] https://patchwork.freedesktop.org/series/32577/
Thanks,
Gwan-gyeong.
Gwan-gyeong Mun (10):
egl: add a treatment of tizen platform on egl display (v2)
egl/dri2: Add
It adds some member variables for tizen platform on dri2_egl_display and
dri2_egl_surface.
- tpl_display stores a object which encapsulates native disply (wl_display,
gbm_device, tbm_bufmgr) for tizen platfom.
- native_win stores native window (wl_surface, gbm_surface,
It adds a _EGL_PLATFORM_TIZEN enum value to _EGLPlatformType for tizen platform.
It adds a detecting routine of tizen platform to
_eglNativePlatformDetectNativeDisplay()
and _eglGetNativePlatform().
- As tizen platform internally distinguishes native displays of tbm, drm/gbm
and wayland
It add an initialization of buffer age on dri2_surface_set_back_buffer().
Fixes from Emil's review
- Split out separated patch for adding of missed initialization of buffer
age. [1]
[1] https://lists.freedesktop.org/archives/mesa-dev/2017-October/173129.html
Signed-off-by: Mun Gwan-gyeong
To share common get and create dri_image_front code.
In preparation to adding of new platform which uses this helper.
v2:
- Remove unneeded ifdef magic
- Fixes from Eric's review:
a) Split out series of refactor for helpers to a separate series.
b) Add the new helper function and use
This deduplicates free routines of color_buffers array.
v2:
- Add clear_all argument to check clearing all of color_buffers or not.
- Fixes from Eric's review:
a) polish check routine of check_lock and color_buffers[i].locked
b) move 'native_buffer = NULL' to avoid leaking locked buffers
To share common destroy dri_image_front code.
In preparation to adding of new platform which uses this helper.
v2:
- Move dri_image_front to outside of android ifdef block for removing of
ifdef magic on dri2_egl_surface_destroy_image_front().
- Fixes from Eric's review:
a) Split out
To share common record buffers and update back buffer code.
This records all the buffers created by each platform's native window and
update back buffer for updating buffer's age in swap_buffers.
In preparation to adding of new platform which uses this helper.
v2:
- Remove unneeded ifdef magic
To share common destroy dri_image_back code.
In preparation to adding of new platform which uses this helper.
v2:
- Move dri_image_back to outside of android ifdef block for removing of
ifdef magic on dri2_egl_surface_destroy_image_back().
- Fixes from Eric's review:
a) Split out series
From: "Mun, Gwan-gyeong"
This is added for preventing adding of new color buffers structure and back*
when new platform backend is added.
This refactoring separates out the common and platform specific bits.
This makes odd casting in the platform_foo.c but it prevents adding
To share common update buffer age code.
This updates old buffer's age and sets current back buffer's age to 1.
In preparation to adding of new platform which uses this helper.
v2:
- Fixes from Eric's review:
a) Split out series of refactor for helpers to a separate series.
b) Add the new
If color_buffer is set once, we don't need to set a same native buffer to
remained free slot of color_buffers. So we can go out of the loop when
color_buffer is set first.
Fixes from Emil's review
- Add setting "updated" and bailing out when the color_buffer is set.[1]
[1]
From: "Mun, Gwan-gyeong"
To share common free outdated buffers and update size code.
This compares width and height arguments with current egl surface dimension,
if the compared surface dimension is differ, then it free local buffers and
updates dimension.
In preparation to
It adds a _EGL_PLATFORM_TIZEN enum value to _EGLPlatformType for tizen platform.
It adds a detecting routine of tizen platform to
_eglNativePlatformDetectNativeDisplay()
and _eglGetNativePlatform().
- As tizen platform internally distinguishes native displays of tbm, drm/gbm
and wayland
It adds support of dri2_loader to egl dri2 tizen backend.
- referenced a basic buffer flow and management implementation from android.
And it implements a query buffer age extesion for tizen and turn on
swap_buffers_with_damage extension.
- it add color buffer related member variables to
It checks tpl-egl/libtbm/libtdm packages and defines HAVE_PLATFORM_TIZEN.
This feature is enabled by the config option '--with-platforms=tizen'
v2: Fixes from Emil's review:
- Add require_libdrm to tizen platform
Signed-off-by: Mun Gwan-gyeong
---
configure.ac | 10
It gives a quick overview and references of developing OpenGLES / EGL
Driver for Tizen.
v2:
- Fixes from Eric's review:
Change links of Setup build environment for Tizen (Raspberry Pi 3) and
Tizen Binary Download Instructions for Raspberry Pi 3 to `tizen-` prefixed
pages.
- Add Setup
It adds support of dri_image_loader to egl dri2 tizen backend.
- referenced a basic buffer flow and management implementation from
android's.
It adds dri_image_back/dri_image_back member variables to dri_egl_surface for
a management of back/front buffers.
v2:
- Fixes from Emil's review:
060/
https://patchwork.freedesktop.org/patch/181057/
https://patchwork.freedesktop.org/patch/181058/
https://patchwork.freedesktop.org/patch/181061/
https://patchwork.freedesktop.org/patch/181062/
Gwan-gyeong Mun (10):
egl: add a treatment of tizen platform on egl display (v2)
egl/dri2: Add s
In the tizen platform, a wl_buffer wraps a tbm_surface. The tbm_surface contains
gem name or prime fd. For creating dri_image, we need to extract the tbm_surface
from the wl_buffer and we use tpl_display_get_buffer_from_native_pixmap() api
for that.
v2:
a) Add switch's default case to return
Tizen platform (actually WL_TBM protocol) internally processes similiar actions
such as mesa's BindWaylandDisplayWL/UnbindWaylandDisplayWL/QueryWaylandBufferWL.
So the platform_tizen.c needs to implemment BindWaylandDisplayWL,
UnbindWaylandDisplayWL and QueryWaylandBufferWL apart from mesa's.
-
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ *
+ * Authors:
+ *Gwan-gyeong Mun <elong...@gmail.com>
It adds TIZEN_image_native_surface extension string to _EGLExtensions.
And it adds a routine of creating an EGLImage from a tbm_surface.
- section overview
from
https://www.khronos.org/registry/EGL/extensions/TIZEN/EGL_TIZEN_image_native_surface.txt
"Tizen Buffer Manager (TBM) is a
It adds some member variables for tizen platform on dri2_egl_display and
dri2_egl_surface.
- tpl_display stores a object which encapsulates native disply (wl_display,
gbm_device, tbm_bufmgr) for tizen platfom.
- native_win stores native window (wl_surface, gbm_surface,
To share common get and create dri_image_front code.
In preparation to adding of new platform which uses this helper.
v2:
- Remove unneeded ifdef magic
- Fixes from Eric's review:
a) Split out series of refactor for helpers to a separate series.
b) Add the new helper function and use
To share common destroy dri_image_front code.
In preparation to adding of new platform which uses this helper.
v2:
- Move dri_image_front to outside of android ifdef block for removing of
ifdef magic on dri2_egl_surface_destroy_image_front().
- Fixes from Eric's review:
a) Split out
This deduplicates free routines of color_buffers array.
Signed-off-by: Mun Gwan-gyeong
---
src/egl/drivers/dri2/platform_wayland.c | 60 +
1 file changed, 31 insertions(+), 29 deletions(-)
diff --git a/src/egl/drivers/dri2/platform_wayland.c
To share common destroy dri_image_back code.
In preparation to adding of new platform which uses this helper.
v2:
- Move dri_image_back to outside of android ifdef block for removing of
ifdef magic on dri2_egl_surface_destroy_image_back().
- Fixes from Eric's review:
a) Split out series
This is added for preventing adding of new color buffers structure and back*
when new platform backend is added.
This refactoring separates out the common and platform specific bits.
This makes odd casting in the platform_foo.c but it prevents adding of new
ifdef magic.
Because of color_buffers
To share common update buffer age code.
This updates old buffer's age and sets current back buffer's age to 1.
In preparation to adding of new platform which uses this helper.
v2:
- Fixes from Eric's review:
a) Split out series of refactor for helpers to a separate series.
b) Add the new
To share common record buffers and update back buffer code.
This records all the buffers created by each platform's native window and
update back buffer for updating buffer's age in swap_buffers.
In preparation to adding of new platform which uses this helper.
v2:
- Remove unnedded ifdef magic
To share common free outdated buffers and update size code.
This compares width and height arguments with current egl surface dimension,
if the compared surface dimension is differ, then it free local buffers and
updates dimension.
In preparation to adding of new platform which uses this helper.
Signed-off-by: Mun Gwan-gyeong
---
src/egl/drivers/dri2/platform_android.c | 35 +
1 file changed, 1 insertion(+), 34 deletions(-)
diff --git a/src/egl/drivers/dri2/platform_android.c
b/src/egl/drivers/dri2/platform_android.c
index
To share common get and create dri_image_front code.
Signed-off-by: Mun Gwan-gyeong
---
src/egl/drivers/dri2/egl_dri2.c | 36
src/egl/drivers/dri2/egl_dri2.h | 3 +++
2 files changed, 39 insertions(+)
diff --git
It adds TIZEN_image_native_surface extension string to _EGLExtensions.
And it adds a routine of creating an EGLImage from a tbm_surface.
- section overview
from
https://www.khronos.org/registry/EGL/extensions/TIZEN/EGL_TIZEN_image_native_surface.txt
"Tizen Buffer Manager (TBM) is a
It gives a quick overview and references of developing OpenGLES / EGL
Driver for Tizen.
Signed-off-by: Mun Gwan-gyeong
---
docs/systems.html | 1 +
docs/tizen.html | 245 ++
2 files changed, 246 insertions(+)
create
Signed-off-by: Mun Gwan-gyeong
---
src/egl/drivers/dri2/platform_android.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/egl/drivers/dri2/platform_android.c
b/src/egl/drivers/dri2/platform_android.c
index 8dda0a8734..a8e33fb3e2 100644
---
To share common destroy dri_image_back code.
Signed-off-by: Mun Gwan-gyeong
---
src/egl/drivers/dri2/egl_dri2.c | 14 ++
src/egl/drivers/dri2/egl_dri2.h | 3 +++
2 files changed, 17 insertions(+)
diff --git a/src/egl/drivers/dri2/egl_dri2.c
Signed-off-by: Mun Gwan-gyeong
---
src/egl/drivers/dri2/platform_android.c | 11 +--
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/src/egl/drivers/dri2/platform_android.c
b/src/egl/drivers/dri2/platform_android.c
index d5ce48a34c..5c014268b1 100644
It adds support of dri_image_loader to egl dri2 tizen backend.
- referenced a basic buffer flow and management implementation from
android's.
It adds dri_image_back/dri_image_back member variables to dri_egl_surface for
a management of back/front buffers.
v2:
- Fixes from Emil's review:
In the tizen platform, a wl_buffer wraps a tbm_surface. The tbm_surface contains
gem name or prime fd. For creating dri_image, we need to extract the tbm_surface
from the wl_buffer and we use tpl_display_get_buffer_from_native_pixmap() api
for that.
v2:
a) Add switch's default case to return
Signed-off-by: Mun Gwan-gyeong
---
src/egl/drivers/dri2/platform_android.c | 11 ++-
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/src/egl/drivers/dri2/platform_android.c
b/src/egl/drivers/dri2/platform_android.c
index 5c014268b1..8dda0a8734 100644
Signed-off-by: Mun Gwan-gyeong
---
src/egl/drivers/dri2/platform_android.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/src/egl/drivers/dri2/platform_android.c
b/src/egl/drivers/dri2/platform_android.c
index e390365b8b..0acbb38bd8 100644
---
To share common destroy dri_image_front code.
Signed-off-by: Mun Gwan-gyeong
---
src/egl/drivers/dri2/egl_dri2.c | 14 ++
src/egl/drivers/dri2/egl_dri2.h | 3 +++
2 files changed, 17 insertions(+)
diff --git a/src/egl/drivers/dri2/egl_dri2.c
Signed-off-by: Mun Gwan-gyeong
---
src/egl/drivers/dri2/platform_android.c | 25 ++---
1 file changed, 2 insertions(+), 23 deletions(-)
diff --git a/src/egl/drivers/dri2/platform_android.c
b/src/egl/drivers/dri2/platform_android.c
index
Tizen platform (actually WL_TBM protocol) internally processes similiar actions
such as mesa's BindWaylandDisplayWL/UnbindWaylandDisplayWL/QueryWaylandBufferWL.
So the platform_tizen.c needs to implemment BindWaylandDisplayWL,
UnbindWaylandDisplayWL and QueryWaylandBufferWL apart from mesa's.
-
To share common update buffer age code.
This updates old buffer's age and sets current back buffer's age to 1.
Signed-off-by: Mun Gwan-gyeong
---
src/egl/drivers/dri2/egl_dri2.c | 19 +++
src/egl/drivers/dri2/egl_dri2.h | 3 +++
2 files changed, 22
To share common record buffers and update back buffer code.
This records all the buffers created by ANativeWindow [Android] or
tpl_surface (tbm_surface_queue) [TIZEN] and update back buffer for updating
buffer's age in swap_buffers.
Signed-off-by: Mun Gwan-gyeong
---
To share common free outdated buffers and update size code.
This compares width and height arguments with current egl surface dimension,
if the compared surface dimension is differ, then it free local buffers and
updates dimension.
Signed-off-by: Mun Gwan-gyeong
---
It adds support of dri2_loader to egl dri2 tizen backend.
- referenced a basic buffer flow and management implementation from android.
And it implements a query buffer age extesion for tizen and turn on
swap_buffers_with_damage extension.
- it add color buffer related member variables to
It checks tpl-egl/libtbm/libtdm packages and defines HAVE_PLATFORM_TIZEN.
This feature is enabled by the config option '--with-platforms=tizen'
v2: Fixes from Emil's review:
- Add require_libdrm to tizen platform
Signed-off-by: Mun Gwan-gyeong
---
configure.ac | 10
It adds some member variables for tizen platform on dri2_egl_display and
dri2_egl_surface.
- tpl_display stores a object which encapsulates native disply (wl_display,
gbm_device, tbm_bufmgr) for tizen platfom.
- native_win stores native window (wl_surface, gbm_surface,
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ *
+ * Authors:
+ *Gwan-gyeong Mun <elong...@gmail.com>
It adds a _EGL_PLATFORM_TIZEN enum value to _EGLPlatformType for tizen platform.
It adds a detecting routine of tizen platform to
_eglNativePlatformDetectNativeDisplay()
and _eglGetNativePlatform().
- As tizen platform internally distinguishes native displays of tbm, drm/gbm
and wayland
To check a valid usage requirement.
CID: 1401616
Signed-off-by: Mun Gwan-gyeong
---
src/amd/vulkan/radv_cmd_buffer.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c
index 1e0e366820..4db9d7628c 100644
To check a valid usage requirement.
Signed-off-by: Mun Gwan-gyeong
---
src/intel/vulkan/genX_cmd_buffer.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/intel/vulkan/genX_cmd_buffer.c
b/src/intel/vulkan/genX_cmd_buffer.c
index fbc1995709..3559399019 100644
---
It checks tpl-egl/libtbm/libtdm packages and defines HAVE_PLATFORM_TIZEN.
This feature is enabled by the config option '--with-platforms=tizen'
Signed-off-by: Mun Gwan-gyeong
---
configure.ac | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git
Tizen platform (actually WL_TBM protocol) internally processes similiar actions
such as mesa's BindWaylandDisplayWL/UnbindWaylandDisplayWL/QueryWaylandBufferWL.
So the platform_tizen.c needs to implemment BindWaylandDisplayWL,
UnbindWaylandDisplayWL and QueryWaylandBufferWL apart from mesa's.
-
It adds support of dri_image_loader to egl dri2 tizen backend.
- referenced a basic buffer flow and management implementation from
android's.
It adds dri_image_back/dri_image_back member variables to dri_egl_surface for
a management of back/front buffers.
Signed-off-by: Mun Gwan-gyeong
It adds TIZEN_image_native_surface extension string to _EGLExtensions.
And it adds a routine of creating an EGLImage from a tbm_surface.
- section overview
from
https://www.khronos.org/registry/EGL/extensions/TIZEN/EGL_TIZEN_image_native_surface.txt
"Tizen Buffer Manager (TBM) is a
OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ *
+ * Authors:
+ *Gwan-gyeong Mun <elong...@gmail.com>
+ */
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#inclu
It adds support of dri2_loader to egl dri2 tizen backend.
- referenced a basic buffer flow and management implementation from android.
And it implements a query buffer age extesion for tizen and turn on
swap_buffers_with_damage extension.
- it add color buffer related member variables to
In the tizen platform, a wl_buffer wraps a tbm_surface. The tbm_surface contains
gem name or prime fd. For creating dri_image, we need to extract the tbm_surface
from the wl_buffer and we use tpl_display_get_buffer_from_native_pixmap() api
for that.
Signed-off-by: Mun Gwan-gyeong
It adds some member variables for tizen platform on dri2_egl_display and
dri2_egl_surface.
- tpl_display stores a object which encapsulates native disply (wl_display,
gbm_device, tbm_bufmgr) for tizen platfom.
- native_win stores native window (wl_surface, gbm_surface,
It adds a _EGL_PLATFORM_TIZEN enum value to _EGLPlatformType for tizen platform.
It adds a detecting routine of tizen platform to
_eglNativePlatformDetectNativeDisplay()
and _eglGetNativePlatform().
- As tizen platform internally distinguishes native displays of drm/gbm and
wayland
Hi,
these commit series modified some items from previous version.
1. patches are seperated by feature implementation.
2. remove unclearly relevant pbuffer surface-creation code.
3. refactored for removing duplicated codes.
4. rebased for lastest code base.
Gwan-gyeong Mun (9):
egl: add
Signed-off-by: Mun Gwan-gyeong
---
src/gallium/docs/source/context.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/docs/source/context.rst
b/src/gallium/docs/source/context.rst
index 7002802248..6ac45819a6 100644
---
It adds reference links for arguments usage and bind of resource_create().
Signed-off-by: Mun Gwan-gyeong
---
src/gallium/docs/source/screen.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/docs/source/screen.rst
Previous get_paramf links same as get_param. It changes the reference link to
PIPE_CAPF_*
Signed-off-by: Mun Gwan-gyeong
---
src/gallium/docs/source/screen.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/docs/source/screen.rst
A previous expression presents same as TGSI_SEMANTIC_SUBGROUP_GT_MASK.
It fixes a direction of an inequality for TGSI_SEMANTIC_SUBGROUP_LT_MASK.
before:
bit index > TGSI_SEMANTIC_SUBGROUP_INVOCATION
after:
bit index < TGSI_SEMANTIC_SUBGROUP_INVOCATION
Signed-off-by: Mun Gwan-gyeong
before:
dst.xy = (uint64_t) src0.x
dst.zw = (uint64_t) src0.y
after:
dst.xy = (int64_t) src0.x
dst.zw = (int64_t) src0.y
Signed-off-by: Mun Gwan-gyeong
---
src/gallium/docs/source/tgsi.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
Signed-off-by: Mun Gwan-gyeong
---
src/gallium/docs/source/tgsi.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst
index b148c3c939..f9b1385e55 100644
---
Signed-off-by: Mun Gwan-gyeong
---
include/GL/internal/dri_interface.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/GL/internal/dri_interface.h
b/include/GL/internal/dri_interface.h
index 2cbd738439..b90c9b2c66 100644
---
platform_drm, platform_wayland and platform_android have similiar local buffer
allocation routines. For deduplicating, it unifies dri2_egl_surface's
local buffer allocation routines. And it polishes inconsistent indentations.
Note that as dri2_wl_get_buffers_with_format() have not make a
platform_drm, platform_wayland and platform_android have similiar local buffer
allocation routines. For deduplicating, it unifies dri2_egl_surface's
local buffer allocation routines. And it polishes inconsistent indentations.
Signed-off-by: Mun Gwan-gyeong
---
Before, it generates functions like this,
static inline uint32_t ATTRIBUTE_PURE
RENDER_SURFACE_STATE_RedClearColor_start(const struct gen_device_info *devinfo)
{
switch (devinfo->gen) {
case 10: return 384;
case 9: return 384;
case 8: return 255;
case 7:
if
Because of "libvulkan_common.la" directly links libdrm_amdgpu api prior to
"libvulkan_radeon.la", it change a linking order of AMDGPU_LIBS from
"libvulkan_radeon.la" to "libvulkan_common.la".
Signed-off-by: Mun Gwan-gyeong
---
src/amd/vulkan/Makefile.am | 2 +-
1 file
1 - 100 of 110 matches
Mail list logo