summaryrefslogtreecommitdiff
path: root/src/modules/evas
Commit message (Collapse)AuthorAgeFilesLines
* evas/evas3d - use the image loader of the evas instead of the png lib.ChunEon Park2014-04-151-124/+20
|
* Evas_3D : Eolian changesubhransu2014-04-143-69/+105
|
* Merge branch 'master' into devs/cedric/evas-3dChunEon Park2014-04-141-3/+0
|\
| * engines/evas_drm: Remove some unused variablesStefan Schmidt2014-04-111-3/+0
| |
* | Merge branch 'devs/cedric/evas-3d' of ssh://git.enlightenment.org/core/efl ↵ChunEon Park2014-04-1011-0/+3615
|\ \ | |/ |/| | | into devs/cedric/evas-3d
| * Evas: 3D: Fix typo error in preprocessor for GLESTaekyun Kim2014-03-301-1/+1
| |
| * Evas: 3D: Introducing 3D scene rendering featuresTaekyun Kim2014-03-3011-0/+3615
| | | | | | | | | | | | Enable 3D features using --enable-evas-3d=yes when configuring. APIs are exposed through Evas_3D.h. Currently, evas-3d is being supported only on gl_x11 engine.
* | Evas gl: Remove unused variableJean-Philippe Andre2014-04-081-1/+0
| |
* | ETC1 encoding: fix typo in TGV and EET saversJean-Philippe Andre2014-04-081-1/+1
| | | | | | | | | | If quality is >30 && <=70 then choose medium params, not low. Spotted by Snacker, thanks.
* | fix swap buffers with damage to not detect if ext str is not thereCarsten Haitzler (Rasterman)2014-04-051-0/+4
| | | | | | | | @fix
* | Evas: Fix harmless typo in eet image loaderJean-Philippe Andre2014-04-041-1/+1
| | | | | | | | Spotted by Snacker, thanks.
* | evas-drm: Remove all async_page_flip options/referencesChris Michael2014-04-042-15/+2
| | | | | | | | | | | | | | | | | | | | Async page flip can cause tearing, is not supported on all cards, and apparently requires a specific libdrm patchlevel...in general, more trouble than it's worth, so let's just remove it. @bugfix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* | evas-drm: Default async page flip to false as this can cause tearingChris Michael2014-04-041-6/+3
| | | | | | | | | | | | | | | | | | Async page flip can cause visual tearing, so disable by default for all cards. @bugfix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* | Evas cserve2: Fix crash in elm_test GLViewJean-Philippe Andre2014-04-041-0/+5
| | | | | | | | This whole cache/cache2 API duplication is a complete mess.
* | Evas gl: Fix colors when using ETC1 texturesJean-Philippe Andre2014-04-041-4/+4
| | | | | | | | | | We need to use the RGBA shader to invert R and B otherwise those will be inverted on the screen.
* | Evas: Fix TGV loader to properly copy ETC1 dataJean-Philippe Andre2014-04-041-2/+3
| | | | | | | | There was some invalid arithmetics with the buffer offset.
* | Evas gl: Fix dlsym usage for glCompressedTexImage2dJean-Philippe Andre2014-04-041-0/+3
| | | | | | | | | | | | | | This symbol should be part of the loaded libraries, can be found using dlsym, even if eglGetProcAddress() returns NULL. Add etc1 flag in the debug output.
* | Evas gl: Use implicit cast to DATA8 with image.data8Jean-Philippe Andre2014-04-041-3/+3
| | | | | | | | | | | | | | data8 is there precisely to avoid casting the iamge data when handling it as DATA8. This is purely a cosmetic change
* | evas: fix use of unitialized data in eet loader.Cedric BAIL2014-04-021-7/+10
| | | | | | | | should fix T1144.
* | evas: make eet negociate it's colorspace with evas.Cedric BAIL2014-04-011-4/+32
| |
* | evas: add ETC1 texture format support to Evas.Cedric BAIL2014-04-014-15/+120
| |
* | evas: follow change 2fd69743f968aa7a184edf183384e5a359e79c8f in the saver.Cedric BAIL2014-04-012-15/+27
| |
* | evas: change TGV internal encoding to account for GPU needs of duplicated ↵Cedric BAIL2014-04-011-57/+99
| | | | | | | | | | | | | | | | | | | | | | border. With OpenGL, the border of a texture are not "well" defined. So interpolation at the border can result in weird/bad looking texture border. To avoid that we do duplicate the border in all direction at the time of the texture upload. But with ETC1 it is not possible as the border are grouped with 15 others pixels. It needs to be done at saving time. So internally we do have an image that would be of size width + 2 pixels and height + 2 pixels.
* | evas: support uploading AGRY88 and GRY8 directly to GPU.Cedric BAIL2014-04-013-214/+149
| |
* | evas: fix png loader to actually produce lower resolution content when asked.Cedric BAIL2014-04-011-18/+28
| |
* | evas: add support for GL_LUMINANCE_ALPHA and GL_LUMINANCE when loading image ↵Cedric BAIL2014-04-013-20/+67
| | | | | | | | from disk.
* | evas: add png support for other color space output.Cedric BAIL2014-04-011-10/+42
| |
* | eet: add internal encoding to ETC1 as an alternate solution to Jpeg.Cedric BAIL2014-04-011-5/+7
| |
* | evas: let TGV loader choose which encoding it want.Cedric BAIL2014-04-011-13/+40
| | | | | | | | | | | | | | If region is specified we will not allow ETC1 colorspace as it would basically break at the frontier as we would be unable to generate a duplicate of the border as GPU require if you want nice and correct rendering. So no region and ETC1 output at the same time.
* | evas: remove dead code.Cedric BAIL2014-04-013-24/+0
| |
* | evas: add TGV saver module.Cedric BAIL2014-04-011-0/+186
| |
* | evas: add a tgv loader.Cedric BAIL2014-04-011-0/+359
| | | | | | | | | | | | | | The TGV file format is specifically created for Evas. It is designed to allow region decompression and parallele decompression with a fast path for GPU that do handle ETC1 compression. Plan for adding other compression method will come later.
* | evas-drm: Add trapping for a canvas below framebuffer sizeChris Michael2014-04-011-0/+9
|/ | | | | | | | | @bugfix: This adds some safety trapping for trying to create a canvas below the drm framebuffer size. Drm does not support creating a canvas smaller than the framebuffer output, so we will add some trapping to catch that, and internally create the framebuffers to the proper size. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* evas: Fixed warning for uninitialized variablesAnand2014-03-241-2/+2
| | | | | | | | | | | | | | | | | | | | | Summary: Warning fixed of evas modules/evas/engines/gl_common/evas_gl_context.c: In function 'evas_gl_common_context_new': modules/evas/engines/gl_common/evas_gl_context.c:392:32: warning: 'minor' may be used uninitialized in this function [-Wuninitialized] modules/evas/engines/gl_common/evas_gl_context.c:314:8: note: 'minor' was declared here modules/evas/engines/gl_common/evas_gl_context.c:392:16: warning: 'major' may be used uninitialized in this function [-Wuninitialized] modules/evas/engines/gl_common/evas_gl_context.c:313:8: note: 'major' was declared here @fix Compilation Warning Fixed Test Plan: Compile efl Reviewers: singh.amitesh CC: seoz, cedric Differential Revision: https://phab.enlightenment.org/D656
* evas: cleaner fail handler.Cedric BAIL2014-03-241-5/+3
|
* evas_gl: fix memory leak in case that version doesn't include dotJihoon Kim2014-03-231-1/+5
| | | | fix CID 1193479
* evas/gl - fill up missed blend mode.ChunEon Park2014-03-221-7/+19
| | | | | | Still there few mode are unsatisfied. @fix
* evas/gl - don't set blend function in RENDER COPY mode.ChunEon Park2014-03-221-2/+3
| | | | it's enough that just disabling the blend mode.
* warnings--Carsten Haitzler (Rasterman)2014-03-221-2/+2
|
* evas: let's be more resistant even with things that should never happen.Cedric BAIL2014-03-201-0/+1
| | | | Fix CID 1193212.
* evas/gl_x11: Cast GLubyte to const char for strstrStefan Schmidt2014-03-191-3/+3
| | | | | The GLubyte we are getting back here are strings we want to search in with strstr. Cast is only to avoid warnings.
* evas-drm: Fix engine to use the output's framebuffer as window idChris Michael2014-03-183-4/+5
| | | | | | | | | | @fix: ecore_evas_window_get expects an Ecore_Window to be returned. Because of this, we need to have a 'window' that can be returned via ecore_evas. For this case, we will use the output's framebuffer id as the 'window' so we need to set that into the engine info so that ecore_evas can fetch it. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Evas gl: Fix clip in image_draw if it's not setJean-Philippe Andre2014-03-181-1/+1
| | | | | | | | | | | In evas_gl_common_image_draw, if an image is drawn with a fresh context, containing no clip and no cutouts, then it will be wrongly clipped to the source image size instead of the destination surface size. This case seems to never happen, ever, since the contexts are always fully set by the render functions. @fix
* Evas gl_x11: Do not premultiply pixels after reading FBOJean-Philippe Andre2014-03-181-2/+0
| | | | | | The pixels are already premultiplied in such an FBO. (cherry picked from commit 2b3e065ffeb9b587ca35909940beb59b25081e7f)
* Evas gl: Fix buffer dump filenamesJean-Philippe Andre2014-03-183-5/+7
| | | | | | | | evas_gl_common_buffer_dump can be used to dump all frames into a series of PNG files. But the filename contained some garbage characters (and potential segv, too). (cherry picked from commit a0f886138ed5a28d0d1596df3b805fca06d1ae31)
* Evas gl_x11: Fix usage of glReadPixelsJean-Philippe Andre2014-03-133-6/+23
| | | | | | | | | | | It is not necessary to dynamically link to glReadPixels since this is not an extension. This code wouldn't even work on some devices. Also, the pixels returned are not premultiplied (yeah >_<) And some devices (EGL) don't support GL_BGRA... so glReadPixels would just fail and not fill in the pixels. Conversion is required.
* evas-drm: Remove private framebufferChris Michael2014-03-101-3/+4
| | | | | | | We don't need to store the framebuffer of the Outbuf as it's only used once to set resolution. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* evas-drm: Remove private framebuffer field from Outbuf structureChris Michael2014-03-101-1/+1
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* evas-fb: Fix broken build of eflChris Michael2014-03-101-7/+12
| | | | | | | | | @bugfix: structure fb_var_screeninfo does not have a colorspace field defined in linux/fb.h, so (for now) comment out code which was referencing that field. Not sure what the intent was here, but build was broken because of this. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Evas filters: Use GL_FRAMEBUFFER instead of GL_READ_FRAMEBUFFERJean-Philippe Andre2014-03-071-2/+12
| | | | | | | | GL_READ_FRAMEBUFFER isn't defined when compiling for Wayland Thanks Stefan for the report. Also, import GL_FRAMEBUFFER overrides from other GL files, so that it points to the proper extension (_OES or _EXT if applicable).