summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-04-05i965g: change value of VERT_RESULT_PSIZ hack to avoid warningsBrian Paul
2010-04-05mesa: check for _NEW_BUFFERS for color read format queriesBrian Paul
2010-04-05util: added util_dl_error()Brian Paul
2010-04-04Merge branch '7.8'Ian Romanick
2010-04-04Update to final names from GLX_INTEL_swap_event specIan Romanick
Fixes bug #27454.
2010-04-05r300g: enable OpenGL 2.1 on r3xx-r4xx chipsetsMarek Olšák
2010-04-05r300g: add fallback for back stencil reference value and masks for r3xx-r4xxMarek Olšák
This splits rendering into two passes when front and back stencil reference value, value mask, or write mask don't match. The advantages of doing it in the driver instead of in st are: * SWTCL is executed just once and the resulting vertex buffer is reused in the second pass. * Lower driver overhead due to the fallback being very close to the actual draw emission with minimum state change.
2010-04-05r300g: simplify accessing screen from contextMarek Olšák
2010-04-05r300g: remove some XXXsMarek Olšák
We can't have more than 8 texcoord outputs in VS.
2010-04-05r300g: raise the number of texture units to 16 for all supported chipsetsMarek Olšák
As per Radeon 9700 Opengl Programming and Optimization Guide [1], there are 16 texture units even on the first r300 chipsets. If you think I am wrong, feel free to propose a patch. [1] Here's PDF: http://people.freedesktop.org/~mareko/
2010-04-05r300/compiler: make the max number of fragment shader temporaries adjustableMarek Olšák
2010-04-05r300g: is_npot -> uses_pitchMarek Olšák
2010-04-05r300g: enable conditional rendering also for SWTCLMarek Olšák
2010-04-04glut: Include X11 headers and libraries in SCons build.Vinson Lee
Fixes Mac OS X SCons build.
2010-04-04glew: Include X11 headers and libraries in SCons build.Vinson Lee
Fixes Mac OS X SCons build.
2010-04-04mesa: don't turn on GL_EXT_transform_feedback yetBrian Paul
2010-04-04st/mesa: call pipe_context::draw_arrays/elements_instanced()Brian Paul
2010-04-04mesa: implement core Mesa support for GL_ARB_draw_instancedBrian Paul
2010-04-04mesa: new validation functions for GL_ARB_draw_instancedBrian Paul
2010-04-04mesa: new extension flag for GL_EXT/ARB_draw_instancedBrian Paul
2010-04-04glapi: regenerated files for GL_ARB_draw_instancedBrian Paul
2010-04-04glapi: plug in ARB_draw_instanced.xmlBrian Paul
2010-04-04glapi: ARB_draw_instanced.xml fileBrian Paul
2010-04-04Merge branch '7.8'Ian Romanick
2010-04-04st/mesa: Implement GL_OES_EGL_image driver hooks.Chia-I Wu
Use st_manager::get_egl_image to look up GLeglImageOES and implement EGLImageTargetTexture2D and EGLImageTargetRenderbufferStorage.
2010-04-04st/egl: Implement get_egl_image hook.Chia-I Wu
This hook may be used by rendering state trackers to implement EGLImage extensions.
2010-04-04r300g: fix TFP stride override.Dave Airlie
We should use pitch for the overriden state, fixes one half of the tfp test. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-04r300g: add conditional renderingMarek Olšák
2010-04-04r300g: add r4xx fragment shader registersMarek Olšák
In case anyone needs it, it's here.
2010-04-04r300g: do not use the c++ template keywordMarek Olšák
It makes life for some code browsing utilites easier.
2010-04-04r300g: properly setup textures from X serverMarek Olšák
The setup needs be done after querying tiling flags.
2010-04-03util: Use GCC atomic bultins on GCC 4.1 and higher only.Vinson Lee
2010-04-03r300g: fix color tiling for buffer from X server.Dave Airlie
The tiling setup needs a bit of work, but this should be good enough for now, when we get buffers from the kernel we need to store their tiling properties. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-02mesa: display list support for GL_EXT_transform_feedbackBrian Paul
2010-04-02mesa: plug in GL_EXT_transform_feedback functions into dispatchBrian Paul
2010-04-02glapi: regenerated files for EXT_transform_feedbackBrian Paul
2010-04-02glapi: include/build EXT_transform_feedback.xmlBrian Paul
2010-04-02glapi: new EXT_transform_feedback.xml fileBrian Paul
2010-04-02glapi: fix error messageBrian Paul
2010-04-03r300 compiler: add target output debugging.Dave Airlie
print the output target in the FP debug. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-03util: Revert unsolicited, untested, unreviewed, and broken changes to format ↵José Fonseca
support. Not all is bad, but I'm afraid I'll have to throw the baby with the water given they are all tied to together.
2010-04-02gallium/docs: Dithering might not actually do anything.Corbin Simpson
2010-04-02r300g: Expound on dithering comment.Corbin Simpson
2010-04-03r300g: make dithering work like fglrx.Dave Airlie
From fglrx traces the dithering is never enabled. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-02gallium: fix dri_destroy_option_cache() when optionCache.info is NULLYann Droneaud
With an Intel 855GM handled by intel_drv, there's a crash with Gallium3D enabled DRI driver for Intel i915 (--enable-gallium-intel). The Gallium3D driver doesn't support the 855GM as expected by intel_drv, it failed to open the screen and give an half initialized screen structure to dri_destroy_option_cache(): optionCache.info is NULL, so it's crashing while trying to free array content. This patch at least fix the crash in the function. Here's some logs of the fixed version: [ 16274.137] LoaderOpen(/opt/mesa/lib/xorg/modules/drivers/intel_drv.so) [ 16274.139] (II) Loading /opt/mesa/lib/xorg/modules/drivers/intel_drv.so [ 16274.183] (II) Module intel: vendor="X.Org Foundation" [ 16274.183] compiled for 1.8.0, module version = 2.11.0 [ 16274.183] Module class: X.Org Video Driver [ 16274.183] ABI class: X.Org Video Driver, version 7.0 [ 16274.183] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45, 4 Series, G45/G43, Q45/Q43, G41, B43, Clarkdale, Arrandale [ 16274.382] (II) intel(0): Integrated Graphics Chipset: Intel(R) 855GME [ 16274.382] (--) intel(0): Chipset: "852GM/855GM" [ 16276.675] (II) intel(0): [DRI2] Setup complete [ 16276.675] (II) intel(0): [DRI2] DRI driver: i915 debug_get_option: GALLIUM_TRACE = (null) debug_get_bool_option: GALLIUM_RBUG = FALSE debug_get_bool_option: INTEL_DUMP_CMD = FALSE i915_create_screen: unknown pci id 0x3582, cannot create screen dri_init_screen_helper: failed to create pipe_screen [ 16276.794] (EE) AIGLX error: Calling driver entry point failed [ 16276.794] (EE) AIGLX: reverting to software rendering [ 16276.794] (II) AIGLX: Screen 0 is not DRI capable [ 16276.796] (II) AIGLX: Loaded and initialized /opt/mesa/lib/dri/swrast_dri.so [ 16276.796] (II) GLX: Initialized DRISWRAST GL provider for screen 0 Signed-off-by: Yann Droneaud <yann@droneaud.fr> Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2010-04-02llvmpipe: limit max texture size to 2Kx2K for nowBrian Paul
MAXWIDTH/HEIGHT were 2048 but the max texture size was 4096. This caused a crash if a 4Kx4K texture was created and rendered to. See comment about max framebuffer size in lp_scene.h. Also added assertions to catch this inconsistancy in the future.
2010-04-02gallivm: Add fallthrough comment at end of case statement.Vinson Lee
The code is correct. Tell Coverity that the fallthrough case is intentional.
2010-04-02glx: Fix compilation errors on non-GLX_DIRECT_RENDERING builds.Vinson Lee
Add ifdef guards around variables of types defined only for GLX_DIRECT_RENDERING.
2010-04-02gallium/util: print \n after DXTn printfLuca Barbieri
2010-04-02softpipe: remove S3TC init, since it's done on-demand nowLuca Barbieri