summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-11-30[doc] Update glx docsHEADmasterNicolas Bruguier9-70/+127
Remove obsolete functions and add offscreen pixmaps methods in glx section.
2008-11-30[cgl] Add EXTRA_DIST files only if backend is enabledNicolas Bruguier1-2/+3
Add EXTRA_DIST files only if backend is enbled to avoid error to build dist if cgl is not enabled.
2008-11-30[glitz] Fix CAIRO_CFLAGS glitz include remove.Paolo Bonzini1-1/+1
Fix sed regular expression to avoid bad replace when used a custom prefix install which contains glitz.
2008-11-29[examples] Add texture from pixmap check in glitzinfoNicolas Bruguier1-1/+4
Add missing texture from pixmap feature in glitzinfo print_features.
2008-11-29[glitz/glx] Add offscreen pixmap support.Nicolas Bruguier23-39/+919
Add offscreen pixmap support, on glitz side it works like pbuffer. You can create an offscreen pixmap from an another drawable with glitz_create_pixmap_drawable and you can bind its contents into surface with glitz_surface_bind_tex_image/glitz_surface_release_tex_image. For now only glx backend implement offscreen pixmap, its allow to create directly an offscreen pixmap or to create from XPixmap. This patch add also glx accessor to get XDrawable, XDisplay and XScreen of glx drawable.
2008-11-29[examples] Use the first format find by glitzNicolas Bruguier1-19/+10
Use the first format find by glitz instead search the format match the visual with 32 bits depth. The glx sort format allow it's the better format for render.
2008-11-29[glitz] Contruct docs on build.Nicolas Bruguier1-0/+3
Contruct docs on build on each build to be sure they are updated on commit.
2008-11-29[glitz] Add visual depth in drawable format.Nicolas Bruguier4-12/+31
Add visual depth setting in drawable format, because the depth size and depth can be differ. This parameter allow to select more easily a format for a visual depth.
2008-11-29[glitz] Add scanline order in glitz_format_drawable_t.Nicolas Bruguier4-20/+40
Add scanline order settings in drawable format to indicate the y coordinate order of drawable framebuffer.
2008-11-29[doc] Add cgl documentation sectionNicolas Bruguier11-88/+111
Add CGL documentation section.
2008-11-29[cgl] Add glitz-cgl backendPaolo Bonzini18-3/+2375
The backend is mostly derived from the AGL backend, but allows creating drawable on Cocoa NSView objects (*not* NSOpenGLView: the latter is mostly a NSView + OpenGL contexts and pixel formats, which glitz manages on its own). All the added files are Objective-C (.m). The only changes with respect to the AGL backend were in the pixel format queries that: 1) need to use CGL directly in order to avoid logging messages for unavailable formats; 2) needed some tweaking in order to find no-depth, no-stencil pbuffer formats (the new pbuffer format discovery code actually does not need it, but it's better to be safe; 3) have a slightly different sort order that is nicer (as seen in the output of glitzinfo). The renderer test's Objective-C bits in glitz_cgl.m has two parts in it. One is the boilerplate that sets up Cocoa without using .nib files; it can be useful only if you want to write a similar example program for Glitz. I split the test-specific code in two (before parsing command line/after parsing command line) to avoid showing the icon in the dock if the program is going to exit very soon. The second part is GlitzOpenGLView, which provides the bits of NSOpenGLView that go beyond storing OpenGL contexts and pixel formats; see the "Custom Cocoa OpenGL View" example from Apple. Programs using Glitz in their UI should be able to recycle it pretty easily as it's just four methods (one caveat: I didn't investigate how to deal with window resizes).
2008-11-29[agl] Rewrite extension discovery code for AGLPaolo Bonzini3-60/+125
This patch rewrites the code to discover extensions in the AGL backend. In particular, pbuffer formats are discovered by creating a context and selecting a pbuffer into it. This does not make a difference for AGL, but it does for CGL and I implemented it also here so that the code for the two backends does not diverge too much.
2008-11-29[agl] fix agl buildsPaolo Bonzini3-3/+7
Fix agl build.
2008-11-29[glitz] Add doc skeleton.Nicolas Bruguier29-4/+3241
Add gtk-doc skeleton, documentation is really a missing piece of glitz.
2008-11-29[glx] Add glitz_glx_set_render_type method.Nicolas Bruguier4-9/+35
Add glitz_glx_set_render_type method to specifies whether rendering is to be done with a direct connection to the graphics system if possible or through the X server. It can be set with LIBGL_ALWAYS_INDIRECT, but this method provide multi-threading programs to have both context in same time.
2008-11-29[glx] Sort format with non double buffering in first place.Nicolas Bruguier1-1/+1
Sort format with non double buffering in first place, most conformant with GLX specification to found the best format for a drawable.
2008-11-29[glitz] Move headers install in glitz include subdirectory.Nicolas Bruguier10-10/+15
Move glitz headers in a glitz include subdirectory, most clean and avoid any conflicts with a system headers.
2008-11-29[examples] Add cairogears.Paolo Bonzini25-0/+2468
Add cairogears in examples, its a good test for cairo/glitz interactions.
2008-11-29[examples] Fix glitzinfo build.Nicolas Bruguier1-1/+1
Fix glitzinfo Makefile.am to build correctly.
2008-11-29[glitz] Add GLITZ_ prefix to library version variables.Nicolas Bruguier1-4/+4
Add GLITZ_ prefix to library version variables to avoid any conflicts with libtool variables.
2008-11-29[glitz] Add glitzinfo and renderer-test examples.Nicolas Bruguier19-4/+12185
Add some examples to test and demonstrate glitz in action.
2008-11-29[glx] Sort format with lower depth_size in first place.Nicolas Bruguier1-1/+1
Sort depth size in first place to be most conformant with GLX specification to choose the best format.
2008-11-29[glitz] Allocate clip region instead get only a reference.Nicolas Bruguier1-6/+14
Allocate clip region instead get only reference, glitz must be in charge of its resssource and when we get only a reference the caller can be free the reference without inform glitz.
2008-11-29[glx] Avoid memleak in glitz_glx_find_drawable_format_for_visualNicolas Bruguier1-0/+6
Free properly XVisual when glitz leave find drawable format for visual to avoid any memleak.
2007-10-03Do not hide prototypes.José Fonseca1-1/+1
2007-10-03Bump version.José Fonseca2-2/+2
2007-10-03Protect the REGION macros to avoid conflicts when used inside X server.José Fonseca8-47/+47
2007-10-03Install glitzint.h and glitz_gl.h includes to allow out-of-source build of ↵José Fonseca1-1/+1
glitz backends.
2007-10-03Ignore generated files.José Fonseca1-0/+3
2007-09-26Remove ChangeLog file and update configure.in to accept this.Kristian Høgsberg2-2300/+12
2007-09-26Rename .cvsignore files.Kristian Høgsberg7-0/+0
2006-05-24Add glitz_drawable_get_gl_string and direct rendering to the feature maskDavid Reveman6-0/+60
2006-05-22Fix pbuffer resize issueDavid Reveman3-3/+16
2006-05-20Bump versionDavid Reveman3-2/+8
2006-05-01Fix typo in AGL format initializationDavid Reveman2-3/+8
2006-03-13Bump versionDavid Reveman3-2/+6
2006-03-13Add support for avoiding context switchesDavid Reveman21-49/+220
2006-03-13Add CopySubBufferMESA supportDavid Reveman20-102/+287
2006-02-23Mipmap supportDavid Reveman5-8/+40
2006-02-16Bump version numberDavid Reveman3-2/+6
2006-02-16GL_ARB_texture_rectangle and GL_ARB_texture_border_clamp are no longer ↵David Reveman2-27/+17
required for texture objects
2006-02-16Fix glitz_get_pixelsDavid Reveman3-13/+30
2006-02-15Fix typoDavid Reveman1-1/+2
2006-02-15Disable last fixDavid Reveman1-1/+2
2006-02-15Fix y-inverted pixel transfersDavid Reveman2-5/+20
2006-02-14fbconfigs and pbuffers if GLX 1.3David Reveman3-14/+22
2006-02-10fglrx hack and some missing ChangeLog entriesDavid Reveman2-7/+28
2006-02-06Draw buffer and swap buffer fixesDavid Reveman3-11/+11
2006-01-10 * src/agl/glitz_wgl_format.c: Set GLITZ_FOURCC_RGB on all formatsVladimir Vukicevic2-2/+7
2006-01-02EGL backend fixDavid Reveman3-2/+10