head 1.48; access; symbols start:1.1.1.1 main:1.1.1; locks; strict; comment @# @; 1.48 date 2004.03.27.00.02.07; author davidr; state Exp; branches; next 1.47; 1.47 date 2004.03.21.13.41.02; author davidr; state Exp; branches; next 1.46; 1.46 date 2004.03.15.11.27.13; author davidr; state Exp; branches; next 1.45; 1.45 date 2004.03.14.10.59.26; author davidr; state Exp; branches; next 1.44; 1.44 date 2004.03.13.23.44.29; author davidr; state Exp; branches; next 1.43; 1.43 date 2004.03.13.11.26.11; author davidr; state Exp; branches; next 1.42; 1.42 date 2004.03.12.09.44.19; author davidr; state Exp; branches; next 1.41; 1.41 date 2004.03.08.00.20.28; author davidr; state Exp; branches; next 1.40; 1.40 date 2004.03.06.13.58.17; author davidr; state Exp; branches; next 1.39; 1.39 date 2004.03.05.07.48.22; author davidr; state Exp; branches; next 1.38; 1.38 date 2004.02.29.17.37.42; author davidr; state Exp; branches; next 1.37; 1.37 date 2004.02.27.14.46.23; author davidr; state Exp; branches; next 1.36; 1.36 date 2004.02.26.10.16.04; author davidr; state Exp; branches; next 1.35; 1.35 date 2004.02.23.22.38.14; author davidr; state Exp; branches; next 1.34; 1.34 date 2004.02.21.03.19.11; author davidr; state Exp; branches; next 1.33; 1.33 date 2004.02.20.17.40.57; author davidr; state Exp; branches; next 1.32; 1.32 date 2004.02.18.14.52.45; author davidr; state Exp; branches; next 1.31; 1.31 date 2004.02.16.22.02.40; author davidr; state Exp; branches; next 1.30; 1.30 date 2004.02.12.12.49.39; author davidr; state Exp; branches; next 1.29; 1.29 date 2004.02.11.01.42.13; author davidr; state Exp; branches; next 1.28; 1.28 date 2004.02.10.23.38.35; author davidr; state Exp; branches; next 1.27; 1.27 date 2004.02.06.14.03.38; author davidr; state Exp; branches; next 1.26; 1.26 date 2004.02.06.00.50.28; author davidr; state Exp; branches; next 1.25; 1.25 date 2004.02.05.23.28.01; author davidr; state Exp; branches; next 1.24; 1.24 date 2004.02.05.22.22.28; author davidr; state Exp; branches; next 1.23; 1.23 date 2004.02.03.17.54.01; author davidr; state Exp; branches; next 1.22; 1.22 date 2004.02.03.17.16.39; author davidr; state Exp; branches; next 1.21; 1.21 date 2004.02.03.16.34.51; author davidr; state Exp; branches; next 1.20; 1.20 date 2004.02.03.15.12.11; author davidr; state Exp; branches; next 1.19; 1.19 date 2003.12.13.10.44.41; author davidr; state Exp; branches; next 1.18; 1.18 date 2003.12.13.02.28.43; author davidr; state Exp; branches; next 1.17; 1.17 date 2003.12.09.19.50.45; author davidr; state Exp; branches; next 1.16; 1.16 date 2003.12.09.11.03.30; author davidr; state Exp; branches; next 1.15; 1.15 date 2003.12.09.10.35.57; author peter; state Exp; branches; next 1.14; 1.14 date 2003.12.08.21.03.33; author davidr; state Exp; branches; next 1.13; 1.13 date 2003.12.07.02.42.29; author davidr; state Exp; branches; next 1.12; 1.12 date 2003.12.05.21.57.19; author davidr; state Exp; branches; next 1.11; 1.11 date 2003.12.05.15.22.16; author peter; state Exp; branches; next 1.10; 1.10 date 2003.12.05.01.55.31; author davidr; state Exp; branches; next 1.9; 1.9 date 2003.12.04.19.18.08; author davidr; state Exp; branches; next 1.8; 1.8 date 2003.12.04.12.55.29; author davidr; state Exp; branches; next 1.7; 1.7 date 2003.12.03.22.19.43; author davidr; state Exp; branches; next 1.6; 1.6 date 2003.12.03.16.55.50; author davidr; state Exp; branches; next 1.5; 1.5 date 2003.12.01.12.38.25; author davidr; state Exp; branches; next 1.4; 1.4 date 2003.12.01.12.21.09; author davidr; state Exp; branches; next 1.3; 1.3 date 2003.11.27.18.56.43; author davidr; state Exp; branches; next 1.2; 1.2 date 2003.11.27.18.47.42; author davidr; state Exp; branches; next 1.1; 1.1 date 2003.11.27.11.45.39; author davidr; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2003.11.27.11.45.39; author davidr; state Exp; branches; next ; desc @@ 1.48 log @Added clipping and new polygon drawing code @ text @2004-03-27 Added clipping support. Added new polygon drawing code. 2004-03-20 Added color range interface. New fragment program for radial gradient. 2004-03-15 * src/glc_programmatic.c: Divide by zero fix. 2004-03-14 * src/Makefile.am: Don't install GL extension headers. Fixed polygon bounds. 2004-03-13 * src/glc_glx_format.c: Use GLX13 to find visual info if GLX13 is present. 2004-03-12 * src/glc_trap.c: Removed ugly trapezoid hack. 2004-03-08 Fragment program updates. Added support for combined convolution and solid programmatic surface operation. 2004-03-06 Included our own GL extension definitions. 2004-03-05 Added solid programmatic surfaces. 2004-02-28 * src/glc_agl_extension.c: Added NPOT texture support. * src/glc_glx_extension.c: Added NPOT texture support. * src/glcint.h: Added NPOT texture support. * src/glc_texture.c: Added NPOT texture support. 2004-02-27 * src/glc.c (_glc_composite_direct): Texture coordinate fix. * src/glc_tri.c: Important fix for source offset bug. * src/glc_trap.c (glc_composite_trapezoids): Important fix for source offset bug. * src/glc.c (glc_composite): Reduced programmatic surface size. * src/glc_program.c: Corrected some values in the expand map. 2004-02-26 Added programmatic surface support. Two types on programmatic surfaces are currently supported, linear and radial gradients. I also like to have a function based gradient and linear and radial guassian shadings. 2004-02-23 * src/glc_glx_format.c (glc_glx_query_formats_glx13): Use GLC_GLX_FEATURE_GLX13_MASK. * src/glc_glx_context.c (glc_glx_context_get): Check GLC_GLX_FEATURE_GLX13_MASK instead of GLC_FEATURE_OFFSCREEN_DRAWING_MASK. * src/glc_glx_extension.c (glc_glx_query_extensions): Added GLC_GLX_FEATURE_GLX13_MASK. * src/glcint.h: Added GLC_GLX_FEATURE_GLX13_MASK. 2004-02-21 * src/glc_matrix.c: Added glc_matrix_transform_region function. * src/glcint.h: Added push/pop functionality for transform matrix. Added glc_matrix_transform_region function. * src/glc_surface.c: Added push/pop functionality for transform matrix. * src/glc.c: Only one intermediate surface is now needed when doing none direct compositing with mask and the area of that intermediate surface is now also minimized. 2004-02-20 Added convolution filter support. 2004-02-18 Fixed dynamic lookup handling and texture rectangle support. 2004-02-16 * configure.in: Check version of GL headers. Dynamic lookup of all GL and GLX extension symbols. 2004-02-12 Added pixel read/draw format info. 2004-02-11 * src/glc.c: Sub-pixel positioning fixes. * src/glc_glx_surface.c: Tracking changes of format pointer location. Merged fragment program code. 2004-02-06 * src/glc_glx_extension.c (glc_glx_query_extensions): Add offscreen multisample support for geforce fx cards. * src/glc_tri.c (glc_color_triangles): Removed component masking. * src/glc_trap.c (glc_color_trapezoids): Removed component masking. * src/glc_rect.c: Removed component masking. * src/glc.c (glc_composite): Removed component masking. * src/glc_glx_format.c: Add a few more fake offscreen formats. * src/glc_agl_format.c (glc_agl_query_formats): Add a few more fake offscreen formats. * src/glc_surface.c (glc_surface_create_similar): Force all channels on for intermediates. * src/glc_format.c (glc_format_find_standard): All componenets must match exactly when searching for standard formats. * src/glc_glx_format.c (glc_glx_query_formats_glx12): Fixed so that the correct visual IDs are retrieved. 2004-02-05 Merged new format handling code. 2004-02-03 * src/glc_glx_format.c (glc_glx_find_visual_format): Don't add options when searching for specific visual. (glc_glx_find_standard_format): Remove doublebuffer flag from standard formats. * src/glc_agl_surface.c (_glc_agl_surface_swap_buffers): When surface is single buffered, call glFlush instead of swapping buffers. * src/glc_glx_surface.c (_glc_glx_surface_swap_buffers): When surface is single buffered, call glFlush instead of swapping buffers. * src/glc_agl_format.c (_glc_add_options): Force single buffering when double buffering is not specified. * src/glc_glx_format.c (_glc_add_options): Force single buffering when double buffering is not specified. Restructuring of internal rendering model. AGL backend added. 2003-12-13 * configure.in: Added --disable-glx switch. * configure.in: External slim package is no longer required. * src/glc.h: Directly fold in slim stuff rather than depending on it from an external package. * src/glcint.h: Directly fold in slim stuff rather than depending on it from an external package. 2003-12-09 * src/glc_tri.c: Always turn off polygon smooth after rendering. * src/glc_trap.c: Always turn off polygon smooth after rendering. * src/glc_util.c: Added extension check functions. * src/glcint.h: Moved out extension check functions from glx backend. * src/glc_glx_extension.c: Check for client glx extensions and validate fbconfig and pbuffer support. * src/glc_surface.c (glc_surface_draw_pixels): Do not draw to both back and front buffer. 2003-12-09 * src/glc.h: Moved read/draw pixels from glx backend to glc core. * src/glc_glx_surface.c: Moved read/draw pixels from glx backend to glc core. * src/glc_surface.c: Moved read/draw pixels from glx backend to glc core. 2003-12-08 Texture format fixes. Linux and MacOSX ATI drivers should now work. 2003-12-07 New system for handling texture coordinates. * src/glc_glx_surface.c (_glc_glx_surface_destroy): Make sure drawable is not current when destroying it. * src/glc_glx_context.c (glc_glx_context_release): Make sure context is not current when destroying it. 2003-12-05 * configure.in: Keeping up with cairo. * src/glcint.h: Added glc_intersect_region function. * src/glc_util.c: Added glc_intersect_region function. * src/glc.c (glc_composite): Added support for combined repeat and transformations. * Added conditional backend building. 2003-12-04 * src/glc.c (glc_composite): Use GLC_OPERATOR_IN instead of GLC_OPERATOR_MASK. * src/glc_operator.c: Removed GLC_OPERATOR_MASK. * src/glcint.h: Removed GLC_OPERATOR_MASK. * src/glc_texture.c (glc_texture_create): Use GL_RGBA as internal texture format instead of GL_RGBA8. * src/glc_glx_surface.c (glc_glx_surface_draw_pixels): Added glFlush after glTexSubImage2D. * src/glc_tri.c (glc_color_triangles): Added glFlush after glCopyTexSubImage2D. * src/glc_trap.c (glc_color_trapezoids): Added glFlush after glCopyTexSubImage2D. * src/glc_rect.c: Added glFlush after glCopyTexSubImage2D. * src/glc.c (glc_composite): Repeat for none power of two textures implemented. (glc_composite): Added glFlush after glCopyTexSubImage2D. 2003-12-04 * src/glc_surface.c (glc_surface_setup_environment): Set pack/unpack alignment. * src/glc_glx_info.c (glc_glx_screen_info_get): Set pack/unpack alignment. * src/glc_glx_surface.c (glc_glx_surface_swap_buffers): Added glFlush before glXSwapBuffers. 2003-12-03 * src/glc_texture.c: Internal texture format fixed. * src/glc_util.c: New transformation model. * src/glcint.h: New transformation model. * src/glc.c (glc_composite): New transformation model. (glc_composite): Set color mask. (glc_composite): glCopyTexSubImage Y offset fix. (glc_composite): Render to offscreen fix. * src/glc_surface.c (glc_surface_setup_environment): Set polygon mode. (glc_surface_set_transform): New transformation model. * src/glc_tri.c (glc_color_triangles): glCopyTexSubImage Y offset fix. * src/glc_trap.c (glc_color_trapezoids): glCopyTexSubImage Y offset fix. * src/glc_glx_surface.c (glc_glx_surface_draw_pixels): Texture Y offset fix. 2003-12-01 * src/glc.c (glc_composite): Only pop matrix if transformations has been used. * src/glc_tri.c (glc_color_triangles): Removed unwanted transformations. * src/glc_trap.c (glc_color_trapezoids): Removed unwanted transformations. * src/glc_rect.c: Removed unwanted transformations. * src/glc.c (glc_composite): Removed unwanted transformations. * src/glc_surface.c: Added disable/enable transform functions. * src/glcint.h: Added disable/enable transform functions. 2003-11-27 * src/glc_glx_info.c (glc_glx_thread_info_get): Type fix for not thread safe building. * src/glc_glx_context.c: Use XID instead of GLXFBConfigID. * src/glc_glxint.h: Use XID instead of GLXFBConfigID. @ 1.47 log @Added color range interface @ text @d1 5 @ 1.46 log @Divide by zero fix @ text @d1 5 @ 1.45 log @Don't install GL extension headers @ text @d1 4 @ 1.44 log @Fixed polygon bounds @ text @d3 2 @ 1.43 log @GLX13 visual info fix @ text @d1 4 @ 1.42 log @Removed ugly trapezoid hack @ text @d1 5 @ 1.41 log @Fragment program updates @ text @d1 4 @ 1.40 log @Included our own GL extension definitions @ text @d1 5 @ 1.39 log @Added solid programmatic surfaces @ text @d1 4 @ 1.38 log @Added NPOT texture support @ text @d1 4 @ 1.37 log @Fixed composite polygon source offsets @ text @d1 10 @ 1.36 log @Added programmatic surface support @ text @d1 13 @ 1.35 log @Fixed use of GLX 1.3 without pbuffer support @ text @d1 7 @ 1.34 log @None direct compositing optimizations @ text @d1 14 @ 1.33 log @Added convolution filter support @ text @d1 14 @ 1.32 log @Fixed dynamic lookup handling and texture rectangle support @ text @d1 4 @ 1.31 log @Dynamic lookup of all GL and GLX extension symbols @ text @d1 4 @ 1.30 log @Added pixel read/draw format info @ text @d1 6 @ 1.29 log @Sub-pixel positioning fixes @ text @d1 4 @ 1.28 log @Merged fragment program code @ text @d3 4 @ 1.27 log @Removed component masking and added offscreen mulisample support for geforce fx cards @ text @d1 4 @ 1.26 log @Surface format fixes @ text @d3 17 @ 1.25 log @Fixed so that the correct visual IDs are retrieved @ text @d3 6 @ 1.24 log @Merged new format handling code @ text @d1 5 @ 1.23 log @Remove doublebuffer flag from standard formats @ text @d1 4 @ 1.22 log @Don't add options when searching for specific visual @ text @d5 2 @ 1.21 log @Single buffering fixes @ text @d3 3 @ 1.20 log @Restructuring of internal rendering model, AGL backend added @ text @d3 12 @ 1.19 log @Added --disable-glx switch @ text @d1 5 @ 1.18 log @Directly fold in slim stuff rather than depending on it from an external package @ text @d3 2 @ 1.17 log @Extensions checking updates @ text @d1 10 @ 1.16 log @Do not draw to both back and front buffer @ text @d3 11 @ 1.15 log @Moved read/draw pixels from glx backend to glc core @ text @d1 5 @ 1.14 log @Texture format fixes @ text @d1 11 @ 1.13 log @New system for handling texture coordinates @ text @d1 4 @ 1.12 log @Keeping up with cairo @ text @d1 10 @ 1.11 log @Added support for combined repeat and transformations @ text @d3 2 @ 1.10 log @Added conditional backend building @ text @d3 7 @ 1.9 log @Use GLC_OPERATOR_IN instead of GLC_OPERATOR_MASK @ text @d1 4 @ 1.8 log @Repeat for none power of two textures implemented @ text @d3 7 @ 1.7 log @Internal texture format fixed @ text @d1 31 @ 1.6 log @New transformation model @ text @d3 2 @ 1.5 log @Only pop matrix if transformations has @ text @d1 22 @ 1.4 log @Removed unwanted transformations @ text @d3 3 @ 1.3 log @Type fix for not thread safe building @ text @d1 16 @ 1.2 log @Use XID instead of GLXFBConfigID @ text @d3 3 @ 1.1 log @Initial revision @ text @d1 6 @ 1.1.1.1 log @Initial import of libglc code @ text @@