OpenGL.GL.HP.image_transform
OpenGL extension HP.image_transform
This module customises the behaviour of the
OpenGL.raw.GL.HP.image_transform to provide a more
Python-friendly API
Overview (from the spec)
This extension provides support for scaling, rotation, and translation
of two-dimensional pixel rectangles at a fixed location in the pixel
transfer process. The 2D image transformation attributes are specified
as individual values so that that implementations may easily detect
scaling and rotation values that lend themselves to optimization. 2D
image transformation occurs immediately after the post-convolution color
table stage of the pixel pipeline. This extension also defines a color
table that is applied immediately after the image transformation operation.
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/HP/image_transform.txt
Functions
Constants
GL_AVERAGE_HP (33120)
GL_CUBIC_HP (33119)
GL_IMAGE_CUBIC_WEIGHT_HP (33118)
GL_IMAGE_MAG_FILTER_HP (33116)
GL_IMAGE_MIN_FILTER_HP (33117)
GL_IMAGE_ROTATE_ANGLE_HP (33113)
GL_IMAGE_ROTATE_ORIGIN_X_HP (33114)
GL_IMAGE_ROTATE_ORIGIN_Y_HP (33115)
GL_IMAGE_SCALE_X_HP (33109)
GL_IMAGE_SCALE_Y_HP (33110)
GL_IMAGE_TRANSFORM_2D_HP (33121)
GL_IMAGE_TRANSLATE_X_HP (33111)
GL_IMAGE_TRANSLATE_Y_HP (33112)
GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP (33122)
GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP (33123)