OSDN Git Service
Chia-I Wu [Mon, 14 Sep 2009 04:10:50 +0000 (12:10 +0800)]
dri/common: Protect driDispatchRemapTable with IN_DRIVER_DRIVER.
Chia-I Wu [Mon, 14 Sep 2009 04:37:55 +0000 (12:37 +0800)]
mesa/swrast: Define _swrast_UpdateTexturePalette to NULL.
This allows swrast to be passed to _MESA_INIT_COLORTABLE_FUNCTIONS.
Chia-I Wu [Mon, 14 Sep 2009 04:51:53 +0000 (12:51 +0800)]
glapi: Respect IN_DRI_DRIVER in extension_helper.h.
This allows extension_helper.h to be used with IN_DRI_DRIVER undefined.
In such case, generate macros for source level compatibility.
Chia-I Wu [Mon, 14 Sep 2009 02:59:43 +0000 (10:59 +0800)]
es/main: Report GL_OES_draw_texture only when enabled.
Chia-I Wu [Mon, 14 Sep 2009 03:03:02 +0000 (11:03 +0800)]
es/st: Move state tracker code to mesa/st.
State tracker is one of the mesa drivers. It should not belong to the
es overlay.
Chia-I Wu [Sun, 13 Sep 2009 11:04:37 +0000 (19:04 +0800)]
es: Proper support for FEATURE_OES_draw_texture.
Update default extensions and add DrawTex driver function.
Chia-I Wu [Tue, 8 Sep 2009 09:44:22 +0000 (17:44 +0800)]
mesa/swrast: Respect mfeatures.h.
FEATURE_accum, FEATURE_convolve, FEATURE_colortable, and FEATURE_drawpix
cover part of the functionalities of swrast module. Disable them when
the features are disabled.
Chia-I Wu [Tue, 8 Sep 2009 09:57:43 +0000 (17:57 +0800)]
mesa/tnl: Respect mfeatures.h.
_tnl_RasterPos should be disabled with FEATURE_rastpos.
Chia-I Wu [Sat, 12 Sep 2009 18:22:38 +0000 (02:22 +0800)]
es/main: Better glGetString support.
Chia-I Wu [Sat, 12 Sep 2009 12:25:55 +0000 (20:25 +0800)]
es/glapi: Remove unnecessary extensions from es_COMPAT.
After disabling FEATURE_beginend, many of the extensions defined for
compatibility are not needed anymore.
Chia-I Wu [Sat, 12 Sep 2009 10:59:13 +0000 (18:59 +0800)]
mesa: New feature FEATURE_beginend.
This feature corresponds to the Begin/End paradigm. Disabling this
feature also eliminates the use of GLvertexformat completely.
Chia-I Wu [Thu, 3 Sep 2009 03:27:30 +0000 (11:27 +0800)]
progs/es: Link to libX11.
Brian Paul [Tue, 12 May 2009 20:30:40 +0000 (14:30 -0600)]
es: fix comment
Brian Paul [Tue, 12 May 2009 20:29:47 +0000 (14:29 -0600)]
es: OpenGL ES 2.x demo programs
Brian Paul [Tue, 12 May 2009 20:29:33 +0000 (14:29 -0600)]
es: updated Makefile comment
Brian Paul [Tue, 12 May 2009 20:29:24 +0000 (14:29 -0600)]
es: update window title
Brian Paul [Tue, 12 May 2009 20:26:14 +0000 (14:26 -0600)]
es: OpenGL ES 1.x demo programs
Chia-I Wu [Thu, 3 Sep 2009 03:31:17 +0000 (11:31 +0800)]
st/es: Add OpenGL ES state trackers.
Chia-I Wu [Thu, 10 Sep 2009 08:51:20 +0000 (16:51 +0800)]
Makefile: Pack ES files.
Chia-I Wu [Wed, 2 Sep 2009 02:58:31 +0000 (10:58 +0800)]
mesa/es: Add OpenGL ES overlay.
This is primitive support for OpenGL ES. It uses a subset of mesa
sources to build libesXgallium.a and libesXapi.a, where X is 1 for
OpenGL ES 1.x, 2 for OpenGL ES 2.x. The static libraries serve the same
purpose as libmesagallium.a and libglapi.a do for OpenGL.
This is based on the work of opengl-es branch.
Chia-I Wu [Wed, 2 Sep 2009 04:04:56 +0000 (12:04 +0800)]
mesa/es: Add OpenGL ES XMLs.
Chia-I Wu [Thu, 3 Sep 2009 03:05:06 +0000 (11:05 +0800)]
glapi: Add OpenGL ES compatibility mode to scripts.
When the mode is on, the scripts would generate headers that are
suitable for OpenGL ES overlay, that will be later introduced.
Chia-I Wu [Thu, 3 Sep 2009 03:03:20 +0000 (11:03 +0800)]
glapi: Prefix includes with glapi.
This allows different sets of generated headers to be used.
Chia-I Wu [Mon, 7 Sep 2009 06:46:22 +0000 (14:46 +0800)]
mesa/main: Add point size array.
Brian Paul [Tue, 12 May 2009 19:24:37 +0000 (13:24 -0600)]
mesa: silence warning
Brian Paul [Tue, 12 May 2009 19:24:20 +0000 (13:24 -0600)]
st: added preprocessor test for FEATURE_texture_s3tc
Brian Paul [Tue, 12 May 2009 19:23:43 +0000 (13:23 -0600)]
mesa: fix set_tex_parameteri() call
Chia-I Wu [Wed, 9 Sep 2009 04:01:19 +0000 (12:01 +0800)]
mesa/main: Provide dummy texformats when FEATURE_texture_s3tc is disabled.
Instead of removing the related enums and texture formats, provide dummy
ones when the feature is disabled.
Chia-I Wu [Wed, 9 Sep 2009 03:12:49 +0000 (11:12 +0800)]
mesa/main: Provide dummy texformats when FEATURE_texture_fxt1 is disabled.
Instead of removing the related enums and texture formats, provide dummy
ones when the feature is disabled.
Chia-I Wu [Wed, 9 Sep 2009 03:54:10 +0000 (11:54 +0800)]
mesa/main: Export null texformat operations.
Chia-I Wu [Wed, 9 Sep 2009 07:00:08 +0000 (15:00 +0800)]
mesa/main: Make FEATURE_dlist follow feature conventions.
As shown in mfeatures.h, this allows users of dlist.h to work without
knowing if the feature is available.
Chia-I Wu [Tue, 8 Sep 2009 02:25:22 +0000 (10:25 +0800)]
mesa/main: Make FEATURE_evaluators follow feature conventions.
As shown in mfeatures.h, this allows users of eval.h to work without
knowing if the feature is available. It is renamed to FEATURE_eval
along the way.
Chia-I Wu [Tue, 8 Sep 2009 09:45:59 +0000 (17:45 +0800)]
mesa/main: New feature FEATURE_queryobj.
It merges FEATURE_ARB_occlusion_query and FEATURE_EXT_timer_query, and
follows the feature conventions.
Chia-I Wu [Tue, 8 Sep 2009 06:32:08 +0000 (14:32 +0800)]
mesa/main: New feature FEATURE_arrayelt.
This allows the removal of AEcontext.
Chia-I Wu [Tue, 8 Sep 2009 03:01:19 +0000 (11:01 +0800)]
mesa/main: Make FEATURE_texgen follow feature conventions.
As shown in mfeatures.h, this allows users of texgen.h to work without
knowing if the feature is available.
Chia-I Wu [Tue, 8 Sep 2009 02:52:01 +0000 (10:52 +0800)]
mesa/main: Make FEATURE_feedback follow feature conventions.
As shown in mfeatures.h, this allows users of feedback.h to work without
knowing if the feature is available.
Chia-I Wu [Tue, 8 Sep 2009 02:15:06 +0000 (10:15 +0800)]
mesa/main: Make FEATURE_drawpix follow feature conventions.
As shown in mfeatures.h, this allows users of drawpix.h to work
without knowing if the feature is available.
Chia-I Wu [Tue, 8 Sep 2009 02:05:36 +0000 (10:05 +0800)]
mesa/main: New feature FEATURE_rastpos.
It is separated from FEATURE_drawpix and made to follow the feature
convensions.
Chia-I Wu [Mon, 7 Sep 2009 10:06:00 +0000 (18:06 +0800)]
mesa/main: Make FEATURE_histogram follow feature conventions.
As shown in mfeatures.h, this allows users of histogram.h to work without
knowing if the feature is available.
Chia-I Wu [Mon, 7 Sep 2009 10:20:10 +0000 (18:20 +0800)]
mesa/main: Make FEATURE_attrib_stack follow feature conventions.
As shown in mfeatures.h, this allows users of attrib.h to work without
knowing if the feature is available.
Chia-I Wu [Mon, 7 Sep 2009 09:51:42 +0000 (17:51 +0800)]
mesa/main: Make FEATURE_accum follow feature conventions.
As shown in mfeatures.h, this allows users of accum.h to work without
knowing if the feature is available.
Chia-I Wu [Mon, 7 Sep 2009 09:28:24 +0000 (17:28 +0800)]
mesa/main: Make FEATURE_convolve follow feature conventions.
As shown in mfeatures.h, this allows users of convolve.h to work
without knowing if the feature is available.
Chia-I Wu [Mon, 7 Sep 2009 09:17:11 +0000 (17:17 +0800)]
mesa/main: Make FEATURE_colortable follow feature conventions.
As shown in mfeatures.h, this allows users of colortab.h to work
without knowing if the feature is available.
Chia-I Wu [Mon, 7 Sep 2009 08:59:27 +0000 (16:59 +0800)]
mesa/main: Make FEATURE_pixel_transfer follow feature conventions.
As shown in mfeatures.h, this allows users of pixel.h to work without
knowing if the feature is available.
Chia-I Wu [Mon, 7 Sep 2009 09:51:33 +0000 (17:51 +0800)]
mesa/main: Add comments to mfeatures.h.
The comments document the conventions that a feature may follow.
Chia-I Wu [Mon, 22 Jun 2009 02:40:03 +0000 (10:40 +0800)]
Add mine configs.
Eric Anholt [Fri, 11 Sep 2009 21:09:03 +0000 (14:09 -0700)]
i965: Move OPCODE_DDX/DDY to brw_wm_emit.c and make it actually work.
Previously, it was trying to mess around with the varying's
WM setup data to produce a result. Along with not actually working when
passed a varying, this wouldn't work if you did dFd[xy]() on a temporary.
Instead, just calculate the derivative using the neighbors in the subspan.
Andre Maasikas [Fri, 11 Sep 2009 19:59:55 +0000 (15:59 -0400)]
r600: fix texcoords from constants
with some minor updates from Richard.
Alex Deucher [Fri, 11 Sep 2009 16:10:15 +0000 (12:10 -0400)]
Revert "r600: support tex coords from constants"
This reverts commit
4099bb76148007f9ccb6c86838b2bf37ea42de56.
Tex coord src has to be a GPR.
Cooper Yuan [Fri, 11 Sep 2009 15:21:28 +0000 (23:21 +0800)]
r300g: only allocate one BO for vertex buffers, default size is 64*1024
it can fix redbook/sceneflat, scene, scenebamb, surface, nurbs and so on
Alex Deucher [Fri, 11 Sep 2009 15:07:58 +0000 (11:07 -0400)]
r600: support tex coords from constants
Fixes neverball among other things.
Andre Maasikas [Fri, 11 Sep 2009 14:59:05 +0000 (10:59 -0400)]
r600: enable caching of vertex programs
José Fonseca [Fri, 11 Sep 2009 10:29:24 +0000 (11:29 +0100)]
llvmpipe: set dirty_render_cache in llvmpipe_clear()
Based on Brian's softpipe change on
commit
988db641195819c948249a1bb2d59f13577a482f. We don't use the tile
cache for zsbuf though, only for color buffers.
José Fonseca [Fri, 11 Sep 2009 10:24:00 +0000 (11:24 +0100)]
llvmpipe: Update status in README and TODO/FIXME comments throughout the code.
Eric Anholt [Thu, 10 Sep 2009 16:44:30 +0000 (09:44 -0700)]
i965: Enable loops in the VS.
Passes piglit glsl-vs-loop testcase.
Bug #20171
Brian Paul [Fri, 11 Sep 2009 01:56:35 +0000 (19:56 -0600)]
mesa: nicer vertex setup
Brian Paul [Fri, 11 Sep 2009 01:40:53 +0000 (19:40 -0600)]
st/mesa: use st_context() helper
Brian Paul [Thu, 10 Sep 2009 22:51:52 +0000 (16:51 -0600)]
softpipe: remove no-op softpipe_init_texture_funcs() function
Brian Paul [Thu, 10 Sep 2009 22:50:18 +0000 (16:50 -0600)]
softpipe: remove unused #includes, move comment
Brian Paul [Thu, 10 Sep 2009 22:45:25 +0000 (16:45 -0600)]
util: remove unneeded #includes
Brian Paul [Thu, 10 Sep 2009 22:42:47 +0000 (16:42 -0600)]
softpipe: reformatting, clean-ups, comments
Brian Paul [Thu, 10 Sep 2009 22:39:13 +0000 (16:39 -0600)]
util: minor clean-ups, reformatting
Brian Paul [Thu, 10 Sep 2009 22:38:51 +0000 (16:38 -0600)]
softpipe: remove unneeded #includes
Brian Paul [Thu, 10 Sep 2009 21:41:52 +0000 (15:41 -0600)]
Merge branch 'mesa_7_6_branch'
Zack Rusin [Wed, 9 Sep 2009 21:38:13 +0000 (17:38 -0400)]
st/xorg: rename ctx to pipe to match every other gallium state tracker
plus it avoids the "ctx->ctx->" syntax
Brian Paul [Thu, 10 Sep 2009 21:40:26 +0000 (15:40 -0600)]
Merge branch 'mesa_7_5_branch' into mesa_7_6_branch
Brian Paul [Thu, 10 Sep 2009 21:34:34 +0000 (15:34 -0600)]
intel: disable intel_stencil_drawpixels() for now
It doesn't work reliably even when all the prerequisite checks are made.
Zack Rusin [Wed, 9 Sep 2009 21:16:02 +0000 (17:16 -0400)]
st/xorg: temporarily disablie copies
Zack Rusin [Wed, 9 Sep 2009 21:14:21 +0000 (17:14 -0400)]
st/xorg: implement pipelines surface/texture copies
Zack Rusin [Wed, 9 Sep 2009 20:08:00 +0000 (16:08 -0400)]
st/xorg: unite finalization and stub out pipelined copies
Zack Rusin [Wed, 9 Sep 2009 19:43:09 +0000 (15:43 -0400)]
st/xorg: abstract flushing and syncing for the exa code
Zack Rusin [Wed, 9 Sep 2009 15:35:34 +0000 (11:35 -0400)]
st/xorg: disable solid fills until copies are accelerated as well
Zack Rusin [Wed, 9 Sep 2009 15:33:33 +0000 (11:33 -0400)]
st/xorg: implement exasolids with full pipelining
plus fix some small issues with the shaders
Zack Rusin [Wed, 9 Sep 2009 09:34:56 +0000 (05:34 -0400)]
st/xorg: start adding support for surface fills
Brian Paul [Thu, 10 Sep 2009 20:15:07 +0000 (14:15 -0600)]
docs: document Gallium glDrawPixels(GL_STENCIL_INDEX) fix
Brian Paul [Thu, 10 Sep 2009 20:14:18 +0000 (14:14 -0600)]
softpipe: minor indentation fix
Brian Paul [Thu, 10 Sep 2009 20:11:36 +0000 (14:11 -0600)]
softpipe: set dirty_render_cache in softpipe_clear()
This fixes a bug seen when doing a glDrawPixels(GL_STENCIL_INDEX) right
after a glClear(). The check-for-flush test was failing because we
didn't set the dirty_render_cache flag in softpipe_clear(). So we saw
stale data when we mapped the stencil buffer.
Marcin Kościelnicki [Thu, 10 Sep 2009 18:26:42 +0000 (18:26 +0000)]
nv50: Fix tiling mode for lower mipmap levels.
Brian Paul [Thu, 10 Sep 2009 18:50:08 +0000 (12:50 -0600)]
docs: initial 7.5.2 release notes page
Ian Romanick [Thu, 10 Sep 2009 18:44:53 +0000 (11:44 -0700)]
Fix merge fail
One of the conflicst from this merge was missed:
commit
0c309bb494b6ee1c403442d1207743f749f95b6e
Merge:
c6c44bf d27d659
Author: Brian Paul <brianp@vmware.com>
Date: Wed Sep 9 08:33:39 2009 -0600
Brian Paul [Thu, 10 Sep 2009 18:44:28 +0000 (12:44 -0600)]
tgsi: use new tgsi_call_record to handle execution mask stacks
This fixes some issues when "return"ing from nested loops/conditionals.
Brian Paul [Thu, 10 Sep 2009 16:17:07 +0000 (10:17 -0600)]
mesa: need to set all stencil bits to 0 before setting the 1 bits
Plus, check for pixel transfer stencil index/offset.
Ian Romanick [Thu, 10 Sep 2009 18:24:56 +0000 (11:24 -0700)]
Merge branch 'mesa_7_5_branch' into mesa_7_6_branch
Conflicts:
src/mesa/drivers/dri/intel/intel_context.c
Eric Anholt [Wed, 9 Sep 2009 19:35:30 +0000 (12:35 -0700)]
i965: Fix relocation delta for WM surfaces.
This was a regression in
0f328c90dbc893e15005f2ab441d309c1c176245.
Bug #23688
Bug #23254
(cherry picked from commit
5604b27b9326ac542069a49ed9650c4b0d3e939a)
Zhenyu Wang [Mon, 7 Sep 2009 08:18:57 +0000 (16:18 +0800)]
intel: add B43 chipset support
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Hopefully this will be one of the last cherry-picks.
(cherry picked from commit
ca246dd186f9590f6d67038832faceb522138c20)
Eric Anholt [Thu, 10 Sep 2009 16:26:38 +0000 (09:26 -0700)]
intel: Don't forget to map the depth read buffer in spans.
This broke BlitFramebufferEXT(GL_DEPTH_BUFFER_BIT).
Alex Deucher [Thu, 10 Sep 2009 16:04:38 +0000 (12:04 -0400)]
r300: enable rb3d_discard_src_pixel_lte_threshold for more chips on dri2
Alex Deucher [Thu, 10 Sep 2009 16:01:19 +0000 (12:01 -0400)]
r300: add full support for two sided stencil on r5xx for dri2
Mathias Frohlich [Thu, 10 Sep 2009 14:50:01 +0000 (08:50 -0600)]
mesa: fix cut&paste typos
Brian Paul [Thu, 10 Sep 2009 14:41:12 +0000 (08:41 -0600)]
mesa: in texenvprogram code, only do saturation when really needed.
For some env modes (like modulate or replace) we don't have to clamp
because we know the results will be in [0,1].
Vinson Lee [Thu, 10 Sep 2009 14:39:26 +0000 (08:39 -0600)]
gallium: Add PIPE_OS_APPLE back to auxiliary/util/u_time.h.
Fixes typo from commit
c6c44bf48124dd5b4661014a8d58482c5a54557f.
Vinson Lee [Thu, 10 Sep 2009 14:33:57 +0000 (15:33 +0100)]
util: Add PIPE_OS_APPLE back to auxiliary/util/u_time.h.
Fixes typo from commit
c6c44bf48124dd5b4661014a8d58482c5a54557f.
Pauli Nieminen [Thu, 10 Sep 2009 13:41:59 +0000 (16:41 +0300)]
radeon: Change debugging code to use macros instead of inline functions.
Variadic functions can't be inlined which makes debugging to have quite large
function overead. Only aleternative method is to use variadic macros which are
inlined so compiler can optimize debugging to minimize overhead.
José Fonseca [Thu, 10 Sep 2009 12:35:39 +0000 (13:35 +0100)]
llvmpipe: Fix alpha test.
José Fonseca [Thu, 10 Sep 2009 11:37:44 +0000 (12:37 +0100)]
llvmpipe: Mask out color channels not present in the color buffer.
José Fonseca [Thu, 10 Sep 2009 11:14:53 +0000 (12:14 +0100)]
llvmpipe: Fix sampling from depth textures. Respect texture compare func.
Fixes Mesa shadowtex sample.
José Fonseca [Thu, 10 Sep 2009 11:01:42 +0000 (12:01 +0100)]
llvmpipe: Skip blending when mask is zero.
This increases quake3 timedemo fps another 10%.
José Fonseca [Thu, 10 Sep 2009 10:44:03 +0000 (11:44 +0100)]
llvmpipe: Proper control flow builders.
New control flow helper functions which keep track of all variables
and generate the correct Phi functions.
This re-enables skipping the fs execution of quads masked out by
the rasterizer, early z testing, and kill opcode.
This yields a performance improvement of around 20%.
José Fonseca [Thu, 10 Sep 2009 08:19:51 +0000 (09:19 +0100)]
llvmpipe: Copy the texture target into the sampler static state.
Hunk forgotten in previous commit.
José Fonseca [Wed, 9 Sep 2009 20:46:18 +0000 (21:46 +0100)]
llvmpipe: Quick hack for 1D textures.