Chapter 4
Using Sun XVR-1000 Graphics Accelerator Features
35
3. Set the
ZFB_SHOW_DENSITY
environment to display sample density when an
application is launched.
The output also shows value changes as the window is resized.
4. Launch your application.
The followings shows an example of setting the environments, launching the
application, and its output.
Where:
s
= sample density,
b
= reserved,
p
= reserved,
tp
= reserved,
w
= window
width,
h
= window height.
Note –
In the above example, the window was resized from 512
×
436 to 426
×
350.
Enabling Multisampling for All OpenGL
Applications
1. Use
fbconfig
to enable all OpenGL application windows for dynamic
multisampling.
Note –
When using the
auto
option switch, all OpenGL applications are
multisampled. If you use the
enable
switch, only those that use the multisample
APIs will be multisampled.
# setenv ZFB_SHOW_DENSITY
# setenv ZFB_USE_MSB 4
# setenv ZFB_SHOW_DENSITY
#
(
run OpenGL application
)
ogl_zfb: Auto multisample buffer mode
ogl_zfb: report sample density changes
multisample (s,b,p,tp,w,h):5,0,12,12,512,436
multisample (s,b,p,tp,w,h):8,0,12,12,426,350
# fbconfig -dev /dev/fbs/gfb0 -multisample auto dynamic -samples max
Summary of Contents for XVR-1000
Page 6: ...vi Sun XVR 1000 Graphics Accelerator Installation and User s Guide June 2002 ...
Page 10: ...x Sun XVR 1000 Graphics Accelerator Installation and User s Guide June 2002 ...
Page 12: ...xii Sun XVR 1000 Graphics Accelerator Installation and User s Guide June 2002 ...
Page 14: ...xiv Sun XVR 1000 Graphics Accelerator Installation and User s Guide June 2002 ...
Page 18: ...xviii Sun XVR 1000 Graphics Accelerator Installation and User s Guide June 2002 ...
Page 26: ...8 Sun XVR 1000 Graphics Accelerator Installation and User s Guide April 2002 ...
Page 38: ...20 Sun XVR 1000 Graphics Accelerator Installation and User s Guide June 2002 ...
Page 56: ...38 Sun XVR 1000 Graphics Accelerator Installation and User s Guide June 2002 ...
Page 66: ...48 Sun XVR 1000 Graphics Accelerator Installation and User s Guide June 2002 ...
Page 76: ...58 Sun XVR 1000 Graphics Accelerator Installation and User s Guide June 2002 ...
Page 78: ...60 Sun XVR 1000 Graphics Accelerator Installation and User s Guide June 2002 ...
Page 82: ...64 Sun XVR 1000 Graphics Accelerator Installation and User s Guide June 2002 ...