summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
Commit message (Collapse)AuthorAgeFilesLines
* st/mesa: advertise GL_ARB_fragment_program_shadowMarek Olšák2010-06-061-0/+1
| | | | | There is nothing driver-specific about this one. I've also tested it just to be sure.
* st/mesa: trivially enable GL_ATI_texture_env_combine3Marek Olšák2010-06-051-0/+2
| | | | | | | | This extension is implemented in the texenv program. Gallium drivers pass patched glean/texCombine. (I am going to send the patch soon) Catalyst9.3 advertises this extension too so I don't see a reason we shouldn't.
* st/mesa: fix bug in depthstencil optimizing clear logicRoland Scheidegger2010-06-051-1/+2
|
* mesa/st: add support for EXT_texture_swizzle.Dave Airlie2010-06-052-2/+59
| | | | | | | | | | | This passes on r300g, the only bit I'm not really sure about is the handling of the sampler_view in st_atom_texture.c, I unreference it there if the swizzle value changes and I also have to create a new set of functions to create a new one since the u_sampler.c ones don't handle swizzle so much. adds r300g + softpipe enables, I think other drivers could pass easily enough. Signed-off-by: Dave Airlie <[email protected]>
* Merge branch 'gallium-newclear'Roland Scheidegger2010-06-032-14/+32
|\ | | | | | | | | Conflicts: src/gallium/state_trackers/python/p_context.i
| * st/mesa: use new ability to clear only depth or stencilRoland Scheidegger2010-05-292-14/+32
| |
* | gallium: silence all debug_named_value related warningsJoakim Sindholt2010-06-031-9/+9
| |
* | st/mesa: fix indirect addressing of input/output regsBrian Paul2010-06-021-4/+9
| | | | | | | | | | | | This fixes an issue that was missed with commit 9f544394c1d059ce09c8bb2b5e11f5e871c7915f. Fixes piglit glsl-texcoord-array.shader_test
* | st/mesa: advertise ARB_half_float_vertex when availableMarek Olšák2010-05-281-0/+7
| | | | | | | | Both softpipe and llvmpipe pass the piglit half float test.
* | st/mesa: Remove unnecessary headers.Vinson Lee2010-05-263-6/+0
|/
* st_api: Give get_egl_image arguments directly to the functionJakob Borncrantz2010-05-211-3/+1
|
* st/mesa: remove unused varBrian Paul2010-05-211-1/+0
|
* gallium: Fix invalidate framebuffer with old libGL librariesJakob Bornecrantz2010-05-215-3/+113
|
* Merge branch 'gallium-msaa'Roland Scheidegger2010-05-2121-193/+312
|\ | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c
| * st/mesa: fix wrong argument orderRoland Scheidegger2010-05-181-2/+3
| |
| * mesa/st: adapt to interface changesRoland Scheidegger2010-05-1721-194/+314
| | | | | | | | | | adapt to blit changes, and also handle a bit more msaa state in theory (incomplete, doesn't handle resolves in any way for now).
* | Merge branch 'gallium-front-ccw'Keith Whitwell2010-05-211-45/+29
|\ \
| * | gallium: more work on ccw flag removalKeith Whitwell2010-05-141-45/+29
| | | | | | | | | | | | The linux-debug target builds...
* | | gallium: EXT_timer_query support.Mathias Fröhlich2010-05-172-0/+6
| | | | | | | | | | | | Signed-off-by: Corbin Simpson <[email protected]>
* | | st/mesa: call st_flush_bitmap_cache() from st_readpixels()Brian Paul2010-05-171-0/+3
|/ / | | | | | | | | | | Fixes regression from commit b0427bedde80e3189524651a327235bdfddbc613. Reviewed-by: José Fonseca <[email protected]>
* | st/mesa: Remove unnecessary header.Vinson Lee2010-05-131-1/+0
| |
* | mesa/st: Expose pipe driver's shader limits.José Fonseca2010-05-121-89/+19
| |
* | st/mesa: Do not use draw module in OpenGL ES build.Chia-I Wu2010-05-121-0/+2
| | | | | | | | | | | | | | | | This removes references to symbols in draw module for OpenGL ES build. As OpenGL ES does not support feedback/selection mode, draw module is used in pathes that will never be reached. However, if the symbols are referenced, it will bloat the final shared libraries unnecessarily. This is serious when LLVM is enabled.
* | st/mesa: Make st_cb_drawtex.h FEATURE_OES_draw_texture aware.Chia-I Wu2010-05-123-13/+26
| | | | | | | | | | This change allows st_cb_drawtex.h to be used without knowing if FEATURE_OES_draw_texture is enabled.
* | st/mesa: Make st_cb_blit.h FEATURE_EXT_framebuffer_blit aware.Chia-I Wu2010-05-123-9/+14
| | | | | | | | | | This change allows st_cb_blit.h to be used without knowing if FEATURE_EXT_framebuffer_blit is enabled.
* | st/mesa: Make st_cb_queryobj.h FEATURE_queryobj aware.Chia-I Wu2010-05-123-2/+15
| | | | | | | | | | This change allows st_cb_queryobj.h to be used without knowing if FEATURE_queryobj is enabled.
* | st/mesa: Make FEATURE_feedback and FEATURE_rastpos more modular.Chia-I Wu2010-05-126-21/+50
| | | | | | | | | | | | Make st_cb_feedback.h FEATURE_feedback aware and st_cb_rastpos.h FEATURE_rastpos aware. Move creation of selection/feedback draw context to st_init_draw.
* | st/mesa: Make st_cb_{bitmap,drawpixels}.h FEATURE_drawpix aware.Chia-I Wu2010-05-126-10/+60
| | | | | | | | | | This change allows st_cb_{bitmap,drawpixels}.h to be used without knowing if FEATURE_drawpix is enabled.
* | st/mesa: Make st_cb_accum.h FEATURE_accum aware.Chia-I Wu2010-05-123-2/+22
| | | | | | | | | | This change allows st_cb_accum.h to be used without knowing if FEATURE_accum is enabled.
* | mesa: Make FEATURE_EXT_transform_feedback more modular.Chia-I Wu2010-05-123-4/+14
| | | | | | | | | | | | This allows transformfeedback.h and st_cb_xformfb.h to be included and used without knowing if FEATURE_EXT_transform_feedback is enabled. Fix build of ES overlay.
* | st/mesa: update query code for transform feedbackBrian Paul2010-05-112-3/+26
| |
* | mesa/st+tgsi: Provide a free callback to match with ureg_get_tokens().José Fonseca2010-05-111-2/+2
| | | | | | | | | | | | This fixes crashes with the memory debugging routines on Windows. NOTE: This is a candidate for the 7.8 stable branch
* | st/mesa: Remove unnecessary header.Vinson Lee2010-05-111-1/+0
| |
* | mesa/st: Remove internal flushes from Mesa state tracker.José Fonseca2010-05-1113-248/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that transfers are context operations it is the driver's responsibility to ensure that transfers happen in order with all other context operations, so flushes and finishes inside Mesa should be no longer necessary. The attached patch implements that. This should proportionate significant improvements for hardware drivers which are able to stream transfers in the command buffers. You can use the softpipe/llvmpipe_flush_resource() as reference implementation of the worst case scenario, where the driver is not able to streamline transfers. But the expectation is that driver implementators will want to avoid flushing as much as possible.
* | mesa: more transform feedback infrastructureBrian Paul2010-05-103-0/+172
| | | | | | | | | | Includes GL_ARB_transform_feedback2 which encapsulates transform feedback state in objects.
* | st/mesa: rename vars, added commentsBrian Paul2010-05-101-21/+55
| |
* | st/mesa: only set prevInstWrotePsiz if translating a vertex programBrian Paul2010-05-101-1/+1
| |
* | st/mesa: additional assertions in dst_register()Brian Paul2010-05-101-0/+10
| |
* | st/mesa: Ignore internal_format in st_context_teximage.Chia-I Wu2010-05-091-1/+10
| | | | | | | | | | | | | | When internal_format and tex->format differ, st_finailize_texture will surface_copy between surfaces with different formats. This commit works around the issue by ignoring internal_format. A sane fix is needed here.
* | st/mesa: fix compressed mipmap generation for small image sizesBrian Paul2010-05-061-2/+24
| | | | | | | | | | | | | | When the mipmap level is smaller than the compression block width, height we need to fill in / replicate pixels so that we don't get garbage values. Fixes piglit gen-compressed-teximage test.
* | st/mesa: fix bug in compute_num_levels()Brian Paul2010-05-061-5/+7
| | | | | | | | | | Fix more fall-out from the "ignore BaseLevel" change. This may help with fd.o bug 27991.
* | st/mesa: when copying mipmap levels between textures, start at BaseLevelBrian Paul2010-05-061-1/+1
| | | | | | | | | | | | Saves some work and avoids potential issue with inconsistant mipmap level sizes. As long as the mipmap levels from BaseLevel to MaxLevel are consistant, we don't care about the other levels.
* | st/mesa: fix per-vertex point sizeMarek Olšák2010-05-051-1/+1
| | | | | | | | This fixes FDO bug #27343.
* | st/mesa: Remove unnecessary headers.Vinson Lee2010-05-051-6/+0
| |
* | st/mesa: Fix texture-from-pixmap.Chia-I Wu2010-05-052-6/+30
| | | | | | | | | | | | Remember the size of the level=0 mipmap image. Do not call util_format_get_component_bits when st_context_teximage is called to release a texture image.
* | st/mesa: remove commented-out struct fieldBrian Paul2010-05-041-1/+0
| |
* | st/mesa: need to pass srcLevel to st_texture_image_copy()Brian Paul2010-05-043-7/+6
| | | | | | | | Fixes a regression in mipmap setup.
* | st/mesa: return success/fail from guess_and_alloc_texture()Brian Paul2010-05-041-7/+10
| | | | | | | | | | | | Before we looked at stObj->pt to see if we may have run out of memory, but that's not a good indicator. This fixes the spurious GL_OUT_OF_MEMORY errors that could arise before.
* | st/mesa: improved st_texture_image_copy()Brian Paul2010-05-041-29/+47
| | | | | | | | | | | | | | No longer need to search for the src mipmap level. Added assertions. Updated comments. Moved debug code into separate function.
* | mesa/st: Fill in native program limits.José Fonseca2010-05-041-0/+91
|/ | | | | | | In the lack of more fine grained capabilities in Gallium, assume that if the pipe driver supports GLSL then native limits match Mesa software limits. (cherry picked from commit 40a90cd11234a09c2477f5c9984dd6d9fac3f52c)