Mun, Gwan-gyeong [Mon, 29 Aug 2016 05:02:16 +0000 (14:02 +0900)]
coregl: Apply coding style and add coding style document for astyle.
Change-Id: Ib6f3fc50a31b477466361edc2d858c1dd220668a
Signed-off-by: Mun, Gwan-gyeong <kk.moon@samsung.com>
Mun, Gwan-gyeong [Fri, 26 Aug 2016 12:51:10 +0000 (21:51 +0900)]
coregl_fastpath_egl: Add Null check on _pack_egl_context_option
Change-Id: I9ba2e56d0784480d11da8c23bc88b8fc9a1a7d3f
Signed-off-by: Mun, Gwan-gyeong <kk.moon@samsung.com>
Zhaowei Yuan [Fri, 26 Aug 2016 21:35:15 +0000 (05:35 +0800)]
coregl_tracepath: Clear GL error after calling _sym_glGetIntegerv
Calling _sym_glGetIntegerv in tracepath_dump_context_states() may
cause an accetpable GL error, clear it.
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I2419469604ad690612584f1420a37c8dcf866d4c
Gwan-gyeong Mun [Sat, 27 Aug 2016 11:57:58 +0000 (04:57 -0700)]
This patch does not create right result.
When we run gl application, we expect the result like as
" [CoreGL] <1004> (Sat Aug 27 11:08:17 UTC 2016) Library initializing... [CoreGL] Driver GL version 3.2 "
but this patch shows " [CoreGL] <1026> (fatal: Not a git repository (or any of the parent directories): .git) Library initializing... [CoreGL] Driver GL version 3.2 "
so we should fix it
Revert "build: Use commit date instead of build date to avoid unnecessary rebuilds."
This reverts commit
c74c199cfbab5d54dad0046b0d747ace552aebe4.
Change-Id: I370d5ea701bd6635be1b99972607c5fff6fbfd58
Junghyun Kim [Thu, 25 Aug 2016 00:14:08 +0000 (09:14 +0900)]
build: Use commit date instead of build date to avoid unnecessary rebuilds.
- Problem
We use OBS to build packages in Tizen.
There is a mechanism not to rebuild when the result binary is the same.
For example, there is a dependency graph: A->B->C.
If A is modified, B would be built.
If the result RPM of B is not changed, OBS does not trigger a build of C.
To effectively use this mechanism, each packages make sure that
the result binary should be the same if the input source is the same.
There is a reason we found is including build date.
In coregl, bash command 'date' is used in CMakeList.txt.
In this case, everytime we build coregl, the build result is always different.
- Solution
Use commit date instead of build date.
There was a hint in Makefile.
COMPILE_DATE = "\"`git log -1 --pretty=format:%ci`\""
I used this command in CMakeList.txt
I tested this in my test OBS server, and the build result is unchanged
when this patch is applied.
Change-Id: Iea70e74b6808aa81905eba4afc9e72b6867c097d
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Zhaowei Yuan [Thu, 25 Aug 2016 21:54:32 +0000 (05:54 +0800)]
coregl_tracepath: Copy name with the real size
Memory region newitm->name is new allocated here
whose content is uncertain, so the result of
strlen(newitm->name) is 0 or a random number
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I9a08350c2f2326089101f3cc8df74077dd3dd37d
Zhaowei Yuan [Thu, 25 Aug 2016 01:15:07 +0000 (09:15 +0800)]
coregl: Clear GL error after getting state
Getting state in function fastpath_dump_context_states
and tracepath_dump_context_states is possible failed,
but it's acceptable due to GL API version difference,
so clear the possible GL error after getting state.
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I35cf758aa999498f001e2463c2b7988bc4579071
Zhaowei Yuan [Tue, 23 Aug 2016 21:04:18 +0000 (05:04 +0800)]
Coregl_fastpath: Change fast path process for GLES 1.1
Since contexts with different GLES API version can coexist
in a same thread, the real API version can't be decided by
driver_gl_version, so create a new global vriable to hold
the real GLES API after context switching finished. When
real GLES API version becomes 1.1, then disable fast path for
all GL interfaces.
Modification includes:
1. Create variable current_gl_api_version which will be
updated once context switching finished, if it becomes
1.1, disable fast path for all GL interfaces.
2. Change arguments list of function init_export and
_clean_overrides in order to reset egl and gl respectively
3. in function _clean_overrides(): Override all interfaces
listed in file sym_gl1.h, sym_gl2.h and sym_gl_common.h,
regardless of current GLES API version, because interface
of low version maybe called during a high version context.
Overriding here doesn't cause any problem.
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I48adacc063105c53276a9c5003142e670dce0ed3
Zhaowei Yuan [Tue, 23 Aug 2016 19:54:02 +0000 (03:54 +0800)]
coregl_fastpath: Change GL error number as driver does
GL error number should be set according to the behavior
of GL driver or specification files
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I20e2426fd8e472eba4be54b721748e4479a68e05
Zhaowei Yuan [Tue, 23 Aug 2016 19:30:15 +0000 (03:30 +0800)]
coregl_fastpath: Fix issue occurs in vertex array Enable/Disabe
Whether an vertex array is bounded or not, value of
state gl_vertex_array_enabled should be always
updated once fastpath_glEnableVertexAttribArray or
fastpath_glDisableVertexAttribArray is called, if not,
it will cause state confusion
Once an vertex array is unbounded or an new vertex
array is bounded, value of state gl_vertex_array_enabled
should be cleared
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I7d686cc603dfb74e305c64687eaea36be6f1aea1
Zhaowei Yuan [Tue, 23 Aug 2016 19:20:04 +0000 (03:20 +0800)]
coregl_fastpath: Adjust Sequence of functions according their category
It's better to put functions together which belong to
a same category
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I9919b884df98515bc85e3777fb407e3ff638874f
Gwan-gyeong Mun [Thu, 11 Aug 2016 12:21:19 +0000 (05:21 -0700)]
Merge "coregl_fastpath: reconstruct two functions" into tizen
Gwan-gyeong Mun [Thu, 11 Aug 2016 12:19:43 +0000 (05:19 -0700)]
Merge "coregl_fastpath: Fix some issue in core_fastpath_gl.c" into tizen
Gwan-gyeong Mun [Thu, 11 Aug 2016 12:14:49 +0000 (05:14 -0700)]
Merge "coregl_fastpath: Change GL error for failed real object getting" into tizen
Gwan-gyeong Mun [Thu, 11 Aug 2016 11:57:14 +0000 (04:57 -0700)]
Merge "coregl_fastpath: Convert for more parameter types" into tizen
Gwan-gyeong Mun [Thu, 11 Aug 2016 11:55:44 +0000 (04:55 -0700)]
Merge "coregl_fastpath: Add support for some extensions" into tizen
Gwan-gyeong Mun [Thu, 11 Aug 2016 11:51:13 +0000 (04:51 -0700)]
Merge "coregl_fastpath: Remove support for unnecessary interface" into tizen
Gwan-gyeong Mun [Thu, 11 Aug 2016 11:46:36 +0000 (04:46 -0700)]
Merge "coregl_fastpath: Add process of some missed state" into tizen
Zhaowei Yuan [Mon, 8 Aug 2016 20:37:30 +0000 (04:37 +0800)]
coregl_fastpath: reconstruct two functions
This patch reconstruct function fastpath_glBindFramebuffer
and fastpath_glBindFramebufferOES, make them more readable
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I4409475b970408da31bf95564954c43861657868
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
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
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
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
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
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
Zhaowei Yuan [Sun, 7 Aug 2016 17:54:28 +0000 (01:54 +0800)]
coregl_fastpath_egl: Check type before retrieving object
Object type of argument buffer maybe either
TEXTURE or RENDERBUFFER, check it
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I5468ef8105d29a6c655b064f2b2406dc9b1655e6
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
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
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
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
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>
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
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
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
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
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>
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>
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
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
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
Mun, Gwan-gyeong [Mon, 30 May 2016 08:54:13 +0000 (17:54 +0900)]
Add support for eglFrontBufferSetSEC
Change-Id: I911384d5da893412d52b0053d9cf562f4d7bb715
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
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
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
Mun, Gwan-gyeong [Mon, 2 May 2016 12:34:54 +0000 (21:34 +0900)]
Add null check before pointer value dereference
Change-Id: Ife9b8af01a3a148c6a4a5c49385cdc0d7c567584
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
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
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
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
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
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
joonbum.ko [Fri, 11 Mar 2016 05:46:25 +0000 (14:46 +0900)]
Modify spec file for installing license files.
Change-Id: I93d99158ed5eda1bba6ef184a3d892f7f6edf821
Mun, Gwan-gyeong [Mon, 7 Mar 2016 14:12:38 +0000 (23:12 +0900)]
Replace vulnerable function 'sprintf' to 'snprintf'
Change-Id: I746a13501ebc7f4f0df320f6639928a5f6dab494
Mun, Gwan-gyeong [Mon, 7 Mar 2016 13:08:20 +0000 (22:08 +0900)]
Add null check before pointer value dereference
Change-Id: I45e790447f9e03b19bd1a77e03c1d3b9a2ac906a
Mun, Gwan-gyeong [Mon, 7 Mar 2016 12:55:07 +0000 (21:55 +0900)]
Replace vulnerable function 'strcpy' to 'strncpy'
Change-Id: I120694b6c0c1ed0dbfc58f76ea2811d4517b0cdb
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
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
Sangjin Lee [Mon, 22 Feb 2016 23:10:43 +0000 (15:10 -0800)]
Merge "Add coding style guide. Apply coding style." into tizen
Mun, Gwan-gyeong [Fri, 19 Feb 2016 05:48:23 +0000 (14:48 +0900)]
Add coding style guide.
Apply coding style.
Change-Id: Ie735827982a9304e161742fbc6f210c4a5d993d2
joonbum.ko [Fri, 12 Feb 2016 07:17:58 +0000 (16:17 +0900)]
Add glActiveShaderProgram wrapper function.
Change-Id: Ib1b31665c153d75f91d49dd2a8ae06dcf1d1201e
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
joonbum.ko [Fri, 22 Jan 2016 03:49:43 +0000 (12:49 +0900)]
Fix memory bug and prevent potential leak.
Change-Id: Iadeb173177b09b21fb3674b1ed726e1da7b3d994
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
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
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
Mun, Gwan-gyeong [Mon, 14 Dec 2015 05:36:16 +0000 (14:36 +0900)]
Add wayland specs to eglext.h
Change-Id: I1d997f51b299d53e6b0444877953c6fc3794abb1
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
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
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
Sangjin Lee [Wed, 25 Nov 2015 07:36:56 +0000 (16:36 +0900)]
Merge branch 'spin-tizen_3.0' into tizen
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
KyungMi Lee [Thu, 5 Nov 2015 04:24:53 +0000 (20:24 -0800)]
Initial empty repository
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>
Keeho Song [Thu, 24 Sep 2015 07:04:29 +0000 (16:04 +0900)]
Fix build error for 64bit architecture
Change-Id: I43babdbfe40fb035e8719ecaffdb385f53b13e4c
joonbum.ko [Wed, 9 Sep 2015 04:11:47 +0000 (13:11 +0900)]
Delete X11 dependency and enable png image dump
Change-Id: If046b2aad937e2786c1bb63288094caac8c036ff
Sangwon Ha [Wed, 6 May 2015 06:20:32 +0000 (15:20 +0900)]
Disable bypass capability by default
Change-Id: Ibe90ab34a0edff78f47a78b07dec4e6577126129
Sangwon Ha [Wed, 15 Apr 2015 07:58:05 +0000 (16:58 +0900)]
Add CoreGL bypassing functionality
Change-Id: I89b9d64e8c848ead68ade4680d14df25f220eb00
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
Sangwon Ha [Fri, 13 Mar 2015 14:08:26 +0000 (23:08 +0900)]
Simplify build configuration and cleanup spec file
Change-Id: If8a6465de73877819b59236eb8b1dd704d43679d
cw2010.kim [Fri, 26 Sep 2014 06:06:50 +0000 (15:06 +0900)]
- Add eglPostSubBufferNV on fast path support extension list
Change-Id: I22118d04ef64fb6cc2404211206aa996ed0572d9
cw2010.kim [Thu, 7 Aug 2014 12:59:51 +0000 (21:59 +0900)]
fix bug : add eglWaitSyncKHR function on fastpath
Sukwon Suh [Thu, 7 Aug 2014 08:13:24 +0000 (17:13 +0900)]
change version
Change-Id: I2d8d9c923d6814ecb28dc3ab579eb97ccfb14263
Sukwon Suh [Thu, 7 Aug 2014 06:48:00 +0000 (15:48 +0900)]
remove build warnings
Change-Id: Ic02de954faaa4c2365da4d4a337d9808f3e02736
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>
Dongyeon Kim [Mon, 9 Jun 2014 12:24:35 +0000 (21:24 +0900)]
Remove glEGLImageTargetTexture2DOES from fastpath
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.
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
mythri.venugopal [Fri, 17 Jan 2014 10:03:02 +0000 (10:03 +0000)]
Removed unnecessary Error messages.
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.
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
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
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.
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
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
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..
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
Haegeun Park [Thu, 14 Nov 2013 04:46:01 +0000 (20:46 -0800)]
[INTERNAL] Added gl3 headers in include
Haegeun Park [Mon, 11 Nov 2013 05:06:49 +0000 (21:06 -0800)]
[INTERNAL] Added code blocks for enum process
Haegeun Park [Wed, 6 Nov 2013 04:13:43 +0000 (20:13 -0800)]
[INTERNAL] Added samper objects
Haegeun Park [Tue, 5 Nov 2013 10:30:48 +0000 (02:30 -0800)]
[INTERNAL] Refactor object sharing & Added some functions