summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel
AgeCommit message (Collapse)Author
2010-10-12intel: Allow CopyTexSubImage to InternalFormat 3/4 textures, like RGB/RGBA.Eric Anholt
The format selection of the CopyTexSubImage is pretty bogus still, but this at least avoids software fallbacks in nexuiz, bringing performance from 7.5fps to 12.8fps on my machine.
2010-10-11intel_extensions: Add ability to set GLSL version via environmentChad Versace
Add ability to set the GLSL version used by the GLcontext by setting the environment variable INTEL_GLSL_VERSION. For example, env INTEL_GLSL_VERSION=130 prog args If the environment variable is missing, the GLSL versions defaults to 120. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2010-10-08intel: Enable GL_ARB_explicit_attrib_locationIan Romanick
2010-10-07gles2: Add GL_EXT_texture_format_BGRA8888 supportKristian Høgsberg
2010-10-01i965: Enable GL_ARB_texture_rgIan Romanick
2010-09-30i965: Update renderer strings for sandybridgeAdam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-09-30dri/intel: remove duplicated includeNicolas Kaiser
Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30i965: always set tiling for fbo depth buffer on sandybridgeZhenyu Wang
Sandybridge requires depth buffer must be tiling. Fix 'fbo_firecube' demo.
2010-09-28i965: fallback bitmap operation on sandybridgeZhenyu Wang
Need to bring back correct fb write with header to set pixel write mask. Fallback for now.
2010-09-28i965: only allow SIMD8 kernel on sandybridge nowZhenyu Wang
Until we fixed SIMD16 kernel, force to SIMD8 on sandybridge now.
2010-09-28i965: sandybridge pipe control workaround before write cache flushZhenyu Wang
Must issue a pipe control with any non-zero post sync op before write cache flush = 1 pipe control.
2010-09-28i965: Add all device ids for sandybridgeZhenyu Wang
2010-09-27Remove unnescessary initializations of UpdateTexturePaletteIan Romanick
This is already NULL'ed in _mesa_init_driver_functions.
2010-09-27Remove GL_EXT_cull_vertexIan Romanick
This is only used in the i915 driver where it provides little benefit for very few applications that use it with fixed function TNL.
2010-09-27mesa: Force GL_SGIS_generate_mipmap to always be enabledIan Romanick
As per discussions at XDS.
2010-09-27mesa: Force GL_ARB_copy_buffer to always be enabledIan Romanick
As per discussions at XDS.
2010-09-25intel: Remove unnecessary header.Vinson Lee
2010-09-24intel: Remove unnecessary headers.Vinson Lee
2010-09-24intel: Fix implicit declaration of function '_mesa_meta_Bitmap' warning.Vinson Lee
Fix this GCC warning. intel_pixel_bitmap.c: In function 'intelBitmap': intel_pixel_bitmap.c:343: warning: implicit declaration of function '_mesa_meta_Bitmap'
2010-09-24intel: Improve some of the miptree debugging.Eric Anholt
2010-09-24intel: More reverting of the sw fallback for depth texture border color.Eric Anholt
The rest was done with 9aec1288eeae8e87adc9a99f377be536892941b2
2010-09-24intel: Add fallback debug to glGenerateMipmap.Eric Anholt
2010-09-24intel: Fix segfault on INTEL_DEBUG=fbo with unsupported framebuffers.Eric Anholt
2010-09-24i965: Add support for rendering to SARGB8 FBOs.Eric Anholt
Tested with fbo-generatemipmap-formats GL_EXT_texture_srgb. The test still fails on SLA8, though.
2010-09-24intel: Corresponding FinishRenderTexture debug to BeginRenderTexture.Eric Anholt
2010-09-24intel: Dead comment removal.Eric Anholt
2010-09-23intel: Remove dead intelIsTextureResident().Eric Anholt
It always returned 1 (GL_TRUE), which is the same thing that happens when the driver hook isn't present.
2010-09-23intel: Replace my intel_texture_bitmap code with _mesa_meta_Bitmap.Eric Anholt
The meta code is more general than mine, and appears to pass the same sets of tests (piglit + some oglconform).
2010-09-23intel: Remove unnecessary minimum pitch alignment to 32 bytes.Eric Anholt
This broke with the cleanup I did in convolution removal. It's unnecessary anyway since region_alloc_tiled adjusts pitches for us (64 byte alignment)
2010-09-23intel: Remove disabled stencil drawpixels acceleration.Eric Anholt
We still retain the fallback override for GL_STENCIL_INDEX, because the metaops version fails at oglconform.
2010-09-23mesa: Remove EXT_convolution.Eric Anholt
More optional code.
2010-09-22dri: Pass the __DRIscreen and the __DRIscreen private back to image lookupKristian Høgsberg
We will typically have a current context when we need to lookup the image, but the lookup implementation don't need it so drop it.
2010-09-22dri2: Make createImageFromName() take a __DRIscreen instead of __DRIcontextKristian Høgsberg
We can't expect to have a context when this is called, and we don't need one so just require a __DRIscreen instead. Reported by Yu Dai <yu.dai@intel.com>
2010-09-22intel: Fix GL_ARB_shading_language_120 commitKristian Høgsberg
Fix commit e7087175f8a04f777403366fb34b58edd00f4d60. Move the reference to GL_VERSION_2_1_functions to intel_extensions.c where it's available, don't try to enable a non-existing extension and advertise 1.20 for all intel chipsets, not just GEN4 and up.
2010-09-21mesa: don't advertise bogus GL_ARB_shading_language_120 extensionBrian Paul
Instead of using the invalid GL_ARB_shading_language_120 extension to determine the GLSL version, use a new ctx->Const.GLSLVersion field. Updated the intel and r600 drivers, but untested. See fd.o bug 29910 NOTE: This is a candidate for the 7.9 branch (but let's wait and see if there's any regressions).
2010-09-20Fix typos in comments and debug output strings.Timo Wiren
Bug #30208.
2010-09-08dri: Unset current context and dispatch table when unbindingKristian Høgsberg
Otherwise, when we switch to an indirect glx context and then back, it looks like we're still current. https://bugs.freedesktop.org/show_bug.cgi?id=29977#c7 Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
2010-09-07i965: Enable EXT_framebuffer_blit internally.Kenneth Graunke
Otherwise, ES2's BindFramebuffer entrypoint hits this assertion: main/fbobject.c:1323: _mesa_BindFramebufferEXT: Assertion `ctx->Extensions.EXT_framebuffer_blit' failed.
2010-08-30i965: Apply the rest of the old-libdrm guard patch.Cedric Vivier
Bug #29855
2010-08-26intel: Merge identical cases in switch statement.Nick Bowler
Signed-off-by: Nick Bowler <nbowler@draconx.ca> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-08-25intel: Support EGL_MESA_image_drmKristian Høgsberg
2010-08-25intel: Take an intel_screen pointer in intel_alloc_region_* functionsKristian Høgsberg
2010-08-23intel: Add support for MAX_SAMPLES=1 EXT_framebuffer_multisample.Eric Anholt
The spec specifically sets the minimum MAX_SAMPLES at 1 to allow exposing the extension on all implementations, so do so.
2010-08-23i965: Add sandybridge D0 pci idsZhenyu Wang
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-08-20intel: Don't try to do work for BufferSubData with a size of 0.Eric Anholt
If we hit the linear blit path, we'd come up with a pitch of 0, then divide by zero. Fixes vbo-subdata-zero, made for bug #28931 (warsow).
2010-08-17i915: Enable ARB_fragment_shader by default.Eric Anholt
Now that we have glsl2 with if flattening in place, most shaders will just work. Remaining failing shaders will mostly be due to loop unrolling (in progress), some possible if flattening failures in inlining functions (planning on fixing), and the register/instruction count limits. While the GLSL and GLSL-ES specs say that shaders shouldn't fail to compile/link due to register/instruction limits, in practice we're not the first vendor to expose GLSL on hardware with these limitations. The benefit to application developers of providing a better language for GPU programming is greater than the pain of having to handle instruction limits (which they had to for ARB_fp on this hardware anyway)
2010-08-13Merge branch 'master' into glsl2Ian Romanick
2010-08-13intel: Remove include of texmem.h, since we haven't used it in ages.Eric Anholt
2010-08-05intel: Check for a NULL src buffer prior to bltChris Wilson
This can only happen along a malloc failure path, but check anyway. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-08-05intel: Check for region allocation failure.Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>