summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-08-26configure: remote --enable-remote, use --with-gallium-drivers=remote insteadHEADspice_vgalliumAlon Levy1-19/+15
2011-08-26remote: add missing MakefilesAlon Levy2-0/+132
2011-08-26configure: --enable-remote fix, add remote driverAlon Levy1-0/+1
2011-08-26links, loads (try glxinfo) but breaksAlon Levy8-44/+404
since the init isn't implemented, first message (screen_complete sends a screen_connect). Need to create a socket and allocate some buffers. Xen VGallium used a number of rings. For a socket it's probably overkill, later I'll want to abstract this for ring/no ring, right now probably just do the minimum.
2011-08-26remote: more in progress - moving some winsys to driverAlon Levy7-67/+154
resource_create and user_buffer_create implemented previously in winsys and when resource_create was still called buffer_create and didn't receive a template. Changed the affected REMREQ_* messages, hoping that my guess that the template would be a previously created remote resource (actually, where does this start? oh well) so passing both handles and screens.
2011-08-26s/g/w/s/remote_xlib: remove all glx implementationAlon Levy1-12/+2
2011-08-26s/g/w/s/remote_xlib: fix Makefile LIBNAMEAlon Levy1-1/+1
2011-08-26remote: (wip) winsys (from old, doesn't build), remote makefileAlon Levy1-0/+90
2011-08-26s/g/winsys/sw/remote_xlib: adding, broken - uses 2 years old apiAlon Levy3-0/+564
Minus all the files that are copies plus tweaks from sw/xlib. Maybe possible to do without it with the sw_winsys.
2011-08-26g/d/remote: rename tr_ to remote_Alon Levy5-4/+4
2011-08-26g/d/r: builds and links, now how do I get a libGL.so?Alon Levy1-363/+171
2011-08-26gallium/drivers/remote: tr_context.c buildsAlon Levy4-56/+340
TODO: split this large commit or improve commit message Contains changes required to get tr_context to build: updates of API used from old vgallium to current mesa. All new functions left with an empty implementation debug_print-ing "implement me"
2011-08-26g/d/r: use debug_printf instead of printfAlon Levy4-30/+25
2011-08-26g/d/r: staticfy discard_asynchronous_messagesAlon Levy1-1/+1
2011-08-26g/d/r: ifdef some unused functions to avoid unused warningAlon Levy2-1/+4
2011-08-26g/d/remote: add include stdioAlon Levy1-0/+3
2011-08-26g/d/remote: pipe_framebuffer_state num_cbufs->nr_cbufsAlon Levy1-2/+2
2011-08-26g/d/remote: pipe/p_debug.h,p_inlines.h -> util/u_*Alon Levy2-2/+2
2011-08-26g/d/remote: s/(pipe_buffer|pipe_texture)/pipe_resource/Alon Levy1-6/+6
2011-08-26g/d/remote: optotext: fix return value (fold earlier)Alon Levy1-0/+1
2011-08-26gallium/drivers/remote: s/\<pipe_texture\>/pipe_resource/Alon Levy1-2/+2
2011-08-26gallium/drivers/remote: add static's and (void)Alon Levy3-13/+15
2011-08-26gallium/drivers/remote with s/uint64/uint64_tAlon Levy13-0/+4229
2011-08-26g3dvl: Rewrite the mpeg 1&2 bitstream parsermasterChristian König5-1751/+934
Based on work of Maarten Lankhorst this time. Signed-off-by: Christian König <deathsimple@vodafone.de> Reviewed-by: Younes Manton <younes.m@gmail.com>
2011-08-26g3dvl: Use a single texture for luma and chroma dataChristian König6-140/+91
Signed-off-by: Christian König <deathsimple@vodafone.de> Reviewed-by: Younes Manton <younes.m@gmail.com>
2011-08-26g3dvl: Rework the decoder interface part 5/5Christian König5-22/+34
Make setting the quant matrixes a generic interface. Also removes setting the quant matrix from the XvMC interface Signed-off-by: Christian König <deathsimple@vodafone.de> Reviewed-by: Younes Manton <younes.m@gmail.com>
2011-08-26g3dvl: Rework the decoder interface part 4/5Christian König6-29/+11
Make the picture_structure enum spec complient. Also remove it from the compositor. Signed-off-by: Christian König <deathsimple@vodafone.de> Reviewed-by: Younes Manton <younes.m@gmail.com>
2011-08-26g3dvl: Rework the decoder interface part 3/5Christian König11-361/+437
Revert back to a macroblock based interface. The structure used tries to keep as close to the spec as possible. Signed-off-by: Christian König <deathsimple@vodafone.de> Reviewed-by: Younes Manton <younes.m@gmail.com>
2011-08-26g3dvl: Rework the decoder interface part 2/5Christian König10-16/+61
Implement PIPE_CAP_NUM_BUFFERS_DESIRED giving the decoder control over the number of buffers a state tracker should allocate. Signed-off-by: Christian König <deathsimple@vodafone.de> Reviewed-by: Younes Manton <younes.m@gmail.com>
2011-08-26g3dvl: Rework the decoder interface part 1/5Christian König7-316/+404
First of all get ride of the decode_buffer structure, while still giving the decoder the ability to organize it's buffers depending on the needs of the state tracker. Signed-off-by: Christian König <deathsimple@vodafone.de> Reviewed-by: Younes Manton <younes.m@gmail.com>
2011-08-26tgsi: update tgsi.rst for TXQDave Airlie1-2/+14
add some info on the TXQ opcode. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-08-25i915g: Fix off-by-one in scissors.David Reveman1-2/+2
2011-08-25i915g: Fix case where texcoords can overlap with fragpos/frontface.Stéphane Marchesin1-3/+3
2011-08-25i915g: Improve the flush heuristic by using the previous frame's number of ↵Stéphane Marchesin4-6/+18
vertices.
2011-08-25r600g: fix replace_gpr_with_pv_psVadim Girlin1-1/+1
Instructions with 3 source operands have no write mask, so we may replace their destinations with PV/PS in the next group even if their dst.write is 0. Note: This is a candidate for the 7.11 branch. Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-25r600g: fix check_and_set_bank_swizzleVadim Girlin1-10/+20
Need to do full check when not all bank swizzles in the group are forced (e.g. when trying to merge interp_* group with the next instruction) Note: This is a candidate for the 7.11 branch. Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-25glcpp: Add GL_ARB_conservative_depth #define.Kenneth Graunke1-1/+3
Forgotten in the patch that enabled the extension. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2011-08-25i965: Remove all bits of NRM3 and NRM4 codeIan Romanick1-31/+0
Nothing in Mesa generates these opcodes, and i965 hardware cannot support it natively. If support were ever added for this opcode in Mesa, there had better be a lowering pass for hardware that doesn't support it natively.
2011-08-25glsl: fix crash when a const is passed to texelFetchOffsetDave Airlie1-0/+1
while debugging texelFetchOffset we kept hitting the assert. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2011-08-25glsl: Bail after reporting an error for non-constant const_in parameters.Kenneth Graunke1-0/+1
Otherwise we continue and hit the "Illegal formal parameter mode" assertion. Fixes negative compile test texelFetchOffset.frag in piglit. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-08-25pp: add files to Makefile.sourcesBrian Paul1-0/+6
2011-08-25Merge branch 'kasanen-post-process-v2'Brian Paul22-4/+4844
Conflicts: src/gallium/auxiliary/Makefile src/gallium/auxiliary/SConscript
2011-08-25softpipe: add const qualifier to silence warningsBrian Paul1-1/+1
2011-08-25glsl_to_tgsi: add TXF support. (v2)Dave Airlie1-3/+7
This adds texelFetch support to translate from GLSL to TGSI TXF opcode. I've tested this works with an r600g and softpipe backend. v2: drop comments, fix title, Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Bryan Cain <bryancain3@gmail.com>
2011-08-25softpipe: implement TXF support via get_texel callbackDave Airlie1-0/+69
This just calls the texel fetch functions directly bypassing the sampling, notes: 1: loops inside switch should be more optimal. 2: borders can be sampled though only up to border depth, outside that its undefined. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-08-25tgsi: add TXF support.Dave Airlie2-1/+59
This is a straight texel fetch with no filtering or clamping. It uses integers to specify the i/j/k (from EXT_gpu_shader4). To enable this I had to add another hook into the tgsi sampler so that we could easily bypass all the filtering sample does. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2011-08-25glsl_to_tgsi: implement TXS/TXQ. (v2)Dave Airlie1-9/+18
GLSL uses TXS, call the gallium TXQ opcode. v2: fix indent from 4->3. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Bryan Cain <bryancain3@gmail.com>
2011-08-25softpipe: add get_dims callback for TXQ support. (v2)Dave Airlie1-0/+40
This adds the get_dims callback that is called from the tgsi exec_txq. It returns values as per EXT_gpu_program4. v2: fix one indent + use a switch (slighty modified from Brian) Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2011-08-25tgsi: add TXQ support. (v2)Dave Airlie2-1/+31
this adds another callback in the sampler struct containing get_dims entry point. This is used to query the driver for the texture resource dimensions for the resource bound to the current sampler. v2: remove unusued variable, fix indent Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-08-25glsl: Implement the GL_ARB_conservative_depth extension.Kenneth Graunke7-5/+9
It's the same as GL_AMD_conservative_depth. The specs have slight differences in wording, but don't differ in content or behavior. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>