| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\ |
|
| | |
|
|\ \
| |/
|/|
| | |
into devs/cedric/evas-3d
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| | |
If quality is >30 && <=70 then choose medium params, not low.
Spotted by Snacker, thanks.
|
| |
| |
| |
| | |
@fix
|
| |
| |
| |
| | |
Spotted by Snacker, thanks.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Async page flip can cause visual tearing, so disable by default for
all cards.
@bugfix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
|
| |
| |
| |
| | |
This whole cache/cache2 API duplication is a complete mess.
|
| |
| |
| |
| |
| | |
We need to use the RGBA shader to invert R and B otherwise
those will be inverted on the screen.
|
| |
| |
| |
| | |
There was some invalid arithmetics with the buffer offset.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| | |
data8 is there precisely to avoid casting the iamge data when
handling it as DATA8.
This is purely a cosmetic change
|
| |
| |
| |
| | |
should fix T1144.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| |
| |
| |
| | |
from disk.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
|
|
|
| |
@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
fix CID 1193479
|
|
|
|
|
|
| |
Still there few mode are unsatisfied.
@fix
|
|
|
|
| |
it's enough that just disabling the blend mode.
|
| |
|
|
|
|
| |
Fix CID 1193212.
|
|
|
|
|
| |
The GLubyte we are getting back here are strings we want to search
in with strstr. Cast is only to avoid warnings.
|
|
|
|
|
|
|
|
|
|
| |
@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>
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
The pixels are already premultiplied in such an FBO.
(cherry picked from commit 2b3e065ffeb9b587ca35909940beb59b25081e7f)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Chris Michael <cp.michael@samsung.com>
|
|
|
|
|
|
|
|
|
| |
@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>
|
|
|
|
|
|
|
|
| |
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).
|