José Fonseca [Wed, 16 Jul 2008 10:36:36 +0000 (19:36 +0900)]
gallium: ycbcr_get_tile_rgba allow reading an uneven number of pixels from yuv surfaces.
José Fonseca [Wed, 16 Jul 2008 05:11:45 +0000 (14:11 +0900)]
python: Expand the texture test suit to cover one YUV and one DXT format.
José Fonseca [Wed, 16 Jul 2008 05:10:51 +0000 (14:10 +0900)]
python: Silent debug output.
José Fonseca [Wed, 16 Jul 2008 05:10:35 +0000 (14:10 +0900)]
gallium: Add pf_is_compressed utility function.
José Fonseca [Wed, 16 Jul 2008 05:10:10 +0000 (14:10 +0900)]
softpipe: DXT formats not really supported.
Blair Sadewitz [Tue, 15 Jul 2008 23:21:43 +0000 (17:21 -0600)]
additional preprocessor checks for stdint.h, inttypes.h, etc
The patches to glext.h and glxext.h have been sent to Khronos/bugzilla.
Blair Sadewitz [Tue, 15 Jul 2008 23:12:23 +0000 (17:12 -0600)]
mesa: added test for __NetBSD__
Blair Sadewitz [Tue, 15 Jul 2008 23:11:33 +0000 (17:11 -0600)]
mesa: added test for __NetBSD__
Brian Paul [Tue, 15 Jul 2008 22:04:26 +0000 (16:04 -0600)]
mesa: add missing IR_LOG2 case
Brian Paul [Tue, 15 Jul 2008 21:33:04 +0000 (15:33 -0600)]
mesa: regenerated file
Brian Paul [Tue, 15 Jul 2008 21:32:53 +0000 (15:32 -0600)]
mesa: fix some broken /= operators
Brian Paul [Tue, 15 Jul 2008 21:04:15 +0000 (15:04 -0600)]
mesa: regenerated file
Brian Paul [Tue, 15 Jul 2008 21:03:42 +0000 (15:03 -0600)]
mesa: fix some broken bool, bvec2, bvec3, bvec4 constructors
Brian Paul [Tue, 15 Jul 2008 20:41:47 +0000 (14:41 -0600)]
mesa: fix storage size computation in emit_arith()
Brian Paul [Tue, 15 Jul 2008 19:27:44 +0000 (13:27 -0600)]
gallium: added some sanity check assertions
Brian Paul [Tue, 15 Jul 2008 19:25:57 +0000 (13:25 -0600)]
mesa: fix some function inlining bugs
Need to add local vars of original function to the new scope's variable
list (though the DECLs were already present).
In slang_operation_copy() call slang_replace_scope() for SLANG_OPER_BLOCK_NEW_SCOPE opers.
Brian Paul [Tue, 15 Jul 2008 19:11:08 +0000 (13:11 -0600)]
mesa: improved printing
Michal Krol [Tue, 15 Jul 2008 09:44:47 +0000 (11:44 +0200)]
mesa: Silence compiler warnings on Windows.
Michal Krol [Tue, 15 Jul 2008 09:26:38 +0000 (11:26 +0200)]
st: Silence compiler warnings on Windows.
Michal Krol [Tue, 15 Jul 2008 09:15:27 +0000 (11:15 +0200)]
mesa: Silence compiler warnings on Windows.
José Fonseca [Tue, 15 Jul 2008 08:57:48 +0000 (17:57 +0900)]
python: Cleanup.
José Fonseca [Tue, 15 Jul 2008 08:14:07 +0000 (17:14 +0900)]
python: Request/respect the texture & buffer usage flags in the examples.
José Fonseca [Tue, 15 Jul 2008 08:13:37 +0000 (17:13 +0900)]
python: Get object ownership done correctly.
José Fonseca [Tue, 15 Jul 2008 03:17:35 +0000 (12:17 +0900)]
python: Don't use python cflags as they conflict with existing flags.
José Fonseca [Mon, 14 Jul 2008 23:42:16 +0000 (08:42 +0900)]
python: Allow hardware support.
José Fonseca [Mon, 14 Jul 2008 22:56:42 +0000 (07:56 +0900)]
python: Move the python scons code to a separate tool module.
José Fonseca [Mon, 14 Jul 2008 15:33:54 +0000 (00:33 +0900)]
python: Get it to build on windows too.
Michal Krol [Tue, 15 Jul 2008 08:56:30 +0000 (10:56 +0200)]
tgsi: Numerical label before an instruction is optional.
Brian Paul [Tue, 15 Jul 2008 00:08:52 +0000 (18:08 -0600)]
tgsi: fix bug in execution of loops inside of conditionals.
Fixes infinite loop bug.
Brian Paul [Mon, 14 Jul 2008 21:58:57 +0000 (15:58 -0600)]
mesa: assemble main() after all other functions
Before, main() had to come after any functions it called.
Brian Paul [Mon, 14 Jul 2008 17:20:58 +0000 (11:20 -0600)]
mesa: comments about vectors vs components
Brian Paul [Mon, 14 Jul 2008 18:09:07 +0000 (12:09 -0600)]
egl: set EGL_CONFORMANT, EGL_RENDERABLE_TYPE config fields, fix null ptr crashes in MakeCurrent
Brian Paul [Mon, 14 Jul 2008 15:55:33 +0000 (09:55 -0600)]
mesa: fix stencil state problem when GL_ATI_separate_stencil wasn't enabled
In glStencilFunc/Op/Mask() set both the front and back-face state, unless
GL_EXT_stencil_two_side is enabled. Before, we only set the front+back state
if GL_ATI_separate_stencil was enabled.
Ultimately, we probably should remove GL_EXT_stencil_two_side since it's
incompatible with GL 2.x.
Julien Cristau [Sun, 13 Jul 2008 15:27:58 +0000 (17:27 +0200)]
glu: only export public symbols
Julien Cristau [Sun, 13 Jul 2008 15:13:32 +0000 (17:13 +0200)]
mklib: don't version symbols when using --exports
Use the default version instead of one based on the library SONAME
in the version script created by --exports.
Blair Sadewitz [Mon, 14 Jul 2008 14:16:46 +0000 (08:16 -0600)]
mesa: also check for __NetBSD__
José Fonseca [Mon, 14 Jul 2008 13:27:40 +0000 (22:27 +0900)]
python: Basic test case for 2d texture.
José Fonseca [Mon, 14 Jul 2008 13:26:40 +0000 (22:26 +0900)]
python: Raw tile access to surface.
José Fonseca [Mon, 14 Jul 2008 03:40:50 +0000 (12:40 +0900)]
python: Get the sample app to draw triangle like trivial/tri exanple.
José Fonseca [Mon, 14 Jul 2008 02:44:21 +0000 (11:44 +0900)]
python: Surface clears.
José Fonseca [Mon, 14 Jul 2008 02:38:44 +0000 (11:38 +0900)]
python: Set default state.
José Fonseca [Mon, 14 Jul 2008 01:45:40 +0000 (10:45 +0900)]
python: Allow to create/specify shaders.
Jakob Bornecrantz [Sun, 13 Jul 2008 16:55:38 +0000 (18:55 +0200)]
i915: Ops should not have pushed that
This reverts commit
930a863c4f6f11d0fd5cf396ef76054d52c69b9f.
Jakob Bornecrantz [Sun, 13 Jul 2008 16:04:49 +0000 (18:04 +0200)]
EGL: Only build EGL dri based drivers under linux-dri based configs
Jakob Bornecrantz [Thu, 10 Jul 2008 18:20:46 +0000 (20:20 +0200)]
i915: WIP swap rework
José Fonseca [Sun, 13 Jul 2008 14:36:59 +0000 (23:36 +0900)]
python: New state tracker which exposes the pipe driver to python scripts.
Still under development. Just barely works.
José Fonseca [Sun, 13 Jul 2008 13:39:58 +0000 (22:39 +0900)]
util: Eliminate pipe from the arguments to pipe_get/put_tile_xxx functions.
You don't need a pipe_context * for this, and all other necessary info is
already inside pipe_surface.
José Fonseca [Sun, 13 Jul 2008 13:37:47 +0000 (22:37 +0900)]
pb: buffer over/underflows are errors.
Michal Krol [Sun, 13 Jul 2008 13:23:14 +0000 (15:23 +0200)]
tgsi: Parse destination operand modulate modifier.
Michal Krol [Sun, 13 Jul 2008 13:14:31 +0000 (15:14 +0200)]
tgsi: Parse extended source register modifiers.
Michal Krol [Sun, 13 Jul 2008 12:50:12 +0000 (14:50 +0200)]
tgsi: Parse _SAT and _SAT opcode suffix.
Michal Krol [Sun, 13 Jul 2008 12:03:21 +0000 (14:03 +0200)]
tgsi: Parse IMM statements.
Michal Krol [Sun, 13 Jul 2008 11:13:39 +0000 (13:13 +0200)]
tgsi: Parse texture instructions correctly.
Michal Krol [Sun, 13 Jul 2008 10:16:16 +0000 (12:16 +0200)]
tgsi: Fix instruction operand counts.
Michal Krol [Sun, 13 Jul 2008 09:43:30 +0000 (11:43 +0200)]
tgsi: Fix instruction opcode parsing.
Michal Krol [Sun, 13 Jul 2008 09:42:33 +0000 (11:42 +0200)]
tgsi: Add missing SWZ opcode.
Michal Krol [Sun, 13 Jul 2008 09:37:36 +0000 (11:37 +0200)]
tgsi: Parse DCL statements.
Michal Krol [Sun, 13 Jul 2008 09:30:02 +0000 (11:30 +0200)]
tgsi: Remove depricated ATTRIB interpolate mode.
Stephane Marchesin [Sun, 13 Jul 2008 09:33:41 +0000 (11:33 +0200)]
llvm: build fixes.
Michal Krol [Sat, 12 Jul 2008 15:10:21 +0000 (17:10 +0200)]
scons: List `util/tgsi_text.c'.
Michal Krol [Sat, 12 Jul 2008 15:06:37 +0000 (17:06 +0200)]
tgsi: Add tgsi_text utility module.
Translates textual shader into a binary token stream.
The syntax matches the tgsi_dump module, so it's possible to
simply copy-paste the shader dump and transform it back
to a binary form.
Michal Krol [Sat, 12 Jul 2008 15:03:30 +0000 (17:03 +0200)]
tgsi: Fix dumping of indirect addressing.
Michal Krol [Sat, 12 Jul 2008 09:16:01 +0000 (11:16 +0200)]
tgsi: Add missing copyright headers.
Brian Paul [Fri, 11 Jul 2008 21:44:46 +0000 (15:44 -0600)]
egl: a minor overhauld of egl_xdri.c
Rely more on the libGL code to avoid duplicated efforts. Also fix confusion
arising from multiple __DRIscreen objects.
Brian Paul [Fri, 11 Jul 2008 21:43:52 +0000 (15:43 -0600)]
glx: added __glXPreferEGL() to tell libGL to prefer "egl_" drivers over regular DRI drivers.
Also, clean-up, consolidate the dlopen() code a bit.
Brian Paul [Thu, 10 Jul 2008 21:11:01 +0000 (15:11 -0600)]
build egl subdirs
Jakob Bornecrantz [Fri, 11 Jul 2008 18:01:33 +0000 (20:01 +0200)]
gallium: Make dri drivers create a egl_name_dri.so if supported
Jakob Bornecrantz [Thu, 10 Jul 2008 20:39:56 +0000 (22:39 +0200)]
gallium: Re-order the GALLIUM_AUXILIARY_DIRS to satisfy dependencies on util
Brian Paul [Thu, 10 Jul 2008 20:23:27 +0000 (14:23 -0600)]
gallium: check for FEATURE_feedback and FEATURE_drawpix when creating/using the aux draw module
Brian Paul [Thu, 10 Jul 2008 19:30:37 +0000 (13:30 -0600)]
egl: added EGL_OPENVG_API case (allow all APIs)
Brian Paul [Thu, 10 Jul 2008 19:29:42 +0000 (13:29 -0600)]
egl: add all EGL_*_BITs to ClientAPIsMask
Brian Paul [Thu, 10 Jul 2008 19:27:30 +0000 (13:27 -0600)]
gallium: re-order the GALLIUM_AUXILIARY_DIRS to satisfy .a interdependencies
libutil.a and libtranslate.a depend on libcso_cache.a so put them in that order.
Brian Paul [Thu, 10 Jul 2008 16:48:28 +0000 (10:48 -0600)]
egl: implement xdri_eglGetProcAddress() for gallium
Plus comments, clean-ups.
Brian Paul [Wed, 9 Jul 2008 21:54:21 +0000 (15:54 -0600)]
mesa: check for null shader->Source
Brian Paul [Wed, 9 Jul 2008 21:08:39 +0000 (15:08 -0600)]
mesa: return -1, not GL_FALSE if _glapi_add_dispatch() fails name sanity check
Brian Paul [Wed, 9 Jul 2008 21:52:04 +0000 (15:52 -0600)]
mesa: call glutDestroyWindow() on exit
Brian Paul [Wed, 9 Jul 2008 21:51:18 +0000 (15:51 -0600)]
mesa: disable fprintf() error
Brian Paul [Wed, 9 Jul 2008 21:49:59 +0000 (15:49 -0600)]
egl: link libEGL w/ additional libs
Brian Paul [Wed, 9 Jul 2008 21:47:27 +0000 (15:47 -0600)]
egl: misc updates/fixes
Set surface size when created.
Implement dri_find_dri_screen().
Look for "egl_xxx_dri.so" library before regular DRI driver.
Brian Paul [Wed, 9 Jul 2008 17:46:16 +0000 (11:46 -0600)]
gallium: fix logic in pb_check_usage()
Brian Paul [Wed, 9 Jul 2008 14:48:41 +0000 (08:48 -0600)]
mesa: check for OpenBSD (bug 15604)
cherry-picked from master
Brian Paul [Wed, 9 Jul 2008 14:47:23 +0000 (08:47 -0600)]
mesa: fix state.clip[n].plane parsing bug (bug 16611)
cherry-picked from master
Zack Rusin [Wed, 9 Jul 2008 14:20:28 +0000 (10:20 -0400)]
egl: plug a small memleak
Zack Rusin [Wed, 9 Jul 2008 13:29:49 +0000 (09:29 -0400)]
draw: remove some debug output
Brian Paul [Tue, 8 Jul 2008 22:58:50 +0000 (16:58 -0600)]
mesa: remove debug code
Brian Paul [Tue, 8 Jul 2008 22:12:01 +0000 (16:12 -0600)]
mesa: implement glGetUniformiv() with new ctx->Driver function
The old implementation could overwrite the caller's param buffer.
Brian Paul [Tue, 8 Jul 2008 21:04:47 +0000 (15:04 -0600)]
mesa: fix bug/failure in recursive function inlining
Fixes a failure for cases such as y = f(a, f(a, b))
All the usual tests still pass but regressions are possible...
Brian Paul [Tue, 8 Jul 2008 21:00:11 +0000 (15:00 -0600)]
gallium: tweak printing of generic declarations
Brian Paul [Tue, 8 Jul 2008 20:59:31 +0000 (14:59 -0600)]
mesa: more debug output
Brian Paul [Tue, 8 Jul 2008 19:05:43 +0000 (13:05 -0600)]
mesa: compute global var size before doing codegen
Brian Paul [Tue, 8 Jul 2008 19:02:33 +0000 (13:02 -0600)]
mesa: add missing VARYING case to storage_string()
Jakob Bornecrantz [Tue, 8 Jul 2008 14:54:22 +0000 (16:54 +0200)]
i915: Takedown EGL screen
Jakob Bornecrantz [Tue, 8 Jul 2008 12:44:23 +0000 (14:44 +0200)]
i915: Use deviceID in EGL device create
Jakob Bornecrantz [Tue, 8 Jul 2008 12:41:17 +0000 (14:41 +0200)]
i915: Complete the screen -> device renaming
Jakob Bornecrantz [Tue, 8 Jul 2008 12:16:15 +0000 (14:16 +0200)]
i915: Renamed intel_screen to intel_device
The renameing makes more sense, why because:
In egl you have a display/driver/device as the
basis, and you have screens as outputs.
Jonathan White [Mon, 7 Jul 2008 23:56:29 +0000 (17:56 -0600)]
mesa: added GLAPIENTRY keywords
Jonathan White [Mon, 7 Jul 2008 23:56:09 +0000 (17:56 -0600)]
egl: updated GL_APIENTRY for Windows
José Fonseca [Mon, 7 Jul 2008 10:35:23 +0000 (19:35 +0900)]
raw2png: More helpful messages. Handle PIPE_FORMAT_A8B8G8R8_SNORM.
José Fonseca [Mon, 7 Jul 2008 10:29:24 +0000 (19:29 +0900)]
raw2png: Update formats from p_formats.h
Brian Paul [Mon, 7 Jul 2008 20:34:30 +0000 (14:34 -0600)]
egl: bump up MAX_ATTRIBS, added assertion