José Fonseca
e5d700721b
wgl: Keep copies of the PIXELFORMATDESCRIPTOR structures.
před 16 roky
Robert Noland
48f0543b39
Build dri drivers for powerpc and sparc on FreeBSD.
před 16 roky
Brian Paul
d60b4f7885
mesa: asst. progs/test/Makefile files
před 16 roky
Brian Paul
23a911b4a6
i965: added null const_buffer pointer check in update_constant_buffer()
před 16 roky
Brian Paul
ded05d32d5
intel: added screen->dri2.loader null pointer check in intel_flush()
Fixes segfaults when rendering to front buffer.
před 16 roky
Brian Paul
88999de8b7
gallium: remove pipe_texture::compressed field
The format field encodes compressed vs. uncompressed already. We can easily
check if a texture is compressed with pf_is_compressed(texture->format).
před 16 roky
José Fonseca
0a2269703c
wgl: Slightly simplify pixelformat creation.
před 16 roky
José Fonseca
f8f4b03442
progs: Port glxinfo to wgl.
před 16 roky
José Fonseca
46857f3c66
mesa: Don't define WGL_ARB_extensions_string in mesa_wgl.h.
It breaks wglext.h as it doesn't define PFNWGLGETEXTENSIONSSTRINGARBPROC.
před 16 roky
José Fonseca
87b04ce59b
wgl: Move pixel format information into device structure.
před 16 roky
José Fonseca
3f2420e2e0
wgl: Combine alpha pixelformat info in color.
před 16 roky
José Fonseca
2921a49033
stw: Reorder the pixelformats, so that no alpha pixelformats get chosen before alpha.
Some applications might not handle a alpha visual when when they did not
request for one.
před 16 roky
José Fonseca
0dd81ec97b
stw: Don't make assumptions about integer size.
před 16 roky
José Fonseca
f14497a9cd
stw: Free the mesa framebuffer.
před 16 roky
Michal Krol
5fae9514c2
tgsi/sse2: Cleanup NRM/NRM4 implementation.
Fix comments.
Make sure .w is set to 1.0 for NRM.
Optimise for non-.xyzw writemasks.
před 16 roky
Michal Krol
05c70f8f5d
rtasm: Silence `static function not used' warning.
před 16 roky
Michal Krol
13be57df3a
draw: Silence pointer-to-integer cast warning.
před 16 roky
Michal Krol
f4cc0692e6
draw: Fix vertex_header initialisation.
před 16 roky
Brian Paul
6c2d1e6839
swrast: remove some unneeded CHAN_TYPE!=GL_FLOAT code
před 16 roky
Brian Paul
92d3b2a4da
gallium: comments for surface_copy(), surface_fill() in p_context.h
před 16 roky
Brian Paul
20f3497e4b
i965: re-org of some of the new constant buffer code
Plus, begin the new code for vertex shader const buffers.
před 16 roky
Brian Paul
08a1e1ebcb
demos: fix aspect ratio in Reshape()
před 16 roky
Brian Paul
2078e6cf55
i965: new SURF_INDEX_ macros
Used to map drawables, textures and constant buffers to surface binding
table indexes.
před 16 roky
Brian Paul
7e0d4598fb
gallium: change // comment to /* */ style
před 16 roky
Brian Paul
985e71866a
gallium: updated comments in p_screen.h
před 16 roky
Brian Paul
a35e745826
i965simple: remove pipe_texture::compressed reference
před 16 roky
Michal Krol
c27c670ad8
tgsi/sse2: Fix build.
před 16 roky
Michal Krol
5f31890861
draw: Fix LIT instruction.
před 16 roky
Ian Romanick
6a6e478e55
intel / DRI2: Accept fake front-buffer from loader
Handle the loader returning a fake front-buffer. Since the driver
never specifically requests a fake front-buffer, the driver assumes
that it will never receive both a fake and a real front-buffer.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kristian Høgsberg <krh@redhat.com>
před 16 roky
Ian Romanick
e6386e0d9a
DRI2: Assume that there is always a front buffer
Assume that the front-buffer exists even if the server didn't tell the
client that it exists.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kristian Høgsberg <krh@redhat.com>
před 16 roky
Ian Romanick
43cf0d1eeb
intel / DRI2: Track and flush front-buffer rendering
Track two flags: whether or not front-buffer rendering is currently
enabled and whether or not front-buffer rendering has been enabled
since the last glFlush. If the second flag is set, the front-buffer
is flushed via a loader call back. If the first flag is cleared, the
second flag is cleared at this time.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kristian Høgsberg <krh@redhat.com>
před 16 roky
Ian Romanick
82634ee8df
DRI2: Provide an interface for drivers to flush front-buffer rendering
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kristian Høgsberg <krh@redhat.com>
před 16 roky
José Fonseca
c09ef3e747
python: Fix bad pointer.
před 16 roky
Brian Paul
311f77198e
st: remove another unneeded 'is compressed' comparison
před 16 roky
Brian Paul
1f4a7f3a2e
st: remove unneeded "is compressed" check
The format indicates compressed vs. uncompressed.
před 16 roky
Brian Paul
e53d6ab39b
st: rearrange some code to be a little more clear
před 16 roky
Brian Paul
227aa0070d
gallium: remove unneeded compressed=0 assignment
před 16 roky
Brian Paul
f97df61d26
gallium: remove unneeded compressed=0 assignment
před 16 roky
Brian Paul
f122015674
st: remove comp_byte parameter to st_texture_create()
We can determine if the texture is compressed by checking the format.
před 16 roky
Brian Paul
1ad2484f03
st: consolidate format->usage computation
před 16 roky
Brian Paul
eaca19edbb
st: add const qualifiers, use GL types
před 16 roky
Brian Paul
d11d903c1b
st: make loops over 3D texture slices a litte more intuitive
před 16 roky
Brian Paul
5facd7986a
st: reformatting and clean-ups in texture code
před 16 roky
Michal Krol
790a18f2c2
tgsi/sse2: Fix ARL instruction.
před 16 roky
Michal Krol
c54b219975
tgsi/sse2: Fix LIT instruction.
před 16 roky
José Fonseca
7cfd3b3bdf
trace: Dump the fence, not its pointer.
před 16 roky
José Fonseca
16c9bb81fd
wgl: Remove unused member.
před 16 roky
José Fonseca
0da3a13d6a
trace: Use 'flags' name consistently.
před 16 roky
José Fonseca
7ea265888f
gallium: Use "flags" consistently.
před 16 roky
José Fonseca
fa2b9e4306
gdi: Use stw_* names.
před 16 roky