Commit Graph

31427 Commits

Author SHA1 Message Date
Brian Paul ab71a5e4c9 llvmpipe: added some assertions 2010-02-24 13:54:25 -07:00
Kristian Høgsberg f272a780af xeglgears: Remove borrowed GL_OES_EGL_image types
These are now in gl.h.
2010-02-24 14:36:56 -05:00
Kristian Høgsberg 61cc18a866 xeglgears: Add test case for texturing from an EGLImage 2010-02-24 14:28:42 -05:00
Kristian Høgsberg f4e7d1b1e5 egl_dri2: Implement EGL_KHR_image and EGL_KHR_image_pixmap 2010-02-24 14:28:42 -05:00
Kristian Høgsberg 10e7962741 intel: Implement GL_OES_EGL_image entrypoints 2010-02-24 14:28:42 -05:00
Kristian Høgsberg c26247100b intel: Implement DRI image extension 2010-02-24 14:28:42 -05:00
Kristian Høgsberg 79cbcb663d dri_interface.h: Add DRI image and eglImageLookup extensions
These are used for implementing the various EGLImage extensions.
2010-02-24 14:28:41 -05:00
Brian Paul ccd78fed88 gallium: remove $(DEFINES) from cc/c++ command lines
The $(DEFINES) is already in $(CFLAG)S and (CXXFLAGS).
This prevents all the -D args appearing twice in the compilation commands.
2010-02-24 12:03:59 -07:00
Brian Paul 51b799288a mesa: put declaration before code 2010-02-24 11:57:26 -07:00
Brian Paul 9f6990120a gallium: comment/document usage flags 2010-02-24 11:56:38 -07:00
Kristian Høgsberg d1dc5b124e core: Implement GL_OES_EGL_image entry points 2010-02-24 13:38:56 -05:00
Kristian Høgsberg 07b07b4d72 glapi: GL_OES_EGL_image autogenerated files 2010-02-24 13:38:55 -05:00
Kristian Høgsberg caa46f7538 glapi: Add GL_OES_EGL_image 2010-02-24 13:38:55 -05:00
Brian Paul 517faa4f37 st/mesa: updated comments 2010-02-24 11:33:54 -07:00
Brian Paul 002f914211 st/mesa: consolidate redundant format conversion code 2010-02-24 11:31:33 -07:00
Brian Paul 7802ef6f69 st/mesa: more format code clean-up and removal 2010-02-24 11:23:58 -07:00
Brian Paul d7de632de3 st/mesa: clean-ups in FBO code 2010-02-24 11:17:41 -07:00
Brian Paul 87c85347ed st/mesa: clean-up of format-related code 2010-02-24 11:10:47 -07:00
Brian Paul 5d8aae55f2 st/mesa: use util_format_get_blocksize() 2010-02-24 11:03:58 -07:00
Brian Paul 5bc62895e2 st/mesa: code clean-ups in st_renderbuffer_alloc_storage() 2010-02-24 10:56:10 -07:00
Brian Paul f8978f186e llvmpipe: SRGB textures not supported yet 2010-02-24 10:47:58 -07:00
Brian Paul ba92947198 llvmpipe: vertex shader textures not supported yet 2010-02-24 10:44:01 -07:00
Alex Deucher 5997501ca0 r600: proper fix for 1560183536
PRE_EMIT_STATE_BUFSZ accounts for the start 3d, idle, cd/db flush
not for state.  The relocs for CB_COLOR0_FRAG & CB_COLOR0_TILE
are part of the render target state.
2010-02-24 11:43:33 -05:00
José Fonseca f9f4f3df42 r300: Update for UTIL_FORMAT_LAYOUT_xxx changes. 2010-02-24 16:16:21 +00:00
José Fonseca 85434f9e3c mesa: Update for UTIL_FORMAT_LAYOUT_xxx changes. 2010-02-24 16:16:21 +00:00
José Fonseca 83686b3f92 llvmpipe: Update for UTIL_FORMAT_LAYOUT_xxx changes. 2010-02-24 16:16:21 +00:00
José Fonseca e5a43ac594 gallivm: Update for UTIL_FORMAT_LAYOUT_xxx changes. 2010-02-24 16:16:21 +00:00
José Fonseca 816d23505a util: Kill array vs arith layouts. Revamp UTIL_FORMAT_LAYOUT_xxx.
Too confusing. I now can get the same information through other means.
2010-02-24 16:16:21 +00:00
Brian Paul b64b78e7c3 i915g: fix a comment 2010-02-24 08:52:33 -07:00
Brian Paul fb1834cdfd gallium/docs: clean up texture usage text, added texture geom info 2010-02-24 08:52:33 -07:00
José Fonseca 085810542f llvmpipe: Fix breakeage.
Due to the u_format.csv changes the unrolled code generator was being used
for formats it didn't support.

Bring some bugfixes from u_format_access.py too.
2010-02-24 15:45:28 +00:00
José Fonseca 1dbb5f02ae util: Refactor some code. 2010-02-24 15:45:28 +00:00
José Fonseca 3c45c4bc44 util: Cope with the fact that formats in u_format.csv are not ordered. 2010-02-24 15:45:28 +00:00
José Fonseca 943314f38f util: Factor out the code to shorten a format name. 2010-02-24 15:45:28 +00:00
José Fonseca a9395360f2 llvmpipe: Handle correctly 24bit formats. 2010-02-24 15:45:28 +00:00
José Fonseca 395b335fa4 util: Handle correctly 24bit formats. 2010-02-24 15:45:28 +00:00
José Fonseca 5caa004829 util: Minor tweaks to ambigous/unused format descriptions. 2010-02-24 15:45:28 +00:00
José Fonseca 55f02ba364 util: Fix swizzles for SRGB formats.
Based on Marek Olšák's fix 8-bits-per-channel formats swizzles, with the
exception that the notation for several formats (the vector formats)
is actually reversed so they should be left alone.
2010-02-24 15:45:28 +00:00
José Fonseca ba7ce0ccd4 util: Organize formats in groups. Add comments. 2010-02-24 15:45:28 +00:00
José Fonseca b57d80da77 util: Allow '#' comments in u_format.csv. 2010-02-24 15:45:28 +00:00
Brian Paul 78f72d73ee mesa: disable unreachable meta mipmap gen code
More work is needed to support 3D mipmap generation.  Disable unreachable
code until then.

See bug 26722.
2010-02-24 08:14:33 -07:00
José Fonseca 573a8002d5 util: Kill unused UTIL_FORMAT_LAYOUT_SCALAR. 2010-02-24 12:15:13 +00:00
José Fonseca 4e526b42b0 llvmpipe: Kill unused UTIL_FORMAT_LAYOUT_SCALAR. 2010-02-24 12:15:13 +00:00
José Fonseca 5dce9b252b util: Store more derived data in the the format description. 2010-02-24 12:15:13 +00:00
Dave Airlie 3f5bac8960 radeon/r200: fix the state emission before kernel clear
this moves the emission outside the lock and adds r200 support.

Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-02-24 19:13:07 +10:00
Vinson Lee e16f0c14f3 r600: Assert that array index is not negative. 2010-02-24 00:24:51 -08:00
Dave Airlie b75d407369 radeon: fix bad state emission causes kernel to do bad depth clear
The kernel lets you clear depth without getting a depth offset
from userspace, mesa used to emit state before clear, but that got
lost in the refactoring, which made the kernel bug show up. Fix
mesa driver to emit the state properly now.

Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-02-24 17:19:09 +10:00
Kristian Høgsberg db9c151d77 intel: Call intel_prepare_render() in intelMakeCurrent()
This restores old behaviour, where we end up doing a DRI2GetBuffers()
call from intelMakeCurrent().  The idea was that we could do this
lazily, just before we start rendering.  However, if we don't do the
DRI2GetBuffers() round-trip we don't get the drawable size and higher
level mesa ends up short-cutting a number of GL calls, such as glClear().
2010-02-23 23:20:07 -05:00
Brian Paul 402f54b0d1 gallivm: added clamp and int_to_float functions 2010-02-23 21:16:18 -07:00
Brian Paul 1eec90d660 llvmpipe: add lp_tile_image.c to sources 2010-02-23 21:14:48 -07:00