Commit graph

27219 commits

Author SHA1 Message Date
Keith Whitwell
19119517ce i965g: add constant buffer setter 2009-11-04 19:41:02 +00:00
Keith Whitwell
4e335a213a i965g: add missing is_*_referenced callbacks 2009-11-04 19:32:44 +00:00
Keith Whitwell
0cf432c7a1 i965g: initialize surface refcount 2009-11-04 19:03:06 +00:00
Keith Whitwell
58e3360c11 i965g: add more missing pipe callbacks 2009-11-04 18:26:34 +00:00
Keith Whitwell
99394a737a i965g: add some missing texture creation code 2009-11-04 16:42:44 +00:00
Keith Whitwell
5f8dde99ed i965g: stubs for brw_pipe_vertex.c 2009-11-04 16:03:52 +00:00
Keith Whitwell
7373bc0e02 i965g: hook up pipe sampler callbacks 2009-11-04 15:59:56 +00:00
Keith Whitwell
9706a83bc9 i965g: hook up more pipe_context functions 2009-11-04 15:25:42 +00:00
Keith Whitwell
a09b3d5097 i965g: add missing buffer functions 2009-11-04 15:10:34 +00:00
Keith Whitwell
82a19f0974 ws/i965: add load-time driver registration
Otherwise xlib state-tracker doesn't know about us.
2009-11-04 14:03:25 +00:00
Keith Whitwell
b549bbb498 ws/i965: add butt-ugly linker hack
Need more linker magic to keep the glX symbols externally visible even
though they started off in a .a file.
2009-11-04 13:59:59 +00:00
Keith Whitwell
b1d2933214 i965g: hook up brw_screen.c 2009-11-04 13:54:44 +00:00
Keith Whitwell
211d7ab22b i965g: add standalone xlib debug winsys
Create a dummy winsys that just debug-prints on calls into the winsys
functions.  Will use this to get to the point where we are generating
sane-looking debug dumps and diassembly.

Also fix various warnings generated with the new compiler flags set in
this config.
2009-11-04 13:03:35 +00:00
Keith Whitwell
a277bb20de i965g: convert read/write domain pairs into single usage value
Easier to understand what's going on in the driver sources, convert
stereotype usage values back to GEM read/write domain flags in the
winsys.
2009-11-04 10:09:39 +00:00
Keith Whitwell
4ea94c04c9 i965g: format RELOCs similarly 2009-11-02 08:50:16 +00:00
Keith Whitwell
23c2ba8280 i965g: rename brw_constant_buffer to brw_curbe_buffer
Now that there are real constant buffers, try to reduce naming confusion.
2009-11-02 08:48:26 +00:00
Keith Whitwell
15a8ac2c9d i965g: driver and winsys compile
A milestone of sorts.  Still a long way from something working --
the old one compiled too, at least some of the time...
2009-11-01 19:30:53 +00:00
Keith Whitwell
efda453d64 i965g: the whole drivers/i965 directory is compiling
That was a lot more work than I expected.  Still the winsys to go,
then the small matter of making it work and re-enabling the
missing functionality.
2009-11-01 17:55:16 +00:00
Keith Whitwell
4a3e002cf9 i965g: more files compiling 2009-11-01 17:18:56 +00:00
Keith Whitwell
6981bbfabe i965g: more files compiling 2009-11-01 15:59:21 +00:00
Keith Whitwell
15e7a3b8bb i965g: more files compiling 2009-11-01 14:33:01 +00:00
Keith Whitwell
39448a9aa0 i965g: more files compiling 2009-11-01 13:11:56 +00:00
Keith Whitwell
9b18ca0955 i965g: more work on compilation -- surface management 2009-11-01 12:08:14 +00:00
Keith Whitwell
e7b7600082 i965g: more work on compilation 2009-10-31 20:05:19 +00:00
Keith Whitwell
f202a34cb1 i965g: non-glsl fragment shader path is compiling
Disabled glsl code for now, probably want to clean this up somehow.
2009-10-31 18:23:14 +00:00
Keith Whitwell
5d61b6f1f6 i965g: wip on fragment shaders 2009-10-31 15:05:01 +00:00
Keith Whitwell
99cc0fd675 i965g: work in progress on fragment shaders 2009-10-29 20:18:01 +00:00
Keith Whitwell
81b8589f06 i965g: still working on compilation 2009-10-28 21:24:03 +00:00
Keith Whitwell
7ba2fe40fa i965g: still working on compilation 2009-10-27 00:29:21 +00:00
Keith Whitwell
5a304995e0 i965g: still working on compilation 2009-10-26 01:35:05 +00:00
Keith Whitwell
09c231f84a i965g: still working on compilation 2009-10-26 00:20:33 +00:00
Keith Whitwell
590949553f i965g: start hooking up some to the gallium context interfaces
- create/bind/destroy blend and depth state
- framebuffer and viewport
- etc.
2009-10-25 11:37:39 +00:00
Keith Whitwell
562ca4eae2 i965g: more compiling wip 2009-10-25 01:20:56 +01:00
Keith Whitwell
4dd2f6640b i965g: more work on compiling, particularly the brw_draw files 2009-10-25 00:02:16 +01:00
Keith Whitwell
4f7931bb35 i965g: more work on compiling 2009-10-24 17:07:28 +01:00
Keith Whitwell
074606a806 i965g: more files compiling 2009-10-24 13:19:26 +01:00
Keith Whitwell
7ee60648a3 i965g: hook into build system 2009-10-24 11:55:25 +01:00
Keith Whitwell
357e5c9a0e ws/i965: renames from i915, hook up makefiles 2009-10-24 11:55:05 +01:00
Keith Whitwell
d71af266df i965g: first compiling file 2009-10-24 11:53:43 +01:00
Keith Whitwell
c93d2e4540 ws/i965: pull in the rest of the i915 winsys tree.
The intel_xorg file looks like it's got quite a bit of code that could
be lifted up into the xorg state tracker -- should really just have a
list of pci ids and a pointer to a screen create func.
2009-10-23 23:37:45 +01:00
Keith Whitwell
b7efe646b6 ws/i965: clone the i915 winsys
I'll want to rework this, not sure trying to share this code is a very
good idea at least until the interfaces from the two drivers calm
down.
2009-10-23 23:36:02 +01:00
Keith Whitwell
22906f7301 i965g: wip on removing GL stuff, trying to get a few files compiling 2009-10-23 23:27:43 +01:00
Keith Whitwell
6b48fb0022 i965: ignore cliprect_mode 2009-10-23 20:19:14 +01:00
Keith Whitwell
57a920cb1a i965g: wip 2009-10-23 17:03:45 +01:00
Keith Whitwell
2f5f7c0773 i965g: re-starting from the dri driver 2009-10-23 17:03:45 +01:00
Keith Whitwell
da253319f9 gallium: remove extended negate also, and also the ExtSwz token
Likewise, the extended negate functionality hasn't been
used since mesa switched to using tgsi_ureg to build programs,
and has been translating the SWZ opcode internally to a single MAD.
2009-10-23 14:50:02 +01:00
Keith Whitwell
8a571b809a cell: typo from ExtSwizzle commit 2009-10-23 14:38:30 +01:00
Keith Whitwell
b9cb74c7f8 gallium: remove the swizzling parts of ExtSwizzle
These haven't been used by the mesa state tracker since the
conversion to tgsi_ureg, and it seems that none of the
other state trackers are using it either.

This helps simplify one of the biggest suprises when starting off with
TGSI shaders.
2009-10-23 14:31:24 +01:00
Keith Whitwell
4e1d51786e gallium: remove noise opcodes
Provide a dummy implementation in the GL state tracker (move 0.5 to
the destination regs).

At some point, a motivated person could add a better
implementation of noise.  Currently not even the nvidia
binary drivers do anything more than this.  In any case, the
place to do this is in the GL state tracker, not the poor
driver.
2009-10-23 13:56:07 +01:00
Keith Whitwell
19403935aa progs/demos: add fps to multiarb 2009-10-23 13:56:07 +01:00