diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-12-01 22:43:31 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-12-01 22:43:31 +0000 |
commit | 80e89c536875fed6ef84a1908cbd9f8c10552e7b (patch) | |
tree | f2ca3489ac4170b8542120b74cb31311a8acdbde | |
parent | 9a90cd40c6e510484e018afd087a4c239b616ee0 (diff) |
added description of faster glDraw/CopyPixels code
-rw-r--r-- | docs/RELNOTES-5.1 | 18 | ||||
-rw-r--r-- | docs/VERSIONS | 3 |
2 files changed, 21 insertions, 0 deletions
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) |