platform/core/uifw/coregl.git
8 years agoBuild: Fix loading path of real vendor driver. 31/94131/1 accepted/tizen/3.0/ivi/20161103.121333 accepted/tizen/3.0/mobile/20161103.121105 accepted/tizen/3.0/tv/20161103.121315 accepted/tizen/3.0/wearable/20161103.121322 accepted/tizen/common/20161028.114823 accepted/tizen/ivi/20161028.152859 accepted/tizen/mobile/20161028.152809 accepted/tizen/tv/20161028.152826 accepted/tizen/wearable/20161028.152841 submit/tizen/20161028.071840 submit/tizen_3.0/20161103.052640
Mun, Gwan-gyeong [Thu, 27 Oct 2016 06:09:31 +0000 (15:09 +0900)]
Build: Fix loading path of real vendor driver.
 - before: it loads from /usr/lib/driver
 - after : 32bit case; /usr/lib/driver
           64bit case; /usr/lib64/driver
   and it uses absolute path becasue, loading a library dynamically without specifying an absolute path could allow an attacker to link a malicious library by changing `$LD_LIBRARY_PATH` or other aspects of the program's execution environment

Change-Id: I02c8ae6d093cade42186da857335655ff93ac236

8 years agocoregl_fastpath_gl: Fix string over flow at _COREGL_FASTPATH_SUPPORTED_EXTENSION 72/92072/1 accepted/tizen/3.0/ivi/20161028.134039 accepted/tizen/3.0/mobile/20161028.133149 accepted/tizen/3.0/tv/20161028.133501 accepted/tizen/3.0/wearable/20161028.133756 accepted/tizen/common/20161018.175359 accepted/tizen/ivi/20161019.044319 accepted/tizen/mobile/20161019.044227 accepted/tizen/tv/20161019.044243 accepted/tizen/wearable/20161019.044257 submit/tizen/20161018.110254 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082423 submit/tizen_3.0_common/20161104.104000
xing.huang [Thu, 13 Oct 2016 06:17:26 +0000 (14:17 +0800)]
coregl_fastpath_gl: Fix string over flow at _COREGL_FASTPATH_SUPPORTED_EXTENSION

    - add size check before strcpy

Change-Id: Ib8528863340a3a003fc9f799d22ec796d76c886d

8 years agocoregl_tracepath: Clear thread state for trace path terminating 85/90485/2
Zhaowei Yuan [Thu, 29 Sep 2016 19:08:17 +0000 (03:08 +0800)]
coregl_tracepath: Clear thread state for trace path terminating

Thread state referenced by tarce path should be cleared
when it terminates

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

8 years agocoregl: Correct a typo 99/91699/2
Zhaowei Yuan [Mon, 10 Oct 2016 13:58:34 +0000 (21:58 +0800)]
coregl: Correct a typo

This patch corrects a typ0

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

8 years agocoregl_fastpath: Pass buffer to GL driver for GLES 1.x 83/91483/1
Zhaowei Yuan [Sat, 8 Oct 2016 00:41:13 +0000 (08:41 +0800)]
coregl_fastpath: Pass buffer to GL driver for GLES 1.x

GLES 1.x doesn't support fast path, so just pass the
original argument buffer to GL driver rather than the
real object

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

8 years agocoregl_fastpath: Create image with native surface 80/91480/1
Zhaowei Yuan [Fri, 7 Oct 2016 20:55:42 +0000 (04:55 +0800)]
coregl_fastpath: Create image with native surface

Native surface which is neither texture nor renderbuffer
is possible passed to fastpath_eglCreateImageKHR() to
create image

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

8 years agocoregl_fastpath: Keep frame buffer binding state synchronization 38/87638/3 accepted/tizen/3.0/ivi/20161011.043906 accepted/tizen/3.0/mobile/20161015.032815 accepted/tizen/3.0/tv/20161016.004200 accepted/tizen/3.0/wearable/20161015.082015 accepted/tizen/common/20161004.194348 accepted/tizen/ivi/20161005.231845 accepted/tizen/mobile/20161005.231758 accepted/tizen/tv/20161005.231812 accepted/tizen/wearable/20161005.231827 submit/tizen/20161004.102645 submit/tizen_3.0_ivi/20161010.000001 submit/tizen_3.0_mobile/20161015.000001 submit/tizen_3.0_tv/20161015.000001 submit/tizen_3.0_wearable/20161015.000001
Zhaowei Yuan [Thu, 8 Sep 2016 14:53:42 +0000 (22:53 +0800)]
coregl_fastpath: Keep frame buffer binding state synchronization

Calling function fastpath_glBindFramebuffer() with target
GL_FRAMEBUFFER indicates bind to GL_READ_FRAMEBUFFER and
GL_DRAW_FRAMEBUFFER in the meantime.

If GL driver supports GL_READ_FRAMEBUFFER_BINDING and
GL_DRAW_FRAMEBUFFER_BINDING, clue state
gl_framebuffer_binding_read and gl_framebuffer_binding_draw
are both necessary to keep state synchronization, or state
gl_framebuffer_binding is enough.

Add judgement on current_ctx->gl_framebuffer_binding_draw_used
to make sure read and draw are both supproted.

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

8 years agocoregl_fastpath: Fix NULL pointer access 55/88655/2
Zhaowei Yuan [Mon, 19 Sep 2016 18:42:51 +0000 (02:42 +0800)]
coregl_fastpath: Fix NULL pointer access

Check if gctx->gl_current_program is NULL before
accessing it

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

8 years agocoregl_fastpath: Fix logic error for module override switching 28/87128/3
Zhaowei Yuan [Mon, 5 Sep 2016 23:21:51 +0000 (07:21 +0800)]
coregl_fastpath: Fix logic error for module override switching

1. Execute override changing only when modules are enabled
2. Reset override when got 1.x as initial version
3. Execute override changing only when version is changed
to 1.x or from 1.x
4. Add log to show override resetting executed

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

8 years agowraps/coregl : Fix loading of CoreGL libary path 22/90122/1
Mun, Gwan-gyeong [Wed, 28 Sep 2016 10:39:51 +0000 (19:39 +0900)]
wraps/coregl : Fix loading of CoreGL libary path

- before: relative path ( libCOREGL.so )
  after: absolute path ( /usr/lib/libCOREGL.so or /usr/lib64/libCOREGL.so)

- Loading a library dynamically without specifying an absolute path could allow an attacker to link a malicious library by changing `$LD_LIBRARY_PATH` or other aspects of the program's execution environment

Change-Id: Ie5d4d2dfa3ed692e6785cd909502fc7971ff7451
Signed-off-by: Mun, Gwan-gyeong <kk.moon@samsung.com>
8 years agocoregl_fastpath: Change the module overriding when the API version is changed. 55/86855/3
Zhaowei Yuan [Sun, 4 Sep 2016 19:53:40 +0000 (03:53 +0800)]
coregl_fastpath: Change the module overriding when the API version is changed.

Change the setting of module overriding when the GLES
API version is changed, it reduces unecessary operations.

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

8 years agocoregl_fastpath: Fix memory overread issue 54/86854/2
Zhaowei Yuan [Sun, 4 Sep 2016 19:44:17 +0000 (03:44 +0800)]
coregl_fastpath: Fix memory overread issue

The real size of state gl_draw_buffers should be
gl_draw_buffers_num[0] which is not maybe the same
as max value 16, so it can raise the overreading of memory

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

8 years agocoregl_fastpath: Keep states synchronization between color mask functions 95/86395/2
Zhaowei Yuan [Wed, 31 Aug 2016 15:33:11 +0000 (23:33 +0800)]
coregl_fastpath: Keep states synchronization between color mask functions

Functions glColorMask, glColorMaski and glColorMaskiOES
operate common states, they should be kept synchronization
state gl_color_writemask should be an array in the form
of a two-dimensional array whose size if 4*4, glColorMask
set them all uniformly, glColorMaski and glColorMaskiOES
set them respectively

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

8 years agocoregl_fastpath: Keep state synchronization between binding functions 90/86390/2
Zhaowei Yuan [Wed, 31 Aug 2016 15:22:30 +0000 (23:22 +0800)]
coregl_fastpath: Keep state synchronization between binding functions

Functions glBindBuffer, glBindBufferBase and glBindBufferRange
operate on common states of following targets:
GL_TRANSFORM_FEEDBACK_BUFFER
GL_UNIFORM_BUFFER
GL_SHADER_STORAGE_BUFFER
GL_ATOMIC_COUNTER_BUFFER
Those states should be keep synchronization

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

8 years agocoregl_fastpath: Synchronize transform feedback buffer binding state 88/86388/2
Zhaowei Yuan [Wed, 31 Aug 2016 15:15:28 +0000 (23:15 +0800)]
coregl_fastpath: Synchronize transform feedback buffer binding state

Successfully call function glBindTransformFeedback() makes
transform feedback buffer related states out of date, clear
to them to keep synchronization

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

8 years agocoregl_fastpath: Bypass fast path handling for GLES API 1.x 85/86385/2
Zhaowei Yuan [Wed, 31 Aug 2016 15:05:25 +0000 (23:05 +0800)]
coregl_fastpath: Bypass fast path handling for GLES API 1.x

If current GLES API version is 1.x, fastpath_eglCreateImageKHR
should call eglCreateImageKHR directly without any fast path
handling

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

8 years agocoregl_fastpath: Re-enable modules overiding if needed 83/86383/3
Zhaowei Yuan [Wed, 31 Aug 2016 14:59:44 +0000 (22:59 +0800)]
coregl_fastpath: Re-enable modules overiding if needed

When a context with GLES API version 2.x or higher
is switched to current, fast path or trace path
related overiding should be re-enabled
Remove warning information in COREGL_INIT_ORIGINAL
since it becomes acceptable

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

8 years agocoregl_fastpath: Claim fast path support for 2 extensions 82/86382/1
Zhaowei Yuan [Wed, 31 Aug 2016 14:53:55 +0000 (22:53 +0800)]
coregl_fastpath: Claim fast path support for 2 extensions

Add GL_EXT_texture_type_2_10_10_10_REV and
GL_OES_required_internalformat to fast path
extension supporting string

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

8 years agocoregl: Apply coding style and add coding style document for astyle. 69/85769/1 accepted/tizen/common/20160830.150231 accepted/tizen/ivi/20160830.235641 accepted/tizen/mobile/20160830.235430 accepted/tizen/tv/20160830.235511 accepted/tizen/wearable/20160830.235557 submit/tizen/20160829.120328 submit/tizen/20160830.063644
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>
8 years agocoregl_fastpath_egl: Add Null check on _pack_egl_context_option 91/85691/4
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>
8 years agocoregl_tracepath: Clear GL error after calling _sym_glGetIntegerv 17/85717/2
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

8 years agoThis patch does not create right result. 18/85718/1
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

8 years agobuild: Use commit date instead of build date to avoid unnecessary rebuilds. 73/85373/3
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>
8 years agocoregl_tracepath: Copy name with the real size 70/85670/4
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

8 years agocoregl: Clear GL error after getting state 26/85526/2
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

8 years agoCoregl_fastpath: Change fast path process for GLES 1.1 63/85263/3
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

8 years agocoregl_fastpath: Change GL error number as driver does 22/85222/2
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

8 years agocoregl_fastpath: Fix issue occurs in vertex array Enable/Disabe 15/85215/3
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

8 years agocoregl_fastpath: Adjust Sequence of functions according their category 10/85210/2
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

8 years agoMerge "coregl_fastpath: reconstruct two functions" into tizen accepted/tizen/common/20160816.130338 submit/tizen_common/20160812.144252
Gwan-gyeong Mun [Thu, 11 Aug 2016 12:21:19 +0000 (05:21 -0700)]
Merge "coregl_fastpath: reconstruct two functions" into tizen

8 years agoMerge "coregl_fastpath: Fix some issue in core_fastpath_gl.c" 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

8 years agoMerge "coregl_fastpath: Change GL error for failed real object getting" 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

8 years agoMerge "coregl_fastpath: Convert for more parameter types" 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

8 years agoMerge "coregl_fastpath: Add support for some extensions" 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

8 years agoMerge "coregl_fastpath: Remove support for unnecessary interface" 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

8 years agoMerge "coregl_fastpath: Add process of some missed state" 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

8 years agocoregl_fastpath: reconstruct two functions 37/83137/2
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

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 agocoregl_fastpath_egl: Check type before retrieving object 48/82848/2
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

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