[Gridflow-cvs] [svn] commit: r6038 - /trunk/src/opengl.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Wed Aug 11 21:54:35 EDT 2010


Author: matju
Date: Wed Aug 11 21:54:33 2010
New Revision: 6038

Log:
shrink

Modified:
    trunk/src/opengl.cxx

Modified: trunk/src/opengl.cxx
==============================================================================
--- trunk/src/opengl.cxx (original)
+++ trunk/src/opengl.cxx Wed Aug 11 21:54:33 2010
@@ -275,22 +275,22 @@
 	.D(GL_OR)		.D(GL_NOR)
 	;
 	pixel_store
-	.D(GL_PACK_SWAP_BYTES)
-	.D(GL_PACK_LSB_FIRST)
-	.D(GL_PACK_ROW_LENGTH)
-	.D(GL_PACK_IMAGE_HEIGHT)
-	.D(GL_PACK_SKIP_PIXELS)
-	.D(GL_PACK_SKIP_ROWS)
-	.D(GL_PACK_SKIP_IMAGES)
-	.D(GL_PACK_ALIGNMENT)
-	.D(GL_UNPACK_SWAP_BYTES)
-	.D(GL_UNPACK_LSB_FIRST)
-	.D(GL_UNPACK_ROW_LENGTH)
-	.D(GL_UNPACK_IMAGE_HEIGHT)
-	.D(GL_UNPACK_SKIP_PIXELS)
-	.D(GL_UNPACK_SKIP_ROWS)
-	.D(GL_UNPACK_SKIP_IMAGES)
-	.D(GL_UNPACK_ALIGNMENT)
+	.A(GL_PACK_SWAP_BYTES,1)
+	.A(GL_PACK_LSB_FIRST,1)
+	.A(GL_PACK_ROW_LENGTH,1)
+	.A(GL_PACK_IMAGE_HEIGHT,1)
+	.A(GL_PACK_SKIP_PIXELS,1)
+	.A(GL_PACK_SKIP_ROWS,1)
+	.A(GL_PACK_SKIP_IMAGES,1)
+	.A(GL_PACK_ALIGNMENT,1)
+	.A(GL_UNPACK_SWAP_BYTES,1)
+	.A(GL_UNPACK_LSB_FIRST,1)
+	.A(GL_UNPACK_ROW_LENGTH,1)
+	.A(GL_UNPACK_IMAGE_HEIGHT,1)
+	.A(GL_UNPACK_SKIP_PIXELS,1)
+	.A(GL_UNPACK_SKIP_ROWS,1)
+	.A(GL_UNPACK_SKIP_IMAGES,1)
+	.A(GL_UNPACK_ALIGNMENT,1)
 	;
 	pixel_transfer
 	.A(GL_MAP_COLOR,1)
@@ -692,6 +692,7 @@
 	;
 	get_parameter
 	.add(pixel_transfer)
+	.add(pixel_store)
 	.add(capability)
 	.add(client_state_capability)
 	.add(hint_target)
@@ -747,7 +748,7 @@
 	.A(GL_FRONT_FACE,1)
 	.A(GL_GREEN_BITS,1)
 	.A(GL_INDEX_ARRAY_BUFFER_BINDING,1).A(GL_INDEX_ARRAY_STRIDE,1).A(GL_INDEX_ARRAY_TYPE,1)
-	.A(GL_INDEX_BITS,1).A(GL_INDEX_CLEAR_VALUE,1).A(GL_INDEX_LOGIC_OP,1).A(GL_INDEX_MODE,1)
+	.A(GL_INDEX_BITS,1).A(GL_INDEX_CLEAR_VALUE,1).A(GL_INDEX_MODE,1)
 	.A(GL_INDEX_WRITEMASK,1)
 	.A(GL_LIGHT_MODEL_AMBIENT,4)
 	//.A(GL_LIGHT_MODEL_COLOR_CONTROL,1e)
@@ -792,14 +793,6 @@
 	.A(GL_MODELVIEW_STACK_DEPTH,1)
 	.A(GL_NAME_STACK_DEPTH,1)
 	.A(GL_NORMAL_ARRAY_BUFFER_BINDING,1).A(GL_NORMAL_ARRAY_STRIDE,1)//.A(GL_NORMAL_ARRAY_TYPE,1e)
-	.A(GL_PACK_ALIGNMENT,1)
-	.A(GL_PACK_IMAGE_HEIGHT,1)
-	.A(GL_PACK_LSB_FIRST,1)
-	.A(GL_PACK_ROW_LENGTH,1)
-	.A(GL_PACK_SKIP_IMAGES,1)
-	.A(GL_PACK_SKIP_PIXELS,1)
-	.A(GL_PACK_SKIP_ROWS,1)
-	.A(GL_PACK_SWAP_BYTES,1)
 	.A(GL_PIXEL_MAP_A_TO_A_SIZE,1).A(GL_PIXEL_MAP_B_TO_B_SIZE,1).A(GL_PIXEL_MAP_G_TO_G_SIZE,1).A(GL_PIXEL_MAP_R_TO_R_SIZE,1)
 	.A(GL_PIXEL_MAP_I_TO_A_SIZE,1).A(GL_PIXEL_MAP_I_TO_B_SIZE,1).A(GL_PIXEL_MAP_I_TO_G_SIZE,1).A(GL_PIXEL_MAP_I_TO_R_SIZE,1)
 	.A(GL_PIXEL_MAP_I_TO_I_SIZE,1).A(GL_PIXEL_MAP_S_TO_S_SIZE,1)
@@ -856,14 +849,6 @@
 	.A(GL_TRANSPOSE_MODELVIEW_MATRIX,16)
 	.A(GL_TRANSPOSE_PROJECTION_MATRIX,16)
 	.A(GL_TRANSPOSE_TEXTURE_MATRIX,16)
-	.A(GL_UNPACK_ALIGNMENT,1)
-	.A(GL_UNPACK_IMAGE_HEIGHT,1)
-	.A(GL_UNPACK_LSB_FIRST,1)
-	.A(GL_UNPACK_ROW_LENGTH,1)
-	.A(GL_UNPACK_SKIP_IMAGES,1)
-	.A(GL_UNPACK_SKIP_PIXELS,1)
-	.A(GL_UNPACK_SKIP_ROWS,1)
-	.A(GL_UNPACK_SWAP_BYTES,1)
 	.A(GL_VERTEX_ARRAY_BUFFER_BINDING,1).A(GL_VERTEX_ARRAY_SIZE,1).A(GL_VERTEX_ARRAY_STRIDE,1).A(GL_VERTEX_ARRAY_TYPE,1)
 	.A(GL_VIEWPORT,4)
 	.A(GL_ZOOM_X,1)



More information about the Gridflow-cvs mailing list