summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)AuthorFilesLines
2017-10-31i965: Initialize disk shader cache if MESA_GLSL_CACHE_DISABLE is falseJordan Justen1-1/+1
(Apologies for the double negative.) For now, the shader cache is disabled by default on i965 to allow us to verify its stability. In other words, to enable the shader cache on i965, set MESA_GLSL_CACHE_DISABLE to false or 0. If the variable is unset, then the shader cache will be disabled. We use the build-id of i965_dri.so for the timestamp, and the pci device id for the device name. v2: * Simplify code by forcing link to include build id sha. (Matt) v3: * Don't use a for loop with snprintf for bin to hex. (Matt) * Assume fixed length render and timestamp string to further simplify code. Cc: Matt Turner <mattst88@gmail.com> Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2017-10-30docs/release-calendar: update - 17.3.0-rc2 is outEmil Velikov1-7/+1
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2017-10-30docs: update calendar, add news item and link release notes for 17.2.4Andres Gomez3-7/+8
Signed-off-by: Andres Gomez <agomez@igalia.com>
2017-10-30docs: add sha256 checksums for 17.2.4Andres Gomez1-1/+2
Signed-off-by: Andres Gomez <agomez@igalia.com>
2017-10-30docs: add release notes for 17.2.4Andres Gomez1-0/+131
Signed-off-by: Andres Gomez <agomez@igalia.com>
2017-10-24docs: Mark GL_KHR_no_error as done.Kenneth Graunke1-1/+1
Drivers have supported KHR_no_error for a while. We'd been leaving it marked as "in progress" because there's a zillion places that could get slightly more optimized. But, Timothy and Samuel have already done piles of work, and I think we have a solid implementation at this point. Let's check it off the list. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
2017-10-23docs/release-calendar: update - 17.3.0-rc1 is outEmil Velikov1-7/+1
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2017-10-23docs: add 17.4.0-devel release notes templateEmil Velikov1-0/+64
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2017-10-20relnotes/17.3: EGL_IMG_context_priority is now implementedChris Wilson1-0/+1
Suggested-by: Emil Velikov <emil.velikov@collabora.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2017-10-19docs: update calendar, add news item and link release notes for 17.2.3Emil Velikov3-7/+8
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2017-10-19docs: add sha256 checksums for 17.2.3Emil Velikov1-1/+2
Signed-off-by: Emil Velikov <emil.velikov@collabora.com> (cherry picked from commit facc85181883cb514b2b1a8106255be88fd54c6e)
2017-10-19docs: add release notes for 17.2.3Emil Velikov1-0/+180
Signed-off-by: Emil Velikov <emil.velikov@collabora.com> (cherry picked from commit 28dc4b64f2f75dc0a0a98e2b97f1dd3350f50e2d)
2017-10-16docs: Add EXT_memory_objects extensions to features.txtJakob Bornecrantz1-0/+6
These extensions are good for Vulkan interop, so track them. Signed-off-by: Jakob Bornecrantz <jakob.bornecrantz@collabora.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2017-10-12relnotes: document EGL_ANDROID_native_fence_sync on radeonsiMarek Olšák1-0/+1
2017-10-10mesa: Implement a new GL_MESA_tile_raster_order extension.Eric Anholt1-0/+5
The intent is to use this extension on vc4 to allow X11 to do overlapping CopyArea() within a pixmap without first blitting the pixmap to a temporary. With associated glamor patches, improves x11perf -copywinwin100 performance on a Raspberry Pi 3 from ~4700/sec to ~5130/sec, and is an even larger boost to uncomposited window movement performance (most copywinwin100 copies don't overlap). v2: Fix glIsEnabled() on the new enums. v3: Drop the local spec since I'm upstreaming the spec. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-10-10docs: Update the list of used MESA GL enums.Eric Anholt1-0/+10
Acked-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-10-10docs: Fix a typo in the old MESA_program_debug spec.Eric Anholt1-1/+1
Noticed that we had two 0x8bb4 in the spec while grepping to find an open slot in the MESA enums set. gl.xml had the right value. Acked-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-10-10mesa: Expose GL_OES_required_internalformat on GLES contexts.Eric Anholt1-1/+1
This extension is effectively a backport of GLES3's internalformat handling to GLES 1/2. It guarantees that sized internalformats specified for textures and renderbuffers have at least the specified size stored. That's a pretty minimal requirement, so I think it can be dummy_true and exposed as a standard in Mesa. As a side effect, it also allows GL_RGB565 to be specified as a texture format, not just as a renderbuffer. Mesa had previously been allowing 565 textures, which angered DEQP in the absence of this extension being exposed. v2: Allow 2101010rev with sized internalformats even on GLES3, citing the extension spec. Extend extension checks for GLES2 contexts exposing with texture_float, texture_half_float, and texture_rg. v3: Fix ALPHA/LUMINANCE/LUMINANCE_ALPHA error checking (GLES3 CTS failures) v4: Mark GL_RGB10 non-color-renderable on ES, fix A/L/LA errors on GLES2 with float formats. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-10-05egl: Simplify the "driver" interfaceAdam Jackson1-10/+0
"Driver" isn't a great word for what this layer is, it's effectively a build-time choice about what OS you're targeting. Despite that both of the extant backends totally ignore the display argument, the old code would only set up the backend relative to a display. That causes problems! One problem is it means eglGetProcAddress can generate X or Wayland protocol when it tries to connect to a default display so it can call into the backend, which is, you know, completely bonkers. Any other EGL API that doesn't reference a display, like EGL_EXT_device_query, would have the same issue. Fortunately this is a problem that can be solved with the delete key. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Adam Jackson <ajax@redhat.com>
2017-10-02docs: Document that libtxc_dxtn is now no longer neededMatt Turner1-0/+1
2017-10-02docs: GL_ARB_indirect_parameters is now supported on i965/gen7+Matt Turner2-1/+2
2017-10-02docs: update calendar, add news item and link release notes for 17.2.2Juan A. Suarez Romero3-7/+8
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
2017-10-02docs: add sha256 checksums for 17.2.2Juan A. Suarez Romero1-1/+2
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> (cherry picked from commit 5a71ed6fa5b78f04b29e972e0759fa15cf0247b2)
2017-10-02docs: add release notes for 17.2.2Juan A. Suarez Romero1-0/+202
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> (cherry picked from commit bc12538a8e79113b733381ffdc0f6c89d59d0a50)
2017-09-25docs: update calendar, add news item and link release notes for 17.1.10Juan A. Suarez Romero3-7/+7
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
2017-09-25docs: add sha256 checksums for 17.1.10Juan A. Suarez Romero1-1/+2
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> (cherry picked from commit 60df95c6bd8c8cc0d440f3940bbbe936d490c67d)
2017-09-25docs: add release notes for 17.1.10Juan A. Suarez Romero1-0/+154
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> (cherry picked from commit 834d6c60db266c7d7dfd973729f20379dd3da287)
2017-09-20llvmpipe, gallivm: implement lod queries (LODQ opcode)Roland Scheidegger1-1/+1
This uses all the existing code to calculate lod values for mip linear filtering. Though we'll have to disable the simplifications (if we know some parts of the lod calculation won't actually matter for filtering purposes due to mip clamps etc.). For better or worse, we'll also disable lod calculation hacks (mostly should make a difference for cube maps) always - the issue with per-pixel lod being difficult is mostly because we then have different mipmaps needed for the actual texel fetch, which isn't a problem with lodq. We still use approximation for the log2 - for that reason I believe the float part of the lod is only accurate to about 4-5 bits (and one bit less with 1d textures actually) which is hopefully good enough (though d3d10 technically requires 6 bits - could use quadratic interpolation instead of linear to get 8 bits or so). Since lodq requires unclamped lod, we also have to move some sampler key calculations to texture sampling code - even if we know we're going to access mipmap 0 we still have to calculate lod and apply lod_bias for lodq. Passes piglit ARB_texture_query_lod tests (after having fixed the test). Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2017-09-18docs: update calendar, add news item and link release notes for 17.2.1Emil Velikov3-7/+8
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2017-09-18docs: add sha256 checksums for 17.2.1Emil Velikov1-1/+2
Signed-off-by: Emil Velikov <emil.velikov@collabora.com> (cherry picked from commit bd903d4ee15333288848708a60d6c8002cbb5cb1)
2017-09-18docs: add release notes for 17.2.1Emil Velikov1-0/+199
Signed-off-by: Emil Velikov <emil.velikov@collabora.com> (cherry picked from commit d6d2b6b5ec9b1638c0827582872670c7da79bb53)
2017-09-17docs: update sourcetree following omx renameEric Engestrom1-1/+1
Fixes: 6a8aa11c207b99920b93 "st/omx_bellagio: Rename state tracker and option" Cc: Gurkirpal Singh <gurkirpal204@gmail.com> Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Andres Gomez <agomez@igalia.com>
2017-09-17docs/submittingpatches: add 'test each commit' instructionsEric Engestrom1-0/+12
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
2017-09-15i965: Add an INTEL_DEBUG=reemit option.Kenneth Graunke1-0/+1
Jason and I use this for debugging all the time. Recompiling the driver to enable it is kind of annoying. It's a great thing to try along with always_flush_batch=true and always_flush_cache=true to detect a class of problems - namely, atoms listening to an insufficient set of dirty bits. Reviewed-by: Matt Turner <mattst88@gmail.com>
2017-09-13i965: Add an INTEL_DEBUG=submit option for printing batch statistics.Kenneth Graunke1-0/+1
When a batch is submitted, INTEL_DEBUG=bat prints a message indicating which part of the code triggered the flush, and some statistics about the batch/state buffer utilization. It also decodes the batchbuffer in debug builds...which is so much output that it drowns out the utilization messages, if that's all you care about. INTEL_DEBUG=submit now just does the utilization messages. INTEL_DEBUG=bat continues to do both (as the message is a good indicator that we're starting decode of a new batch). v2: Rename from "flush" to "submit" (suggested by Chris) because we might want "flush" for PIPE_CONTROL debugging someday. Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
2017-09-12docs: Document shader capturing environment variables.Kenneth Graunke2-0/+17
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
2017-09-12docs/egl: remove reference to EGL_DRIVERS_PATHEric Engestrom1-21/+0
Support for external egl drivers was dropped a few years ago. Fixes: 209360bbb91bb10346eb "egl/main: drop support for external egl drivers" Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2017-09-12util/disk_cache: turn MESA_GLSL_CACHE_DISABLE into a booleanEric Engestrom1-1/+1
Instead of setting based on set/unset, allow users to use boolean values. In the docs and tests, use `DISABLE=true` instead of `DISABLE=1` as it's clearer IMO. Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2017-09-12glx: turn LIBGL_NO_DRAWARRAYS into a booleanEric Engestrom1-1/+1
Instead of setting based on set/unset, allow users to use boolean values. In the docs, use `NO_DRAWARRAYS=true` instead of `NO_DRAWARRAYS=1` as it's clearer IMO. Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2017-09-12egl+glx: turn LIBGL_DRI3_DISABLE into a booleanEric Engestrom1-1/+1
Instead of setting based on set/unset, allow users to use boolean values. In the docs, use `DISABLE=true` instead of `DISABLE=1` as it's clearer IMO. Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2017-09-12glx: turn LIBGL_ALWAYS_INDIRECT into a booleanEric Engestrom2-2/+2
Instead of setting based on set/unset, allow users to use boolean values. In the docs, use `ALWAYS=true` instead of `ALWAYS=1` as it's clearer IMO. Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2017-09-12egl+glx: turn LIBGL_ALWAYS_SOFTWARE into a booleanEric Engestrom2-4/+4
Instead of setting based on set/unset, allow users to use boolean values. In the docs, use `ALWAYS=true` instead of `ALWAYS=1` as it's clearer IMO. Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2017-09-09llvmpipe: enable PIPE_CAP_QUERY_PIPELINE_STATISTICSRoland Scheidegger1-1/+1
This was implemented since forever, but not enabled. It passes all piglit tests except one, arb_pipeline_statistics_query-frag. The reason is that the test (for drawing a 10x10 rect) expects between 100 and 150 pixel shader invocations. But since llvmpipe counts this with 4x4 granularity (and due to the rect being 2 tris) we end up with 224 invocations. I believe however what llvmpipe is doing violates neither the spirit nor the letter of the spec (our fragment shader granularity really is 4x4 pixels, albeit we will bail out early on 2x2 or 4x2 (the latter if AVX is available) granularity), the spec allows to count additional invocations due to implementation reasons. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2017-09-09docs: update calendar, add news item and link release notes for 17.1.9Andres Gomez3-7/+8
Signed-off-by: Andres Gomez <agomez@igalia.com>
2017-09-09docs: add sha256 checksums for 17.1.9Andres Gomez1-1/+2
Signed-off-by: Andres Gomez <agomez@igalia.com>
2017-09-09docs: add release notes for 17.1.9Andres Gomez1-0/+143
Signed-off-by: Andres Gomez <agomez@igalia.com>
2017-09-07docs: update envvar docs to reflect MESA_NO_ERROR changeEric Engestrom1-1/+1
I changed the behaviour earlier today, but forgot to update the corresponding docs. Fixes: 77713a0acb09f475d29f "mesa: allow user to set MESA_NO_ERROR=0" Suggested-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
2017-09-06docs/release-calendar: update and extendEmil Velikov1-16/+16
v2: Correct 17.1.10 version, adjust some names. v3: Add missing <tr> (Andres) Cc: Juan A. Suárez <jasuarez@igalia.com> Cc: Andres Gomez <agomez@igalia.com> Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Andres Gomez <agomez@igalia.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> (v1)
2017-09-06docs/releasing: polish LLVM_CONFIG wording/handlingEmil Velikov1-5/+8
Use consistent way to manage "non-default" llvm installations, clearly documenting it. AKA, use LLVM_CONFIG throughout and unset for the Windows/mingw builds. v2: unset the save_ variable (Andres) Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Andres Gomez <agomez@igalia.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> (v1)
2017-09-06docs/releasing: remove -jX instancesEmil Velikov1-2/+3
One can control the number of jobs via MAKEFLAGS. As such there's little reason to set the number of jobs for each make invocation. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Andres Gomez <agomez@igalia.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>