Jakob Bornecrantz
2e7e183751
i915: Takedown EGL screen
2008-07-08 16:54:22 +02:00
Jakob Bornecrantz
1257bb9b13
i915: Use deviceID in EGL device create
2008-07-08 14:44:23 +02:00
Jakob Bornecrantz
0c6efeb02b
i915: Complete the screen -> device renaming
2008-07-08 14:41:17 +02:00
Jakob Bornecrantz
b13b1210c0
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.
2008-07-08 14:16:15 +02:00
Xiang, Haihao
92c075eeb7
i965: official name for GM45 chipset
2008-07-08 14:14:04 +08:00
Jonathan White
8d2400f216
mesa: added GLAPIENTRY keywords
2008-07-07 17:57:02 -06:00
Jonathan White
f4caddd66f
egl: updated GL_APIENTRY for Windows
2008-07-07 17:57:02 -06:00
José Fonseca
6701ecb3ba
raw2png: More helpful messages. Handle PIPE_FORMAT_A8B8G8R8_SNORM.
2008-07-08 07:29:18 +09:00
José Fonseca
30b6b0b9ef
raw2png: Update formats from p_formats.h
2008-07-08 07:29:18 +09:00
Brian Paul
de71e4741d
egl: bump up MAX_ATTRIBS, added assertion
2008-07-07 14:34:30 -06:00
Brian Paul
1828b6d031
gallium: move assertion (though not really significant)
2008-07-07 10:12:55 -06:00
Brian Paul
b7dfabcaab
gallium: simplify/fix buffer_offset, src_offset computation for VBO arrays
...
Things broke when vertex position wasn't the first attribute.
2008-07-07 10:10:20 -06:00
George Sapountzis
a36bf890e8
glx: add LIBGL_ALWAYS_SOFTWARE
...
this disables accelerated DRI and fallbacks to client-side software rendering.
compile-tested only.
2008-07-07 18:34:17 +03:00
Jakob Bornecrantz
3596339d31
i915: Fix wrong pointer to cleanup
2008-07-07 15:56:19 +02:00
Jakob Bornecrantz
7420bc05a8
i915: Fix EGL make current
2008-07-07 15:49:09 +02:00
Jakob Bornecrantz
88b806a069
i915: More cleanup of display
2008-07-07 15:26:47 +02:00
Jakob Bornecrantz
687c8d8941
i915: Fetch the real deviceID for EGL
2008-07-07 14:29:11 +02:00
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