summaryrefslogtreecommitdiff
path: root/render
AgeCommit message (Collapse)AuthorFilesLines
2008-05-06Allow using libmd instead of libcrypto for SHA1 hashing in render/glyph.cAlan Coopersmith1-2/+15
Builders can force one or the other by passing SHA1_LIB & SHA1_CFLAGS to configure
2008-02-29Bug #10463: Always initialize reference pixel before AllocColor()Chris Wilson1-0/+2
2007-12-13Merge branch 'master' into XACE-SELINUXEamon Walsh3-126/+2
Conflicts: Xext/EVI.c Xext/bigreq.c Xext/cup.c Xext/dpms.c Xext/fontcache.c Xext/mitmisc.c Xext/xcmisc.c Xext/xf86bigfont.c Xext/xtest.c configure.ac dbe/dbe.c hw/darwin/darwin.h hw/darwin/darwinEvents.c hw/darwin/iokit/xfIOKit.h hw/darwin/iokit/xfIOKitCursor.c hw/darwin/quartz/fullscreen/fullscreen.c hw/darwin/quartz/fullscreen/quartzCursor.c hw/darwin/quartz/quartz.c hw/darwin/quartz/quartzCommon.h hw/darwin/quartz/quartzCursor.c hw/darwin/quartz/xpr/dri.c hw/darwin/quartz/xpr/dristruct.h hw/darwin/quartz/xpr/xprCursor.c hw/darwin/quartz/xpr/xprFrame.c hw/xfree86/modes/xf86RandR12.c include/cursor.h miext/rootless/rootlessCommon.h miext/rootless/rootlessScreen.c miext/rootless/rootlessWindow.c render/picturestr.h Trying to pick up the pieces from the darwin churn here...
2007-12-02Clean up many #if 0.Adam Jackson2-124/+0
2007-11-20Revert "registry: Register RENDER extension protocol names."Eamon Walsh1-90/+0
This reverts commit 8964c6d8e14ae47798762191e359b2bf138ca32e. Moving all the names into dix/registry.c
2007-11-19Merge branch 'master' into XACE-SELINUXEamon Walsh1-1/+1
Conflicts: hw/xnest/Pixmap.c include/dix.h
2007-11-15Fix a really dumb typo.Aaron Plattner1-1/+1
2007-11-05Merge branch 'master' into XACE-SELINUXEamon Walsh6-58/+60
Conflicts: dix/dispatch.c dix/property.c hw/xfree86/common/xf86VidMode.c include/xkbsrv.h render/glyph.c xkb/xkbActions.c
2007-11-05Render: Remove usage of allocaDaniel Stone2-26/+26
Replace it with heap-based allocations.
2007-11-04Add CreatePixmap allocation hints.Aaron Plattner4-6/+9
These hints allow an acceleration architecture to optimize allocation of certain types of pixmaps, such as pixmaps that will serve as backing pixmaps for redirected windows.
2007-10-26Restore the CompositeGlyphs -> ps->Glyphs -> miGlyphs callchain to allow ↵Aaron Plattner2-25/+24
acceleration architectures to wrap above miGlyphs.
2007-10-26Include stddef.h for size_t.Bernardo Innocenti1-0/+1
This is required by a buggy version of the openssl/sha.h header which is distributed with Fedora 7.
2007-10-25Merge branch 'master' into XACE-SELINUXEamon Walsh10-362/+438
Conflicts: GL/glx/glxscreens.c hw/xnest/Screen.c render/glyph.c render/glyphstr.h render/render.c
2007-10-23Superfluous ','.Matthias Hopf1-1/+1
2007-10-19Replace calls to Glyphs screen hook with CompositeGlyphs and remove dead code.Eric Anholt7-255/+215
Not all of the DDX/miext Glyphs hook implementations have been removed, but they should be.
2007-10-15registry: Add some missing #include's.Eamon Walsh1-0/+1
2007-10-15registry: Register RENDER extension protocol names.Eamon Walsh1-0/+90
2007-10-12NULL is not a valid argument to CreatePicture, please use serverClientEamon Walsh1-1/+1
as the client argument if no real client is creating the object.
2007-10-11dix: Add a new "registry" mechanism for registering string names of things.Eamon Walsh1-2/+0
Supports protocol requests, events, and errors, and resource names. Modify XRES extension to use it.
2007-10-02Merge branch 'glyph-pixmaps'Eric Anholt4-111/+226
Conflicts: configure.ac exa/exa_render.c
2007-09-19devPrivates rework: move devPrivates field in drawable structure typesEamon Walsh1-1/+1
to just below the DrawableRec. Wish there were a better way to do this but it has to be in the same place for all drawable types.
2007-09-19Merge branch 'master' into XACE-SELINUXEamon Walsh1-1/+1
Conflicts: afb/afbpntwin.c afb/afbscrinit.c afb/afbwindow.c cfb/cfb.h cfb/cfballpriv.c cfb/cfbscrinit.c cfb/cfbwindow.c configure.ac fb/wfbrename.h hw/xfree86/xf4bpp/ppcIO.c hw/xfree86/xf4bpp/ppcPntWin.c hw/xfree86/xf4bpp/ppcWindow.c hw/xfree86/xf8_32bpp/cfbscrinit.c mfb/mfb.h mfb/mfbpntwin.c mfb/mfbscrinit.c mfb/mfbwindow.c mi/miexpose.c Note: conflicts caused by devPrivates rework vs. paintwindow changes.
2007-09-05xace: add new fields to resource access hook to allow parent resource objectsEamon Walsh3-10/+10
to be passed in at create time. Also added a missing devPrivates initializer.
2007-08-31Bug #7364: Require renderproto 0.9.3 on 64-bit, and fix build with it.Eric Anholt1-1/+1
2007-08-31xace: add hooks + new access codes: Render extensionEamon Walsh4-52/+94
2007-08-28devPrivates rework: since API is already broken, switch everythingEamon Walsh6-497/+47
over to new system. Need to update documentation and address some remaining vestiges of old system such as CursorRec structure, fb "offman" structure, and FontRec privates.
2007-08-28Merge branch 'master' into XACE-SELINUXEamon Walsh3-26/+26
Conflicts: include/miscstruct.h mi/mibstore.c mi/midispcur.c os/Makefile.am
2007-08-25Refactor PictureInitIndexedFormats.Adam Jackson2-25/+25
The plural version is now static, which is fine since it was only ever called from within picture post-init anyway. The body of the work is now done with a one-shot (public) function that operates on a single format at a time.
2007-08-23Avoid leaking a Pixmap for every glyphCarl Worth1-0/+5
2007-08-22Revert "Fix <pixman.h> include to <pixman/pixman.h>"Eric Anholt1-1/+1
The pixman headers have been located under pixman-1/ instead of pixman/ since around 2007-08-06, and pixman-1.pc has the updated include paths to account for this. This reverts commit feb1b3e45513bd6eaa2e6a5ee536183f20d9cb68.
2007-08-22Fix <pixman.h> include to <pixman/pixman.h>Alan Hourihane1-1/+1
2007-08-15xace: add hooks + new access codes: core protocol cursor requestsEamon Walsh1-11/+15
2007-08-06Require pixman-1 0.9.4, update pixman includes to new schemeSøren Sandmann Pedersen1-1/+1
2007-08-02Create a Picture as well as a Pixmap at the time of AllocateGlyphCarl Worth4-35/+25
This avoids some inefficiency in creating a temporary Picture for every glyph at rendering time. My measurements with an i965 showed the previous patch causing a 10-15% slowdown for NoAccel and XAA cases, (while providing an 18% speedup for EXA). With this change, the NoAccel and XAA performance regression is eliminated, and the overall EXA speedup, (before any of the glyphs-as-pixmaps work), is now 32%.
2007-08-02Use per-screen Pixmaps for glyphsCarl Worth4-53/+113
Instead of system-memory data which prevents accelerated compositing of glyphs, (at least without forcing an upload of the glyph data before compositing).
2007-08-02Use strong hash (SHA1) for glyphsCarl Worth3-65/+64
Using a cryptographically strong hash means that comparing the hash alone is sufficient for determining glyph equality (no need to compare the glyph bits directly). This will allow us to replace system-memory copies of the glyph bits, (which we've only been holding onto for comparisons), with Pixmaps.
2007-08-02ProcRenderAddGlyphs: Avoid allocating a glyph just to find it cachedCarl Worth3-25/+71
This is a cleanup without any real savings (yet). Previously, the implementation would allocate a new glyph, then (often) find it in the cache, and immediately discard the allocated object. This re-organization first uses a new FindGlyphByHash function and only allocates the glyph if nothing is found. This isn't a real savings yet, since FindGlyphByHash currently still does a temporary glyph allocation, but this is expected to be replaced immediately as we switch to an alternate hashing mechanism (SHA1).
2007-08-02Split HashGlyph functionality out into HashGlyphInfoAndBitsCarl Worth2-3/+23
This is in preparation for a future change that will take advantage of being able to compute a hash for a separate xGlyphInfo and chunk of bits without a combined Glyph object.
2007-08-02ProcRenderAddGlyphs: Take advantage of the for loops to simplify the code a bitCarl Worth1-8/+4
2007-08-02ProcRenderAddGlyphs: Convert while loops to for loops where more naturalCarl Worth1-5/+4
2007-07-29ReduceCompositeOp returns a Render op, not a boolean.Adam Jackson1-1/+1
2007-06-29Death to RCS tags.Adam Jackson4-8/+0
2007-06-15swap xOrigin and yOrigin in SProcRenderSetPictureClipRectangles.Matthieu Herrb1-0/+2
Fixes Xrender clipping rectangles when X server and client are of different endianness, shown by xterm 225 among others.
2007-06-11Don't pass regions to pixman_image_composite() anymore.Søren Sandmann Pedersen3-26/+40
2007-06-05Remove most of the fast-path MMX operations from fbmmx. fbCopyAreammxSøren Sandmann Pedersen1-1/+1
and fbSolidFillmmx are still needed by other code.
2007-05-23Port renderedge.c to pixmanSoren Sandmann Pedersen2-128/+6
2007-05-15Use pixman short formats, revert the gradient_stop changeSoren Sandmann Pedersen2-58/+56
2007-05-15Use pixman types for transforms and vectorsSoren Sandmann Pedersen1-11/+3
2007-05-15Use the pixman fixed point types and macrosSoren Sandmann Pedersen2-44/+24
2007-05-02Fix for a divide by zero that can be triggered by a malicious client.Keith Packard1-0/+1
Problem reported by Derek Abdine of rapid7.com. Thanks.