Fredrik Lundh is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

effbot / pil-2009-raclette http://effbot.org/zone/pil-index.htm

Work repository for PIL 1.1.7 and beyond. The "default" branch should be fairly solid, the other branches less so. For production use, see the pil-117 repository.

Clone this repository (size: 1.6 MB): HTTPS / SSH
hg clone https://bitbucket.org/effbot/pil-2009-raclette
hg clone ssh://hg@bitbucket.org/effbot/pil-2009-raclette

pil-2009-raclette / PIL / ImageGL.py

#
# The Python Imaging Library.
# $Id: ImageGL.py 2438 2005-05-25 21:09:48Z Fredrik $
#
# OpenGL pixmap/texture interface (requires imToolkit OpenGL extensions)
#
# History:
# 2003-09-13 fl   Added
#
# Copyright (c) Secret Labs AB 2003.
#
# See the README file for information on usage and redistribution.
#

##
# OpenGL pixmap/texture interface (requires imToolkit OpenGL
# extensions.)
##

import _imaginggl

##
# Texture factory.

class TextureFactory:
    pass # overwritten by the _imaginggl module

from _imaginggl import *