Commit graph

13619 commits

Author SHA1 Message Date
Brian
2085cc9ac7 use st_create_framebuffer() 2007-11-05 08:04:48 -07:00
Brian
e49efdab4a st_create_framebuffer() working 2007-11-05 08:04:48 -07:00
Brian
bffed01e27 move st_create_framebuffer() to new st_framebuffer.c file 2007-11-05 08:04:48 -07:00
Brian
01b71b8f7a new file for st_framebuffer stuff 2007-11-05 08:04:48 -07:00
Brian
794e03d392 Introduce st_framebuffer type and st_create_framebuffer(), st_make_current() 2007-11-05 08:04:48 -07:00
Brian
7edf630468 more dead code removal, clean-up 2007-11-05 08:04:47 -07:00
Brian
5ff1ff2b55 move intelScreenContext() to intel_swapbuffers.c and make static 2007-11-05 08:04:47 -07:00
Brian
070aad3a9d remove mesa extension code 2007-11-05 08:04:47 -07:00
Brian
35924a34e5 remove old mesa context creation code 2007-11-05 08:04:47 -07:00
Brian
e8f1006081 remove dead code, unnecessary #includes, etc 2007-11-05 08:04:47 -07:00
Brian
798658cc81 remove INTEL_FIREVERTICES 2007-11-05 08:04:47 -07:00
Brian
cf30d377ac remove refcount, fboRect fields 2007-11-05 08:04:47 -07:00
Brian
ca96ee421a remove intel->pipe field 2007-11-05 08:04:47 -07:00
Brian
a50d2feadd remove some struct decls 2007-11-05 08:04:47 -07:00
Brian
0452eb9086 s/intelDisplayBuffer/intelDisplaySurface 2007-11-05 08:04:47 -07:00
Brian
d04938331a simplify intelSwapBuffers() 2007-11-05 08:04:47 -07:00
Brian
d083cbb4db remove useless code 2007-11-05 08:04:47 -07:00
Brian
2beb872e3b remove disabled vblank/sync code 2007-11-05 08:04:47 -07:00
Brian
488326b0b9 disable vblank/sync code 2007-11-05 08:04:47 -07:00
Brian
a5df4239c2 added check for fb==NULL 2007-11-05 08:04:47 -07:00
Brian
29feee2c02 remove dead pageflip code 2007-11-05 08:04:47 -07:00
Brian
b8897d7481 disable page flip code 2007-11-05 08:04:47 -07:00
Brian
0ff447e7c4 include context.h 2007-11-05 08:04:47 -07:00
Brian
156e490699 replace IntelFlush(), FLUSH_VERTICES(), etc. with st_flush() call 2007-11-05 08:04:47 -07:00
Brian
08f88cbbc9 call FLUSH_VERTICES() in st_flush() 2007-11-05 08:04:47 -07:00
Brian
4019277f09 public st_flush() 2007-11-05 08:04:47 -07:00
Brian
f6427e3557 remove extern decls for non-existant functions 2007-11-05 08:04:47 -07:00
Brian
09771f8c70 #include clean-ups, fixes 2007-11-05 08:04:47 -07:00
Brian
381b68d804 comment about renderbuffers vs. surfaces 2007-11-05 08:04:47 -07:00
Brian
00a133ad19 remove some dead code, clean-ups 2007-11-05 08:04:47 -07:00
Brian
17d044ec01 more clean-up in intelDisplayBuffer() 2007-11-05 08:04:46 -07:00
Brian
fda91cfa4b Check if the user/texenvprogram is just a pass-through program and skip program concatenation. 2007-11-04 16:39:01 -07:00
José Fonseca
7a7899a247 Allow batch buffer debugging without calling i915_winsys->batch_start so often. 2007-11-03 02:01:32 +00:00
José Fonseca
5fa6ea6858 Do something sensible when failed to reserve space in the batch buffer. 2007-11-03 02:01:32 +00:00
José Fonseca
5c1606a2b3 Detail i915 winsys interface comments. 2007-11-03 02:01:32 +00:00
José Fonseca
3c393b8df3 Render primitives using indirect vertices in a vertex buffer. 2007-11-03 02:01:31 +00:00
Zack Rusin
16fe6a0f2d Cleanups.
Remove some debugging output and try to make sure that
Mesa compiles when configured without LLVM
2007-11-02 12:18:02 -04:00
Zack Rusin
a2debc2704 Implement sin opcode.
Seems to have similar rounding border problems as cos.
2007-11-02 12:09:23 -04:00
Zack Rusin
e0e91e7ceb Implement scs opcode 2007-11-02 12:05:00 -04:00
Zack Rusin
5c7bfb06e0 Implement COS and CMP opcode.
There's some weird rounding issue with COS that I can't figure
out.
2007-11-02 11:47:09 -04:00
Zack Rusin
cf363ba307 Add debugging ifdefs to make it less verbose 2007-11-02 07:15:18 -04:00
Zack Rusin
45003b0bb9 Get fragment shaders working on top of LLVM.
Redo the entry points, get the output propagation correctly,
interpolate the inputs before feeding into llvm for now.
2007-11-02 07:15:18 -04:00
Zack Rusin
2af2f7e419 Change the fragment shader signature to better match actual
arguments that we need there.
2007-11-02 07:15:18 -04:00
Zack Rusin
25d91c23ff Add basic entry points for fragment shaders. 2007-11-02 07:15:17 -04:00
Zack Rusin
7ff0df6c2b Renaming llvmtgsi to gallivm. Taking first steps on the way to supporting
fragment shaders through llvm.
2007-11-02 07:15:17 -04:00
Brian
d8e66aca84 Start re-working SwapBuffers.
intelCopyBuffer() is now intelDisplayBuffer(): it displays the given surface
in the on-screen window.
Added a pipe_surface parameter to winsys->flush_frontbuffer().
Front buffer rendering/flushing actually works now.
But, we should only allocate the front surface on demand...
2007-11-01 18:37:00 -06:00
Brian
28bed6d355 Use new state tracker context/destroy funcs with wrap Mesa context. 2007-11-01 18:01:47 -06:00
Brian
80d2658e12 Sketch out new create/destroy context functions which create/wrap a Mesa context. 2007-11-01 18:01:47 -06:00
Brian
7cafaff0eb disable the driverContext assertions 2007-11-01 18:01:47 -06:00
Brian
64988ff7fe silence the finalize_mipmap_tree msg 2007-11-01 18:01:47 -06:00