From 80e89c536875fed6ef84a1908cbd9f8c10552e7b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 1 Dec 2003 22:43:31 +0000 Subject: added description of faster glDraw/CopyPixels code --- docs/RELNOTES-5.1 | 18 ++++++++++++++++++ docs/VERSIONS | 3 +++ 2 files changed, 21 insertions(+) (limited to 'docs') diff --git a/docs/RELNOTES-5.1 b/docs/RELNOTES-5.1 index 95a4b8e109..2a1137b7f3 100644 --- a/docs/RELNOTES-5.1 +++ b/docs/RELNOTES-5.1 @@ -75,6 +75,24 @@ GL_IBM_multimode_draw_arrays GL_SUN_multi_draw_arrays An alias for GL_EXT_multi_draw_arrays, standard in OpenGL 1.4. +Faster glDrawPixels / glCopyPixels in X11 driver + If your X screen is 32bpp, glDrawPixels to the front color buffer will + be accelerated (via XPutImage()) if the image format is GL_BGRA and the + type is GL_UNSIGNED_BYTE. No raster operations, such as depth test, + blend, fog, etc. can be enabled. + + If your X screen is 16bpp, glDrawPixels to the front color buffer will + be accelerated (via XPutImage()) if the image format is GL_RGB and the + type is GL_UNSIGNED_SHORT_5_6_5. No raster operations, such as depth + test, blend, fog, etc. can be enabled. + + glCopyPixels() calls for the front color buffer will be accelerated + (via XCopyArea()) if no raster operations, such as depth test, blend, + fog, pixel zoom, etc. are enabled. + + The speed-up over typical software rendering is a factor of 10 for + glDrawPixels and 100 for glCopyPixels. + With the addition of GL_ARB_occlusion_query, GL_ARB_vertex_buffer_object, GL_ARB_texture_non_power_of_two and GL_EXT_shadow_funcs, Mesa 5.1 supports diff --git a/docs/VERSIONS b/docs/VERSIONS index 02eeb3dca9..ca29aed917 100644 --- a/docs/VERSIONS +++ b/docs/VERSIONS @@ -1166,6 +1166,8 @@ Mesa Version History - demo of per-pixel lighting with a fragment program (demos/fplight.c) - new version (18) of glext.h header - new spriteblast.c demo of GL_ARB_point_sprite + - faster glDrawPixels in X11 driver in some cases (see RELNOTES-5.1) + - faster glCopyPixels in X11 driver in some cases (see RELNOTES-5.1) Bug fixes: - really enable OpenGL 1.4 features in DOS driver. - fixed issues in glDrawPixels and glCopyPixels for very wide images @@ -1181,3 +1183,4 @@ Mesa Version History - documentation overhaul. merged with website content. more html. - glxgears.c demo updated to use GLX swap rate extensions - glTexImage1/2/3D now allows width/height/depth = 0 + - disable SPARC asm code on Linux (bug 852204) -- cgit v1.2.3