Jakob Bornecrantz
1315f720ba
i915: Destruction of surface, context and device in EGL
2008-07-07 13:24:09 +02:00
Dan Nicholson
e6e4f25aa5
autoconf: Allow commas or spaces to separate DRI drivers
...
Explicitly allow the argument to --with-dri-drivers to contain
comma-separated or space-separated drivers. A space-separated driver
list worked by chance before.
2008-07-06 14:17:54 -07:00
Dan Nicholson
11ac5b2456
Set library and header installation directories from configuration
...
Currently the installation directories for libraries and headers are
resolved within the install commands. For instance, the libraries will
be installed to $(INSTALL_DIR)/$(LIB_DIR). This limits the flexibility
of the installation, such as when the libraries should be installed to a
subdirectory like /usr/lib/tls.
This adds the make variables $(INSTALL_LIB_DIR) and $(INSTALL_INC_DIR)
to define the locations that the libraries and headers are installed.
For the static configs, this resolves exactly as before to
$(INSTALL_DIR)/include and $(INSTALL_DIR)/$(LIB_DIR). For autoconf, they
are derived directly from the --libdir and --includedir settings.
2008-07-06 14:15:40 -07:00
Nicolai Haehnle
056689d457
r500_fragprog: Fix RSQ with negative parameters
2008-07-06 16:39:31 +02:00
Nicolai Haehnle
2b2cb56656
r300_fragprog: Emulate trigonometric functions in radeon_program_alu
2008-07-06 10:00:35 +02:00
Nicolai Haehnle
4746752f16
r300: Translate fragment program DST in radeon_program_alu
2008-07-06 10:00:35 +02:00
Nicolai Haehnle
03abd021f2
r300: Translate fragment program LRP in radeon_program_alu.c
2008-07-06 10:00:35 +02:00
Nicolai Haehnle
62bccd6df0
r300: Allow adding parameters during fragprog transform, share LIT code
2008-07-06 09:59:43 +02:00
Nicolai Haehnle
77fdfaa23a
r300: Correctly scan for used temporary registers
...
This fixes a regression introduced by dea8719f0...
2008-07-05 20:01:20 +02:00
Nicolai Haehnle
364d45a3e1
r500: Major refactoring of fragment program emit
...
Use the common facilities to convert non-native instructions into native ones.
Worked hard to make the code easier to read (hopefully), by using helper
functions instead of direct manipulation of the machine code.
Fixes two bugs related to FLR and XPD.
2008-07-05 18:04:10 +02:00
Nicolai Haehnle
dea8719f00
r300: Remove clause stuff for now in favour of a cloned generic gl_program
2008-07-05 18:04:10 +02:00
Nicolai Haehnle
85b46fbe9c
r500_fragprog: Cleanup some unused variables and code.
2008-07-05 18:04:10 +02:00
Nicolai Haehnle
13c44679ad
r500: Fix a mixup in fragment program LRP instruction emit
2008-07-05 18:04:10 +02:00
Nicolai Haehnle
09e587fcf3
r500: Fix blend color.
2008-07-05 18:04:09 +02:00
Nicolai Haehnle
82635aad42
_mesa_clone_program: Copy ShadowSamplers
2008-07-05 18:04:04 +02:00
Jakob Bornecrantz
b30fb6d540
i915: Fix EGL version and name
2008-07-05 16:53:29 +02:00
Jakob Bornecrantz
c6d6a57424
i915: Added a intel be function to wrap a drm bo handle
2008-07-05 15:58:42 +02:00
Jakob Bornecrantz
74db8e9b3f
i915: Fix haveDepth and haveStencil for visual in EGL
2008-07-05 14:04:02 +02:00
José Fonseca
152ed98b84
softpipe: Prevent NULL ptr derreference on takedown.
2008-07-05 03:51:26 +09:00
José Fonseca
c23b64f164
softpipe: Compute block size for display targets.
2008-07-05 03:51:25 +09:00
Jakob Bornecrantz
e6c24539c3
i915: Added debug filling code of texture, not active
2008-07-04 19:33:40 +02:00
Jakob Bornecrantz
f6e8963bb1
i915: Clean up intel_egl.c a bit
2008-07-04 19:33:34 +02:00
Jakob Bornecrantz
52912d8616
egl: Add egltri
...
First tri for EGL drivers with mesa screen ext
2008-07-04 19:33:09 +02:00
Brian Paul
0bc2409e38
mesa: Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX.
...
Simplification in colortab.c too.
cherry-picked from master (fe46900703 )
2008-07-04 10:37:07 -06:00
Brian Paul
a3de65659c
gallium: fix st_choose_format(internalFormat=GL_RGBA16)
...
Need to check if we're choosing a surface or texture format.
2008-07-04 10:35:32 -06:00
Brian Paul
2fa7b3f786
mesa: Implement mutex/locking around texture object reference counting.
...
Use new _mesa_reference_texobj() function for referencing/unreferencing
textures. Add new assertions/tests to try to detect invalid usage of
deleted textures.
cherry-picked from master (9e01b915f1 )
2008-07-04 10:29:15 -06:00
Nicolai Haehnle
e187627c1d
r300: Fix depth texture in compare mode
...
Missed the homogenous divide of R by Q before...
2008-07-04 18:22:16 +02:00
Nicolai Haehnle
845e3f701d
Enable TexGen based on InputsRead when a fragment program is active
...
The old behaviour depended on which texture images the fragment program
reads from, which seems to contradict the shader specifications.
Note: Piglit's general/texgen test checks for this problem.
2008-07-04 18:22:15 +02:00
Brian Paul
1f4d0748ba
GLSL-related bug fixes
2008-07-04 10:05:39 -06:00
Brian Paul
e06565b103
mesa: generate GL_INVALID_OPERATION in _mesa_get_uniform_location() if program isn't linked
2008-07-04 10:04:03 -06:00
Brian Paul
b931a0c1d9
mesa: remove incorrect assertion
2008-07-04 10:04:03 -06:00
Brian Paul
9ca1c62a96
gallium: replace assertion with conditional
2008-07-04 10:02:44 -06:00
Brian Paul
ba9e633902
gallium: fix trim() function bug when count < first
...
If the user called glDrawArrays(GL_TRIANGLES, count=1), trim() returned a
very large integer because of the unsigned arithmetic.
2008-07-04 10:02:43 -06:00
Brian Paul
294b061256
mesa: generate GL_INVALID_OPERATION in _mesa_get_uniform_location() if program isn't linked
2008-07-04 10:02:43 -06:00
Brian Paul
c4b6941e62
mesa: move assertion
2008-07-04 10:02:43 -06:00
José Fonseca
4a18324c0b
psb: Fill all texture fields when creating texture blanket.
2008-07-05 00:56:36 +09:00
José Fonseca
1942e29bf7
softpipe: Implement texture blankets.
2008-07-05 00:55:18 +09:00
José Fonseca
194cfc7a4e
scons: Enable gcc SSE2 intrinsics on x86.
2008-07-04 22:28:57 +09:00
Alan Hourihane
9157b1e09a
glcontextmodes.c is required remove the reference in .gitignore
2008-07-04 13:54:49 +01:00
Xiang, Haihao
0c1e96e6d3
mesa: fix polygon offset issue (bug #12061 )
2008-07-04 09:53:51 +08:00
Brian Paul
dd3311aa89
mesa: added _vbo_VertexAttrib4f()
2008-07-03 17:21:23 -06:00
Brian Paul
7366f3fc54
mesa: fix incorrect array size, added assertion
2008-07-03 17:21:23 -06:00
Brian Paul
0ed3f6f575
mesa: fix array storage allocation bug
2008-07-03 17:21:23 -06:00
Brian Paul
22ac107971
mesa: regenerated file
2008-07-03 17:21:22 -06:00
Brian Paul
4d1d6ed159
mesa: additional vec4 constructor
2008-07-03 17:21:22 -06:00
Brian Paul
d4172263e5
mesa: fix various error codes
2008-07-03 17:21:22 -06:00
Brian Paul
bb18a8b2ea
mesa: fix some error codes in _mesa_ShaderSourceARB()
2008-07-03 17:21:22 -06:00
Brian Paul
d015ffa6ea
mesa: fix problem freeing framebuffer/renderbuffer objects
...
Basically, set up no-op Delete() methods for the DummyFrame/Renderbuffer obj
2008-07-03 17:21:22 -06:00
Brian Paul
51abbdd227
gallium: added a4r4g4b4_put_tile_rgba()
2008-07-03 17:21:22 -06:00
Brian Paul
78388c0e37
mesa: added case for fixed pt
2008-07-03 17:21:22 -06:00