summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-12-23Fix wrong host texture bindingsubmit/tizen_unified/20170308.100403submit/tizen/20161226.050229accepted/tizen/wearable/20161226.131557accepted/tizen/unified/20170309.031107accepted/tizen/tv/20161226.131538accepted/tizen/mobile/20161226.131518accepted/tizen/ivi/20161226.131617accepted/tizen/common/20161227.192209accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonVasiliy Ulyanov1-1/+12
The call sequence like bellow was causing flickering: glBindTexture(GL_TEXTURE_EXTERNAL_OES, tex); glBindTexture(GL_TEXTURE_2D, 0); glEGLImageTargetTexture2DOES(GL_TEXTURE_EXTERNAL_OES, img); Eventually zero texture was used on the host side since external textures are currently handled as GL_TEXTURE_2D. Change-Id: I9d8480df7dd5f44f49f31e170de6f478c663f8c3 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-11-28Y-invert ARGB imagessubmit/tizen/20161129.132307accepted/tizen/wearable/20161130.015905accepted/tizen/tv/20161130.015848accepted/tizen/mobile/20161130.015830accepted/tizen/ivi/20161130.015925accepted/tizen/common/20161129.173735joonbum.ko1-1/+10
This patch resolves the issue with widgets rendered upside-down. Tizen platfrom expects 'yinvert == 1' for EGL images created from tizen sfc. Change-Id: If34b0c717f705a13351d94b50361b2a6d5945998 Signed-off-by: joonbum.ko <joonbum.ko@samsung.com> Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-11-01Fix yagl setup script for x64 archsubmit/tizen/20161102.080516accepted/tizen/wearable/20161102.235956accepted/tizen/tv/20161102.235939accepted/tizen/mobile/20161102.235924accepted/tizen/ivi/20161103.000013accepted/tizen/common/20161102.122215Vasiliy Ulyanov1-7/+14
Driver path can be either /usr/lib/driver or /usr/lib64/driver. Change-Id: I133ea4aa0152f396d3c7ebd4b61dd9fbac8bbfb5 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-10-28YaGL: modify lib pathsubmit/tizen/20161028.072954accepted/tizen/wearable/20161028.152959accepted/tizen/tv/20161028.152933accepted/tizen/mobile/20161028.152916accepted/tizen/ivi/20161028.153003accepted/tizen/common/20161028.114840Jinhyung Jo1-5/+11
The lib path in the 64-bit architecture was missing. I modify the lib path. Change-Id: I65e0ebbce42a782605b4d2c764fc5ba596603db0 Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
2016-10-19Build: ASan build support addedsandbox/vbarinov/asanSlava Barinov1-2/+3
Address Sanitizer support requires adding pthread in the end of list Change-Id: I8db1b86e394002baf4418b7494d7497047b65be8 Signed-off-by: Slava Barinov <v.barinov@samsung.com>
2016-10-13YaGL: Add tpl surface validationVasiliy Ulyanov4-6/+39
With EFL a 1x1 surface is created at first and then it is resized. There is a need to handle such situation before drawing GL stuff and invalidate the renderer. Change-Id: Ic11cbae921d1f486f1a81fa1633c6f64d5673efe Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-09-26Add RGBA8888 format support for EGL tizen sfc extsubmit/tizen_3.0_wearable/20161015.000002submit/tizen_3.0_tv/20161015.000002submit/tizen_3.0_mobile/20161015.000002submit/tizen_3.0_ivi/20161010.000002submit/tizen_3.0_common/20161104.104000submit/tizen/20160928.075844accepted/tizen/wearable/20160929.002318accepted/tizen/tv/20160929.002155accepted/tizen/mobile/20160929.002032accepted/tizen/ivi/20160929.002229accepted/tizen/common/20160928.164441accepted/tizen/3.0/wearable/20161015.082722accepted/tizen/3.0/tv/20161016.004518accepted/tizen/3.0/mobile/20161015.033105accepted/tizen/3.0/ivi/20161011.044041Vasiliy Ulyanov2-9/+24
This format requires convertion to ARGB. Change-Id: Ia9ade3d84b3d061c5f713457e6ac0e2cbae31418 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-09-13Ensure drm gem is always 'named'Vasiliy Ulyanov1-8/+8
When creating EGL image from tizen surface, the underlying gem may have no name assigned. This ends up with client handle set to zero. The commit fixes such an issue. Change-Id: Ica907a251d9a64a8661232e2718930caa052e0a3 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-08-09Build: Remove link of libGLESv1_CM.so on /usr/libsubmit/tizen/20160830.063644accepted/tizen/wearable/20160830.235615accepted/tizen/tv/20160830.235530accepted/tizen/mobile/20160830.235448accepted/tizen/ivi/20160830.235659accepted/tizen/common/20160830.150306Mun, Gwan-gyeong1-3/+0
CoreGL supports libGLESv1 so emulator-yagl does not need to make link of libGLESv1_CM Change-Id: I68ff61626524c8ffcd82733c83bcc7604d061256
2016-07-29Define PATH variable in the script file.submit/tizen/20160729.055330accepted/tizen/wearable/20160729.062718accepted/tizen/tv/20160729.062700accepted/tizen/mobile/20160729.062648accepted/tizen/ivi/20160729.062734accepted/tizen/common/20160729.162312jin-gyu.kim1-0/+1
Change-Id: Iffc998df2d3a1400bd3d18f5b28b6968ecd19400
2016-07-21YaGL: Check for GPU acceleration on bootsubmit/tizen/20160725.073531accepted/tizen/wearable/20160725.083348accepted/tizen/tv/20160725.083354accepted/tizen/mobile/20160725.083352accepted/tizen/ivi/20160725.083417accepted/tizen/common/20160725.153648Vasiliy Ulyanov3-42/+15
If emulator is run without host GPU acceleration, yagl will likely terminate GL apps on initialization failure. In order to handle the situation propely, dummy GL libs are now packed along with yagl. When emulator boots up, a script will check if /dev/yagl is present and setup the symlinks appropriately. Change-Id: I6715c5798b0c2a6cdef16a24a1e3c8786f6aa36f Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-07-19YaGL: Fix debug build for x64 platformVasiliy Ulyanov1-48/+68
Ponters cannot be cast directly to integers of different size with '-Werror=pointer-to-int-cast' gcc option. The commit fixes this issue when making a build with debug logs enabled. Change-Id: I401e5230af0f08b97a3597c05368f4859ed9d949 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-06-20YaGL: Fix required texture image units queryVasiliy Ulyanov1-0/+3
GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES is now accepted as parameter name in glGetTexParameterfv. Change-Id: I7bdc3635262b28826f225395a76048d897710eb6 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-06-20YaGL: Add more strict error checkingVasiliy Ulyanov7-0/+45
- glLinkProgram: linking should fail if vertex and fragment shaders are not both present in the program object. - glBlitFramebuffer: if the source and destination buffers are identical, an INVALID_OPERATION error should be generated. NOTE: valid only for OGLES3.0. Not the case with e.g. GL_ANGLE_framebuffer_blit. Change-Id: I0fdc4e383e32e9cfcb9028f4b279b8acdb8410c7 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-06-14YaGL: Fix license issuessubmit/tizen/20160614.144853accepted/tizen/wearable/20160615.001938accepted/tizen/tv/20160615.001936accepted/tizen/mobile/20160615.001958accepted/tizen/ivi/20160615.001930accepted/tizen/common/20160615.193438Vasiliy Ulyanov3-5/+5
- COPYING: XFree86 -> MIT - LICENSE: LGPL3.0 -> LGPL3.0+ Change-Id: I90e9129f0098c38ef30eeb409dc627e2df70c6dd Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-05-26YaGL: Redefine samplerExternalOES in GLSLsubmit/tizen/20160609.005815accepted/tizen/wearable/20160609.091243accepted/tizen/tv/20160609.091254accepted/tizen/mobile/20160609.091511accepted/tizen/ivi/20160609.091238accepted/tizen/common/20160609.145843Vasiliy Ulyanov4-13/+9
The former external sampler hadnling did not work correctly with statements like bellow: #define SamplerType samplerExternalOES Using a #define construct in the header for samplerExternalOES seems more appropriate rather than substituing every occurrence. Change-Id: If1c654046ad78011a5148013889f5dc93882a6a9 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-05-24YaGL: Y-invert YUV imagessubmit/tizen/20160526.080841accepted/tizen/wearable/20160526.110857accepted/tizen/tv/20160526.110838accepted/tizen/mobile/20160526.110821accepted/tizen/ivi/20160526.110918accepted/tizen/common/20160526.150358Vasiliy Ulyanov1-2/+3
EGL images created from tbm surfaces appear flipped vertically. In case of planar data we have to make conversion anyway so it can be handled as well. Change-Id: I8242bdffdd1f0340b616cb1f5912ea51a5c27026 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-05-24YaGL: Implement GL_OES_EGL_image_external extensionVasiliy Ulyanov13-19/+265
Currently external textures are handled as 2d textures since host will unlikely recognize GL_TEXTURE_EXTERNAL_OES as a valid target. The same applies to GLSL (i.e. sampler2D is used instead of samplerExternalOES). Color conversion is performed in software and it is done when glEGLImageTargetTexture2DOES function is called. It is an initial implementation and at the moment it is not fully conformant. Change-Id: I6a781d1062a2f5373e8ff507a5279c58ed29b042 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-05-24YaGL: Fix debug build with tizen platformVasiliy Ulyanov2-6/+0
The macro YAGL_LOG_FUNC_SET initilizes logger specific local vars like pid, tid, etc. There is no need to use it if the function actually does not produce any logs, since it may lead to 'unused variable' compiler errors. Change-Id: I9f9c2ccba7b8364d60891a1748fc62d5b2516fbf Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-05-10YaGL: Add back buffer null check in get_buffer_agesubmit/tizen/20160510.103126accepted/tizen/wearable/20160511.003424accepted/tizen/tv/20160511.003406accepted/tizen/mobile/20160511.003353accepted/tizen/ivi/20160511.003442accepted/tizen/common/20160510.141506Vasiliy Ulyanov1-1/+1
Change-Id: I53b79769401aae2a1e8a7f9e58637473f1cd3299 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-05-02Build: Recover build architecture (x86, x86_64) and emulator bcond on rpm ↵submit/tizen/20160502.114011accepted/tizen/wearable/20160503.092506accepted/tizen/tv/20160503.092442accepted/tizen/mobile/20160503.092432accepted/tizen/ivi/20160503.092521accepted/tizen/common/20160504.125104Mun, Gwan-gyeong1-2/+9
spec file Change-Id: I27bc19e40273bf84f505001baadbd169ee80272f
2016-04-29porting YAGL to TIZEN platformsubmit/tizen/20160502.043551Xuelian Bai20-62/+1365
This patch ports YAGL to TIZEN platform as an initial version, creates following files: EGL/tizen/yagl_tizen_display.c EGL/tizen/yagl_tizen_display.h EGL/tizen/yagl_tizen_native_image.c EGL/tizen/yagl_tizen_native_image.h EGL/tizen/yagl_tizen_pbuffer.c EGL/tizen/yagl_tizen_pbuffer.h EGL/tizen/yagl_tizen_platform.c EGL/tizen/yagl_tizen_platform.h EGL/tizen/yagl_tizen_window.c EGL/tizen/yagl_tizen_window.h Signed-off-by: Xuelian Bai <xuelian.bai@samsung.com> Change-Id: I639dc736f242096ba417054576453ea941113eea
2016-04-21Change GLESV1_CM symbolic link for COREGLsubmit/tizen/20160422.084818accepted/tizen/wearable/20160425.044047accepted/tizen/tv/20160425.044100accepted/tizen/mobile/20160425.044035accepted/tizen/ivi/20160425.044111accepted/tizen/common/20160422.172145Mun, Gwan-gyeong1-0/+5
Change-Id: I970f8d859ba8a1d565219f304bbd2451feff2194
2016-04-05YaGL: Fix LICENSE.MIT textsubmit/tizen/20160406.081710accepted/tizen/wearable/20160406.105233accepted/tizen/tv/20160406.105217accepted/tizen/mobile/20160406.105202accepted/tizen/ivi/20160406.105253accepted/tizen/common/20160406.144850Vasiliy Ulyanov1-3/+4
Change-Id: I4fda882a7ea7f3604025d4c5574dcb17c530ef7f Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-03-16YaGL: Disable ETC1_RGB8_OES format checksubmit/tizen/20160317.020331accepted/tizen/wearable/20160317.115645accepted/tizen/tv/20160317.115631accepted/tizen/mobile/20160317.115617accepted/tizen/ivi/20160317.115702accepted/tizen/common/20160317.160510Vasiliy Ulyanov1-0/+7
OES_compressed_ETC1_RGB8_texture spec says: INVALID_OPERATION is generated by CompressedTexSubImage2D, TexSubImage2D, or CopyTexSubImage2D if the texture image <level> bound to <target> has internal format ETC1_RGB8_OES. Currently this error check causes problems with some apps so temporarly disable it as a workaround. Change-Id: I8bdc6f2b7a7b65730d4dee9a8a91b9f6ce465485 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-03-16Revert "YaGL: Mark glGenTextures call as flushing"submit/tizen/20160316.101805accepted/tizen/wearable/20160316.135547accepted/tizen/tv/20160316.135531accepted/tizen/mobile/20160316.135516accepted/tizen/ivi/20160316.135604accepted/tizen/common/20160316.161043Vasiliy Ulyanov3-2/+10
This reverts commit 246a7db9c03797276b650b955139210c04f80e84. The race condition was occuring because of improper glFinish call handling with surfaceless context. The commit also adds explicit transport flushing to ensure all the rendering commands are offloaded to the host in this case. Change-Id: Ic70d7f82904c1636acc495fb2e500115f62c6125 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-03-12YaGL: Mark glGenTextures call as flushingsubmit/tizen/20160315.012116accepted/tizen/wearable/20160315.115902accepted/tizen/tv/20160315.115842accepted/tizen/mobile/20160315.115824accepted/tizen/ivi/20160315.115920accepted/tizen/common/20160315.221341Vasiliy Ulyanov2-1/+2
This is a workaround for web-tct. There seems to be a race condition with these tests (i.e. they are rendering from several threads without ensuring GL synchronization). The commit should be reverted as soon as a proper fix is applied. Change-Id: I095e76f0d9c84e7623035ca24817cfc98e7a2ae5 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-03-11YaGL: Fix dynamic symbols loading with coreglVasiliy Ulyanov1-15/+52
EGL/GLES vendor-specific drivers are located in /usr/lib/driver when emulator runs with coregl. This needs to be considered when loading symbols internally. Change-Id: I6461ead2c5d6d66cbf2cc1fd25ee53887981df8a Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-03-03YaGL: Add pbuffer support for Wayland platformsubmit/tizen/20160310.060703accepted/tizen/wearable/20160311.054545accepted/tizen/tv/20160311.054532accepted/tizen/mobile/20160311.054508accepted/tizen/ivi/20160311.054606Vasiliy Ulyanov4-1/+253
Currently it is needed to make Tizen 3.0 feature tests pass in emulator. They appear to be using eglCreatePbufferSurface(...) for offscreen rendering. I am not sure if such functionality is really needed with Wayland (in fact it is not supported even in Mesa). Anyway I have not found any spec saying that Wayland should fail with this call so for the moment some draft implementation should be okay I think. Change-Id: I01372121c0e080e0007c69a12d4b97ad8df6fc04 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-02-01YaGL: Fix Prevent issuessubmit/tizen_wearable/20160304.133021submit/tizen/20160303.131907accepted/tizen/wearable/20160307.020711accepted/tizen/wearable/20160304.015410accepted/tizen/tv/20160304.015357accepted/tizen/mobile/20160304.015338accepted/tizen/ivi/20160304.015431accepted/tizen/common/20160304.195047Vasiliy Ulyanov7-26/+30
Change-Id: I781453b800d376a16294921984e2cb2b36f1411b Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-01-05YaGL: Fix build configuration for install directory of 64bit architecture.submit/tizen_tv/20160105.110358submit/tizen_mobile/20160105.110407submit/tizen_ivi/20160217.000001submit/tizen_ivi/20160217.000000submit/tizen_common/20160128.052157accepted/tizen/tv/20160108.010521accepted/tizen/mobile/20160108.010156accepted/tizen/ivi/20160218.022900accepted/tizen/common/20160129.173120Mun, Gwan-gyeong2-19/+18
32bit: install /usr/lib 64bit: install /usr/lib64 Change-Id: I6c50ea39a7eeaa17abe188aaa48d5ee61615529c
2016-01-05wayland-egl: add missed package config fileMun, Gwan-gyeong1-1/+1
Change-Id: I973a4ef3f89c1b26e52772c5bc386726d61d326c
2016-01-05YaGL: Seperate emulator-yagl package to libwayland-egl package.Mun, Gwan-gyeong1-5/+27
Change-Id: I99ef17705e7a1197f8555116f2c2a386f5726a03
2016-01-04YaGL: Change install directory of real driver.Mun, Gwan-gyeong6-54/+35
Coregl package provide libGLES, liEGL wrapper. and Coregl dynamically load real driver from /usr/lib/driver Remove GL/EGL header files from devel package. : CoreGL provide GL/EGL header file. Remove build script of X env. Change-Id: I3015c5ee2828b94cd1525b98db9e7acba4cf5762
2015-12-09YaGL: support EGL_NATIVE_VISUAL_ID for GBMsubmit/tizen_common/20160223.170033submit/tizen/20151215.084935accepted/tizen/wearable/20151215.125518accepted/tizen/tv/20151215.125231accepted/tizen/mobile/20151215.124651accepted/tizen/mobile/20151215.124619Jinhyung Jo1-1/+9
The EGL_KHR_platform_gbm extension has specific behavior for the EGL_NATIVE_VISUAL_ID. There is following contents in the EGL officail size, (https://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_platform_gbm.txt) New Behavior section "For each EGLConfig that belongs to the GBM platform, the EGL_NATIVE_VISUAL_ID attribute is a GBM color format, such as GBM_FORMAT_XRGB8888. " The EFL EVAS in Tizen requires the GBM_FORMAT_ARGB8888. And YaGL can support this format. So returns it. This is W/A patch. Must be resolved correclty. Change-Id: I402ebb20d17bf1a119ca09154519d57305e539a7 Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
2015-11-06YaGL: Version bumpsubmit/tizen/20151106.083914accepted/tizen/wearable/20151107.080420accepted/tizen/tv/20151107.080218accepted/tizen/mobile/20151107.080053jinhyung.jo2-2/+2
For the 64bit addressing (commit id: 233c1f2ea5be0b1d160b64856e33365e0ab58313) Be sure synchronize with the kernel & QEMU packages. Change-Id: Ia3537a5d5e13f1a0764c20105dea576c364b826d Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
2015-11-04YaGL: Fix compilation warning & add '-Werror' optionsubmit/tizen/20151105.033621accepted/tizen/wearable/20151105.083914accepted/tizen/tv/20151105.083856accepted/tizen/mobile/20151105.083843jinhyung.jo2-10/+12
Removed a usage of the deprecated function, wl_client_add_resource' And added a compilation option, '-Werror'. Change-Id: I20fb58f9ab26c9a1f359ec8f4f5d56c261778bd7 Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
2015-11-04YaGL: Patches for the 64bit addressingjinhyung.jo23-131/+169
Tizen 3.0 supports a 64bit guest. However current yagl is implemented by assumed to use 32bit address. So modify the address related parts. The qemu device sources were also modifed. And remove the warnings: -Wint-to-pointer-cast/-Wpointer-to-int-cast/-Wunused-variables TODO: fix the warning - 'wl_client_add_resource' is deprecated Change-Id: Id3875eefa012240df34fffbc7d12f36c9584b4f1 Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
2015-08-10Revert "YaGL: Workaround for libevas gles version check"tizen_3.0.m2.a1_tv_releasetizen_3.0.m2.a1_mobile_releasetizen_3.0.m1_tv_releasetizen_3.0.m1_mobile_releasesubmit/tizen_common/20151026.085049submit/tizen_common/20151023.083358submit/tizen/20150810.071326accepted/tizen/wearable/20150810.080559accepted/tizen/tv/20150810.080541accepted/tizen/mobile/20150810.080518tizen_3.0.m1_tvtizen_3.0.m1_mobileVasiliy Ulyanov1-7/+1
This workaround appears no longer needed since the corresponding fix has been applied to libevas. Besides it seems to cause problems with cairo. This reverts commit 1a1d13934f4bad7b779cd6093c0f00cc9f36ec03. Change-Id: Iad9af1b3bcd6c2756963ebd0e10e97879245d496 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2015-08-05YaGL: Modified the .spec & COPYING files.jinhyung.jo2-2/+169
Modified to provide the correct license information. Change-Id: Ie0689f070e6e6162132c07df6603a721c3fca453 Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
2015-08-05YaGL: Updating the EGL header filesjinhyung.jo5-383/+556
Update EGL header files to the version of May 2015, EGL spec 1.5. Change-Id: Ifc7ba9cadebb0b229f1d1ee72171e241d2801a0a Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
2015-08-04YaGL: mark eglMakeCurrent call as 'flushing'Vasiliy Ulyanov2-1/+2
According to EGL spec the currently bound context needs to be flushed before being released or another context is made current. Without flushing we may miss some GL calls if there are several threads rendering to a single context. Change-Id: Id6680a086d895ba94b4c279b18443d93017838d1 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2015-08-04YaGL: keep at least 2 back buffers for dri3 drawablesVasiliy Ulyanov1-0/+4
With only one back buffer available the rendering freezes Change-Id: I9b2cdbeddf4786bc57bef997574d606a15ebf4cb Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2015-08-04YaGL: Avoid clamping with floating point texturesVasiliy Ulyanov1-6/+6
We need to pass the proper dst_internalformat to the host when using a texture with floating-point components in glTexImage2D. Change-Id: Ia588a6e84ad5e359d3ed6d6eaf7d8769569acc38 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2015-08-04YaGL: Modified the startup scriptjinhyung.jo2-5/+18
Checks the device node instead of the kernel command Change-Id: Ib14005a53dd989419b8c49ec72600f107af1ab50 Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
2015-08-04YaGL: Add program link status checkVasiliy Ulyanov2-1/+6
According to the OGLES2.0 spec: void UseProgram(uint program); If program has not been successfully linked, the error INVALID_OPERATION is generated and the current rendering state is not modified. Change-Id: I481a494c210e76ee4db319ae569d3491ade1d35a Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2015-08-04YaGL: Generate error for rectangular cubemap imagesVasiliy Ulyanov1-0/+5
According to the OGLES2.0 spec: void TexImage2D(enum target, int level, int internalformat, sizei width, sizei height, int border, enum format, enum type, void *data); When the target parameter to TexImage2D is one of the six cube map two-dimensional image targets, the error INVALID_VALUE is generated if the width and height parameters are not equal. Change-Id: Ideb9172fa721cd7c92d1ef98a397d9fe48690e66 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2015-08-04YaGL: Fix yagl_get_gles2_sym(...) resolution orderVasiliy Ulyanov1-7/+7
dlsym(NULL, ...) may return a valid pointer to a local symbol. We need to search it in libGLESv2 explicitly first. Change-Id: I6200679d7b69444798d3feeb77b685e2772eb3a7 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2015-08-04YaGL: Fix incorrect texture object releaseVasiliy Ulyanov7-32/+17
EGL_KHR_gl_texture_2D_image: texture object is acquired in yagl_gles_image_wrap_tex(...). Hence the release should be performed in the corresponding destructor (i.e. yagl_gles_image_destroy(...)). Change-Id: I92aaf0a4368201453e022859f4c52cdeb103af06 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2015-08-04YaGL: Workaround for libevas gles version checkVasiliy Ulyanov1-1/+7
Change-Id: Ieac95a502e98b516e1870d5ea38513931a19881b Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>