platform/core/uifw/coregl.git
8 years agocoregl_fastpath: Fix some issue in core_fastpath_gl.c 36/83136/2
Zhaowei Yuan [Mon, 8 Aug 2016 20:34:17 +0000 (04:34 +0800)]
coregl_fastpath: Fix some issue in core_fastpath_gl.c

Modification includes:
1. Add process for missed target
2. Pass real object to GL driver
3. Convert output parameters as needed

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: Idcb6a992db8204d5880f098d6d8b37fdaae6e553

8 years agocoregl_fastpath: Change GL error for failed real object getting 21/83121/4
Zhaowei Yuan [Mon, 8 Aug 2016 19:58:43 +0000 (03:58 +0800)]
coregl_fastpath: Change GL error for failed real object getting

If failed to get a real object, GL error should be set according
to the same behavior of GL driver

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I2f3f3506aa459ad1a0409a58e0364cfae3e75837

8 years agocoregl_fastpath: Convert for more parameter types 08/83108/4
Zhaowei Yuan [Mon, 8 Aug 2016 19:40:09 +0000 (03:40 +0800)]
coregl_fastpath: Convert for more parameter types

Output paremeters which have types added by this
patch should be converted by attaching object type

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: Idd582f5810062b2423e8e81e621d3eecdb5735b6

8 years agocoregl_fastpath: Add support for some extensions 03/83103/4
Zhaowei Yuan [Mon, 8 Aug 2016 19:21:09 +0000 (03:21 +0800)]
coregl_fastpath: Add support for some extensions

This patch adds fast path support for extensions
and add missed override process of some interfaces

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: Ie6a700c80048ea37310c2214063f71f6370ab85a

8 years agocoregl_fastpath: Remove support for unnecessary interface 97/83097/2
Zhaowei Yuan [Mon, 8 Aug 2016 19:09:02 +0000 (03:09 +0800)]
coregl_fastpath: Remove support for unnecessary interface

This patch removes some interfaces which are not supposed
to go through fast path

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: If7865ad9aee404ebaaaf7dc04e92d3f7123cf017

8 years agocoregl_fastpath: Add process of some missed state 55/82855/3
Zhaowei Yuan [Sun, 7 Aug 2016 19:20:04 +0000 (03:20 +0800)]
coregl_fastpath: Add process of some missed state

1. Redefine macro STATE_COMPARE
2. Add handling for state array in function
fastpath_make_context_current()

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I2e3a4b098acfbad02265e3115da38bb0006a31e4

8 years agoAdd support for some missing processing of state which is detected by Khronos CTS 94/81294/7
Zhaowei Yuan [Sun, 24 Jul 2016 21:20:18 +0000 (05:20 +0800)]
Add support for some missing processing of state which is detected by Khronos CTS

Modification including:
1. Add missing contest states and related processing like
gl_shader_storage_buffer_binding
2. Rename all context states in the from of gl_num_xxx
to gl_xxx_num, for convenient macro processing in
fastpath_glBindBuffer()
3. Clear all buffer binding related state arrays which are
set in fastpath_glBindBufferBase() if argument buffer 0 is
passed to fastpath_glBindBuffer()

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: Ie28eaac2bdff8299c4575e6415c34ae41273f39f

8 years agoAdd considering of initial value when compare state 60/81260/4
Zhaowei Yuan [Sun, 24 Jul 2016 18:17:36 +0000 (02:17 +0800)]
Add considering of initial value when compare state

Initial value of each state can be possible the same
with the variable which it is going to compare
with, it blocks caller from calling of GPU Verndor GL Driver's mistaken

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I8ecfb62a4679f34d3925ba41ddad52892183f16d

8 years agoAdd support for extensions needed by Khronos CTS 40/81240/4
Zhaowei Yuan [Sun, 24 Jul 2016 15:06:17 +0000 (23:06 +0800)]
Add support for extensions needed by Khronos CTS

Those extensions are needed by Khronos CTS test case
"ES3-CTS.gtf.GLCoverage.CoverageES30"

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I5acee917083d9af9a48593ddf588ce8b2ea307ed

8 years agoFix runtime warning about "GL_MAX_UNIFORM_BUFFER_BINDINGS" 37/81237/5
Zhaowei Yuan [Sun, 24 Jul 2016 14:13:35 +0000 (22:13 +0800)]
Fix runtime warning about "GL_MAX_UNIFORM_BUFFER_BINDINGS"

Vaule of initial_ctx->gl_num_uniform_buffer_bindings[0]
is get by calling glGetIntegerv(GL_MAX_UNIFORM_BUFFER_BINDINGS..)
Various GPU Vendor GLES/EGLDirvers can return the result from 36 to 72.

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I8e25dbd7f166933a1718ebbaf8d923c383b5e508

8 years agoRemove assert in eglReleaseThread,according to spec, 18/78818/2 submit/tizen/20160804.042831
xuelian.bai [Thu, 7 Jul 2016 11:02:28 +0000 (19:02 +0800)]
Remove assert in eglReleaseThread,according to spec,
Even if EGL is not initialized on any EGLDisplay,
eglReleaseThread should succeed
Change-Id: Ie15e8f57305d2a8f81cb6e3ddb623ca8bae08358
Signed-off-by: xuelian.bai <xuelian.bai@samsung.com>
8 years agoFix memory accessing overflow 54/80054/1
Zhaowei Yuan [Wed, 13 Jul 2016 20:11:00 +0000 (04:11 +0800)]
Fix memory accessing overflow

Size of arrays like ctx->gl_tex_2d_state[] should
be assgined to GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
which is the max number of active textures

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: Id2512f705beb6fff532c108202910cca24504103

8 years agoFix context creating error when FASTPATH is enabled 53/80053/1
Zhaowei Yuan [Wed, 13 Jul 2016 20:09:00 +0000 (04:09 +0800)]
Fix context creating error when FASTPATH is enabled

1. According to EGL spec file, set default value of
major_version in real_ctx_option as 1 and set default
value of minor_version in real_ctx_option as 0
2. Don't take an exist context as the sharing of the
new created one if their major versions don't match

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I2d9e3333adf6601e921c1ec6befd129f4673a887

8 years agoApply fastpath and tracepath for GLES 1.1 50/80050/1
Zhaowei Yuan [Wed, 13 Jul 2016 20:02:44 +0000 (04:02 +0800)]
Apply fastpath and tracepath for GLES 1.1

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I025add95138d500d7c7f25af953b2cc1ebaedd46

8 years agoAdd support for GLES 3.2 43/78843/2
Zhaowei Yuan [Wed, 6 Jul 2016 17:53:17 +0000 (01:53 +0800)]
Add support for GLES 3.2

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I3f7b9a3d5f19408c537945b6c7a7fd0cb9a1b7ef

8 years agoFix GLview gear test crash 86/78386/6
xuelian.bai [Tue, 5 Jul 2016 17:07:29 +0000 (01:07 +0800)]
Fix GLview gear test crash

Crash is caused by
1. Limited temp string length
2. Uninitialized egl context.
GLview gear test created a new context
but never makecurrent it, that cause
crash in iterate.

Change-Id: I603268ebf50a7019e9c6cca4f772f776d773f159
Signed-off-by: xuelian.bai <xuelian.bai@samsung.com>
8 years agoFix runtime warning for GLES3.2 08/78508/1
xuelian.bai [Wed, 6 Jul 2016 09:25:48 +0000 (17:25 +0800)]
Fix runtime warning for GLES3.2
Change-Id: I0d4a1455a3b90a726c3ec66f705ebd7c94dc0b92
Signed-off-by: xuelian.bai <xuelian.bai@samsung.com>
8 years agoSeparate GLES API according to version 51/76151/7
Zhaowei Yuan [Wed, 22 Jun 2016 15:20:35 +0000 (23:20 +0800)]
Separate GLES API according to version

This patch separates GLES API into 2 individual librays:
libGLESv1_CM.so.1.1 & libGLESv2.so.2.0
code changes:
1. Divide coregl_gl.c into coregl1.c, coregl2.c and coregl_common.c
2. Divide sym_gl.h into sym_gl1.h, sym_gl2.h and sym_gl_common.h
3. Remove fastpath and tracepath support for GLES1.1 APIs

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I178cb4b0926236219f031fbf0c898e238faf1dee

8 years agoAdd support for GLES V1.1 55/74655/6
Zhaowei Yuan [Tue, 14 Jun 2016 18:28:10 +0000 (02:28 +0800)]
Add support for GLES V1.1

This patch adds supprot for GLES V1.1:
1. Add GLES V1.1 interfaces
2. Add typedef PFNGLPOINTSIZEPOINTEROESPROC in include_khr\gles\gl.h
3. Create soft link libGLESv1_CM.so.1.1

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I5f4c227abda85fed825573281bcc0bb20458d1f4

8 years agoRevert commit "Add GLESV1_CM virtual (dummy function) library" 76/74476/1
Zhaowei Yuan [Mon, 13 Jun 2016 21:43:08 +0000 (05:43 +0800)]
Revert commit "Add GLESV1_CM virtual (dummy function) library"

Reverted commit ID: 448c9c9a97e4d97b1c1982ea3fbf9ecebf2767e0
Link: https://review.tizen.org/gerrit/#/c/66597/2
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: Ie0a2281b9aa8b0ece13fea8d6e33497568c4bd2e

8 years agoAdd support for eglFrontBufferSetSEC 30/72030/1
Mun, Gwan-gyeong [Mon, 30 May 2016 08:54:13 +0000 (17:54 +0900)]
Add support for eglFrontBufferSetSEC

Change-Id: I911384d5da893412d52b0053d9cf562f4d7bb715

8 years agoUpdate Khronos headers 96/69896/1 accepted/tizen/common/20160531.143656 accepted/tizen/ivi/20160520.002204 accepted/tizen/ivi/20160602.230918 accepted/tizen/mobile/20160520.002141 accepted/tizen/mobile/20160602.230933 accepted/tizen/tv/20160520.002128 accepted/tizen/tv/20160602.230905 accepted/tizen/wearable/20160520.002151 accepted/tizen/wearable/20160602.230855 submit/tizen/20160518.032718 submit/tizen/20160519.042823 submit/tizen/20160519.045927 submit/tizen/20160602.081330 submit/tizen_common/20160530.124515
Mun, Gwan-gyeong [Tue, 17 May 2016 08:20:43 +0000 (17:20 +0900)]
Update Khronos headers
 - Generated on date 20160419
 - from https://www.khronos.org/registry/gles/

Change-Id: I65e643552516b83d240c667bdbaa479c295db911

8 years agoAdd support for KHR_partial_update and KHR_swap_buffers_with_damage 34/69034/6 accepted/tizen/common/20160513.123357 accepted/tizen/ivi/20160513.004749 accepted/tizen/mobile/20160513.004812 accepted/tizen/tv/20160513.004731 accepted/tizen/wearable/20160513.004752 submit/tizen/20160512.144703
Xuelian Bai [Tue, 10 May 2016 19:33:47 +0000 (03:33 +0800)]
Add support for KHR_partial_update and KHR_swap_buffers_with_damage

Extension links:
https://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_partial_update.txt
https://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_swap_buffers_with_damage.txt

Signed-off-by: Xuelian Bai <xuelian.bai@samsung.com>
Change-Id: I34a0a513da6f7563ddc32cef4f0804df6f886b65

8 years agoChange type of ctx name from array to pointer, to avoid data overflow. 54/68554/3 accepted/tizen/ivi/20160513.004458 accepted/tizen/mobile/20160513.004512 accepted/tizen/tv/20160513.004502 accepted/tizen/wearable/20160513.004451 submit/tizen/20160512.072056
xuelian.bai [Fri, 6 May 2016 05:34:12 +0000 (13:34 +0800)]
Change type of ctx name from array to pointer, to avoid data overflow.

Change-Id: Iaa01af8521369b596f021e10994f517a0e00e605

8 years agoAdd null check before pointer value dereference 43/68143/1 accepted/tizen/common/20160504.125111 accepted/tizen/ivi/20160503.013424 accepted/tizen/mobile/20160503.013332 accepted/tizen/tv/20160503.013352 accepted/tizen/wearable/20160503.013406 submit/tizen/20160502.124315
Mun, Gwan-gyeong [Mon, 2 May 2016 12:34:54 +0000 (21:34 +0900)]
Add null check before pointer value dereference

Change-Id: Ife9b8af01a3a148c6a4a5c49385cdc0d7c567584

8 years agoFix implicit removal of dummy symbolic link file (libGLESv1_CM.so.1.1) by ldconfig. 90/67990/1 submit/tizen/20160502.044445
Mun, Gwan-gyeong [Fri, 29 Apr 2016 13:47:28 +0000 (22:47 +0900)]
Fix implicit removal of dummy symbolic link file (libGLESv1_CM.so.1.1) by ldconfig.

Change-Id: Ic21138555a2998f72818ad849ec43dd5f2857893

8 years agoFix typo of glesv1.1 package config file 77/67677/1 accepted/tizen/common/20160428.144644 accepted/tizen/ivi/20160428.081917 accepted/tizen/mobile/20160428.081928 accepted/tizen/tv/20160428.081944 accepted/tizen/wearable/20160428.081906 submit/tizen/20160428.030402
Mun, Gwan-gyeong [Thu, 28 Apr 2016 02:58:14 +0000 (11:58 +0900)]
Fix typo of glesv1.1 package config file

Change-Id: Ia201e61cf7de3290f14fe78fe4948fa7809cd474

8 years agoRemove symbolic link of libGLESv1_CM.so and create libGLESv1_CM.so's symbolic link... 89/67189/1 accepted/tizen/common/20160426.143158 accepted/tizen/ivi/20160425.232004 accepted/tizen/mobile/20160425.232002 accepted/tizen/tv/20160425.231948 accepted/tizen/wearable/20160425.231941 submit/tizen/20160425.141129
Mun, Gwan-gyeong [Mon, 25 Apr 2016 13:50:35 +0000 (22:50 +0900)]
Remove symbolic link of libGLESv1_CM.so and create libGLESv1_CM.so's symbolic link on rpm post section.
 : on https://build.tizen.org/package/view_file?expand=1&file=_service%3Agbs%3Arpm.spec&package=rpm&project=Tizen%3ABase
   "install -m 644 %{SOURCE9} %{buildroot}%{rpmhome}/fileattrs/libsymlink.attr" makes explicit dependancy for symbolic link file if package does not include symbolic link's target.

Change-Id: Ib3515321e4ec47755d1522794d6917b9d94336ca

8 years agoAdd GLESV1_CM virtual (dummy function) library. 97/66597/2 accepted/tizen/common/20160422.172148 accepted/tizen/ivi/20160425.044112 accepted/tizen/mobile/20160425.044039 accepted/tizen/tv/20160425.044102 accepted/tizen/wearable/20160425.044050 submit/tizen/20160422.084818
Mun, Gwan-gyeong [Tue, 19 Apr 2016 16:11:38 +0000 (01:11 +0900)]
Add GLESV1_CM virtual (dummy function) library.
 - It is used for application linking with GLESV1_CM
 - this library is provided by devel package

Change-Id: Ifd0483e3b8d4a6dd6d8031517a5e70df881827fd

8 years agoFix int to pointer typecasting build warnings on 64bit environment. 46/62346/1 accepted/tizen/common/20160316.160300 accepted/tizen/ivi/20160318.111435 accepted/tizen/mobile/20160318.111019 accepted/tizen/tv/20160318.111138 accepted/tizen/wearable/20160318.111206 submit/tizen/20160315.123740
Mun, Gwan-gyeong [Tue, 15 Mar 2016 11:53:04 +0000 (20:53 +0900)]
Fix int to pointer typecasting build warnings on 64bit environment.

Change-Id: I7b4a66bf3af8086447e07be21e248ca703674c51

8 years agoReplace vulnerable function 'sprintf' to 'snprintf on coregl_fastpath_egl.c 95/62095/1 accepted/tizen/ivi/20160315.002852 accepted/tizen/mobile/20160315.002800 accepted/tizen/tv/20160315.002816 accepted/tizen/wearable/20160315.002836 submit/tizen/20160314.102032
Mun, Gwan-gyeong [Mon, 14 Mar 2016 09:03:20 +0000 (18:03 +0900)]
Replace  vulnerable function 'sprintf' to 'snprintf on coregl_fastpath_egl.c

Change-Id: Idabe5f0a01f44ca8e00217d870847966dcd9a8fa

8 years agoModify spec file for installing license files. 97/61897/1 accepted/tizen/ivi/20160313.233606 accepted/tizen/mobile/20160313.233424 accepted/tizen/tv/20160313.233533 accepted/tizen/wearable/20160313.233455 submit/tizen/20160311.062734
joonbum.ko [Fri, 11 Mar 2016 05:46:25 +0000 (14:46 +0900)]
Modify spec file for installing license files.

Change-Id: I93d99158ed5eda1bba6ef184a3d892f7f6edf821

8 years agoReplace vulnerable function 'sprintf' to 'snprintf' 10/61410/2 accepted/tizen/common/20160310.065039 accepted/tizen/ivi/20160309.004430 accepted/tizen/mobile/20160309.004341 accepted/tizen/tv/20160309.004357 accepted/tizen/wearable/20160309.004412 submit/tizen/20160308.014423
Mun, Gwan-gyeong [Mon, 7 Mar 2016 14:12:38 +0000 (23:12 +0900)]
Replace  vulnerable function 'sprintf' to 'snprintf'

Change-Id: I746a13501ebc7f4f0df320f6639928a5f6dab494

8 years agoAdd null check before pointer value dereference 09/61409/2
Mun, Gwan-gyeong [Mon, 7 Mar 2016 13:08:20 +0000 (22:08 +0900)]
Add null check before pointer value dereference

Change-Id: I45e790447f9e03b19bd1a77e03c1d3b9a2ac906a

8 years agoReplace vulnerable function 'strcpy' to 'strncpy' 08/61408/2
Mun, Gwan-gyeong [Mon, 7 Mar 2016 12:55:07 +0000 (21:55 +0900)]
Replace  vulnerable function 'strcpy' to 'strncpy'

Change-Id: I120694b6c0c1ed0dbfc58f76ea2811d4517b0cdb

8 years agoAdd Null check on Return value of a function 'dlsym' 07/61407/1
Mun, Gwan-gyeong [Mon, 7 Mar 2016 12:48:46 +0000 (21:48 +0900)]
Add Null check on Return value of a function 'dlsym'

Change-Id: Ibd16dfa12003dbd6964c08cd1c06688cd0aa34aa

8 years agoUpdate CoreGL License 75/61275/1
Mun, Gwan-gyeong [Mon, 7 Mar 2016 06:22:51 +0000 (15:22 +0900)]
Update CoreGL License
  Apache 2.0
  SGI Free Software License B v2.0
  MIT
  Zlib

Change-Id: Ic4942c3b78377caf2a66b7fac048727be0ffcb62

8 years agoMerge "Add coding style guide. Apply coding style." into tizen accepted/tizen/wearable/20160307.020705 submit/tizen_wearable/20160304.133021
Sangjin Lee [Mon, 22 Feb 2016 23:10:43 +0000 (15:10 -0800)]
Merge "Add coding style guide. Apply coding style." into tizen

8 years agoAdd coding style guide. 74/59874/1
Mun, Gwan-gyeong [Fri, 19 Feb 2016 05:48:23 +0000 (14:48 +0900)]
Add coding style guide.
Apply coding style.

Change-Id: Ie735827982a9304e161742fbc6f210c4a5d993d2

8 years agoAdd glActiveShaderProgram wrapper function. 89/59289/1
joonbum.ko [Fri, 12 Feb 2016 07:17:58 +0000 (16:17 +0900)]
Add glActiveShaderProgram wrapper function.

Change-Id: Ib1b31665c153d75f91d49dd2a8ae06dcf1d1201e

8 years agoAdd EGL_PLATFORM_TBM_EXT specs to eglext.h 57/58057/1
Mun, Gwan-gyeong [Wed, 27 Jan 2016 07:53:52 +0000 (16:53 +0900)]
Add EGL_PLATFORM_TBM_EXT specs to eglext.h

Change-Id: I392a04f3f85263161885305f28bb36fccb801a34

8 years agoFix memory bug and prevent potential leak. 39/57939/1
joonbum.ko [Fri, 22 Jan 2016 03:49:43 +0000 (12:49 +0900)]
Fix memory bug and prevent potential leak.

Change-Id: Iadeb173177b09b21fb3674b1ed726e1da7b3d994

8 years ago1.add fastpath APIs for OpenGLES_DDK 40/56340/1
xing.huang [Thu, 26 Nov 2015 07:02:29 +0000 (15:02 +0800)]
1.add fastpath APIs for OpenGLES_DDK
2.open macro to support GL_OES_EGL_image_external and GL_EXT_disjoint_timer_query
3.add support for the api which not needed by fastpath mode
4.egl extension call API through eglGetProcAddress

Change-Id: I0c8084f21c7d3d840ef98d95b71842408ab89a2a

8 years agoFix package-config file's library directory for 64bit architecture. 20/56120/1
Mun, Gwan-gyeong [Mon, 4 Jan 2016 14:02:12 +0000 (23:02 +0900)]
Fix package-config file's library directory for 64bit architecture.

Change-Id: If8c4f3e65d5b8567982af573843fdc7f3e7862a9

8 years agoAdd error checking code for initialize of real EGL. 85/55485/1 accepted/tizen/common/20160128.122204 accepted/tizen/ivi/20160218.023851 accepted/tizen/mobile/20151224.064855 accepted/tizen/tv/20151224.064911 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718 submit/tizen_common/20160104.140200 submit/tizen_common/20160112.103336 submit/tizen_common/20160127.161648 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000003 submit/tizen_mobile/20151224.041700 submit/tizen_tv/20151224.041643
Mun, Gwan-gyeong [Thu, 24 Dec 2015 03:57:15 +0000 (12:57 +0900)]
Add error checking code for initialize of real EGL.

Change-Id: Id635f0e87c5d5d6309b3ca10dd7df7c82bb82e69

8 years agoAdd wayland specs to eglext.h 74/54474/1 accepted/tizen/mobile/20151223.053234 accepted/tizen/tv/20151223.053402 submit/tizen_mobile/20151222.091330 submit/tizen_tv/20151222.090910
Mun, Gwan-gyeong [Mon, 14 Dec 2015 05:36:16 +0000 (14:36 +0900)]
Add wayland specs to eglext.h

Change-Id: I1d997f51b299d53e6b0444877953c6fc3794abb1

8 years agoFix egl package config version 73/54473/1
Mun, Gwan-gyeong [Mon, 7 Dec 2015 06:52:29 +0000 (15:52 +0900)]
Fix egl package config version
  match to mesa egl version.

Change-Id: Ida942be9ace41c9893dadd5d88af3b6a7211e0df

8 years agoAdd devel package requires. 72/54472/1
Mun, Gwan-gyeong [Mon, 7 Dec 2015 06:30:09 +0000 (15:30 +0900)]
Add devel package requires.
  libwayland-egl
  libgbm-devel

Change-Id: Ib50c214f4f2e91d3bb8285c7b494b3bd06d11f27

8 years agoAdd ix86 and x86_64 to Build Architecture. 71/54471/1
Mun, Gwan-gyeong [Mon, 7 Dec 2015 04:28:53 +0000 (13:28 +0900)]
Add ix86 and x86_64 to Build Architecture.

Change-Id: I2d47b050ffca66c021afa8bd46908e618231330c

8 years agoMerge branch 'spin-tizen_3.0' into tizen submit/devel/coregl/20151204.063909 submit/tizen_mobile/20151202.065613 submit/tizen_mobile/20151204.053947 submit/tizen_tv/20151202.065316 submit/tizen_tv/20151204.053802
Sangjin Lee [Wed, 25 Nov 2015 07:36:56 +0000 (16:36 +0900)]
Merge branch 'spin-tizen_3.0' into tizen

8 years agoAdd egl.pc
Mun, Gwan-gyeong [Tue, 24 Nov 2015 15:19:56 +0000 (00:19 +0900)]
Add egl.pc
Remove unused file
Fix description on package config file

Change-Id: I1cda3fcd47c89726676c2c37d94a766521f14cd4

8 years agoInitial empty repository master
KyungMi Lee [Thu, 5 Nov 2015 04:24:53 +0000 (20:24 -0800)]
Initial empty repository

9 years agoAdd fastpath APIs for OpenGLES_DDK 3.1
Xuelian Bai [Sun, 1 Nov 2015 21:40:49 +0000 (05:40 +0800)]
Add fastpath APIs for OpenGLES_DDK 3.1

This patch adds fastpath APIs for OpenGLES_DDK 3.1

Change-Id: Ifec42bccefd3f544983cf9e5fdb32e66a6fbcab7
Signed-off-by: Xuelian Bai <xuelian.bai@samsung.com>
9 years agoFix build error for 64bit architecture
Keeho Song [Thu, 24 Sep 2015 07:04:29 +0000 (16:04 +0900)]
Fix build error for 64bit architecture

Change-Id: I43babdbfe40fb035e8719ecaffdb385f53b13e4c

9 years agoDelete X11 dependency and enable png image dump
joonbum.ko [Wed, 9 Sep 2015 04:11:47 +0000 (13:11 +0900)]
Delete X11 dependency and enable png image dump

Change-Id: If046b2aad937e2786c1bb63288094caac8c036ff

9 years agoDisable bypass capability by default
Sangwon Ha [Wed, 6 May 2015 06:20:32 +0000 (15:20 +0900)]
Disable bypass capability by default

Change-Id: Ibe90ab34a0edff78f47a78b07dec4e6577126129

9 years agoAdd CoreGL bypassing functionality
Sangwon Ha [Wed, 15 Apr 2015 07:58:05 +0000 (16:58 +0900)]
Add CoreGL bypassing functionality

Change-Id: I89b9d64e8c848ead68ade4680d14df25f220eb00

9 years ago[rel-02] Add devel pkg
Sangwon Ha [Thu, 26 Mar 2015 07:14:04 +0000 (16:14 +0900)]
[rel-02] Add devel pkg

  - Add Khronos EGL 1.4 / OpenGL ES 1.1 2.0 header files
  - Add pkg-config files for OpenGL 1.1 and 2.0
  - NOTE: CoreGL DOES NOT support OpenGL 1.1

Change-Id: I070c8fa0a1f6c8e1056b46a31f97db186b53c359

9 years agoSimplify build configuration and cleanup spec file
Sangwon Ha [Fri, 13 Mar 2015 14:08:26 +0000 (23:08 +0900)]
Simplify build configuration and cleanup spec file

Change-Id: If8a6465de73877819b59236eb8b1dd704d43679d

10 years ago- Add eglPostSubBufferNV on fast path support extension list
cw2010.kim [Fri, 26 Sep 2014 06:06:50 +0000 (15:06 +0900)]
- Add eglPostSubBufferNV on fast path support extension list

Change-Id: I22118d04ef64fb6cc2404211206aa996ed0572d9

10 years ago fix bug : add eglWaitSyncKHR function on fastpath
cw2010.kim [Thu, 7 Aug 2014 12:59:51 +0000 (21:59 +0900)]
 fix bug : add eglWaitSyncKHR function on fastpath

10 years agochange version
Sukwon Suh [Thu, 7 Aug 2014 08:13:24 +0000 (17:13 +0900)]
change version

Change-Id: I2d8d9c923d6814ecb28dc3ab579eb97ccfb14263

10 years agoremove build warnings
Sukwon Suh [Thu, 7 Aug 2014 06:48:00 +0000 (15:48 +0900)]
remove build warnings

Change-Id: Ic02de954faaa4c2365da4d4a337d9808f3e02736

10 years agofix bug : add eglSignalSyncKHR function on fastpath
Sukwon Suh [Wed, 6 Aug 2014 05:53:33 +0000 (14:53 +0900)]
fix bug : add eglSignalSyncKHR function on fastpath

Change-Id: I71982c4b82282b8e62f785da22cb0f31d46b51be
Signed-off-by: Sukwon Suh <sukwon.suh@samsung.com>
10 years agoRemove glEGLImageTargetTexture2DOES from fastpath
Dongyeon Kim [Mon, 9 Jun 2014 12:24:35 +0000 (21:24 +0900)]
Remove glEGLImageTargetTexture2DOES from fastpath

10 years ago[SRUK] Check GLES version supported by driver, and handle 3.0 if driver supports it.
mythri.venugopal [Tue, 11 Feb 2014 15:06:42 +0000 (15:06 +0000)]
[SRUK] Check GLES version supported by driver, and handle 3.0 if driver supports it.
The GLES version is obtained by checking the presence of glReadBuffer symbol.

10 years agoFix for error while running gfxbench with Fastpath.
mythri.venugopal [Fri, 31 Jan 2014 14:51:02 +0000 (14:51 +0000)]
Fix for error while running gfxbench with Fastpath.
According to spec, glDrawBuffers return GL_INVALID_OPERATION if the GL is bound to the default framebuffer and n is not 1.
http://www.khronos.org/opengles/sdk/docs/man3/xhtml/glDrawBuffers.xml

10 years agoRemoved unnecessary Error messages.
mythri.venugopal [Fri, 17 Jan 2014 10:03:02 +0000 (10:03 +0000)]
Removed unnecessary Error messages.

10 years agoIn eglMakeCurrent: a) Remove error message when old and new ctx are same
mythri.venugopal [Wed, 15 Jan 2014 14:55:44 +0000 (14:55 +0000)]
In eglMakeCurrent: a) Remove error message when old and new ctx are same
b) Update references only when old and new ctx are different.

10 years agoImplementation of fastpath_eglGetCurrentDisplay() to return locally stored display...
mythri.venugopal [Tue, 7 Jan 2014 17:23:35 +0000 (17:23 +0000)]
Implementation of fastpath_eglGetCurrentDisplay() to return locally stored display instead of querying driver.
Added null checks & void argument.
Removed additional tstate!=NULL check

10 years agoAdd support for mapping of glue texture object to real texture object in eglCreateIma...
mythri.venugopal [Mon, 6 Jan 2014 10:52:54 +0000 (10:52 +0000)]
Add support for mapping of glue texture object to real texture object in eglCreateImageKHR
Refer http://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_gl_image.txt

10 years agoAdded support for GL_TEXTURE_EXTERNAL_OES target in CoreGL.
mythri.venugopal [Thu, 19 Dec 2013 02:11:57 +0000 (11:11 +0900)]
Added support for GL_TEXTURE_EXTERNAL_OES target in CoreGL.
Removed extra whitespace.

10 years ago[Title] Fixed fastpath bugs
Haegeun Park [Fri, 13 Dec 2013 10:29:13 +0000 (02:29 -0800)]
[Title] Fixed fastpath bugs

[Issue#]
[Problem]
[Cause] memory leaks in tizen-graphics-test-suite
[Solution]
- Added reference counting mechanism for Hard-Makecurrent
- Modified duplicated binding flags
- Other stabilization

10 years ago[Title] Refactored symbol macros
Haegeun Park [Thu, 28 Nov 2013 06:26:24 +0000 (22:26 -0800)]
[Title] Refactored symbol macros

[Issue#]
[Problem]
[Cause]
[Solution]
- Now ES2.0 extension functions use DDK's ES2.0 extension functions instead of DDK's ES3.0 functions
- Disabled dlog module in EGL/GLES2 wrappers

10 years ago[Title] Stabilized ES3.0 Fastpath - trace option & vertex array..
Haegeun Park [Tue, 26 Nov 2013 07:00:17 +0000 (23:00 -0800)]
[Title] Stabilized ES3.0 Fastpath - trace option & vertex array..

[Issue#]
[Problem]
[Cause] Indicator & address bar in the browser app are broken
[Solution]
- Fixed bugs of detecting vertex array object
- Fixed the trace option output mechanism & default value..

10 years ago[Title] Implemented fastpath for OpenGL ES 3.0 (FINAL)
Haegeun Park [Tue, 19 Nov 2013 12:57:06 +0000 (04:57 -0800)]
[Title] Implemented fastpath for OpenGL ES 3.0 (FINAL)

[Issue#]
[Problem]
[Cause]
[Solution]

[INTERNAL] Stabilized logics with Adreno

10 years ago[INTERNAL] Added gl3 headers in include
Haegeun Park [Thu, 14 Nov 2013 04:46:01 +0000 (20:46 -0800)]
[INTERNAL] Added gl3 headers in include

10 years ago[INTERNAL] Added code blocks for enum process
Haegeun Park [Mon, 11 Nov 2013 05:06:49 +0000 (21:06 -0800)]
[INTERNAL] Added code blocks for enum process

10 years ago[INTERNAL] Added samper objects
Haegeun Park [Wed, 6 Nov 2013 04:13:43 +0000 (20:13 -0800)]
[INTERNAL] Added samper objects

10 years ago[INTERNAL] Refactor object sharing & Added some functions
Haegeun Park [Tue, 5 Nov 2013 10:30:48 +0000 (02:30 -0800)]
[INTERNAL] Refactor object sharing & Added some functions

10 years ago[INTERNAL] Approved checking library links & Vertex Pointer...
Haegeun Park [Fri, 1 Nov 2013 07:29:51 +0000 (00:29 -0700)]
[INTERNAL] Approved checking library links & Vertex Pointer...

10 years ago[INTERNAL] Refactored optimize flags & Added GL objects
Haegeun Park [Wed, 30 Oct 2013 06:45:37 +0000 (23:45 -0700)]
[INTERNAL] Refactored optimize flags & Added GL objects

10 years ago[INTERNAL ES3.0] Added Handling for ReadBuffer, Queries Object
Haegeun Park [Mon, 14 Oct 2013 10:06:19 +0000 (03:06 -0700)]
[INTERNAL ES3.0] Added Handling for ReadBuffer, Queries Object

10 years agoPrevent fix
Dongyeon Kim [Tue, 19 Nov 2013 01:04:52 +0000 (10:04 +0900)]
Prevent fix

10 years ago[Title] Fixed and avoided prevent issues
Haegeun Park [Fri, 15 Nov 2013 05:59:37 +0000 (21:59 -0800)]
[Title] Fixed and avoided prevent issues

[Issue#]
[Problem]
[Cause]
[Solution]

10 years ago[Title] Refactored a rule describing library path
Haegeun Park [Wed, 13 Nov 2013 06:56:46 +0000 (22:56 -0800)]
[Title] Refactored a rule describing library path

[Issue#]
[Problem]
[Cause]
[Solution]
- Remove vendor dependencies in code section (MALI or ADRENO)

10 years ago[Title] Changed error message outputs from stdout to stderr
Haegeun Park [Tue, 12 Nov 2013 04:59:54 +0000 (20:59 -0800)]
[Title] Changed error message outputs from stdout to stderr

[Issue#]
[Problem]
[Cause] Some testcases read stdout, then fail parsing.
[Solution]

10 years agoSet actual driver library path according to hardware
Dongyeon Kim [Mon, 11 Nov 2013 05:06:49 +0000 (14:06 +0900)]
Set actual driver library path according to hardware

 - Adreno: /usr/lib/egl
 - Exynos: /usr/lib/driver

10 years ago[Title] Fixed error reports in the symbol checking routine
Haegeun Park [Mon, 11 Nov 2013 05:10:59 +0000 (21:10 -0800)]
[Title] Fixed error reports in the symbol checking routine

[Issue#]
[Problem]
[Cause]
[Solution]
- Some ES3.0 APIs for fastpath are temporally opened.

10 years ago[Title] Fixed some link issues when using GLES 3.0
Haegeun Park [Tue, 5 Nov 2013 10:44:57 +0000 (02:44 -0800)]
[Title] Fixed some link issues when using GLES 3.0

[Issue#]
[Problem]
[Cause]
[Solution]

11 years ago[Title] Avoid prevent issues
Haegeun Park [Fri, 1 Nov 2013 08:24:38 +0000 (01:24 -0700)]
[Title] Avoid prevent issues

[Issue#]
[Problem]
[Cause]
[Solution]
- Added casting code to macro 'FIND_OBJ_FROM_HASH_WITH_VERIFY'
- Removed assign NULL to tstate

11 years agoModify spec file to apply libCOREGL 4
Dongyeon Kim [Mon, 21 Oct 2013 04:13:31 +0000 (13:13 +0900)]
Modify spec file to apply libCOREGL 4

11 years ago[Title] Modified CMakeLists to apply libCOREGL 4
Haegeun Park [Thu, 17 Oct 2013 08:14:11 +0000 (01:14 -0700)]
[Title] Modified CMakeLists to apply libCOREGL 4

[Issue#]
[Problem]
[Cause]
[Solution]

11 years ago[Title] Change dlopen mode to RTLD_LOCAL
Haegeun Park [Tue, 15 Oct 2013 09:24:57 +0000 (02:24 -0700)]
[Title] Change dlopen mode to RTLD_LOCAL

[Issue#]
[Problem]
[Cause] DDK symbol was used without coregl
[Solution]

11 years ago[Title] Added an extension support 'OES_mapbuffer' in fastpath
Haegeun Park [Mon, 14 Oct 2013 11:09:00 +0000 (04:09 -0700)]
[Title] Added an extension support 'OES_mapbuffer' in fastpath

[Issue#]
[Problem]
[Cause]
[Solution]
-

11 years ago[Title] Terminated with SIGILL when using ES3.0 API with FASTPATH
Haegeun Park [Fri, 11 Oct 2013 07:57:23 +0000 (00:57 -0700)]
[Title] Terminated with SIGILL when using ES3.0 API with FASTPATH

[Issue#]
[Problem]
[Cause] ES3.0 'glDrawArraysInstanced()' is spotted in some apps using FASTPATH
[Solution]
- When an application uses ES3.0 API, then SIGILL reported and terminated. (critical error)

11 years ago[Title] Revert to use printf() for the urgent logs
Haegeun Park [Fri, 11 Oct 2013 07:52:11 +0000 (00:52 -0700)]
[Title] Revert to use printf() for the urgent logs

[Issue#]
[Problem]
[Cause] Dlogutil doesn't work clearly, and some logs missing...
[Solution]
- Now uses printf instead dlog when debug mode (COREGL_DEBUG is enabled)
- Until ES3.0 is complete supported and stabilized?

11 years ago[Title] Resolved an error of a logic for checking Qualcomm device in evas
Haegeun Park [Wed, 2 Oct 2013 09:59:01 +0000 (02:59 -0700)]
[Title] Resolved an error of a logic for checking Qualcomm device in evas

[Issue#]
[Problem]
[Cause] Segfaults in evas
[Solution]
- Now works.

11 years ago[Title] <FINAL> Applied ES3.0 supports for normal path.
Haegeun Park [Wed, 2 Oct 2013 08:04:48 +0000 (01:04 -0700)]
[Title] <FINAL> Applied ES3.0 supports for normal path.

[Issue#]
[Problem]
[Cause]
[Solution]
- Now CoreGL version is 4
- Updated new symbols
- Refactored extension supports
- Fixed gerrit auto-merging issues

11 years ago[Title] Applied ES3.0 supports for normal path.
Haegeun Park [Wed, 2 Oct 2013 07:31:41 +0000 (00:31 -0700)]
[Title] Applied ES3.0 supports for normal path.

    [Issue#]
    [Problem]
    [Cause]
    [Solution]
    - Updated new symbols
    - Refactored extension supports

<details>

Merge branch 'master' into HEAD

Conflicts:
src/modules/coregl_module.h
src/modules/tracepath/coregl_tracepath.c
src/modules/tracepath/coregl_tracepath_gl.c