path: root/src/static_libs/draw (follow)
AgeCommit message (Collapse)Author
2017-11-10ector: move gradient generation api to draw library for reuse.subhransu mohanty
2017-07-29etc to rgba conversion - dont read stack garbage into the est imgsCarsten Haitzler (Rasterman)
surprising this wasn't caught when testing fallbacks. etc2 is used hyper-rarely but still... basically it'd skip pixels and read stack junk (which really would not crash but we'd have junk in image data). or should. found by PVS studio @fix
2017-06-05draw: silence warning in a tricky loop/switch statement.Cedric BAIL
2017-04-14evas filters: Move curve to software generic (3/8)Jean-Philippe Andre
This moves the RGBA premul/unpremul functions to static_libs/draw.
2017-04-14evas filters: Move blend to software_generic (1/8)Jean-Philippe Andre
This is an attempt at refactoring the filters code so I can later implement GL support. This patch adds a few extra changes to remove avoid calling functions of libevas from the software engine: use the draw functions from static_libs/draw rather than evas_common APIs.
2017-01-27cmake: add EFL_SUPPORT_LIB() and simplify/speedup its usage.Gustavo Sverzut Barbieri
generate a static library for src/static_libs and use that as LIBRARIES for the actual library, for those such as rg_etc that are used multiple times will even speed up the final build by compiling only once. Although not used, they can be made into shared libraries that would go inside /usr/lib/efl/support/v-1.19/
2016-12-06all: use void if we really want to make sure we do not accept parametersStefan Schmidt
In C we need this to make clear that we really do not accept parameters. Found by the smatch source code matcher. I had run and fixed this before but it seems to creep in again over time.
2016-03-28Evas: Add SW engine map/unmap functionsJean-Philippe Andre
Also, fix some of the code using them.
2016-03-28draw: Import or implement some colorspace conversion routinesJean-Philippe Andre
Those and many more will be required for proper map/unmap support. There will be problems with planar formats: YUV, RGB565_A5P, ETC1_ALPHA The quick solution to this problem is to not support region conversions, only full-image (so we can assume the location of the various planes in memory).
2015-12-11Draw: Fix compile error by removing duplicate definition.Jaehyun Cho
2015-12-04Evas filters: Implement mix3 func for rgba maskingJean-Philippe Andre
This operation was faked by running a mul and a blend ops. Now they are combined into one. A GL shader should also be able to do this in a single pass.
2015-12-04Evas filters: Use Efl.Gfx.Render_OpJean-Philippe Andre
Some filters are now broken. Yay for refactoring! Will be fixed in the following commit.
2015-12-04Draw: Add new mask functionsJean-Philippe Andre
Copy & blend to uint32 with a uint8 mask + color.
2015-12-03Ector: use uint32_t instead of uintJean-Philippe Andre
This fixes the build for Windows. Thanks @vtorri for the report. I'm not using "unsigned int" as uint was mostly used like DATA32, ie. color data (one pixel color or a pixel buffer).
2015-12-03Ector: Kill compilation warningsJean-Philippe Andre
Remove unimplemented function (no test case yet). Convert #warning into comments.
2015-12-03Evas: Move alpha functions to static_libs/drawJean-Philippe Andre
This is a pretty simple code refactor, moving pixel handling to the new draw lib.
2015-12-03Ector: Move drawhelper to static_libsJean-Philippe Andre
Rename a few things: - draw helper -> efl_draw - Ector_Rop -> Efl.Gfx.Render_Op - ECTOR_ bla bla -> DRAW_ bla bla (base pixel ops) - ector_memfill -> draw_memset32 (and invert arg order to match memset) The main rasterizer file is now draw.h in static_libs/draw This is a non functional change, simple code refactor.