Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-04-23 | gl: Add some stuff to multiplane shaders patchplanar | Benjamin Otte | 2 | -5/+3 | |
2010-04-23 | gl: Add code for to handle subsampled multiplane surfaces | Benjamin Otte | 2 | -20/+89 | |
In fact, we now handle y420, y422 and y444 surfaces. | |||||
2010-04-23 | gl: Allow drawing image formats with special shaders | Benjamin Otte | 4 | -26/+272 | |
Extends the code to query formats and to draw images onto surfaces, so that it can use shaders. Implement shaders for the different color spaces. | |||||
2010-04-23 | gl: Make _gl_set_destination() take the context as an argument | Benjamin Otte | 3 | -13/+11 | |
Keeping with the API introduced for Xlib, functions that require an acquired context take this context as the first argument. | |||||
2010-04-23 | glx: Make _glx_acquire/release() lock the X device | Benjamin Otte | 5 | -11/+52 | |
This avoids crashes when GLX and X are used at the same time. | |||||
2010-04-23 | xlib: Add cairo_xlib_device API | Benjamin Otte | 5 | -6/+33 | |
cairo_xlib_device_create() and cairo_xlib_device_get_display() were added and used as replacements for the previous private APIs. | |||||
2010-04-23 | gl: Add cairo_gl_surface_create_for_texture() | Benjamin Otte | 3 | -55/+86 | |
This creates a Cairo surface from a given texture. This allows using content previously created using OpenGL inside Cairo. | |||||
2010-04-23 | gl: Add cairo_gl_surface_get_texture() | Benjamin Otte | 2 | -0/+14 | |
2010-04-23 | swap format and colorspace arguments | Benjamin Otte | 1 | -2/+2 | |
2010-04-23 | gl: Make device (un)lock (un)set the current context | Benjamin Otte | 3 | -0/+24 | |
2010-04-23 | put back lost enum value | Benjamin Otte | 1 | -1/+1 | |
2010-04-23 | test: Add a test for all the different color space / format combinations | Benjamin Otte | 3 | -0/+153 | |
2010-04-23 | Add CAIRO_FORMAT_PLANAR_420 | Benjamin Otte | 4 | -2/+15 | |
2010-04-23 | Add CAIRO_FORMAT_PLANAR_422 | Benjamin Otte | 4 | -2/+15 | |
2010-04-23 | Fix GL surface to compile with changed APIs | Benjamin Otte | 2 | -41/+27 | |
2010-04-23 | Add packed YUV formats | Benjamin Otte | 4 | -4/+41 | |
2010-04-23 | Add Y444 format | Benjamin Otte | 4 | -2/+14 | |
2010-04-23 | Add RGBA32, BGRA32 and ABGR32 formats | Benjamin Otte | 6 | -41/+80 | |
2010-04-23 | API: Add YUV color spaces | Benjamin Otte | 3 | -2/+20 | |
2010-04-23 | scaled-font: Make code not complain about every new format | Benjamin Otte | 1 | -9/+4 | |
2010-04-23 | Add cairo_image_surface_create_planar() | Benjamin Otte | 5 | -20/+213 | |
Includes addition of cairo_color_space_t enum with values for ARGB, RGB and unpremultiplied ARGB. We also keep track of the color space in image surfaces. This is needed for creating copies of the pixman_image_t and when drawing to other surface types. | |||||
2010-04-23 | png: Make code not complain about every new format | Benjamin Otte | 1 | -13/+17 | |
2010-04-23 | xcb: Make work with removal of data/stride | Benjamin Otte | 3 | -22/+23 | |
As there's no fallback code, no attempt was made to fix it. | |||||
2010-04-23 | remove duplicated members from image surface struct | Benjamin Otte | 10 | -64/+83 | |
Also introduce cairo_image_surface_get_data_for_row() macro and use it instead. | |||||
2010-04-23 | xlib: Fix display closing to work properly | Benjamin Otte | 1 | -14/+23 | |
Previously we free()'d the cairo_device's memory which was not good at all. Now the code causes cairo_device_finish() instead. | |||||
2010-04-23 | xlib: Fix screen device handling | Benjamin Otte | 3 | -24/+36 | |
Add a _cairo_xlib_device_create() function that could easily be exported as a replacement for _cairo_xlib_display_get(). This function returns a cairo_device_t instead of a cairo_xlib_display_t because the display isn't acquired. | |||||
2010-04-23 | gl: Make drawing to windows work again | Benjamin Otte | 1 | -0/+2 | |
The correct MIN/MAG_FILTER wasn't set. | |||||
2010-04-23 | gl: Only unref a surface if it exists | Benjamin Otte | 1 | -1/+2 | |
Note: This will likely work for NULL clones, but I prefer not dereferencing NULLs. That gives people a wrong understanding of the code (i.e. me). | |||||
2010-04-23 | gl: Use GLfloat instead of float in gl*Array() functions | Benjamin Otte | 1 | -3/+3 | |
2010-04-23 | gl: Don't acquire the gl context twice | Benjamin Otte | 1 | -7/+0 | |
2010-04-23 | gl: Use correct type when uploading images | Benjamin Otte | 1 | -1/+1 | |
2010-04-23 | gl: fix typo in comment | Benjamin Otte | 1 | -1/+1 | |
2010-04-23 | xlib: Simply release the ref, not destroy, from CloseDisplay. | Chris Wilson | 1 | -10/+12 | |
Do not call the destroy function directly, but rely on the reference counting to call the notifier upon the last reference. Instead, simply release the reference we were holding for the cache and CloseDisplay callback. | |||||
2010-04-23 | cairo: Handle the all-clipped state in cairo_push_group() | Chris Wilson | 1 | -35/+46 | |
Yet another bug reported by Jeff Muizelaar, thanks! Fixes: test/clip-empty-group | |||||
2010-04-23 | test: Add clip-empty-group | Chris Wilson | 4 | -0/+67 | |
Exercise a bug reported by Jeff Muizelaar whereby cairo_push_group() was broken by everything being clipped out. | |||||
2010-04-23 | cairo: Use explicit device flushing. | Chris Wilson | 1 | -11/+0 | |
Now with the concept of a cairo_device_t and the ability to flush it, we now longer require the heuristic of automatically flushing on behalf of the user at the end of every context. | |||||
2010-04-23 | pdf: Suppress compiler warning. | Chris Wilson | 1 | -6/+6 | |
2010-04-23 | cairoint.h: Change ASSERT_NOT_REACHED to remove compiler warning | Chris Wilson | 1 | -2/+1 | |
2010-04-23 | Win32 features update | Chris Wilson | 2 | -16/+0 | |
2010-04-23 | build: Spelling correction | Chris Wilson | 2 | -2/+1 | |
2010-04-21 | configure: typo in check for xcb-shm | Chris Wilson | 1 | -1/+1 | |
2010-04-19 | Revert "script: Another RGB16_565 warning." | Andrea Canciani | 1 | -6/+0 | |
This reverts commit a9f506493371ac91494488e5ca38e57ceb5a10cb. The change was already applied in bdf8f50adae67498d5fe36727ed2cd34c0206509. | |||||
2010-04-18 | xlib: Make display a cairo_device_t | Benjamin Otte | 5 | -526/+494 | |
The code now uses the locking of the cairo_device_t instead of its own mutexes. The code was modified so that cairo_surface_t does no longer reference the display directly. Instead, it calls _cairo_xlib_display_acquire(). If a function assumes an already acquired display, it now requires the caller to provide a cairo_xlib_display_t parameter. Functions that do not require an acquired display will not require the display parameter or they will take the cairo_device_t instead. | |||||
2010-04-15 | Use pixman_image_composite32() | Benjamin Otte | 7 | -224/+224 | |
Replace all occurences of pixman_image_composite() | |||||
2010-04-15 | image: Make unbounded fixup code not use pixman_fill() | Benjamin Otte | 1 | -76/+47 | |
The new pixman_image_fill_boxes() does proper fallbacks for weird pixman formats. | |||||
2010-04-15 | Require pixman 0.17.5 | Benjamin Otte | 1 | -1/+1 | |
We want pixman_image_composite32() and pixman_image_fill_boxes() | |||||
2010-04-15 | gl: Get rid of "return value not checked" warnings | Benjamin Otte | 1 | -18/+24 | |
Assert that those functions only return successfully. | |||||
2010-04-15 | gl: acquire/release properly in _cairo_gl_draw_image() | Benjamin Otte | 1 | -2/+14 | |
Fixes various testsuite failures, in particular ones related to masks. | |||||
2010-04-15 | gl: acquire/release context when getting images | Benjamin Otte | 1 | -0/+7 | |
Avoids Mesa complaining about no current context. | |||||
2010-04-15 | glx: Add getters for device's Display and GLXContext | Benjamin Otte | 2 | -0/+36 | |