OSDN Git Service

android-x86/external-mesa.git
15 years agoglapi: hook in ARB_map_buffer_range.xml
Brian Paul [Mon, 8 Jun 2009 22:59:53 +0000 (16:59 -0600)]
glapi: hook in ARB_map_buffer_range.xml

15 years agoglapi: spec/xml file for GL_ARB_map_buffer_range
Brian Paul [Mon, 8 Jun 2009 22:58:45 +0000 (16:58 -0600)]
glapi: spec/xml file for GL_ARB_map_buffer_range

15 years agomesa: reorder fields, update comments for gl_buffer_object
Brian Paul [Mon, 8 Jun 2009 21:27:10 +0000 (15:27 -0600)]
mesa: reorder fields, update comments for gl_buffer_object

15 years agoglsl: Fix preprocessor define argument parsing for dead sections.
Michal Krol [Mon, 8 Jun 2009 18:52:47 +0000 (20:52 +0200)]
glsl: Fix preprocessor define argument parsing for dead sections.

15 years agoglsl: preprocessor debug code (disabled)
Brian Paul [Mon, 8 Jun 2009 16:58:04 +0000 (10:58 -0600)]
glsl: preprocessor debug code (disabled)

15 years agodocs: document MESA_EXTENSION_OVERRIDE env var
Brian Paul [Mon, 8 Jun 2009 16:56:51 +0000 (10:56 -0600)]
docs: document MESA_EXTENSION_OVERRIDE env var

15 years agosoftpipe: advertise PIPE_CAP_MAX_TEXTURE_ANISOTROPY as 16.0
Brian Paul [Mon, 8 Jun 2009 16:55:34 +0000 (10:55 -0600)]
softpipe: advertise PIPE_CAP_MAX_TEXTURE_ANISOTROPY as 16.0

Note that this doesn't have any real significance since
PIPE_CAP_ANISOTROPIC_FILTER still returns 0.

15 years agomesa: new MESA_EXTENSION_OVERRIDE env var
Brian Paul [Mon, 8 Jun 2009 16:52:16 +0000 (10:52 -0600)]
mesa: new MESA_EXTENSION_OVERRIDE env var

Can be used to enable/disable extensions as reported by
glGetString(GL_EXTENSIONS).

If a name is preceeded by '-' it's disabled.  Otherwise, the named
extension is enabled.

Intended for debug/test purposes.

15 years agomesa: EXT_vertex_array_bgra fixes
Maciej Cencora [Mon, 8 Jun 2009 13:23:56 +0000 (07:23 -0600)]
mesa: EXT_vertex_array_bgra fixes

1) Pass the correct format when calling update_array in
   _mesa_VertexAttribPointerARB.
2) glVertexAttribPointerNV accepts GL_BGRA format too.
3) raise INVALID_VALUE error when format is BGRA and normalized is
   false in glVertexAttribPointerARB

15 years agotrace/rbug: Sleep on windows when blocked
Jakob Bornecrantz [Mon, 8 Jun 2009 12:33:55 +0000 (14:33 +0200)]
trace/rbug: Sleep on windows when blocked

15 years agollvm: fix compile on gcc 4.4
Dave Airlie [Mon, 8 Jun 2009 08:17:21 +0000 (18:17 +1000)]
llvm: fix compile on gcc 4.4

15 years agonouveau: forgotten makefile...
Ben Skeggs [Sun, 7 Jun 2009 09:29:29 +0000 (19:29 +1000)]
nouveau: forgotten makefile...

15 years agonv50: fix multi-texturing
Ben Skeggs [Sat, 6 Jun 2009 04:00:45 +0000 (14:00 +1000)]
nv50: fix multi-texturing

15 years agonv50: support non-normalized texture coords
Ben Skeggs [Sat, 6 Jun 2009 00:57:19 +0000 (10:57 +1000)]
nv50: support non-normalized texture coords

15 years agor300-gallium: Use VAP_CLIP_CNTL.
Corbin Simpson [Fri, 5 Jun 2009 20:46:59 +0000 (13:46 -0700)]
r300-gallium: Use VAP_CLIP_CNTL.

Makes tri-userclip work with HW TCL.

15 years agor300-gallium: Emit UCP.
Corbin Simpson [Fri, 5 Jun 2009 18:21:09 +0000 (11:21 -0700)]
r300-gallium: Emit UCP.

15 years agor300-gallium: Improve vs emit.
Corbin Simpson [Fri, 5 Jun 2009 17:18:20 +0000 (10:18 -0700)]
r300-gallium: Improve vs emit.

15 years agomesa: Fix wglext.h prototypes.
Michal Krol [Fri, 5 Jun 2009 13:00:15 +0000 (15:00 +0200)]
mesa: Fix wglext.h prototypes.

15 years agonv50: use larger tile sizes
Ben Skeggs [Fri, 5 Jun 2009 12:04:07 +0000 (22:04 +1000)]
nv50: use larger tile sizes

15 years agonv50: use nouveau_bo for query buffers
Ben Skeggs [Fri, 5 Jun 2009 10:45:58 +0000 (20:45 +1000)]
nv50: use nouveau_bo for query buffers

15 years agonv50: create textures with nouveau_bo, for flexibility with tiling later
Ben Skeggs [Fri, 5 Jun 2009 10:32:32 +0000 (20:32 +1000)]
nv50: create textures with nouveau_bo, for flexibility with tiling later

15 years agoutil: Fix winsock include.
Michal Krol [Fri, 5 Jun 2009 12:32:31 +0000 (14:32 +0200)]
util: Fix winsock include.

15 years agor300-gallium: Mute some debug info.
Corbin Simpson [Fri, 5 Jun 2009 07:12:26 +0000 (00:12 -0700)]
r300-gallium: Mute some debug info.

Most of it is no longer interesting.

15 years agor300-gallium: vs: Fix negation calculation.
Corbin Simpson [Fri, 5 Jun 2009 06:56:32 +0000 (23:56 -0700)]
r300-gallium: vs: Fix negation calculation.

Still doesn't draw right, but at least it's the right numbers now.
Thanks to taiu in #dri-devel.

15 years agor300-gallium: Fix pasta.
Corbin Simpson [Fri, 5 Jun 2009 06:56:08 +0000 (23:56 -0700)]
r300-gallium: Fix pasta.

Trivial but annoying.

15 years agor300-gallium: Improve vs debug more.
Corbin Simpson [Fri, 5 Jun 2009 06:25:46 +0000 (23:25 -0700)]
r300-gallium: Improve vs debug more.

Still not showing me why my stuff's failing, but getting there.

15 years agor300-gallium: vs: Add negation, SUB.
Corbin Simpson [Fri, 5 Jun 2009 05:41:33 +0000 (22:41 -0700)]
r300-gallium: vs: Add negation, SUB.

Doesn't work. WTF.

15 years agor300: Moar vs debug.
Corbin Simpson [Fri, 5 Jun 2009 04:38:33 +0000 (21:38 -0700)]
r300: Moar vs debug.

15 years agonouveau: plug in our map_buffer_range and friends
Ben Skeggs [Fri, 5 Jun 2009 04:48:45 +0000 (14:48 +1000)]
nouveau: plug in our map_buffer_range and friends

15 years agonouveau: fix build with libdrm_nouveau 0.6
Ben Skeggs [Fri, 5 Jun 2009 02:27:42 +0000 (12:27 +1000)]
nouveau: fix build with libdrm_nouveau 0.6

15 years agonouveau: remove unneeded code from ws, use pipe_buffer_ instead of ws->
Ben Skeggs [Fri, 5 Jun 2009 01:21:08 +0000 (11:21 +1000)]
nouveau: remove unneeded code from ws, use pipe_buffer_ instead of ws->

15 years agonouveau: move channel creation into pipe drivers
Ben Skeggs [Fri, 5 Jun 2009 00:28:13 +0000 (10:28 +1000)]
nouveau: move channel creation into pipe drivers

15 years agonouveau: call notifier/grobj etc funcs directly
Ben Skeggs [Thu, 4 Jun 2009 22:47:42 +0000 (08:47 +1000)]
nouveau: call notifier/grobj etc funcs directly

libdrm_nouveau is linked with the winsys, there's no good reason to do all
this through yet another layer.

15 years agonv04: remove u_simple_screen usage
Ben Skeggs [Thu, 4 Jun 2009 11:57:53 +0000 (21:57 +1000)]
nv04: remove u_simple_screen usage

15 years agonv10: remove u_simple_screen usage
Ben Skeggs [Thu, 4 Jun 2009 11:53:57 +0000 (21:53 +1000)]
nv10: remove u_simple_screen usage

15 years agonv20: remove u_simple_screen usage
Ben Skeggs [Thu, 4 Jun 2009 11:44:20 +0000 (21:44 +1000)]
nv20: remove u_simple_screen usage

15 years agonv30: remove u_simple_screen usage
Ben Skeggs [Thu, 4 Jun 2009 11:37:59 +0000 (21:37 +1000)]
nv30: remove u_simple_screen usage

15 years agonv40: remove u_simple_screen usage
Ben Skeggs [Thu, 4 Jun 2009 11:30:41 +0000 (21:30 +1000)]
nv40: remove u_simple_screen usage

15 years agonouveau: add pipe_buffer/fence code to pipe drivers, move nv50 over
Ben Skeggs [Thu, 4 Jun 2009 00:19:04 +0000 (10:19 +1000)]
nouveau: add pipe_buffer/fence code to pipe drivers, move nv50 over

15 years agonouveau: pass nouveau_bo instead of pipe_buffer to so_ calls
Ben Skeggs [Thu, 4 Jun 2009 06:13:56 +0000 (16:13 +1000)]
nouveau: pass nouveau_bo instead of pipe_buffer to so_ calls

15 years agonouveau: call nouveau_pushbuf directly rather than going through nvws
Ben Skeggs [Thu, 4 Jun 2009 05:26:07 +0000 (15:26 +1000)]
nouveau: call nouveau_pushbuf directly rather than going through nvws

15 years agoosmesa: Link with -ldl for dlopen code
Dan Nicholson [Fri, 5 Jun 2009 02:42:08 +0000 (19:42 -0700)]
osmesa: Link with -ldl for dlopen code

Now that the dlopen wrappers are built into libmesa.a, we need to link
standalone libOSMesa with libdl to resolve dlopen and friends on
platforms that need it.

15 years agoosmesa: Allow building standalone in all three channel widths
Dan Nicholson [Thu, 4 Jun 2009 13:21:10 +0000 (06:21 -0700)]
osmesa: Allow building standalone in all three channel widths

autoconf had been designating the 8 bit libOSMesa as the default
standalone osmesa, but the Makefile expected it to be linked to libGL.
Fix up the osmesa Makefile so that it allows any of the combinations of
standalone and channel width to be built.

Fixes bug #21980.

15 years agotrace/rbug: Use condvar on system that has it for blocking
Jakob Bornecrantz [Fri, 5 Jun 2009 02:01:34 +0000 (03:01 +0100)]
trace/rbug: Use condvar on system that has it for blocking

15 years agogallium: Make pipe thread say if it has condvars or not
Jakob Bornecrantz [Fri, 5 Jun 2009 01:57:19 +0000 (02:57 +0100)]
gallium: Make pipe thread say if it has condvars or not

15 years agotrace/rbug: Add new contexts functions to trace rbug
Jakob Bornecrantz [Thu, 4 Jun 2009 22:40:10 +0000 (23:40 +0100)]
trace/rbug: Add new contexts functions to trace rbug

15 years agorbug: Update rbug protocol with new context calls
Jakob Bornecrantz [Thu, 4 Jun 2009 13:36:10 +0000 (14:36 +0100)]
rbug: Update rbug protocol with new context calls

15 years agomesa: call _mesa_ funcs, not gl funcs for debugging
Brian Paul [Thu, 4 Jun 2009 20:26:51 +0000 (14:26 -0600)]
mesa: call _mesa_ funcs, not gl funcs for debugging

15 years agoMerge branch 'mesa_7_5_branch'
Brian Paul [Thu, 4 Jun 2009 19:16:13 +0000 (13:16 -0600)]
Merge branch 'mesa_7_5_branch'

Conflicts:

src/mesa/main/context.c

15 years agosoftpipe: separate case for PIPE_PRIM_POLYGON in sp_vbuf_draw()
Brian Paul [Thu, 4 Jun 2009 19:13:14 +0000 (13:13 -0600)]
softpipe: separate case for PIPE_PRIM_POLYGON in sp_vbuf_draw()

Because of flat shading, we can't use same code as PIPE_PRIM_TRIANGLE_FAN.
This is a follow-on to commit a59575d8fbe8b0ca053cc8366ce7a42bc660158a.

(cherry picked from commit 086ecea179ed572c89aa77c5f465671a5cef87a7)

15 years agosoftpipe: fix incorrect tri vertex order for PIPE_PRIM_POLYGON rendering
Brian Paul [Thu, 4 Jun 2009 19:12:13 +0000 (13:12 -0600)]
softpipe: fix incorrect tri vertex order for PIPE_PRIM_POLYGON rendering

This fixes incorrect front/back-face orientation.

(cherry picked from commit a64bbdaa3e0b036a880d6db65ceb4a66205062f1)

15 years agost/mesa: increase ST_MAX_SHADER_TOKENS to 8k
Brian Paul [Thu, 4 Jun 2009 19:10:19 +0000 (13:10 -0600)]
st/mesa: increase ST_MAX_SHADER_TOKENS to 8k

15 years agotgsi: increase MAX_LABELS to 4096
Brian Paul [Thu, 4 Jun 2009 19:08:52 +0000 (13:08 -0600)]
tgsi: increase MAX_LABELS to 4096

15 years agomesa: update wglext.h to latest version
Brian Paul [Thu, 4 Jun 2009 16:30:25 +0000 (10:30 -0600)]
mesa: update wglext.h to latest version

15 years agomesa: remove PFNGL typedefs that are in glext.h
Brian Paul [Thu, 4 Jun 2009 16:29:44 +0000 (10:29 -0600)]
mesa: remove PFNGL typedefs that are in glext.h

15 years agomesa: upgrade glext.h to version 52
Brian Paul [Thu, 4 Jun 2009 16:27:47 +0000 (10:27 -0600)]
mesa: upgrade glext.h to version 52

A number of the PFNGL* function typedefs are now in glext.h and must be
omitted from the gl.h file.  gl.h will be pruned in the next commit.

15 years agointel: Add support for tiled textures.
Eric Anholt [Wed, 3 Jun 2009 16:40:20 +0000 (16:40 +0000)]
intel: Add support for tiled textures.

This is about a 30% performance win in OA with high settings on my GM45,
and experiments with 915GM indicate that it'll be around a 20% win there.
Currently, 915-class hardware is seriously hurt by the fact that we use
fence regs to control the tiling even for 3D instructions that could live
without them, so we spend a bunch of time waiting on previous rendering in
order to pull fences off.  Thus, the texture_tiling driconf option defaults
off there for now.

15 years agoi915: Don't rely on fence regs when we don't have to.
Eric Anholt [Thu, 4 Jun 2009 10:21:29 +0000 (10:21 +0000)]
i915: Don't rely on fence regs when we don't have to.

We're on the way to telling the kernel about when we need fence regs on our
objects or not, and this will cut the number of places needing them.

15 years agoi915: Remove some long-dead i830 code.
Eric Anholt [Thu, 4 Jun 2009 09:40:44 +0000 (09:40 +0000)]
i915: Remove some long-dead i830 code.

15 years agosoftpipe: separate case for PIPE_PRIM_POLYGON in sp_vbuf_draw()
Brian Paul [Thu, 4 Jun 2009 00:33:07 +0000 (18:33 -0600)]
softpipe: separate case for PIPE_PRIM_POLYGON in sp_vbuf_draw()

Because of flat shading, we can't use same code as PIPE_PRIM_TRIANGLE_FAN.
This is a follow-on to commit a59575d8fbe8b0ca053cc8366ce7a42bc660158a.

15 years agosoftpipe: fix incorrect tri vertex order for PIPE_PRIM_POLYGON rendering
Brian Paul [Thu, 4 Jun 2009 00:31:55 +0000 (18:31 -0600)]
softpipe: fix incorrect tri vertex order for PIPE_PRIM_POLYGON rendering

This fixes incorrect front/back-face orientation.

15 years agoswrast: always do span clipping in _swrast_write_rgba_span()
Brian Paul [Wed, 3 Jun 2009 23:09:03 +0000 (17:09 -0600)]
swrast: always do span clipping in _swrast_write_rgba_span()

It's possible for mis-behaving vertex programs to produce vertex data
with very large/NaN values.  This doesn't get handled reliably by the
clipper code so we may try to rasterize triangles that extend beyond
the viewport/window.  Always clip spans to avoid invalid memory accesses
later.

15 years agovbo: minor reformatting
Brian Paul [Wed, 3 Jun 2009 23:05:37 +0000 (17:05 -0600)]
vbo: minor reformatting

15 years agovbo: move/refactor debug code
Brian Paul [Wed, 3 Jun 2009 23:03:11 +0000 (17:03 -0600)]
vbo: move/refactor debug code

15 years agovbo: added debug code to check array data validity (disabled)
Brian Paul [Wed, 3 Jun 2009 22:59:44 +0000 (16:59 -0600)]
vbo: added debug code to check array data validity (disabled)

15 years agovbo: new debug/dump code (disabled)
Brian Paul [Wed, 3 Jun 2009 21:46:56 +0000 (15:46 -0600)]
vbo: new debug/dump code (disabled)

15 years agomesa: added NaN checking code (disabled)
Brian Paul [Wed, 3 Jun 2009 21:43:53 +0000 (15:43 -0600)]
mesa: added NaN checking code (disabled)

15 years agomesa: check/prevent NaN for EX2/LG2
Brian Paul [Wed, 3 Jun 2009 21:42:52 +0000 (15:42 -0600)]
mesa: check/prevent NaN for EX2/LG2

15 years agotnl: updated clip debug code (disabled)
Brian Paul [Wed, 3 Jun 2009 21:40:05 +0000 (15:40 -0600)]
tnl: updated clip debug code (disabled)

15 years agomesa: added buffer object debug code (disabled)
Brian Paul [Wed, 3 Jun 2009 21:38:57 +0000 (15:38 -0600)]
mesa: added buffer object debug code (disabled)

15 years agotnl: add some floating point sanity checks (disabled)
Brian Paul [Wed, 3 Jun 2009 21:36:24 +0000 (15:36 -0600)]
tnl: add some floating point sanity checks (disabled)

15 years agovbo: tweak out-of-bounds VBO access error message
Brian Paul [Tue, 2 Jun 2009 15:16:33 +0000 (09:16 -0600)]
vbo: tweak out-of-bounds VBO access error message

Subtract 1 from _MaxElement to be clearer.

15 years agoThank you git for doing the right thing.
Ian Romanick [Wed, 3 Jun 2009 16:55:42 +0000 (17:55 +0100)]
Thank you git for doing the right thing.

15 years agoFix compiling indirect.c when GLX_DIRECT_RENDERING is not defined
Ian Romanick [Tue, 2 Jun 2009 17:33:55 +0000 (18:33 +0100)]
Fix compiling indirect.c when GLX_DIRECT_RENDERING is not defined

DO NOT HAND-EDIT GLX PROTOCOL FILES.  Seriously.  How can you miss the giant
comment at the top of the file?

15 years agoFast path when rebinding the same texture in single context environment
Ian Romanick [Wed, 3 Jun 2009 16:49:05 +0000 (17:49 +0100)]
Fast path when rebinding the same texture in single context environment

If there is no shared context, there is no purpose in rebinding the same
texture.  In some artificial tests this improves performance 10% - 30%.

15 years agost/mesa: minor clean-ups, reformatting, etc
Brian Paul [Wed, 3 Jun 2009 03:46:17 +0000 (21:46 -0600)]
st/mesa: minor clean-ups, reformatting, etc

15 years agodocs: remove version info carried over from 7.5
Brian Paul [Wed, 3 Jun 2009 03:41:03 +0000 (21:41 -0600)]
docs: remove version info carried over from 7.5

15 years agodocs: clarify GL_ARB_copy_buffer driver support
Brian Paul [Wed, 3 Jun 2009 03:30:22 +0000 (21:30 -0600)]
docs: clarify GL_ARB_copy_buffer driver support

15 years agost/mesa: implement/enable GL_ARB_copy_buffer extension
Brian Paul [Wed, 3 Jun 2009 03:24:28 +0000 (21:24 -0600)]
st/mesa: implement/enable GL_ARB_copy_buffer extension

15 years agomesa: fix error test mistake in _mesa_CopyBufferSubData()
Brian Paul [Wed, 3 Jun 2009 03:23:28 +0000 (21:23 -0600)]
mesa: fix error test mistake in _mesa_CopyBufferSubData()

15 years agodocs: added GL_ARB_copy_buffer extension
Brian Paul [Wed, 3 Jun 2009 02:33:09 +0000 (20:33 -0600)]
docs: added GL_ARB_copy_buffer extension

15 years agomesa: enable GL_ARB_copy_buffer for software drivers
Brian Paul [Wed, 3 Jun 2009 02:32:34 +0000 (20:32 -0600)]
mesa: enable GL_ARB_copy_buffer for software drivers

15 years agomesa: plug in new _mesa_CopyBufferSubData() functions
Brian Paul [Wed, 3 Jun 2009 02:32:15 +0000 (20:32 -0600)]
mesa: plug in new _mesa_CopyBufferSubData() functions

15 years agomesa: _mesa_CopyBufferSubData() function, and driver fall-back
Brian Paul [Wed, 3 Jun 2009 02:29:57 +0000 (20:29 -0600)]
mesa: _mesa_CopyBufferSubData() function, and driver fall-back

15 years agomesa: new state for GL_ARB_copy_buffer
Brian Paul [Wed, 3 Jun 2009 02:31:41 +0000 (20:31 -0600)]
mesa: new state for GL_ARB_copy_buffer

15 years agomesa: new CopyBufferSubData() driver hook
Brian Paul [Wed, 3 Jun 2009 02:31:02 +0000 (20:31 -0600)]
mesa: new CopyBufferSubData() driver hook

15 years agoglapi: regenerated files for GL_ARB_copy_buffer
Brian Paul [Wed, 3 Jun 2009 02:29:11 +0000 (20:29 -0600)]
glapi: regenerated files for GL_ARB_copy_buffer

15 years agoglapi: include ARB_copy_buffer.xml
Brian Paul [Wed, 3 Jun 2009 02:28:04 +0000 (20:28 -0600)]
glapi: include ARB_copy_buffer.xml

15 years agoglapi: GL_ARB_copy_buffer xml info
Brian Paul [Wed, 3 Jun 2009 02:27:08 +0000 (20:27 -0600)]
glapi: GL_ARB_copy_buffer xml info

15 years agoscons: Less aggressive optimizations for MSVC 64bit compiler.
José Fonseca [Wed, 3 Jun 2009 01:41:12 +0000 (18:41 -0700)]
scons: Less aggressive optimizations for MSVC 64bit compiler.

MSVC 64bit compiler takes forever on some of the files.

Might want to revisit this again later.

15 years agoscons: Output nice summary messages instead of long command lines.
José Fonseca [Wed, 3 Jun 2009 01:23:12 +0000 (18:23 -0700)]
scons: Output nice summary messages instead of long command lines.

You can still get the old behavior by passing the option quiet=no to scons.

15 years agoutil: Unsaved change missing from last commit.
José Fonseca [Tue, 2 Jun 2009 23:41:45 +0000 (16:41 -0700)]
util: Unsaved change missing from last commit.

15 years agor300-gallium: strip swtcl to the bare minimum
Joakim Sindholt [Tue, 2 Jun 2009 20:23:17 +0000 (22:23 +0200)]
r300-gallium: strip swtcl to the bare minimum

This was originally taken from i915 and it shows.
Basically most the stuff in r300_render.c was never needed and
shouldn't have worked in the first place

15 years agoutil: Support Z24S8/Z24X8 -> unsigned conversion.
José Fonseca [Tue, 2 Jun 2009 18:46:53 +0000 (11:46 -0700)]
util: Support Z24S8/Z24X8 -> unsigned conversion.

15 years agoutil: Fix 24 to 32 bit expansion binary arithmetic expression.
José Fonseca [Tue, 2 Jun 2009 18:46:06 +0000 (11:46 -0700)]
util: Fix 24 to 32 bit expansion binary arithmetic expression.

When approaching y = x * 0xffffffff / 0xffffff with bit arithmetic, the
8 least significant bits of y should come from the
8 most significant bits of x.

15 years agomesa: release VBO and PBO references upon context destruction
Brian Paul [Tue, 2 Jun 2009 16:27:05 +0000 (10:27 -0600)]
mesa: release VBO and PBO references upon context destruction

15 years agomesa: add #define FEATURE_ARB_pixel_buffer_object
Brian Paul [Tue, 2 Jun 2009 16:26:50 +0000 (10:26 -0600)]
mesa: add #define FEATURE_ARB_pixel_buffer_object

15 years agointel: Clip to window after calling Driver.TexImage2D
Ian Romanick [Mon, 18 May 2009 20:26:16 +0000 (13:26 -0700)]
intel: Clip to window after calling Driver.TexImage2D

This prevents the width / height from being clipped to the window size before
the texture is allocated.  This matches intelCopyTexImage1D.

This should fix bug #21227

Signed-off-by: Ian Romanick <ian.romanick@intel.com>
(cherry picked from commit 129f311673c99eb912d659023e50bc5f0ef53249)

15 years agointel: Clip to window after calling Driver.TexImage2D
Ian Romanick [Mon, 18 May 2009 20:26:16 +0000 (13:26 -0700)]
intel: Clip to window after calling Driver.TexImage2D

This prevents the width / height from being clipped to the window size before
the texture is allocated.  This matches intelCopyTexImage1D.

This should fix bug #21227

Signed-off-by: Ian Romanick <ian.romanick@intel.com>
15 years agoi915: Don't put VBOs in graphics memory unless required for an operation.
Eric Anholt [Tue, 2 Jun 2009 13:53:40 +0000 (06:53 -0700)]
i915: Don't put VBOs in graphics memory unless required for an operation.

This saves doing swtnl from uncached memory, which is painful.  Improves
clutter test-text performance by 10% since it started using VBOs.