summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-07-01eglplatform: use unsigned long instead of 32-bit ints in generic platformRoss Burton1-2/+2
In the generic Unix case use the "unsigned long" type instead of 32-bit integers so that the type sizes are consistant on 64-bit machines between X11 and not-X11. Signed-off-by: Ross Burton <ross.burton@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2013-07-01build: fix EGL build when no X11 headers are presentRoss Burton1-0/+7
eglplatform.h defaults to X11 on Unix unless told otherwise, so if we're doing a build without any X11 support tell it so that we don't try including headers that don't exist. Also set GL_PC_FLAGS so that the definition is in egl.pc, so that applications using EGL don't try to pull in X11 headers on systems where EGL was configured without X11 support. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=64959 Signed-off-by: Ross Burton <ross.burton@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2013-07-01tools/trace: Return dummy fence object to silence warnings.José Fonseca1-1/+2
2013-07-01tools/trace: Don't crash if a trace has no timing information.José Fonseca2-3/+4
2013-07-01scons: Fix dependencies of enums.c and api_exec.c.José Fonseca2-18/+15
2013-07-01nvc0: allow frame dropping in h264Maarten Lankhorst1-3/+0
The only reason the checks existed were paranoia, when I first wrote the code I wasn't sure it was correct. Now that I am, the asserts triggered when XBMC was dropping frames, so remove it. NOTE: This is a candidate for the 9.1 branch.
2013-06-30r300g/compiler: Prevent regalloc from swizzling texture operands v2Tom Stellard5-0/+124
https://bugs.freedesktop.org/show_bug.cgi?id=63520 NOTE: This is a candidate for the stable branches. Reviewed-by: Marek Olšák <maraeo@gmail.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2013-06-30r300g/compiler/tests: Add an assembly parserTom Stellard5-16/+200
The assembly parser can be used to load r300 assembly dumps and run them through any of the r300 compiler passes. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2013-06-30r300g: Fix make checkTom Stellard1-1/+2
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2013-07-01r600g: implement fast color clears for MSAA on evergreen+Grigori Goronzy3-2/+79
Allows MSAA colorbuffers, which have a CMASK automatically and don't need any further special handling, to be fast cleared. Instead of clearing the buffer, set the clear color and the CMASK to the cleared state. Fast clear is used only when all bound colorbuffers fulfill certain conditions: a CMASK is required, we have to be able to create a clear color value for the format and the texture mustn't contain multiple images. Technically, it should be possible to support array textures and cubemaps if all images are attached to the framebuffer, but this does not appear to be common. v2: fix fast clear check v3: Marek: - disable fast clear with 128-bit formats, which are unsupported - set tex->dirty_level_mask in r600_clear, so that the driver knows the resource must be decompressed/expanded - return early from r600_clear if there's nothing else to do Signed-off-by: Marek Olšák <maraeo@gmail.com>
2013-07-01r600g/compute: disable unused colorbuffer slotsMarek Olšák1-1/+12
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
2013-06-30st/mesa: handle SNORM formats in generic CopyPixels pathMarek Olšák3-0/+29
v2: check desc->is_mixed in util_format_is_snorm
2013-06-29i965: NULL check depth_mt to quiet static analysis.Matt Turner1-1/+1
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
2013-06-29llvmpipe: fix timer query if there's no binsRoland Scheidegger1-0/+10
b04a295a4a0cd2defe352b3193b5fa79ca8fc9fc removed seemingly unnecessary code in get_query. Turns out this code could in fact be reached - while timestamps are always binned, if there are no bins (which happens if fb size is 0) then the rasterization query code filling this in is still never executed. So fix this up by filling in some timestamp, but do it at EndQuery time not GetQuery time which should be more appropriate. Makes piglit arb_timer_query-timestamp-get happy again. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2013-06-28clover: Don't segfault when compiling a program with no kernelTom Stellard1-0/+7
2013-06-28mesa: Remove unused allow_large_textures driconf from classic drivers.Eric Anholt5-23/+4
This option hasn't been used since the introduction of DRI2. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i915: Remove GLES 3.0 sRGB workaround.Kenneth Graunke1-52/+0
Gen3 doesn't support GLES 3.0, so there's no need for it. Acked-by: Eric Anholt <eric@anholt.net>
2013-06-28i965: Remove is_945.Kenneth Graunke2-3/+0
Only relevant on Gen3. Acked-by: Eric Anholt <eric@anholt.net>
2013-06-28i965: Delete hw_stencil flag.Kenneth Graunke2-3/+0
This was only used by i915. Acked-by: Eric Anholt <eric@anholt.net>
2013-06-28i965: Remove hw_stipple flag.Kenneth Graunke2-2/+0
This was only used by i915. Acked-by: Eric Anholt <eric@anholt.net>
2013-06-28i965: Remove use_early_z option.Kenneth Graunke3-9/+1
This was only used by i965+. v2: Also remove the option from the driconf list. (change by anholt) Reviewed-by: Eric Anholt <eric@anholt.net>
2013-06-28i965: Remove unused SUBPIXEL_* macros.Kenneth Graunke1-3/+0
Acked-by: Eric Anholt <eric@anholt.net>
2013-06-28i965: Remove redundant Gen3 PCI IDs.Kenneth Graunke1-14/+0
Acked-by: Eric Anholt <eric@anholt.net>
2013-06-28intel: Remove unused INTEL_MAX_FIXUP macro.Kenneth Graunke2-4/+0
v2: Remove it from i915, too (change by anholt) Acked-by: Eric Anholt <eric@anholt.net>
2013-06-28i965: Drop i915 register/instruction definitions.Eric Anholt2-176/+0
v2: Remove unused DV_PF_* macros, too. (change by Ken) Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i965: Drop code for calling the empty brw_update_draw_buffers() hook.Eric Anholt6-69/+0
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i965: Drop dead i915 blend state code.Eric Anholt2-41/+0
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i965: Drop i915-specific blit clear code.Eric Anholt2-180/+0
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i965: Drop the system-memory VBO support for i915.Eric Anholt2-101/+4
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i965: Drop i915 swtnl code.Eric Anholt3-58/+1
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i965: Drop i915-specific vtbl entries.Eric Anholt2-28/+1
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i965: Drop swtnl fallback code for i915.Eric Anholt2-32/+0
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i965: Drop i915 code from intel_screen.Eric Anholt2-20/+1
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i965: Drop #ifdef I915 code.Eric Anholt10-166/+5
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i965: Drop code checking for gen <= 3.Eric Anholt5-35/+10
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i915: Remove a duplicated set of PCI IDs.Eric Anholt2-14/+1
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i915: Remove various remaining dead code.Eric Anholt3-10/+0
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i915: Remove dead debug flags.Eric Anholt2-20/+0
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i915: Remove state batch emit support.Eric Anholt3-10/+1
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i915: Drop unused register #defines from the shared reg file.Eric Anholt1-67/+0
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i915: Drop 965+ GL version setup.Eric Anholt1-22/+1
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i915: Remove gen6+ batchbuffer support.Eric Anholt6-91/+25
While i915 does have hardware contexts in hardware, we don't expect there to ever be SW support for it (given that support hasn't even made it back to gen5 or gen4). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i915: Drop chipset detection code for 965+ chipsets.Eric Anholt2-238/+2
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i915: Drop context fields specific to 965+ chipsets.Eric Anholt2-48/+2
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i915: Drop all has_llc code.Eric Anholt8-226/+10
i915 never has llc. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i915: Remove the remainder of the batchbuffer caching.Eric Anholt2-24/+0
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i915: Remove miscellanous uncalled gen4 code from formerly shared files.Eric Anholt9-311/+0
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i915: Remove most of the code under gen >= 4 checks.Eric Anholt8-162/+17
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i915: Remove fake ETC support that only existed on gen4+Eric Anholt2-129/+10
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-06-28i915: Remove separate stencil code.Eric Anholt11-506/+21
This was formerly-shared code for supporting gen5+. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>