summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-11-12Using _mesa_teximage in meta.bindless-meta_v2Laura Ekstrand1-7/+9
2014-11-12Fixed bug in teximage.c - forgot to update APIENTRY points.Laura Ekstrand1-13/+54
2014-11-12Exposed teximage so meta can use it.Laura Ekstrand2-10/+17
2014-11-12Moved tex parameter statements in meta.c in case the object pointer changes.Laura Ekstrand1-4/+10
2014-11-12Moved back to TexImage2D in meta.c.Laura Ekstrand1-32/+38
2014-11-12Refactored _mesa_meta_bind_rb_as_tex_image.Laura Ekstrand3-11/+10
2014-11-12src/drivers: Fixed pointer bugs in _mesa_meta_bind_rb_as_tex_image.Laura Ekstrand3-13/+15
2014-11-12meta.c: Added bind_texture_unit where needed.Laura Ekstrand1-2/+5
2014-11-12Immutables handling and copy texture sub image for meta.Laura Ekstrand1-5/+28
2014-11-12Fixed segfault in meta_blit.cLaura Ekstrand1-1/+1
2014-11-12src/mesa/drivers/common/meta.c: Using CreateTextures rather than GenTextures ↵Laura Ekstrand1-1/+1
to make bindless work.
2014-11-12Converted parts of meta to use bindless textures. This should avoid many ↵Laura Ekstrand4-62/+76
context and hash table lookups.
2014-11-12Cleaned up meta's GetTexImage by using _mesa_bind_texture_unit.Laura Ekstrand1-1/+1
2014-11-12Minor naming change in meta to prepare for passing texture objects around.Laura Ekstrand3-13/+13
2014-11-12src/mesa/main/texstorage.c: Moved internalformat checking to texstorage and ↵Laura Ekstrand1-6/+18
texturestorage to bypass paths used by meta.
2014-11-12Converted the implementation for glCopySubImage to operate directly on the ↵Laura Ekstrand2-36/+50
gl_texture_object pointer.
2014-11-12Exposed texture_sub_image* so that meta can use them.Laura Ekstrand2-20/+39
2014-11-12Exposed get_storage function so that meta can use it.Laura Ekstrand2-19/+45
2014-11-12Exposed tex_parameter functions so that meta can use them.Laura Ekstrand2-39/+80
2014-11-12Created _mesa_bind_texture_unit, which binds without looking up the textureLaura Ekstrand2-44/+63
object in the hash table, an expensive operation.
2014-11-06Made note of why BindTextureUnit should throw GL_INVALID_OPERATION if the ↵Laura Ekstrand1-0/+7
unit is out of range.
2014-11-06Implemented remaining TextureParameter* functions.Laura Ekstrand3-2/+115
2014-11-06Added entry points for glGetTextureLevelParameter.Laura Ekstrand3-30/+115
2014-11-06Removed dsa functions from non-dsa XML files.Laura Ekstrand2-81/+0
2014-11-06Removed the buggy and non-implemented tags.Laura Ekstrand1-617/+0
2014-11-06glapi: Add ARB_direct_state_access.xml.Kenneth Graunke3-1/+736
Mostly generated by copy and pasting direct_state_access.txt and applying doing piles of search-and-replace in vim: :set paste :%s@ /\*@ <!--@g :%s@\*/@-->@g :%s/^ void \([^(]*\)(/ <function name="\1" offset="assign">\r/g :%s!);$!\r </function>!g :%s/, /\r/g :%s/,$//g :%s!^ *\([a-zA-Z64]* \*\)\([a-zA-Z0-9]*\)! <param name="\2" type="GL\1" />!g :%s/GLconst /const GL/g :%s!^ *\([a-zA-Z64][a-z64]*\) \([a-zA-Z0-9]*\)! <param name="\2" type="GL\1" />!g a few things needed manual fixing - one double star, and four non-void functions. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2014-11-06Added entry points for glGetTextureParameter.Laura Ekstrand2-42/+137
2014-11-05Fixed CreateTextures to reflect need for proper target checking.Laura Ekstrand1-38/+68
texobj.c: Fixed bug where mutex was not unlocked before throwing GL_INVALID_ENUM in create_textures.
2014-10-31Added entry point for BindTextureUnit.Laura Ekstrand3-0/+96
2014-10-30Added assert(unit > 0) to _mesa_get_tex_unit.Laura Ekstrand1-0/+1
2014-10-30add _mesa_get_tex_unit_err() checking getter functionDylan Noblesmith1-0/+12
Reduce boilerplate across files.
2014-10-30mesa: factor out _mesa_max_tex_unit()Dylan Noblesmith2-3/+10
This is about to appear in a lot more places, so reduce boilerplate copy paste.
2014-10-30mesa: add _mesa_get_tex_unit()Dylan Noblesmith1-2/+8
2014-10-29Added glTextureStorage1D and glTextureStorage3D.Laura Ekstrand3-2/+42
2014-10-29Added glTextureSubImage1D and glTextureSubImage3D.Laura Ekstrand3-1/+69
2014-10-29Added entry point for glTextureParameteri.Laura Ekstrand3-57/+160
2014-10-29Added entry point for glTextureSubImage2D.Laura Ekstrand3-64/+129
2014-10-29Added entry point for glCreateTextures.Laura Ekstrand3-6/+32
2014-10-29Added entry point for glTextureStorage2D.Laura Ekstrand4-12/+60
2014-10-23glapi: Fix compiler warning and script nameJan Vesely1-2/+2
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2014-10-23Revert "freedreno/a3xx: only emit dirty consts"Rob Clark2-9/+5
This reverts commit 94bb33617d1e8978dc52b8aaa4eb41bfb6703f79. Which somehow broke gnome-shell.. and needs more investigation. For now, revert..
2014-10-23freedreno: fix PIPE_TRANSFER_DISCARD_WHOLE_RESOURCERob Clark1-7/+6
fd_bo_cpu_prep() doesn't realize the bo is already referenced in unflushed cmdstream. It could be made to do so (but would have to be implemented twice, ie. both for msm and kgsl). But we still can't do the expected thing if the caller isn't using _NOSYNC. Because of the way the tiling works, we need to build quite a bit of cmdstream at flush time, which is not possible to do at the libdrm level. So rather than trying to make fd_bo_cpu_prep() smarter than it can possibly be, just *always* discard and reallocate if the PIPE_TRANSFER_DISCARD_WHOLE_RESOURCE flag is set. Signed-off-by: Rob Clark <robclark@freedesktop.org>
2014-10-23clover: Require libelfJan Vesely1-2/+8
v2: test for libelf once, check in both radeon and clover CC: Tom Stellard <tom@stellard.net> CC: Emil Velikov <emil.l.velikov@gmail.com> CC: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2014-10-23clover: use correct typenames for compat::pair's first/secondEmil Velikov1-2/+2
Seems to be a typo judging from the overall declaration of the template. Cc: EdB <edb+mesa@sigluy.net> Cc: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
2014-10-23auxiliary/os: get the mmap/munmap wrappers working with androidEmil Velikov1-5/+12
- Use macro for munmap under Android - the STATIC_ASSERT uses a off_t which is not used under Android for mmap. As loff_t size does not vary as does off_t just ignore the assert. - Wrap the long lines to improve readability. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2014-10-23gallium/nouveau: fully build the driver under androidMauro Rossi1-1/+1
Fix the trivial typo in the variable name. Cc: "10.2 10.3" <mesa-stable@lists.freedesktop.org>
2014-10-23mesa/shaderimage.c: fix inconsistent sign warningAlon Levy1-1/+1
Signed-off-by: Alon Levy <alevy@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2014-10-23wgl: stw_pixelformat_get_info: correct type for index variableAlon Levy1-1/+1
Signed-off-by: Alon Levy <alevy@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2014-10-23u_math.h: fix 64 to 32 bit truncation warningAlon Levy1-1/+1
Signed-off-by: Alon Levy <alevy@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2014-10-23gallivm: Fix build with LLVM 3.3.José Fonseca1-0/+2
The setMCJITMemoryManager method doesn't exist in LLVM 3.3. I thought I had tested the latest version of my earlier change with LLVM 3.3, but it looks I missed it. Trivial.