diff options
author | Brian Paul <[email protected]> | 2003-12-01 22:43:31 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-12-01 22:43:31 +0000 |
commit | 80e89c536875fed6ef84a1908cbd9f8c10552e7b (patch) | |
tree | f2ca3489ac4170b8542120b74cb31311a8acdbde /docs/RELNOTES-5.1 | |
parent | 9a90cd40c6e510484e018afd087a4c239b616ee0 (diff) |
added description of faster glDraw/CopyPixels code
Diffstat (limited to 'docs/RELNOTES-5.1')
-rw-r--r-- | docs/RELNOTES-5.1 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/RELNOTES-5.1 b/docs/RELNOTES-5.1 index 95a4b8e109e..2a1137b7f30 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 |