Kristian Høgsberg
9fd5fa0512
Hook in install rules for es1 and es2
2010-05-02 10:14:53 -04:00
Kristian Høgsberg
74399d4af5
Add glesv2.pc and glesv1_cm.pc pkg-config files for ES 1 and 2
2010-05-02 09:51:13 -04:00
Kristian Høgsberg
a804af2a1e
st/mesa: Create context for API_OPENGL as first priority
2010-05-02 09:27:51 -04:00
Marek Olšák
9d33605673
r300g: always set the pitch of the first miplevel in the tiling flags
...
This further reduces the number of DRM calls and flushes.
2010-05-02 13:27:57 +02:00
Marek Olšák
82027b2027
Revert "r300g: disable point sprites (again)"
...
This reverts commit 3e0f1719d4
.
2010-05-02 12:56:34 +02:00
Marek Olšák
68e720e12d
r300g: merge VS output mapping state (VAP) to rasterizer block state (RS)
...
These two should be tied together because what's set in VAP or stuffed in GA
should be rasterized in RS. Not doing so causes a hardlock.
The reason for the merge is that if stuffed texture coordinates (e.g. point
sprite texgen) happen to occupy the texcoord slot dedicated to fog or wpos,
the two must be relocated to other free slots, which needs remapping the vertex
shader outputs.
The rasterizer code is now literally a sequence read-rasterize-write.
2010-05-02 12:56:34 +02:00
Marek Olšák
35232172db
r300g: inline update_derived_shader_state
2010-05-02 12:56:34 +02:00
Marek Olšák
45d79af644
r300g: fix segfault when resizing a DRI2 framebuffer
...
Resetting tiling flags might happen after a texture is destroyed...
Looking at the kernel sources, we don't actually need to reset the tiling
flags.
2010-05-02 12:56:34 +02:00
Marek Olšák
5c6ea462be
r300g: cache tiling flags to reduce the number of DRM calls
2010-05-02 12:56:33 +02:00
Vinson Lee
fc1be4a994
mesa: s/sprintf/_mesa_snprintf/
2010-05-02 01:03:59 -07:00
Vinson Lee
3c86e2f1dc
i965g: s/sprintf/util_snprintf/
2010-05-02 00:21:04 -07:00
Vinson Lee
f4874705d9
glsl: s/sprintf/_mesa_snprintf/
2010-05-01 22:01:28 -07:00
Vinson Lee
9446fd8f69
glapi: s/strcpy/strncpy/
2010-05-01 15:34:47 -07:00
Vinson Lee
70c7531051
llvmpipe: Remove unused variable.
2010-05-01 15:12:45 -07:00
Vinson Lee
33c34c0806
progs/tests: Remove meaningless const qualifiers.
2010-05-01 15:07:45 -07:00
Jakob Bornecrantz
cd502e5f5c
swrastg: Use trace
2010-05-01 11:31:59 +01:00
Vinson Lee
19aa77313c
progs/demos: Remove meaningless const qualifier in vao_demo.c.
2010-05-01 01:28:06 -07:00
Christoph Bumiller
f5a4d70189
nv50: raise constant buffers size to maximum
...
Removed the param heaps, haven't been using them for a long
time now.
2010-04-30 22:57:23 +02:00
Christoph Bumiller
75ee309ca9
nv50: relax restriction on surface_copy format equality a bit
2010-04-30 22:50:42 +02:00
Christoph Bumiller
6df1e5c4aa
nv50: don't segfault on OPCODE_END for empty programs
2010-04-30 22:50:31 +02:00
Brian Paul
d225221e70
llvmpipe: fix out-of-bounds texture sampling
...
If we're using a wrap mode in which border color sampling is possible
it means that texcoords may be outside of the texture image bounds.
Fetching the texel may result in a segfault.
Use the 'use_border' variable to catch such texcoords and replace
the texel offset with zero (which will be in bounds).
Fixes segfault in Lightsmark demo, fd.o bug 27877.
2010-04-30 13:59:07 -06:00
Brian Paul
3a757b722d
llvmpipe: added lp_build_sample_nop() for debugging
2010-04-30 13:59:07 -06:00
Kristian Høgsberg
9339c1291d
gles: Build libGLESv1_CM.so and libGLESv2.so from glapi files
2010-04-28 14:41:21 -04:00
Kristian Høgsberg
a5107b0a5c
intel: Only register ES2 extensions for ES2 contexts
2010-04-28 14:36:45 -04:00
Kristian Høgsberg
0f68032a7c
configure.ac: Add options to enable GLES1/2 API support
2010-04-28 14:36:28 -04:00
Kristian Høgsberg
5efee4d4e6
intel: Advertise GLES1/2 for i915+ when enabled
2010-04-28 14:05:22 -04:00
Kristian Høgsberg
4b69100bdc
dri: Add DRI entrypoints to create a context for a given API
2010-04-28 14:05:21 -04:00
Kristian Høgsberg
e2fd98d794
egl_dri2: Use new DRI API to create a GLES1/2 context when asked to
2010-04-28 14:05:21 -04:00
Kristian Høgsberg
a7a9a91d7b
dri: Add DRI entrypoints to create a context for a given API
2010-04-28 14:05:21 -04:00
Kristian Høgsberg
0f5e8f7702
st/mesa: Move st_cb_drawtex.c to the mesa state tracker
2010-04-28 14:05:20 -04:00
Kristian Høgsberg
3bd6e00346
es: Drop es specific enums.c
2010-04-28 14:05:20 -04:00
Kristian Høgsberg
21ad81727c
glapi: Regenerate enums.c for all APIs
2010-04-28 14:05:20 -04:00
Kristian Høgsberg
9664f10023
glapi: Update gl_enum.py to generate enum tables for multiple APIs
2010-04-28 14:05:19 -04:00
Kristian Høgsberg
12c46b15d7
mesa: Drop unused _mesa_init_drawtex_dispatch()
2010-04-28 14:05:19 -04:00
Kristian Høgsberg
1904ba7936
mesa: Move drawtex functionality to main/
2010-04-28 14:05:19 -04:00
Kristian Høgsberg
87eb667759
mesa: Move glQueryMatrixxOES() implementation to core mesa
2010-04-28 14:05:19 -04:00
Kristian Høgsberg
a73eff645f
mesa: Move GLES1 texgen functions to texgen.c
2010-04-28 14:05:18 -04:00
Kristian Høgsberg
7179a82262
mesa: Move support for paletted textures to main/teximage.c
2010-04-28 14:05:18 -04:00
Kristian Høgsberg
08fae07f52
mesa: Handle GL_TEXTURE_GEN_STR_OES in _mesa_Enable()
2010-04-28 14:04:49 -04:00
Kristian Høgsberg
7aae8a592a
mesa: Move get_es*.c to main/
2010-04-27 19:28:11 -04:00
Kristian Høgsberg
0034339895
es: Prefix the get* functions with _es1/2 so they don't conflict
2010-04-27 19:28:11 -04:00
Kristian Høgsberg
61d94dd207
mesa: Move GL_RGB565 workaround into fbobject.c
2010-04-27 19:28:10 -04:00
Kristian Høgsberg
44f9aef9ee
mesa: Move GLES1/2 vbo entrypoints to vbo_exec_api.c
...
This let's us drop stubs.c.
2010-04-27 19:28:10 -04:00
Kristian Høgsberg
c90166fd4f
mesa: Move GLES2 shader stubs to main/shaders.c
2010-04-27 19:28:10 -04:00
Kristian Høgsberg
ea0c7e7163
mesa: Move api_exec_es*.c into mesa/main
...
This requires renaming a few functions to have unique names so that
they can all live within the same driver.
2010-04-27 19:27:49 -04:00
Kristian Høgsberg
1741ddb747
mesa: Move references to main/remap_helper.h to api_exec.c
2010-04-27 13:09:31 -04:00
Kristian Høgsberg
fa41610630
mesa: Move struct _glapi_table allocation out of context.c
...
We now allocate the table from api_exec.c and dlist.c where we fill out
the table. This way, context.c doesn't need to know the actual contents
of struct _glapi_table.
2010-04-22 13:43:28 -04:00
Kristian Høgsberg
ade150d667
mesa: Compute extension string according to API
...
We can now stop special casing glGetString() and drop specials_es*.c.
2010-04-22 12:42:23 -04:00
Kristian Høgsberg
18f7e118a5
es2: Move over es2 code to compute extensions
2010-04-22 12:42:23 -04:00
Kristian Høgsberg
04bf868ad9
main: Report GL_SHADING_LANGUAGE_VERSION according to API
2010-04-22 12:42:23 -04:00