profile/ivi/mesa.git
18 years agorewrite of read_fast_rgba_pixels()
Brian Paul [Fri, 6 Oct 2006 03:48:42 +0000 (03:48 +0000)]
rewrite of read_fast_rgba_pixels()

18 years agomissing file
Keith Whitwell [Thu, 5 Oct 2006 19:16:46 +0000 (19:16 +0000)]
missing file

18 years agoAccelerate glBitmap with a color expand blit. Nice speedup for demos
Keith Whitwell [Thu, 5 Oct 2006 11:35:57 +0000 (11:35 +0000)]
Accelerate glBitmap with a color expand blit.  Nice speedup for demos
like 'fire' that display a help message or fps number this way.

18 years agoQuieten debug message.
Keith Whitwell [Thu, 5 Oct 2006 11:34:01 +0000 (11:34 +0000)]
Quieten debug message.

18 years agoeliminate rhw divide under some circumstances
Keith Whitwell [Thu, 5 Oct 2006 11:28:45 +0000 (11:28 +0000)]
eliminate rhw divide under some circumstances

18 years agoQuieten debug message.
Keith Whitwell [Thu, 5 Oct 2006 11:27:13 +0000 (11:27 +0000)]
Quieten debug message.

18 years agoChanges to generated code caused by the previous commits.
Ian Romanick [Wed, 4 Oct 2006 22:33:54 +0000 (22:33 +0000)]
Changes to generated code caused by the previous commits.

18 years agoFix the ordering of extensions.
Ian Romanick [Wed, 4 Oct 2006 21:59:51 +0000 (21:59 +0000)]
Fix the ordering of extensions.

18 years agoKeep indentation consistent with indent.
Ian Romanick [Wed, 4 Oct 2006 21:55:55 +0000 (21:55 +0000)]
Keep indentation consistent with indent.

Remove code in the Python scripts that keeps the indentation of the
generated code consistent for all cases.  Instead, pass the generated code
through the indent command.  Unix tools for the win!

18 years agoDivide categories into four groups as they are processed from the XML. Add
Ian Romanick [Wed, 4 Oct 2006 20:45:59 +0000 (20:45 +0000)]
Divide categories into four groups as they are processed from the XML.  Add
an iterator to iterate over the categories in order, starting with "core"
versions, then ARB extensions, then numbered non-ARB extensions, and finally
unnumbered extensions.

Use the new iterator in a couple places to ensure that output that is
grouped by catgory is generated in a consistent order.

More changes to the scripts are coming.  The generated files will be
committed one time after all the changes are in.  Too bad we're not using
GIT, or this would be easy. :(

18 years agoAdd utility method client_supported_for_indirect.
Ian Romanick [Wed, 4 Oct 2006 18:58:10 +0000 (18:58 +0000)]
Add utility method client_supported_for_indirect.

The new method client_supported_for_indirect is used to determine whether or
not the client-side library supports the function for indirect rendering.
The may or may not have associated protocol that needs to be generated
(e.g., glVertexPointer does not, but glVertex3fv does).

18 years agoin MakeContextCurrent() use old display pointer for __glXSetupForCommand(), bug 8443
Brian Paul [Wed, 4 Oct 2006 16:22:24 +0000 (16:22 +0000)]
in MakeContextCurrent() use old display pointer for __glXSetupForCommand(), bug 8443

18 years agouse _swrast_span_default_color() in the disabled code too
Brian Paul [Wed, 4 Oct 2006 15:22:11 +0000 (15:22 +0000)]
use _swrast_span_default_color() in the disabled code too

18 years agocall _swrast_span_default_color() to simplify _swrast_Bitmap(), improved comments
Brian Paul [Wed, 4 Oct 2006 15:21:23 +0000 (15:21 +0000)]
call _swrast_span_default_color() to simplify _swrast_Bitmap(), improved comments

18 years agominor formatting fix
Brian Paul [Wed, 4 Oct 2006 15:06:27 +0000 (15:06 +0000)]
minor formatting fix

18 years agoBugzilla 6242: [mach64] Use private DMA buffers (only)
Felix Kuehling [Mon, 2 Oct 2006 20:34:06 +0000 (20:34 +0000)]
Bugzilla 6242: [mach64] Use private DMA buffers (only)
https://bugs.freedesktop.org/show_bug.cgi?id=6242
Patch by George Sapountzis: https://bugs.freedesktop.org/attachment.cgi?id=6271

Update to new mach64 DRM 2.0.0 with private DMA buffers.
Handle EAGAIN in mach64FireBlitLocked: call drmCommandWrite up to
MACH64_TIMEOUT times when EAGAIN is returned.
Also handle EAGAIN in mach64FlushVerticesLocked.

18 years agoreturn null if no context
Brian Paul [Mon, 2 Oct 2006 15:20:23 +0000 (15:20 +0000)]
return null if no context

18 years agoNew SWspan and SWspanarrays typedefs.
Brian Paul [Sun, 1 Oct 2006 16:03:05 +0000 (16:03 +0000)]
New SWspan and SWspanarrays typedefs.

18 years agoi915: Fix wait for scheduled swap on secondary display.
Michel Dänzer [Fri, 29 Sep 2006 10:22:54 +0000 (10:22 +0000)]
i915: Fix wait for scheduled swap on secondary display.

18 years agoupdated protos for blend funcs
Brian Paul [Fri, 29 Sep 2006 02:15:23 +0000 (02:15 +0000)]
updated protos for blend funcs

18 years agomore changes for runtime renderbuffer depths
Brian Paul [Fri, 29 Sep 2006 02:12:07 +0000 (02:12 +0000)]
more changes for runtime renderbuffer depths

18 years agoinclude mipmap.h
Brian Paul [Fri, 29 Sep 2006 01:26:55 +0000 (01:26 +0000)]
include mipmap.h

18 years agoMove mipmap generation functions, texture scaling functions into new
Brian Paul [Fri, 29 Sep 2006 01:24:26 +0000 (01:24 +0000)]
Move mipmap generation functions, texture scaling functions into new
mipmap.c file.

18 years agoupdated info about name mangling
Brian Paul [Fri, 29 Sep 2006 01:22:53 +0000 (01:22 +0000)]
updated info about name mangling

18 years agoSynchronize drawable to the pipe where the bigger part can be visible.
Michel Dänzer [Thu, 28 Sep 2006 14:10:47 +0000 (14:10 +0000)]
Synchronize drawable to the pipe where the bigger part can be visible.

This requires the DDX driver to set the corresponding fields in the SAREA,
so check its minor version.

18 years agoAdd new I830 SAREA fields.
Michel Dänzer [Thu, 28 Sep 2006 14:10:07 +0000 (14:10 +0000)]
Add new I830 SAREA fields.

18 years agoAdd helper function that returns the current vblank sequence of a drawable.
Michel Dänzer [Thu, 28 Sep 2006 14:09:20 +0000 (14:09 +0000)]
Add helper function that returns the current vblank sequence of a drawable.

18 years agoAdd helper function to calculate the area of the intersection of two rectangles.
Michel Dänzer [Thu, 28 Sep 2006 14:08:38 +0000 (14:08 +0000)]
Add helper function to calculate the area of the intersection of two rectangles.

18 years agoi915: Handle DRM_VBLANK_SECONDARY when scheduling buffer swaps.
Michel Dänzer [Thu, 28 Sep 2006 14:07:56 +0000 (14:07 +0000)]
i915: Handle DRM_VBLANK_SECONDARY when scheduling buffer swaps.

18 years agoi915: Attempt to schedule buffer swap on target vertical blank when possible.
Michel Dänzer [Thu, 28 Sep 2006 14:07:12 +0000 (14:07 +0000)]
i915: Attempt to schedule buffer swap on target vertical blank when possible.

This has some advantages over the traditional way of first waiting for the
target vertical blank and then emitting the buffer swap, e.g.

* glXSwapBuffers returns immediately, only the next time the driver needs the
  hardware lock will it block until the target vertical blank. This should
  allow applications that don't intermix rendering and other processing to
  start processing for the next frame right away.
* It's less likely to produce tearing.

18 years agoAdd driGetVBlankInterval() helper function.
Michel Dänzer [Thu, 28 Sep 2006 14:04:19 +0000 (14:04 +0000)]
Add driGetVBlankInterval() helper function.

This can be used by drivers to determine the current swap interval of a
drawable.

18 years agodriWaitForVBlank: Add support for secondary vertical blank.
Michel Dänzer [Thu, 28 Sep 2006 14:03:41 +0000 (14:03 +0000)]
driWaitForVBlank: Add support for secondary vertical blank.

18 years agoSome restructuring of the driWaitForVBlank() code.
Michel Dänzer [Thu, 28 Sep 2006 14:03:02 +0000 (14:03 +0000)]
Some restructuring of the driWaitForVBlank() code.

Also some minor fixes for detecting when the deadline is met or missed, in
particular wrt wraparounds of the sequence number.

18 years agoMake driDrawableInitVBlank() initialize the sequence number.
Michel Dänzer [Thu, 28 Sep 2006 14:02:05 +0000 (14:02 +0000)]
Make driDrawableInitVBlank() initialize the sequence number.

This prevents the first wait for vertical blank from timing out when the X
server has been running for a long time.

18 years agoremove obsolete comment
Brian Paul [Wed, 27 Sep 2006 14:00:37 +0000 (14:00 +0000)]
remove obsolete comment

18 years agoUpdate to use the new XCB naming convention.
Jeremy Kolb [Tue, 26 Sep 2006 23:56:20 +0000 (23:56 +0000)]
Update to use the new XCB naming convention.

18 years agoAdded function convertStringForXCB. Deals with the recent XCB naming convention...
Jeremy Kolb [Tue, 26 Sep 2006 23:47:04 +0000 (23:47 +0000)]
Added function convertStringForXCB.  Deals with the recent XCB naming convention switch.
Updated the generated code to use the new XCB naming scheme.

18 years agoUpdate linux-dr-xcb config file to use LIBDRM_CFLAGS
Jeremy Kolb [Tue, 26 Sep 2006 23:45:28 +0000 (23:45 +0000)]
Update linux-dr-xcb config file to use LIBDRM_CFLAGS

18 years agoRemove r200 dependency
Jerome Glisse [Tue, 26 Sep 2006 17:35:41 +0000 (17:35 +0000)]
Remove r200 dependency

Remove r200 dependency from the code as r200 merged
driver never worked (right ?) and we want to clean
the code.

18 years agoRemove r200 dependency.
Jerome Glisse [Tue, 26 Sep 2006 17:28:40 +0000 (17:28 +0000)]
Remove r200 dependency.

Remove r200*.h files dependency.

18 years agoPrepend #extension 'MESA_shader_debug: require' to each shader.
Michal Krol [Tue, 26 Sep 2006 16:06:35 +0000 (16:06 +0000)]
Prepend #extension 'MESA_shader_debug: require' to each shader.

18 years agoAdd GLSL preprocessor.
Michal Krol [Tue, 26 Sep 2006 16:01:11 +0000 (16:01 +0000)]
Add GLSL preprocessor.

18 years agoFix Windows newlines.
Michal Krol [Tue, 26 Sep 2006 12:10:33 +0000 (12:10 +0000)]
Fix Windows newlines.

18 years agoAdd syntax files for expression and directive preprocessor.
Michal Krol [Tue, 26 Sep 2006 11:43:30 +0000 (11:43 +0000)]
Add syntax files for expression and directive preprocessor.
Fix syntax errors in builtin library 1.2 sources.
All derivative files (*_gc.h and *_syn.h) are generated by Makefile.

18 years agoInitial work for supporting different renderbuffer color depths at runtime.
Brian Paul [Mon, 25 Sep 2006 23:57:39 +0000 (23:57 +0000)]
Initial work for supporting different renderbuffer color depths at runtime.

18 years agoFix and re-enable swizzling paths for big endian platforms.
Michel Dänzer [Mon, 25 Sep 2006 16:34:40 +0000 (16:34 +0000)]
Fix and re-enable swizzling paths for big endian platforms.

18 years agobring in active_sz mechanism from i965 driver. Fixes bug 8410
Keith Whitwell [Mon, 25 Sep 2006 09:14:26 +0000 (09:14 +0000)]
bring in active_sz mechanism from i965 driver.  Fixes bug 8410

18 years agoFixup one place where attrsz was being used instead of active_sz
Keith Whitwell [Mon, 25 Sep 2006 09:12:25 +0000 (09:12 +0000)]
Fixup one place where attrsz was being used instead of active_sz

18 years agoChange logicop, blend, masking functions to use the colors/indexes in the
Brian Paul [Sun, 24 Sep 2006 19:59:30 +0000 (19:59 +0000)]
Change logicop, blend, masking functions to use the colors/indexes in the
sw_span object, rather than an explicit parameter.

18 years agoRoll the multi_write_rgba_span() code into _swrast_write_rgba_span().
Brian Paul [Sun, 24 Sep 2006 19:46:42 +0000 (19:46 +0000)]
Roll the multi_write_rgba_span() code into _swrast_write_rgba_span().

18 years agouse span.array->rgba instead of local var in accum_return()
Brian Paul [Sun, 24 Sep 2006 16:34:56 +0000 (16:34 +0000)]
use span.array->rgba instead of local var in accum_return()

18 years agouse span.arrays for color/indexes instead of a local var when doing masked clears
Brian Paul [Sun, 24 Sep 2006 16:31:23 +0000 (16:31 +0000)]
use span.arrays for color/indexes instead of a local var when doing masked clears

18 years agocorrected cursor drawing
Sean D'Epagnier [Sun, 24 Sep 2006 10:57:26 +0000 (10:57 +0000)]
corrected cursor drawing
added handling of SIGWINCH
fixed input of recieving SIGIO while handling SIGIO
corrected input code for return
uncommented normal calculation to models

18 years agoallocate larger TempImage, use COMBO var to choose test format/type
Brian Paul [Sat, 23 Sep 2006 16:09:26 +0000 (16:09 +0000)]
allocate larger TempImage, use COMBO var to choose test format/type

18 years agofix the broken fallback string/debug stuff
Brian Paul [Fri, 22 Sep 2006 19:28:36 +0000 (19:28 +0000)]
fix the broken fallback string/debug stuff

18 years agoremove extra indentation
Brian Paul [Fri, 22 Sep 2006 19:09:50 +0000 (19:09 +0000)]
remove extra indentation

18 years agoGet rid of _swrast_mask_rgba_array() and _swrast_mask_index_array().
Brian Paul [Fri, 22 Sep 2006 17:44:39 +0000 (17:44 +0000)]
Get rid of _swrast_mask_rgba_array() and _swrast_mask_index_array().

18 years agofix up access to vertex attrib components which don't really exist but are defined...
Roland Scheidegger [Fri, 22 Sep 2006 15:48:50 +0000 (15:48 +0000)]
fix up access to vertex attrib components which don't really exist but are defined to some default value by the spec (fogcoord yzw, normal w, secondary color w), by replacing those components with zero/one respectively using swizzling.

18 years agoExplicit test for +ve pitches in intelEmitCopyBlit()
Keith Whitwell [Fri, 22 Sep 2006 14:43:09 +0000 (14:43 +0000)]
Explicit test for +ve pitches in intelEmitCopyBlit()

18 years agodon't skip user clip plane clipping when the current vertex program is position invar...
Roland Scheidegger [Fri, 22 Sep 2006 13:34:24 +0000 (13:34 +0000)]
don't skip user clip plane clipping when the current vertex program is position invariant.

18 years agoUse _Enabled rather than _Active when checking for fragment shaders
Keith Whitwell [Fri, 22 Sep 2006 11:45:21 +0000 (11:45 +0000)]
Use _Enabled rather than _Active when checking for fragment shaders

18 years agoFlush driver, not just tnl module.
Keith Whitwell [Fri, 22 Sep 2006 11:40:35 +0000 (11:40 +0000)]
Flush driver, not just tnl module.

18 years agoresize buffers in MakeCurrent
Keith Whitwell [Fri, 22 Sep 2006 11:36:30 +0000 (11:36 +0000)]
resize buffers in MakeCurrent

18 years agoRemove unused variable.
Keith Whitwell [Fri, 22 Sep 2006 11:33:46 +0000 (11:33 +0000)]
Remove unused variable.

18 years ago Correcting directory name in OpenVMS-Makefile
Jouk Jansen [Fri, 22 Sep 2006 11:09:07 +0000 (11:09 +0000)]
Correcting directory name in OpenVMS-Makefile

18 years agoremove rgb[] array from span_arrays_struct - was only used in a few places
Brian Paul [Thu, 21 Sep 2006 23:19:40 +0000 (23:19 +0000)]
remove rgb[] array from span_arrays_struct - was only used in a few places

18 years agonew comments, indentation fixes
Brian Paul [Thu, 21 Sep 2006 23:04:29 +0000 (23:04 +0000)]
new comments, indentation fixes

18 years agobump version to 6.5.2
Brian Paul [Thu, 21 Sep 2006 23:02:21 +0000 (23:02 +0000)]
bump version to 6.5.2

18 years agomove a conditional into an assertion
Brian Paul [Thu, 21 Sep 2006 22:59:50 +0000 (22:59 +0000)]
move a conditional into an assertion

18 years agoupdated doxygen info
Brian Paul [Thu, 21 Sep 2006 22:54:53 +0000 (22:54 +0000)]
updated doxygen info

18 years agoupdated extension info
Brian Paul [Thu, 21 Sep 2006 22:53:15 +0000 (22:53 +0000)]
updated extension info

18 years agoRe-org of per-release info.
Brian Paul [Thu, 21 Sep 2006 22:51:16 +0000 (22:51 +0000)]
Re-org of per-release info.
From now on, put all release-specific info into the release-X.Y.Z.html file
rather than scattered between a relnotes file, versions.html and news.html.

18 years agoreplace assert(0) with error report, improved comments, etc
Brian Paul [Thu, 21 Sep 2006 22:43:51 +0000 (22:43 +0000)]
replace assert(0) with error report, improved comments, etc

18 years agoFix incorrect byteswap_mapping(). Disable swizzle path on bigEndian
Keith Whitwell [Thu, 21 Sep 2006 18:31:36 +0000 (18:31 +0000)]
Fix incorrect byteswap_mapping().  Disable swizzle path on bigEndian
until someone can figure out whats wrong there.

18 years agouse new _mesa_little_endian() function
Brian Paul [Thu, 21 Sep 2006 15:51:55 +0000 (15:51 +0000)]
use new _mesa_little_endian() function

18 years agoadded _mesa_little_endian()
Brian Paul [Thu, 21 Sep 2006 15:51:06 +0000 (15:51 +0000)]
added _mesa_little_endian()

18 years agoGLUT_FORCE_VISUAL env var to force glut to use a particular visual (debug only)
Brian Paul [Thu, 21 Sep 2006 15:16:36 +0000 (15:16 +0000)]
GLUT_FORCE_VISUAL env var to force glut to use a particular visual (debug only)

18 years agonew code to init DirectColor colormaps
Brian Paul [Thu, 21 Sep 2006 15:14:30 +0000 (15:14 +0000)]
new code to init DirectColor colormaps

18 years agoFix the dstMap for rgb888 and bgr888 texture formats, which are the
Keith Whitwell [Thu, 21 Sep 2006 12:43:05 +0000 (12:43 +0000)]
Fix the dstMap for rgb888 and bgr888 texture formats, which are the
opposite to what you'd naively expect.

18 years agoDo a better job of choosing texture formats to avoid image conversions.
Keith Whitwell [Thu, 21 Sep 2006 10:20:15 +0000 (10:20 +0000)]
Do a better job of choosing texture formats to avoid image conversions.

18 years agouse the requested internal texture format where possible
Keith Whitwell [Thu, 21 Sep 2006 10:07:04 +0000 (10:07 +0000)]
use the requested internal texture format where possible

18 years agoCatch a couple of cases where we would have to delete and recreate the
Keith Whitwell [Thu, 21 Sep 2006 10:06:18 +0000 (10:06 +0000)]
Catch a couple of cases where we would have to delete and recreate the
miptree object.

18 years agoDeal with the overloading of _mesa_texstore_rgba, which is actually
Keith Whitwell [Wed, 20 Sep 2006 22:40:34 +0000 (22:40 +0000)]
Deal with the overloading of _mesa_texstore_rgba, which is actually
used to store all sorts of formats.

Software mesa fails the glean pixelFormats test, but it appears to be
failing even with the swizzle code disabled??

18 years agoExtend swizzle support to all remaining source formats and texture
Keith Whitwell [Wed, 20 Sep 2006 22:02:48 +0000 (22:02 +0000)]
Extend swizzle support to all remaining source formats and texture
destination formats.

18 years agotry to use a 8888 texture format which will result in only a memcopy in mesa's texsto...
Roland Scheidegger [Wed, 20 Sep 2006 19:11:56 +0000 (19:11 +0000)]
try to use a 8888 texture format which will result in only a memcopy in mesa's texstore functions whenever possible for r200 and r300. r200 can use hw formats argb8888, rgba8888 and abgr8888 (or the opposite on big endian), r300 can use argb8888, bgra8888, rgba8888 and abgr8888 regardless of endian, as it supports free component swizzling.

18 years agoSupport both big and little endian, more source types and more
Keith Whitwell [Wed, 20 Sep 2006 18:56:19 +0000 (18:56 +0000)]
Support both big and little endian, more source types and more
destination formats through the swizzle path.  It would be great to
see this tested on eg, PPC machines...

18 years agoreenable code in _mesa_texstore_rgba8888 to avoid the generic copy path if only swizz...
Roland Scheidegger [Wed, 20 Sep 2006 18:22:19 +0000 (18:22 +0000)]
reenable code in _mesa_texstore_rgba8888 to avoid the generic copy path if only swizzling is required as it works just fine (tested with glean pixelFormats test and a hacked up r200 driver which always uses that format).

18 years agoFix various typos to pass glean pixelFormats test.
Keith Whitwell [Wed, 20 Sep 2006 17:41:18 +0000 (17:41 +0000)]
Fix various typos to pass glean pixelFormats test.

18 years agoEnhance compute_component_mapping() to convert to and from any of the
Keith Whitwell [Wed, 20 Sep 2006 17:07:13 +0000 (17:07 +0000)]
Enhance compute_component_mapping() to convert to and from any of the
color base formats.

18 years agoAdd a comment about the interactions of negative pitches, overlapping
Keith Whitwell [Wed, 20 Sep 2006 15:04:05 +0000 (15:04 +0000)]
Add a comment about the interactions of negative pitches, overlapping
blits and the different ways of specifying a blit on this hardware.

18 years agoremove some dead code
Keith Whitwell [Wed, 20 Sep 2006 15:00:24 +0000 (15:00 +0000)]
remove some dead code

18 years agoFix some warnings
Keith Whitwell [Wed, 20 Sep 2006 14:58:55 +0000 (14:58 +0000)]
Fix some warnings

18 years agofix mixed texgen/non-texgen with texgen modes requiring plane parameters (GL_OBJECT_L...
Roland Scheidegger [Wed, 20 Sep 2006 14:56:21 +0000 (14:56 +0000)]
fix mixed texgen/non-texgen with texgen modes requiring plane parameters (GL_OBJECT_LINEAR, GL_EYE_LINEAR). This is a chip limitation, try to hack it up regardless or use a tcl fallback in some cases. Might still produce wrong results if fixed up, but so far this corrects celestia ring shadows (in multitexture mode), doom3 (arb renderer), quake4 (arb renderer and some less visible bugs in r200 renderer), and even the remaining texgenmix broken case (this is pure luck though, it is easy to construct artifical cases where it will break).

18 years agoSupport ARB_texture_rectangle.
Keith Whitwell [Wed, 20 Sep 2006 14:54:49 +0000 (14:54 +0000)]
Support ARB_texture_rectangle.

18 years ago1) Add a new flag in the sarea (coopting the unused texAge value) to
Keith Whitwell [Wed, 20 Sep 2006 14:44:40 +0000 (14:44 +0000)]
1) Add a new flag in the sarea (coopting the unused texAge value) to
identify context switches between members of a share group -
ie. multiple contexts in a single application, possibly on different
threads.  In this case the contexts share a bufmgr instance and there
is no need to evict textures - so don't.

2) Use a new flag 'need_flush' to ensure hardware rendering is flushed
prior to starting a software fallback.

18 years agoBroadwater seems to prefer this style of blitting.
Keith Whitwell [Wed, 20 Sep 2006 14:39:53 +0000 (14:39 +0000)]
Broadwater seems to prefer this style of blitting.

18 years agomake current GLX context per-thread
Brian Paul [Wed, 20 Sep 2006 14:39:47 +0000 (14:39 +0000)]
make current GLX context per-thread

18 years agofix a memleak in DestroyContext()
Brian Paul [Wed, 20 Sep 2006 14:39:24 +0000 (14:39 +0000)]
fix a memleak in DestroyContext()

18 years agoadd accelerated glCopyPixels path
Keith Whitwell [Wed, 20 Sep 2006 14:36:49 +0000 (14:36 +0000)]
add accelerated glCopyPixels path

18 years agoAdd a new internal program parameter value STATE_TEXRECT_SCALE which
Keith Whitwell [Wed, 20 Sep 2006 14:30:22 +0000 (14:30 +0000)]
Add a new internal program parameter value STATE_TEXRECT_SCALE which
provides 1/width and 1/height of the active texture, useful for
implementing ARB_texture_rectangle support on hardware which only
supports ARB_npot-style texturing.