Patch Name: PHSS_17180

Patch Description: s700_800 10.20 PHIGS Development Patch

Creation Date: 99/09/01

Post Date:  99/09/07

Hardware Platforms - OS Releases:
	s700: 10.20
	s800: 10.20

Products:
	GraphicsPHIGSDK B.10.20 PHIGS 3.40 Development Environment

Filesets:
	GraphicsPHIGSDK.PHIGS-DEMO GraphicsPHIGSDK.PHIGS-MAN
	GraphicsPHIGSDK.PHIGS-PRG

Automatic Reboot?: No

Status: General Superseded

Critical: No

Path Name: /hp-ux_patches/s700_800/10.X/PHSS_17180

Symptoms:
	PHSS_17180:
	- See defect description.

	PHSS_17165:
	- See defect description.

	PHSS_17151:
	- See defect description.

	PHSS_17139:
	- See defect description.

	PHSS_15847:
	- See defect description.

	PHSS_14952:
	- See defect description.

	PHSS_14942:
	- See defect description.

	PHSS_14929:
	- See defect description.

	PHSS_13904:
	- See defect description.

	PHSS_13533:
	- See defect description.

	PHSS_13521:
	- See defect description.

	PHSS_12482:
	- See defect description.

	PHSS_12467:
	- See defect description.

	PHSS_12458:
	- See defect description.

	PHSS_11402:
	- See defect description.

	PHSS_10247:
	- See defect description.

	PHSS_10217:
	- See defect description.

	PHSS_9253:
	- See defect description.

	PHSS_8383:
	- See defect description.

	PHSS_7607:
	- see defect description.

Defect Description:
	PHSS_17180:
	Resolution:
	- PHIGS shielded views, if moved off-screen,
	  can cause FX-family hardware to incorrectly
	  clear stripes across the display.

	PHSS_17165:
	Resolution:
	Accessibility of Core designate_character_set()
	functionality through the PHIGS ASSIGN
	CHARACTER SET GSE.
	- Accessibility of Core designate_character_set()
	  functionality through the PHIGS ASSIGN
	  CHARACTER SET GSE.

	PHSS_17151:
	Resolution:
	- repackaged to correctly set up
	  the patch dependencies with the
	  associated 3D graphics patches
	  for Starbase, PEX, Phigs, and
	  OpenGL in the June 1999 Workstation
	  ACE.

	PHSS_17139:
	- repackaged to correctly set up
	  the patch dependencies with the
	  associated 3D graphics patches
	  for Starbase, PEX, Phigs, and
	  OpenGL for the January 1999 patch.

	PHSS_15847:
	- repackaged to correctly set up
	  the patch dependencies with the
	  associated 3D graphics patches
	  for Starbase, PEX, Phigs, and
	  OpenGL for the November 1998 patch.

	PHSS_14952:
	- repackaged to correctly set up
	  the patch dependencies with the
	  associated 3D graphics patches
	  for Starbase, PEX, Phigs, and
	  OpenGL for the July 1998 patch.

	PHSS_14942:
	- repackaged to correctly set up
	  the patch dependencies with the
	  associated 3D graphics patches
	  for Starbase, PEX, Phigs, and
	  OpenGL for the June 1998 patch.

	PHSS_14929:
	- Spot patch not for general release

	PHSS_13904:
	- PHIGS Line width changes via pgse_u12
	  escape are not always immediately
	  applied on the Visualize FX graphics
	  hardware.
	- Improved the visual quality of
	  Starbase/PEX/Phigs widelines.
	- Eliminated several artifacts seen in
	  widelines.  Solid widelines where sometimes
	  0.5 pixel offset.
	- Patterned widelines were inconsistently
	  patterned with regard to width one lines
	  and the segment endpoints jittered up to
	  0.5 pixel from the center of the line.
	- Corrected a defect in the
	  Starbase/PEX/PHIGS hpvmx virtual device
	  driver that was causing frame buffer
	  write_enables to be ignored.
	- In rare cases, Visualize FX devices with
	  the January 1998 periodic patch
	  can encounter a segmentation fault.

	PHSS_13533:
	- This patch is part of the graphics
	  patch set to resolve the specular
	  highlights defect (see the 3D runtime
	  patch, PHSS_13529, for a more
	  accurate desctiption).  The patch is
	  a re-release of PHSS_13521 and exists
	  to make the patch depencies consistent.

	PHSS_13521:
	- includes internally reported cosmetic
	  defect repairs

	PHSS_12482:
	- resolves patch installation dependency and
	  does not modify the library what strings
	  from the previous patch.

	PHSS_12467:
	- A memory leak in PHIGS content inquiries was fixed.

	PHSS_12458:
	- Various performance enhancements

	PHSS_11402:
	- HP-PHIGS Fill Areas have been enhanced to give better
	  performance in some circumstances.  Memory allocation
	  for these elements is different; memory is allocated
	  in 512K blocks, then partitioned for these elements.
	  To enable the enhancement, export
	    PHIGS_FILL_AREA_MODE=CHUNK

	PHSS_10247:
	- PHIGS attribute changes can fail to cause regenerations.
	- Replacing an element in a PHIGS structure could result
	in an incorrect picture, if the element being replaced
	is normally ignored during display (i.e. SET PICK ID or
	APPLICATION DATA) and the element replacing it is not.
	- The behavior of the display of structures that use SET
	FACE DISTINGUISHING MODE elements before SET BACK
	INTERIOR REFLECTANCE EQUATION elements may have been
	affected. This fix restores the older behavior.
	- When PHIGS compliant lighting is enabled, facet normals
	are generated when not needed.
	- Performance enhancement for PHIGS fill area sets
	with more than one set.

	PHSS_10217:
	- The Jaunuary patch (PHSS_9250) had a problem where
	PHIGS applications could get a segmentation violation when
	using software double buffering on integrated color
	displays (8-bit devices on HP712/715/725). See PDep field.

	PHSS_9253:
	- PHIGS can dump core while rendering polyline
	elements, if the attribute caching traverser
	has been specifically disabled.
	- Incorrect operation of keyboard input in PHIGS.
	- Some degenerate POLYLINE SET 3 WITH COLOUR
	(ppls3c, polyline_set3_colr) elements may have
	their non-degenerate components rendered, where the
	whole element should be ignored.
	- Performance slow down due to some traversals of
	structures being edited.
	- PHIGS NURB surfaces may render isoparametric curves
	in the wrong color on VRX-family devices.
	- PHIGS nameset operations perform faster.

	PHSS_8383:
	- Segmentation violation may occur when inserting PHIGS
	ISO Fill Area primitives that are non-convex into a
	structure before a PHIGS Workstation is opened.
	- Optimization: consecutive POLYLINE 3 calls are faster.
	- PHIGS and other applications may hang on Hyper & Visualize
	devices for certain offscreen windows.
	- PHIGS Compliant backface lighting could cause core dump on
	VISUALIZE-24.
	- PHIGS fileset lacks /usr/lib/phigs/char_sets/char_set_info
	link, possibly breaking 9.X PHIGS archive programs.
	- The PHIGS traverser has been enhanced to process attribute
	structure elements more efficiently.  To disable enhancement
	set environment variable HP_NO_CACHE_ATTRIBUTES=1.

	PHSS_7607:
	-PHIGS traverser performance has been increased for those
	applications that can meet certain constraints:
	    * namesets are small (largest name is 31)
	    * SET HIGHLIGHTING BETWEEN HANDLES ESCAPE (pue330,
	      pescape_u330), IGNORE ELEMENTS BETWEEN HANDLES ESCAPE
	      (pue332, pescape_u332) are *not* used by the
	      application.
	    * the application keeps modelling and viewing
	      information in a separate structure from the model
	      data, and does not edit the structure(s) containing
	      model data in between regenerations.

SR:
	1653183731 1653188912

Patch Files:
	/opt/graphics/phigs/bin/PHIGS_3.0.Cvt
	/opt/graphics/phigs/bin/PHIGS_3.0C.awk
	/opt/graphics/phigs/bin/PHIGS_3.0F.awk
	/opt/graphics/phigs/demos/README
	/opt/graphics/phigs/demos/makefile
	/opt/graphics/phigs/demos/poly_ppers.f
	/opt/graphics/phigs/demos/winlib.c
	/opt/graphics/phigs/examples/OReilly/hp.win.smart/WinSmart.c
	/opt/graphics/phigs/examples/WinSmart.c
	/opt/graphics/phigs/examples/Xg/Phigswidget
	/opt/graphics/phigs/examples/Xg/makefile
	/opt/graphics/phigs/examples/makefile
	/opt/graphics/phigs/examples/tutorial/phigs_c
	/opt/graphics/phigs/examples/tutorial/phigs_f
	/opt/graphics/phigs/examples/workstation/makefile
	/opt/graphics/phigs/include/HP_PHIGS_2_3
	/opt/graphics/phigs/include/HP_PHIGS_STD_CONFORM
	/opt/graphics/phigs/include/Motif1.2/Xg/PhigsDraw.h
	/opt/graphics/phigs/include/Motif1.2/Xg/PhigsDrawP.h
	/opt/graphics/phigs/include/phigs-f90.1.h
	/opt/graphics/phigs/include/phigs-f90.2.h
	/opt/graphics/phigs/include/phigs.f1.h
	/opt/graphics/phigs/include/phigs.f2.h
	/opt/graphics/phigs/include/phigs.fc.h
	/opt/graphics/phigs/include/phigs.h
	/opt/graphics/phigs/include/phigs_plus.h
	/opt/graphics/phigs/lib/libphigs.a
	/opt/graphics/phigs/lib/libphigsXg.a
	/opt/graphics/phigs/newconfig/opt/graphics/phigs/src/Xg/
		PhigsDraw.c
	/opt/graphics/phigs/newconfig/opt/graphics/phigs/src/
		cgmiui.c
	/opt/graphics/phigs/newconfig/opt/graphics/phigs/src/
		makefile
	/opt/graphics/phigs/newconfig/opt/graphics/phigs/src/
		xinitcolor.c
	/opt/graphics/phigs/share/man/man3.Z/pqcets.3g
	/opt/graphics/phigs/share/man/man3.Z/pqets.3g

what(1) Output:
	/opt/graphics/phigs/bin/PHIGS_3.0.Cvt:
		PHIGS_3.0C.Cvt $Revision: /main/49 $ $Date: 18-Mar-9
			6.16:03:51 $
	/opt/graphics/phigs/bin/PHIGS_3.0C.awk:
		PHIGS_3.0C.awk $Revision: /main/49 $ $Date: 18-Mar-9
			6.16:03:47 $
	/opt/graphics/phigs/bin/PHIGS_3.0F.awk:
		PHIGS_3.0F.awk $Revision: /main/52 $ $Date: 18-Mar-9
			6.16:03:49 $
	/opt/graphics/phigs/demos/README:
		None
	/opt/graphics/phigs/demos/makefile:
		None
	/opt/graphics/phigs/demos/poly_ppers.f:
		None
	/opt/graphics/phigs/demos/winlib.c:
		winlib.c $Revision: /main/15 $ $Date: 25-Nov-96.17:5
			2:18 $ */
	/opt/graphics/phigs/examples/OReilly/hp.win.smart/
		WinSmart.c:
		None
	/opt/graphics/phigs/examples/WinSmart.c:
		None
	/opt/graphics/phigs/examples/Xg/Phigswidget:
		Phigswidget $Revision: /main/9 $ $Date: 18-Mar-96.16
			:01:42 $
	/opt/graphics/phigs/examples/Xg/makefile:
		None
	/opt/graphics/phigs/examples/makefile:
		None
	/opt/graphics/phigs/examples/tutorial/phigs_c:
		None
	/opt/graphics/phigs/examples/tutorial/phigs_f:
		None
	/opt/graphics/phigs/examples/workstation/makefile:
		None
	/opt/graphics/phigs/include/HP_PHIGS_2_3:
		HP_PHIGS_2_3 $Revision: /main/46 $ $Date: 18-Mar-96.
			16:03:59 $
	/opt/graphics/phigs/include/HP_PHIGS_STD_CONFORM:
		HP_PHIGS_STD_CONFORM $Revision: /main/46 $ $Date: 18
			-Mar-96.16:04:00 $
	/opt/graphics/phigs/include/Motif1.2/Xg/PhigsDraw.h:
		None
	/opt/graphics/phigs/include/Motif1.2/Xg/PhigsDrawP.h:
		None
	/opt/graphics/phigs/include/phigs-f90.1.h:
		phigs.f1.h 180.1 01/20/95 15:21:17
	/opt/graphics/phigs/include/phigs-f90.2.h:
		phigs.f2.h $Revision: /main/1 $ $Date: 19-Jun-98.13:
			06:50 $
	/opt/graphics/phigs/include/phigs.f1.h:
		phigs.f1.h 180.1 01/20/95 15:21:17
	/opt/graphics/phigs/include/phigs.f2.h:
		phigs.f2.h $Revision: /main/297 $ $Date: 10-Mar-99.1
			4:41:02 $
	/opt/graphics/phigs/include/phigs.fc.h:
		phigs.fc.h  $Revision: /main/297 $ $Date: 10-Mar-99.
			14:41:02 $ */
	/opt/graphics/phigs/include/phigs.h:
		phigs.h  $Revision: /main/297 $ $Date: 10-Mar-99.14:
			41:02 $ */
	/opt/graphics/phigs/include/phigs_plus.h:
		phigs_plus.h  $Revision: /main/297 $ $Date: 10-Mar-9
			9.14:41:02 $ */
	/opt/graphics/phigs/lib/libphigs.a:
		HP-PHIGS PATCH PHSS_12481/PHSS_12482
		HP-PHIGS PATCH PHSS_13520/PHSS_13521
		HP-PHIGS PATCH PHSS_17164/PHSS_17165
		HP-PHIGS PATCH PHSS_17179/PHSS_17180
		HP-PHIGS 3.41 on HP-UX 10.20 $Date: 23-Aug-99.20:25:
			41 $ $Revision: 19990823.11693 $ libphigs.a
	/opt/graphics/phigs/lib/libphigsXg.a:
		HP-PHIGS 3.41 on HP-UX 10.20 $Date: 23-Aug-99.20:25:
			41 $ $Revision: 19990823.11693 $ libphigsXg.
			a
	/opt/graphics/phigs/newconfig/opt/graphics/phigs/src/Xg/
		PhigsDraw.c:
		None
	/opt/graphics/phigs/newconfig/opt/graphics/phigs/src/
		cgmiui.c:
		None
	/opt/graphics/phigs/newconfig/opt/graphics/phigs/src/
		makefile:
		makefile $ $Revision: /main/12 $ $Date: 18-Mar-96.16
			:03:36 $
	/opt/graphics/phigs/newconfig/opt/graphics/phigs/src/
		xinitcolor.c:
		None
	/opt/graphics/phigs/share/man/man3.Z/pqcets.3g:
		None
	/opt/graphics/phigs/share/man/man3.Z/pqets.3g:
		None

cksum(1) Output:
	3112458497 2107 /opt/graphics/phigs/bin/PHIGS_3.0.Cvt
	249990012 59250 /opt/graphics/phigs/bin/PHIGS_3.0C.awk
	1024292438 51088 /opt/graphics/phigs/bin/PHIGS_3.0F.awk
	1999026783 5792 /opt/graphics/phigs/demos/README
	1184051214 2260 /opt/graphics/phigs/demos/makefile
	1280513613 25547 /opt/graphics/phigs/demos/poly_ppers.f
	2807181348 6430 /opt/graphics/phigs/demos/winlib.c
	1410886530 27662 /opt/graphics/phigs/examples/OReilly/
		hp.win.smart/WinSmart.c
	2083778417 24916 /opt/graphics/phigs/examples/WinSmart.c
	3794901253 3358 /opt/graphics/phigs/examples/Xg/Phigswidget
	1803820674 636 /opt/graphics/phigs/examples/Xg/makefile
	1870642714 466 /opt/graphics/phigs/examples/makefile
	3257503158 431 /opt/graphics/phigs/examples/tutorial/phigs_c
	1864453732 463 /opt/graphics/phigs/examples/tutorial/phigs_f
	3075108559 566 /opt/graphics/phigs/examples/workstation/
		makefile
	864760225 342 /opt/graphics/phigs/include/HP_PHIGS_2_3
	447411969 341 /opt/graphics/phigs/include/
		HP_PHIGS_STD_CONFORM
	2035991884 5602 /opt/graphics/phigs/include/Motif1.2/Xg/
		PhigsDraw.h
	2117848193 2686 /opt/graphics/phigs/include/Motif1.2/Xg/
		PhigsDrawP.h
	2919232190 37474 /opt/graphics/phigs/include/phigs-f90.1.h
	2000564851 56964 /opt/graphics/phigs/include/phigs-f90.2.h
	3852462886 34628 /opt/graphics/phigs/include/phigs.f1.h
	926746966 59103 /opt/graphics/phigs/include/phigs.f2.h
	495249339 161983 /opt/graphics/phigs/include/phigs.fc.h
	2621067688 265185 /opt/graphics/phigs/include/phigs.h
	444876483 35021 /opt/graphics/phigs/include/phigs_plus.h
	1024237748 1824896 /opt/graphics/phigs/lib/libphigs.a
	1917258753 25456 /opt/graphics/phigs/lib/libphigsXg.a
	1413543753 63961 /opt/graphics/phigs/newconfig/opt/graphics/
		phigs/src/Xg/PhigsDraw.c
	3607265017 81162 /opt/graphics/phigs/newconfig/opt/graphics/
		phigs/src/cgmiui.c
	1264571659 825 /opt/graphics/phigs/newconfig/opt/graphics/
		phigs/src/makefile
	1425565487 11020 /opt/graphics/phigs/newconfig/opt/graphics/
		phigs/src/xinitcolor.c
	4012978107 5868 /opt/graphics/phigs/share/man/man3.Z/
		pqcets.3g
	1211500592 5980 /opt/graphics/phigs/share/man/man3.Z/
		pqets.3g

Patch Conflicts: None

Patch Dependencies:
	s700: 10.20: PHSS_14947 PHSS_17176 PHSS_17179
	s800: 10.20: PHSS_14947 PHSS_17176 PHSS_17179

Hardware Dependencies: None

Other Dependencies: None

Supersedes:
	PHSS_7607 PHSS_8383 PHSS_9253 PHSS_10217 PHSS_10247 PHSS_11402
	PHSS_12458 PHSS_12467 PHSS_12482 PHSS_13521 PHSS_13533 PHSS_13904
	PHSS_14929 PHSS_14942 PHSS_14952 PHSS_15847 PHSS_17139 PHSS_17151
	PHSS_17165

Equivalent Patches: None

Patch Package Size: 2950 KBytes

Installation Instructions:
	Please review all instructions and the Hewlett-Packard
	SupportLine User Guide or your Hewlett-Packard support terms
	and conditions for precautions, scope of license,
	restrictions, and, limitation of liability and warranties,
	before installing this patch.
	------------------------------------------------------------
	1. Back up your system before installing a patch.

	2. Login as root.

	3. Copy the patch to the /tmp directory.

	4. Move to the /tmp directory and unshar the patch:

		cd /tmp
		sh PHSS_17180

	5a. For a standalone system, run swinstall to install the
	    patch:

		swinstall -x autoreboot=true -x match_target=true \
			-s /tmp/PHSS_17180.depot

	By default swinstall will archive the original software in
	/var/adm/sw/patch/PHSS_17180.  If you do not wish to retain a
	copy of the original software, you can create an empty file
	named /var/adm/sw/patch/PATCH_NOSAVE.

	WARNING: If this file exists when a patch is installed, the
	         patch cannot be deinstalled.  Please be careful
		 when using this feature.

	It is recommended that you move the PHSS_17180.text file to
	/var/adm/sw/patch for future reference.

	To put this patch on a magnetic tape and install from the
	tape drive, use the command:

		dd if=/tmp/PHSS_17180.depot of=/dev/rmt/0m bs=2k

Special Installation Instructions: None