José Fonseca
b750b5326d
gdi: Update for surface_alloc_storage changes.
2008-06-24 11:40:25 +09:00
José Fonseca
18ec140ef2
mesa: Use appropriate unsigned/signed, float/integer types.
2008-06-24 11:34:46 +09:00
José Fonseca
80b359f574
mesa: Use _mesa_bsearch.
2008-06-24 11:33:03 +09:00
José Fonseca
182b644c71
mesa: bsearch implementation for WinCE.
2008-06-24 11:00:01 +09:00
José Fonseca
c921a29b3a
mesa: Replace abort by asserts.
2008-06-24 11:00:01 +09:00
José Fonseca
c47248bdf8
mesa: Move variable declarations to the scope top.
2008-06-24 11:00:01 +09:00
José Fonseca
543bba6ee3
mesa: Don't include sys/types.h on WinCE.
...
We probably shouldn't be including sys/types.h at all, but let's leave that
for another time.
2008-06-24 11:00:01 +09:00
Brian Paul
89e9d6b6db
gallium: added support for fixed-point formats, drawing
2008-06-23 17:13:14 -06:00
Jonathan White
dc73d15a9a
gallium: code for PIPE_SUBSYSTEM_WINDOWS_USER
2008-06-23 16:25:26 -06:00
José Fonseca
8db7ef544c
mesa: ASSERT macro is already defined by WinCE headers.
...
Even when just the standard headers are used....
2008-06-24 02:39:17 +09:00
José Fonseca
ab7ad60d47
mesa: No getenv on WinCE.
2008-06-24 02:39:17 +09:00
José Fonseca
d9f38a2ad1
gallium: Use the more portable PIPE_ARCH_* PIPE_CC_* macros instead of ad-hoc ones.
2008-06-24 02:39:17 +09:00
José Fonseca
72b6fddefb
gallium: WinCE does not have cosf, sinf, etc.
2008-06-24 02:39:16 +09:00
Brian Paul
25da42a650
gallium: in softpipe_get_tex_surface() use the pitch specified in the softpipe_texture object.
...
Fixes a pitch/width mix-up.
2008-06-23 11:28:38 -06:00
Jakob Bornecrantz
f52ab4cc22
i915: Add render and texture support for tiled texture and buffers
...
This is step towards tiled textures and buffer support for
i915. But the tiled attribute is never set.
2008-06-23 18:36:36 +02:00
Brian Paul
a479bf6235
gallium: fix-up inverted do_copy_texsubimage()
...
The logic/arithmetic for inverting the src image is a bit simpler now.
2008-06-23 09:50:09 -06:00
Brian Paul
f738c3acac
gallium: fix Y-inverted copies
...
Don't require the caller to pass a non-intuitive negative src_y coord anymore
when doing a src-inverted copy.
2008-06-23 09:47:12 -06:00
Brian Paul
81b1a4224d
gallium: remove dead/prototype code
2008-06-23 09:07:56 -06:00
Brian Paul
e14126ec81
gallium: change surface_copy()'s do_flip to boolean
2008-06-23 08:54:16 -06:00
Brian Paul
f1601c2b75
gallium: fix bad srcy coord if do_flip
2008-06-23 08:51:00 -06:00
Brian Paul
92d48a4cb9
gallium: fix bad srcy coord if do_flip
2008-06-23 08:44:30 -06:00
Brian Paul
016dbb0cf3
gallium: added some assertions
2008-06-23 08:35:41 -06:00
Brian Paul
76b94a636e
Don't make libmesa.a or libglapi.a depend on asm_subdirs
...
Since the asm_subdirs target does not actually create a file, make will
always consider that it needs to be rebuilt. If libmesa.a and libglapi.a
have asm_subdirs as a prerequisite, then they will always need to be
rebuilt, too. The correct order will be preserved by the default target,
though.
This should fix #16358 .
Conflicts:
src/mesa/Makefile
cherry-picked from master
2008-06-23 08:14:49 -06:00
Dan Nicholson
8319f2f326
Create $(TOP)/$(LIB_DIR) for install, too
...
If `make install' is run without running `make' first, the $(LIB_DIR)
will not be created. This also changes the mkdir a little bit so that it
isn't run if necessary and added `-p' so that it is immune to races.
2008-06-23 08:14:49 -06:00
Dan Nicholson
464c585681
Ensure all objects are built when installing DRI
2008-06-23 08:14:49 -06:00
Jakob Bornecrantz
708bb35194
util: Blit can now copy from texture to surface
2008-06-23 16:09:38 +02:00
Jakob Bornecrantz
52501801c7
gallium: Add accessor functions to get textures from a st_framebuffer
2008-06-23 16:08:23 +02:00
José Fonseca
f78cc24c4b
scons: Update to target WinCE 6.0.
2008-06-23 19:44:37 +09:00
Jakob Bornecrantz
f08da6b821
gallium: Fix warning in u_draw_quad.h
2008-06-23 12:31:46 +02:00
Jakob Bornecrantz
d40ff29451
i915: Removed level_offset from i915_texture
...
All offsets are now on image_offset.
2008-06-23 11:57:34 +02:00
Keith Whitwell
e2c3f06e96
draw: fix non-i386 builds
2008-06-22 13:17:01 +01:00
Brian
2a5a95d0c0
gallium: s/feadback/feedback/, duh
2008-06-20 18:29:23 -06:00
Brian Paul
be4259b06c
gallium: fix invalid call to draw_set_mapped_constant_buffer()
...
We were indexing sp_constants[i] outside the loop so i was 2.
Replace i with PIPE_SHADER_VERTEX.
Also, replace magic '2' with PIPE_SHADER_TYPES in a few places.
2008-06-20 17:28:42 -06:00
Brian Paul
f38bb10969
gallium: fix some surface usage bugs
...
When a surface is created with GPU_WRITE that really means "GPU render"
and that can involve reads (blending). Set surface usage to
PIPE_BUFFER_USAGE_CPU_READ + WRITE. Fixes progs/demos/lodbias demo.
Also, mark texture as 'modified' when mapped for writing so that the tile
cache can know when to freshen a cached tile. Fixes glTexSubImage2D().
2008-06-20 15:58:19 -06:00
Brian Paul
78791d1065
egl: added cpp assertions/sanity checks
2008-06-20 14:30:21 -06:00
Brian Paul
36aae18683
mesa: init ctx->RenderMode
2008-06-20 14:29:49 -06:00
Brian Paul
677151ad71
egl: added null ptr check
2008-06-20 14:28:59 -06:00
Brian Paul
a9b46b9e4c
mesa: GL_BYTE vertex/texcoord arrays
2008-06-20 11:49:25 -06:00
Brian Paul
42c468a5de
mesa: initial support for fixed-pt vertex arrays
2008-06-20 11:32:22 -06:00
Brian Paul
8e0f166eb5
mesa: refactor: move initialization of DefaultPacking state.
2008-06-20 11:31:05 -06:00
Brian Paul
722db809e6
gallium: always need st_init-blit()
2008-06-20 11:30:43 -06:00
Brian Paul
62d1d591d5
gallium: remove unneeded #include
2008-06-20 11:30:21 -06:00
Brian Paul
39ce394082
mesa: fix errors in prev commit
2008-06-20 11:15:30 -06:00
Brian Paul
9cae37870e
mesa: revamp glBlendFunc loopback
2008-06-20 11:05:00 -06:00
Brian Paul
1b241a4369
mesa: added _vbo_Materialfv()
2008-06-20 11:04:37 -06:00
Brian Paul
71f67dde34
mesa: _vbo_Color4f, _vbo_Normal3f, _vbo_MultiTexCoord4f functions
2008-06-20 10:48:14 -06:00
Brian Paul
95c9fc82f5
mesa: fix some FEATURE_x tests
2008-06-20 10:47:38 -06:00
Brian Paul
a87e717d0d
egl: added null ptr checks
2008-06-20 10:20:47 -06:00
Brian Paul
fbd6e86b8f
egl: implment EGL_LARGEST_PBUFFER query
2008-06-20 10:20:25 -06:00
Brian Paul
8a75d10953
egl: added null ptr check
2008-06-20 10:20:06 -06:00