aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/elementary/test_glview.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-03-20elm_test: move gl api creation to glview init functionMike Blumenkrantz1-1/+1
this needs to happen when the gl context is current to avoid a billion errors and overall general failure Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8390
2019-03-20elm_test: use legacy api for glview gears testMike Blumenkrantz1-3/+2
mixing interfaces api with legacy api is bad for elm_win ref T7713 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8388
2019-03-07elm: explicitly include Efl_Ui.h in binariesMike Blumenkrantz1-0/+2
it looks like people have been relying on Elementary.h to include eo apis even though this obviously makes no sense Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8223
2019-01-19evas gl - fix patch that fixed warnings that then broke evas gl testsCarsten Haitzler (Rasterman)1-1/+1
even though it was reviewed... 8a617fda979d1522a880f3e57d2e1adfc9f20814 broke the evas gl tests. this fixes that.
2018-12-18silence most left over compiler warningsJérémy Zurcher1-1/+1
Summary: silence -Wshadow -Wunused-variable -Wunused-parameter Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7473
2018-05-24Revert "efl_add_ref - fis to use efl_add properly with a parent."Cedric BAIL1-1/+1
This reverts commit 2fb5cc3ad09f6aaf82b5d1131ac5ed22ed848bd4. Most of this change where wrong as they didn't affect the destruction of the object. efl_add_ref allow for manual handling of the lifecycle of the object and make sure it is still alive during destructor. efl_add will not allow you to access an object after invalidate also efl.parent.get will always return NULL once the object is invalidated. Differential Revision: https://phab.enlightenment.org/D6062
2018-03-29efl_add_ref - fis to use efl_add properly with a parent.Carsten Haitzler (Rasterman)1-1/+1
fixes bc18b7e7ad1f8c5d587400b27fabab0865017011 and 168849e8a08966ecc284e28f64126a3a85965965
2018-03-20efl: use efl_add_ref to create objects which have no parentCedric BAIL1-1/+1
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
2017-08-04elm_test: Remove calls to visible_set for EO objectsJean-Philippe Andre1-1/+0
2017-06-25Test: check gl API nullity before invoking deletion functionsDaniel Zaoui1-7/+10
It happens when OpenGL ES 3.x is not supported. @fix
2017-05-17win: Remove special class Efl.Ui.Win.StandardJean-Philippe Andre1-1/+1
All windows should be standard, really. Except when using legacy elm_win_add() or if type_set() was called with a specific type. I dislike type_set... Ref T5322
2017-03-08tests: Don't print garbageJean-Philippe Andre1-1/+3
GLView tends to print some random garbage when using the GLView Gears test. That's because we're allocating and printing a 0 byte buffer. Don't do that.
2017-03-08evas gl: Fix version detection for GLES 3.1Jean-Philippe Andre1-3/+18
It was assumed that GLES 3 would only work with EGL but in fact OpenGL 4.3 & 4.5 are supersets of GLES 3.0 & 3.1 respectively. So GLX should also support GLES 3.0 or GLES 3.1 for evas gl, if the driver supports it, of course. Of course while doing this patch things didn't go like they were supposed to go. I'm currently using NVIDIA's proprietary driver, that conveniently provides EGL with GLES 3.2. But wait, there's a catch: GL_VERSION is "OpenGL ES 3.2 NVIDIA" except that none of the functions of GLES 3.1 or GLES 3.2 are actually supported. Those functions are only present in the GLX/OpenGL variant of the driver. Thanks so much for making my life easier... So yeah, this patch contains a hack for those invalid versions of GLES 3.x. What was supposed to be a small fix became a huge mess. Also add a comment about the possibly invalid auto-upgrade from GLES 2 to GLES 3. This adds a test case in elm_test, but only to verify that elm_glview_version_add(3) actually works. We need a proper GLES 3 test case, eventually (and 3.1, 3.2 of course).
2016-09-12elementary test_glview: guide ELM_ACCEL rather than ELM_ENGINEHermet Park1-1/+1
Specifying explicit engine name is not honored now because backened engine name depends on the system. We prefer to guide accelerator rather than engine.
2016-09-05Rename efl_self to efl_addedTom Hacohen1-3/+3
It has been discussed on the ML (thread: "[RFC] rename efl_self") and IRC, and has been decided we should rename it to this in order to avoid confusion with the already established meaning of self which is very similar to what we were using it for, but didn't have complete overlap. Kudos to Marcel Hollerbach for initiating the discussion and fighting for it until he convinced a significant mass. :) This commit breaks API, and depending on compiler potentially ABI. @feature
2016-08-15Eo: Finish the renaming of Eo to the EFL.Tom Hacohen1-4/+4
This renames all the rest of the API to the EFL namespace except for Eo_Event that will follow soon. Obviously breaks both API and ABI.
2016-07-04elm: test_glview - allow window to closeAmitesh Singh1-0/+1
2016-06-23win: Add property accel_preferenceJean-Philippe Andre1-1/+8
It supports the same syntax as the config value, but overrides it. This provides a more convenient way to select the acceleration for a single window. Its get() value should be what was effective when the window was created. So it can depend on the config or a previous call to set(). @feature
2016-03-23elementary: move all legacy files to their expected new location.Cedric BAIL1-0/+0
2015-10-14elm_test: Fix bug in GLView testJean-Philippe Andre1-1/+2
Scenario: const char * accel = accel_get(); accel_set("gl:depth"); Now accel may not be valid anymore since the original Eina_Stringshare might have been destroyed. So there was no point in saving the const char * pointer. It was not valid after the call to set(). This is a bit confusing here. Returning char* would be clear: the caller would own the data.
2015-05-26test_glview: remove warning while compiling the elementary packageAnand1-6/+6
Summary: test_glview.c: In function ‘_print_gl_log’: test_glview.c:347:10: warning: declaration of ‘log’ shadows a global declaration [-Wshadow] Reviewers: JackDanielZ Differential Revision: https://phab.enlightenment.org/D2577 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-07elm_test: (GLView) reset accel_preference after win_addJean-Philippe Andre1-4/+8
This might even make the application run with two different engines.
2015-04-07elm_test: GLView: Add depth to the windowJean-Philippe Andre1-2/+10
Without depth, glview / evas gl basically fall back to indirect rendering. Also change bg color from yellowish to brown (and use PREMULTIPLIED colors, not random values).
2014-12-27test_glview: Refractored the shader/program log code.Amitesh Singh1-7/+25
Summary: Added a function print_glerror_log to handle both shaders and programs logs. Test Plan: elementary_test -> glview Reviewers: raster, jpeg, seoz Reviewed By: seoz Subscribers: anand.km, seoz Differential Revision: https://phab.enlightenment.org/D1826
2014-02-22elementary_test glview: fixed segv on closeSung W. Park1-2/+0
It was deleting gldata object twice upon closing the program.
2014-01-15test_glview: Refactor glview test layout.Daniel Juyung Seo1-41/+21
- Display button just vertically. - Changed button text more descriptive. - Create glview related buttons only when glview is created correctly.
2014-01-11glview test - fix if evas gl ins't found - leak of gld dataCarsten Haitzler (Rasterman)1-0/+1
2014-01-11glview test - dont leak gldCarsten Haitzler (Rasterman)1-0/+2
2014-01-10test_glview: Show description if gl is not supported.Jihoon Kim1-29/+49
refer commit: 5a143dc1c68f07e994ed6f2f4f035f77c7f902d5 66d2b7df56d1fc0900f8e407e17f3967efc23534
2013-12-15elm_test: removed all the unnecessary empty lines.Daniel Juyung Seo1-3/+0
being pedantic.
2013-11-09Revert "remove ifdef from glsl in glview shader - ifdefs not universally ↵Carsten Haitzler (Rasterman)1-0/+3
supported" This reverts commit 54883cb7fb0c42f37615f1485e554d947b42c369.
2013-11-05elementary_test: remove ELM_LIB_QUICKLAUNCHJean-Philippe Andre1-2/+1
Refer to the previous commits for the reason. Remove all #ifndef ELM_LIB_QUICKLAUNCH from the test files.
2013-10-01remove ifdef from glsl in glview shader - ifdefs not universally supportedCarsten Haitzler (Rasterman)1-3/+0
2013-09-30elm: Longwaited trailing white space removal. Clean elm up!Daniel Juyung Seo1-2/+2
2013-09-01elm_test: __UNUSED__ -> EINA_UNUSED.Daniel Juyung Seo1-12/+12
2013-07-31Fix elm to use key not keyname (so xmodmap works)Carsten Haitzler (Rasterman)1-6/+6
2013-05-20have glview test inset view a bit and allow testing of direct vs indirect... ↵Carsten Haitzler (Rasterman)1-5/+65
so glview is never at 0,0...
2012-08-31Elementary: Patch from Alex Wu <zhiwen.wu@linux.intel.com> to fixChristopher Michael1-4/+0
glview tests in Wayland: If the preferred engine set to "opengl_x11" and we actully run on "wayland_egl" engine, the elm_win_add will eventully use "Software FB" engine, and no chance to use the correct engine. Don't set the preference but let the _elm_config to determine the right engine. SVN revision: 75921
2012-05-17oops, sorryGustavo Lima Chaves1-0/+2
SVN revision: 71211
2012-05-17[elm] Let's not delete a window on button callback,Gustavo Lima Chaves1-2/+10
immediately. SVN revision: 71210
2012-04-02elm bin: Use convenient utility function elm_win_util_standard_add()Daniel Juyung Seo1-10/+3
instead of elm_win_add() + elm_bg_add(). This is for normal style (ELM_WIN_BASIC) window. SVN revision: 69848
2012-04-02Revert a wrong commit. Un-wanted files are committed together.Daniel Juyung Seo1-3/+10
Revert "elm bin: Use convenient utility function elm_win_util_standard_add() instead of elm_win_add() + elm_bg_add(). This is for normal style (ELM_WIN_BASIC) window." This reverts commit 31b24a0edb0028528d7c859070e03236ba42867b. SVN revision: 69847
2012-04-02elm bin: Use convenient utility function elm_win_util_standard_add() instead ↵Daniel Juyung Seo1-10/+3
of elm_win_add() + elm_bg_add(). This is for normal style (ELM_WIN_BASIC) window. SVN revision: 69845
2012-03-29for the last time: CONFIG.H ALWAYS GETS INCLUDED FIRST. ↵Mike Blumenkrantz1-1/+2
AAAAAAAALLLLLLLLLLLLLLLLLLLLLLLWAAAAAAAAAAAAAAAAAAAAAAAAAAAYYYYYYYYYYYYYYYYYYYYYSSSSSSSSSSSSSSSSSSS SVN revision: 69764
2012-03-09req gl eng for 3d testCarsten Haitzler1-0/+5
SVN revision: 69075
2012-02-16elementary_test: fix formattingJihoon Kim1-11/+0
SVN revision: 68000
2011-08-03elm src/bin: Applied elm_object_focus API change. Changed it to ↵Daniel Juyung Seo1-1/+1
elm_object_focus_set. SVN revision: 62062
2011-07-26elementary: fix compilation of shader with OpenGL.Cedric BAIL1-0/+2
SVN revision: 61765
2011-07-25elm test: Refactoring. Changed 1 to EINA_TRUE for Eina_Bool parameter of ↵Daniel Juyung Seo1-1/+1
elm_win_autodel_set() API. SVN revision: 61695
2011-07-22elm glview: Changed Elm_GLView_Func callback function typedef toDaniel Juyung Seo1-1/+1
Elm_GLView_Func_Cb according to EFL coding convention. SVN revision: 61587