mutter/cogl
Neil Roberts f16fd0ddbb cogl: Use SSE2 when possible for premultiplying
This adds a fast path for premultiplying an RGBA image using SSE2
instructions. SSE registers are 128-bit and we need at least 16-bits
per component for the intermediate result of the multiplication so we
can do two pixels in parallel with one register. The function
interleaves 2 SSE registers to multiply 4 pixels in one function call
with the hope that this will pipeline better.

http://bugzilla.openedhand.com/show_bug.cgi?id=1939
Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
2010-02-09 11:03:21 +00:00
..
driver cogl-pixel-buffer: Add a fallback path 2010-02-08 17:14:49 +00:00
winsys build: Make COGL pass distcheck 2009-10-23 13:38:40 +01:00
cogl-atlas-texture-private.h cogl: Add an atlased texture backend 2009-12-04 20:26:39 +00:00
cogl-atlas-texture.c cogl-texture: Split out _cogl_texture_prepare_for_upload 2010-02-03 23:10:52 +00:00
cogl-atlas.c cogl-atlas: Make the cogl_atlas_* API internal 2010-02-03 23:09:26 +00:00
cogl-atlas.h cogl-atlas: Make the cogl_atlas_* API internal 2010-02-03 23:09:26 +00:00
cogl-bitmap-fallback.c cogl: Use SSE2 when possible for premultiplying 2010-02-09 11:03:21 +00:00
cogl-bitmap-pixbuf.c cogl: Do the premult conversion in-place rather than copying to a new buffer 2010-02-01 13:27:34 +00:00
cogl-bitmap-private.h cogl: Do the premult conversion in-place rather than copying to a new buffer 2010-02-01 13:27:34 +00:00
cogl-bitmap.c cogl: Do the premult conversion in-place rather than copying to a new buffer 2010-02-01 13:27:34 +00:00
cogl-bitmap.h docs: Documentation fixes for CoglBitmap 2009-11-19 13:56:47 +00:00
cogl-blend-string.c Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-blend-string.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-buffer-private.h cogl-buffer: add an abstract class around openGL's buffer objects 2010-02-08 17:14:49 +00:00
cogl-buffer.c Remove return from void functions 2010-02-09 10:24:25 +00:00
cogl-buffer.h cogl-buffer: Use TEXTURE as the only value for CoglBufferUsageHint 2010-02-08 17:14:49 +00:00
cogl-clip-stack.c cogl: deprecate cogl_draw_buffer API and replace with a cogl_framebuffer API 2009-11-26 19:33:14 +00:00
cogl-clip-stack.h [draw-buffers] First pass at overhauling Cogl's framebuffer management 2009-11-03 17:23:03 +00:00
cogl-color.c Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-color.h Whitespace fix for cogl-color.h 2009-11-19 13:56:47 +00:00
cogl-context.c cogl-buffer: add an abstract class around openGL's buffer objects 2010-02-08 17:14:49 +00:00
cogl-context.h cogl-buffer: add an abstract class around openGL's buffer objects 2010-02-08 17:14:49 +00:00
cogl-debug.c cogl-atlas-texture: Add a debug option to disable the atlas 2010-01-22 15:54:15 +00:00
cogl-debug.h cogl-atlas-texture: Add a debug option to disable the atlas 2010-01-22 15:54:15 +00:00
cogl-deprecated.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-enum-types.c.in Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-enum-types.h.in Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-feature-private.c cogl: Make it easier to add checks for GL extensions 2009-11-17 15:11:26 +00:00
cogl-feature-private.h cogl: Make it easier to add checks for GL extensions 2009-11-17 15:11:26 +00:00
cogl-fixed.c docs: Use % for defines not # 2010-02-04 21:10:02 +00:00
cogl-fixed.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-framebuffer-private.h cogl: Support multiple fallbacks in cogl_offscreen_new_to_texture() 2010-01-11 15:32:52 +00:00
cogl-framebuffer.c cogl-framebuffer: Return gboolean from try_creating_fbo 2010-01-14 14:10:05 +00:00
cogl-handle.h cogl-debug: Remove redundant newlines 2010-02-03 16:34:27 +00:00
cogl-internal.h cogl: Introduce the GE_RET() debug macro 2010-02-08 17:14:49 +00:00
cogl-journal-private.h cogl: Make the callback for foreach_sub_texture_in_region use const 2009-12-02 22:03:08 +00:00
cogl-journal.c Merge branch 'more-texture-backends' 2010-02-06 00:20:32 +00:00
cogl-material-private.h cogl-primitives: Ensure the mipmaps for a layer before logging quads 2010-01-18 09:22:11 +00:00
cogl-material.c Merge remote branch 'master' into texture-debugging 2010-02-01 13:37:19 +00:00
cogl-material.h [cogl-material] Adds cogl_material_copy() API 2009-11-24 17:58:22 +00:00
cogl-matrix-mesa.c Remove a gtk-doc annotation 2009-12-02 11:37:13 +00:00
cogl-matrix-mesa.h docs: Remove non-gtk-doc annotations 2009-11-19 13:55:46 +00:00
cogl-matrix-private.h [debug] Adds a COGL_DEBUG=matrices debug option 2009-11-04 03:34:04 +00:00
cogl-matrix-stack.c cogl: deprecate cogl_draw_buffer API and replace with a cogl_framebuffer API 2009-11-26 19:33:14 +00:00
cogl-matrix-stack.h build: Move CoglMatrixMode to cogl-matrix-stack.h 2010-01-04 11:58:32 +00:00
cogl-matrix.c [matrix] Adds cogl_matrix_get_inverse API 2009-11-04 03:34:05 +00:00
cogl-matrix.h docs: Documentation fixes for CoglMatrix 2009-11-19 13:56:47 +00:00
cogl-offscreen.h cogl_offscreen: deprecate cogl_offscreen_ref/unref. 2009-11-26 19:33:13 +00:00
cogl-path.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-pixel-buffer-private.h cogl-pixel-buffer: add a pixel buffer object class 2010-02-08 17:14:49 +00:00
cogl-pixel-buffer.c cogl-buffer: Use TEXTURE as the only value for CoglBufferUsageHint 2010-02-08 17:14:49 +00:00
cogl-pixel-buffer.h cogl-pixel-buffer: add a pixel buffer object class 2010-02-08 17:14:49 +00:00
cogl-primitives.c cogl path: make sure marking the clip state dirty takes affect 2010-02-08 13:35:45 +00:00
cogl-primitives.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-profile.c profiling: Adds initial UProf accounting to Cogl 2010-01-08 20:19:50 +00:00
cogl-profile.h profiling: Adds initial UProf accounting to Cogl 2010-01-08 20:19:50 +00:00
cogl-shader.h cogl: Remove the CGL_* defines 2010-01-12 17:10:15 +00:00
cogl-spans.c [cogl-spans] split out cogl-spans code from cogl-texture-2d-sliced 2009-10-16 18:58:52 +01:00
cogl-spans.h [cogl-spans] split out cogl-spans code from cogl-texture-2d-sliced 2009-10-16 18:58:52 +01:00
cogl-sub-texture-private.h cogl: Make CoglSubTexture only work for quad rendering 2010-01-18 09:22:04 +00:00
cogl-sub-texture.c Remove return from void functions 2010-02-09 10:24:25 +00:00
cogl-texture-2d-private.h cogl: Add a CoglTexture2D backend 2009-12-02 22:03:27 +00:00
cogl-texture-2d-sliced-private.h cogl: Move some of the texture_2d_sliced_new_* functions into cogl-texture 2009-12-02 22:03:26 +00:00
cogl-texture-2d-sliced.c cogl: new textures sould have GL_TEXTURE_MIN_FILTER set to GL_LINEAR 2010-02-08 17:14:49 +00:00
cogl-texture-2d.c cogl: new textures sould have GL_TEXTURE_MIN_FILTER set to GL_LINEAR 2010-02-08 17:14:49 +00:00
cogl-texture-driver.h cogl: new textures sould have GL_TEXTURE_MIN_FILTER set to GL_LINEAR 2010-02-08 17:14:49 +00:00
cogl-texture-private.h cogl-texture: Split out _cogl_texture_prepare_for_upload 2010-02-03 23:10:52 +00:00
cogl-texture.c Remove return from void functions 2010-02-09 10:24:25 +00:00
cogl-texture.h cogl-texture: Add a new constructor to turn CoglBuffers into textures 2010-02-08 17:14:49 +00:00
cogl-types.h cogl-pixel-buffer: Add a fallback path 2010-02-08 17:14:49 +00:00
cogl-util.c Whitespace fixes in cogl-util 2010-02-01 10:40:34 +00:00
cogl-util.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-vertex-buffer-private.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-vertex-buffer.c Merge branch 'more-texture-backends' 2010-02-06 00:20:32 +00:00
cogl-vertex-buffer.h docs: Increase consistency in Cogl documentation 2009-11-19 14:19:59 +00:00
cogl.c cogl: Use the colours of COGL_DEBUG=rectangles to debug batching 2010-01-28 16:52:42 +00:00
cogl.h cogl-pixel-buffer: add a pixel buffer object class 2010-02-08 17:14:49 +00:00
cogl.pc.in Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
Makefile.am cogl-pixel-buffer: add a pixel buffer object class 2010-02-08 17:14:49 +00:00
stb_image.c Covert stb_image.c to Unix format 2010-01-05 18:02:29 +00:00