Commit graph

34230 commits

Author SHA1 Message Date
Chia-I Wu
719f7049bb st/mesa: Fix texture-from-pixmap.
Remember the size of the level=0 mipmap image.  Do not call
util_format_get_component_bits when st_context_teximage is called to
release a texture image.
2010-05-05 11:58:04 +08:00
Chia-I Wu
a6ec153830 mesa: Fix build of ES overlay.
ES overlay is built with FEATURE_ES1 or FEATURE_ES2, and is built
without FEATURE_GL.  Fix the build by always building OpenGL ES sources,
but test for FEATURE_ES1 or FEATURE_ES2.  Also, define symbols that are
missing because FEATURE_GL is not defined.
2010-05-05 11:57:46 +08:00
Brian Paul
b29b27c118 st/mesa: remove commented-out struct field 2010-05-04 21:19:30 -06:00
Brian Paul
382eb1a728 gallium: remove trailing comma in enum list 2010-05-04 21:18:55 -06:00
Brian Paul
791c3395ab mesa: add a dummy definition for fpclassify() if needed 2010-05-04 21:14:42 -06:00
Brian Paul
bef9460dcd mesa: remove trailing comma in enum list
Some compilers complain about this.
2010-05-04 21:12:01 -06:00
Brian Paul
1169d8619a llvmpipe: predicate LLVMDumpModule() on DEBUG_JIT 2010-05-04 20:46:27 -06:00
José Fonseca
b2e343daab tests/raw: Get it building with scons. 2010-05-05 02:39:08 +01:00
José Fonseca
ddb0e18f6c draw: Preserve the provoking vertex both when decomposing and clipping.
Based on John Lawless' feedback.
2010-05-05 00:46:13 +01:00
Brian Paul
dc1c33b448 draw: Adjust wideline vertex coords for D3D. 2010-05-05 00:46:13 +01:00
José Fonseca
f816937d77 scons: Add support for Mingw64. 2010-05-05 00:46:12 +01:00
Brian Paul
c6fdb950e9 st/mesa: need to pass srcLevel to st_texture_image_copy()
Fixes a regression in mipmap setup.
2010-05-04 17:25:36 -06:00
Brian Paul
87022efb4f llvmpipe: fix broken compressed cube maps
When the cube faces were stored in a compressed format, the img_stride
values were wrong and didn't match the per-face size computed in the
tex_image_face_size() function.  This caused bad rendering or segfaults.
2010-05-04 17:17:04 -06:00
Brian Paul
0f0c0368fa gallium/util: added is_format_compressed() 2010-05-04 17:17:04 -06:00
Brian Paul
477b0d838b llvmpipe: do some null pointer checking 2010-05-04 17:17:04 -06:00
Brian Paul
0671c6b589 llvmpipe: add some tests for malloc() returning NULL.
Start propogating NULL pointers from allocation functions and checks for
NULL in the callers...
2010-05-04 17:17:04 -06:00
Brian Paul
2649d64fee progs/demos: set line width back to 1.0 in DrawBox() 2010-05-04 17:17:04 -06:00
Kristian Høgsberg
6a191b2713 glxinfo: Get visual info when an fbconfig has an associated visual 2010-05-04 15:29:25 -04:00
Kristian Høgsberg
9e4f2da848 Fix gles .pc file generation 2010-05-04 14:13:46 -04:00
Kristian Høgsberg
ceffd7b924 Add egl.pc file 2010-05-04 14:13:46 -04:00
Marek Olšák
88512e837e r300g: advertise S3TC only when it's available in Gallium 2010-05-04 20:09:53 +02:00
Wiktor Janas
677a604556 u_blitter: fix creating fragment shaders
See FDO bug #27887.

Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-05-04 19:56:44 +02:00
Kristian Høgsberg
06c72da97a intel: Update renderbuffers unconditionally in intelSetTexBuffer2() 2010-05-04 13:35:51 -04:00
Brian Paul
2b53f4a9c6 st/mesa: return success/fail from guess_and_alloc_texture()
Before we looked at stObj->pt to see if we may have run out of memory,
but that's not a good indicator.  This fixes the spurious GL_OUT_OF_MEMORY
errors that could arise before.
2010-05-04 10:32:02 -06:00
Brian Paul
c2b47a7557 st/mesa: improved st_texture_image_copy()
No longer need to search for the src mipmap level.
Added assertions.
Updated comments.
Moved debug code into separate function.
2010-05-04 10:29:42 -06:00
José Fonseca
dad962bafe mesa/st: Fill in native program limits.
In the lack of more fine grained capabilities in Gallium, assume that if
the pipe driver supports GLSL then native limits match Mesa software
limits.
(cherry picked from commit 40a90cd11234a09c2477f5c9984dd6d9fac3f52c)
2010-05-04 15:41:19 +01:00
Kristian Høgsberg
1c920c6176 intel: Enable GL_EXT_framebuffer_object for gles2 2010-05-04 09:22:35 -04:00
José Fonseca
ec43b2eb45 gallivm: Proper implementation of TXL opcode. 2010-05-04 13:51:54 +01:00
José Fonseca
4554cdc289 gallivm: Fix several glitches introduced in the prev commit. 2010-05-04 13:32:40 +01:00
Kristian Høgsberg
2b1f0e17d8 mesa: Forgot to add .pc.in files for gles
Some day I'll grow up and remember to add new files when I commit.
2010-05-04 07:23:30 -04:00
José Fonseca
962558daae gallivm: Implement TXD. 2010-05-04 10:08:10 +01:00
Chia-I Wu
3c6756d6f5 gles: Add -I$(TOP)/include. 2010-05-04 16:00:55 +08:00
Kristian Høgsberg
e83ca4052b mesa: Only initialize TNL for OpenGL 2010-05-03 21:21:58 -04:00
Kristian Høgsberg
208fdac73a mesa: Only initialize save dispatch table for OpenGL 2010-05-03 21:21:58 -04:00
Kristian Høgsberg
642839824e progs/egl/opengles2: Add es2gears demo
Because every subdirectory under progs has to have a version of gears.
2010-05-03 21:21:58 -04:00
Brian Paul
e2ea69afef mesa: increase MAX_DRAW_BUFFERS to 8
Required for GL 3.x
2010-05-03 17:35:40 -06:00
Brian Paul
8b0c217f2b gallium: move surface utility functions into u_surface.c
This is a better place than in u_rect.c
2010-05-03 17:28:32 -06:00
José Fonseca
6c8c88f02f gallivm: Increase the TGSI translation limits and centralize them in a header. 2010-05-04 00:22:16 +01:00
José Fonseca
a9d1a85f81 gallicm: Newton-Raphson step to improve precision.
Disabled as it doesn't make VS/PSPrecision DCT happy, and it would
unnecessarily slow some cases where it is not needed.
2010-05-04 00:22:16 +01:00
Brian Paul
9b02f41cac cso: use framebuffer utility functions 2010-05-03 17:13:21 -06:00
Brian Paul
1fc5a318a6 gallium: move framebuffer utility functions into a new file 2010-05-03 17:08:17 -06:00
Brian Paul
d8306c9caf st/mesa: remove dead code 2010-05-03 16:13:57 -06:00
Brian Paul
295a87f6c2 st/mesa: remove unused needFlush parameter to st_finalize_texture() 2010-05-03 16:13:20 -06:00
Brian Paul
013b332cbc st/mesa: updated comments and fix some formatting in texture storage code 2010-05-03 16:03:19 -06:00
Brian Paul
e79086865b st/mesa: rename srcImageStride -> srcRowStride and fix-up formatting 2010-05-03 15:51:00 -06:00
Brian Paul
c7d1d34c58 st/mesa: consolidate and clean-up texture memory allocation code 2010-05-03 15:48:00 -06:00
Brian Paul
fe3332da78 st/mesa: updated comments for st_texture_image_map() 2010-05-03 15:47:29 -06:00
Brian Paul
41b8a2e939 st/mesa: move some texture size calculation code 2010-05-03 15:39:40 -06:00
Brian Paul
682fec0dca st/mesa: remove old convolution-related vars and min pitch code 2010-05-03 15:35:21 -06:00
Brian Paul
b02619914e st/mesa: remove unsupported convolution code 2010-05-03 15:31:09 -06:00