profile/ivi/mesa.git
16 years agomove st_invalidate_state() prototype to st_context.h
Brian [Mon, 5 Nov 2007 23:34:47 +0000 (16:34 -0700)]
move st_invalidate_state() prototype to st_context.h

16 years agoRemove some temporary state tracker context/framebuffer_create functions.
Brian [Mon, 5 Nov 2007 23:15:43 +0000 (16:15 -0700)]
Remove some temporary state tracker context/framebuffer_create functions.

16 years agoUpdate xlib driver to use newer state tracker context/framebuffer functions.
Brian [Mon, 5 Nov 2007 22:59:55 +0000 (15:59 -0700)]
Update xlib driver to use newer state tracker context/framebuffer functions.

XMesaContext has an st_context * which contains a mesa context.

16 years agono-op glCopyPixels if width or height is zero
Brian [Mon, 5 Nov 2007 22:42:55 +0000 (15:42 -0700)]
no-op glCopyPixels if width or height is zero

16 years agoasst clean-ups
Brian [Mon, 5 Nov 2007 20:37:12 +0000 (13:37 -0700)]
asst clean-ups

16 years agoremove some GL types, mesa includes
Brian [Mon, 5 Nov 2007 20:18:47 +0000 (13:18 -0700)]
remove some GL types, mesa includes

16 years agomove intel_context_mesa() into intel_swapbuffers.c (the only place it's used now)
Brian [Mon, 5 Nov 2007 18:59:09 +0000 (11:59 -0700)]
move intel_context_mesa() into intel_swapbuffers.c (the only place it's used now)

16 years agoMove driBatchPoolInit() into new intel_batchpool.h header.
Brian [Mon, 5 Nov 2007 18:54:36 +0000 (11:54 -0700)]
Move driBatchPoolInit() into new intel_batchpool.h header.

Note that intel_batchpool.[ch] have no intel-specific dependencies at this poi
Maybe rename files for re-use in the future.

16 years agoMove driBatchPoolInit() into new intel_batchpool.h header.
Brian [Mon, 5 Nov 2007 18:53:56 +0000 (11:53 -0700)]
Move driBatchPoolInit() into new intel_batchpool.h header.

Note that intel_batchpool.[ch] have no intel-specific dependencies at this point.
Maybe rename files for re-use in the future.

16 years agoremove intelScreenPrivate typedef and use cast wrapper function to be like intel_cont...
Brian [Mon, 5 Nov 2007 18:48:54 +0000 (11:48 -0700)]
remove intelScreenPrivate typedef and use cast wrapper function to be like intel_context and intel_framebuffer

16 years agoremove driScrnPriv field from intel_screen
Brian [Mon, 5 Nov 2007 18:38:46 +0000 (11:38 -0700)]
remove driScrnPriv field from intel_screen

16 years agocomments
Brian [Mon, 5 Nov 2007 18:35:43 +0000 (11:35 -0700)]
comments

16 years agofix typo, formatting
Brian [Mon, 5 Nov 2007 18:17:40 +0000 (11:17 -0700)]
fix typo, formatting

16 years agoremove unused intelScreen->texPool
Brian [Mon, 5 Nov 2007 18:09:19 +0000 (11:09 -0700)]
remove unused intelScreen->texPool

16 years agoadd missing free() in intelDestroyContext
Brian [Mon, 5 Nov 2007 17:16:28 +0000 (10:16 -0700)]
add missing free() in intelDestroyContext

16 years agocomments, clean-ups, assertions
Brian [Mon, 5 Nov 2007 17:14:24 +0000 (10:14 -0700)]
comments, clean-ups, assertions

16 years agorewrite/simplify intelCopySubBuffer()
Brian [Mon, 5 Nov 2007 17:04:23 +0000 (10:04 -0700)]
rewrite/simplify intelCopySubBuffer()

16 years agorewrite/simplify intelSwapBuffers()
Brian [Mon, 5 Nov 2007 17:01:51 +0000 (10:01 -0700)]
rewrite/simplify intelSwapBuffers()

16 years agoadded st_notify_swapbuffers()
Brian [Mon, 5 Nov 2007 16:59:34 +0000 (09:59 -0700)]
added st_notify_swapbuffers()

16 years agoreplace get_color_surface() with st_get_framebuffer_surface()
Brian [Mon, 5 Nov 2007 16:53:02 +0000 (09:53 -0700)]
replace get_color_surface() with st_get_framebuffer_surface()

16 years agoadded st_get_framebuffer_surface() and ST_SURFACE_x tokens
Brian [Mon, 5 Nov 2007 16:52:14 +0000 (09:52 -0700)]
added st_get_framebuffer_surface() and ST_SURFACE_x tokens

16 years agocomments, tweaks
Brian [Mon, 5 Nov 2007 16:35:31 +0000 (09:35 -0700)]
comments, tweaks

16 years agobetter use of intel_context() cast wrappers
Brian [Mon, 5 Nov 2007 16:28:28 +0000 (09:28 -0700)]
better use of intel_context() cast wrappers

16 years agoclean-up/re-org of intel_framebuffer code
Brian [Mon, 5 Nov 2007 16:24:03 +0000 (09:24 -0700)]
clean-up/re-org of intel_framebuffer code

16 years agoremove unused intel_fb decls, code
Brian [Mon, 5 Nov 2007 16:09:11 +0000 (09:09 -0700)]
remove unused intel_fb decls, code

16 years agomove intelCopySubBuffer() decl
Brian [Mon, 5 Nov 2007 16:07:35 +0000 (09:07 -0700)]
move intelCopySubBuffer() decl

16 years agoremove dead code in intelCreateBuffer()
Brian [Mon, 5 Nov 2007 16:04:37 +0000 (09:04 -0700)]
remove dead code in intelCreateBuffer()

16 years agoremove intel_context cliprect code
Brian [Mon, 5 Nov 2007 16:02:54 +0000 (09:02 -0700)]
remove intel_context cliprect code

16 years agoremove unused var
Brian [Mon, 5 Nov 2007 16:00:18 +0000 (09:00 -0700)]
remove unused var

16 years agoremove cliprect code
Brian [Mon, 5 Nov 2007 15:58:45 +0000 (08:58 -0700)]
remove cliprect code

16 years agoremove mesa includes
Brian [Mon, 5 Nov 2007 15:47:48 +0000 (08:47 -0700)]
remove mesa includes

16 years agouse st_unreference_framebuffer()
Brian [Mon, 5 Nov 2007 15:42:18 +0000 (08:42 -0700)]
use st_unreference_framebuffer()

16 years agoadded st_unreference_framebuffer()
Brian [Mon, 5 Nov 2007 15:41:45 +0000 (08:41 -0700)]
added st_unreference_framebuffer()

16 years agorename intelWindowMoved() to intelUpdateWindowSize()
Brian [Sat, 3 Nov 2007 16:41:03 +0000 (10:41 -0600)]
rename intelWindowMoved() to intelUpdateWindowSize()

16 years agopass __DRIdrawablePrivate to intelWindowMoved(), rather than context ptr
Brian [Sat, 3 Nov 2007 16:35:39 +0000 (10:35 -0600)]
pass __DRIdrawablePrivate to intelWindowMoved(), rather than context ptr

16 years agosimplify the window moved/resized code a bit
Brian [Sat, 3 Nov 2007 16:26:19 +0000 (10:26 -0600)]
simplify the window moved/resized code a bit

16 years agoset stfb->Base.Initialized
Brian [Sat, 3 Nov 2007 16:25:59 +0000 (10:25 -0600)]
set stfb->Base.Initialized

16 years agoRemove intelUpdateFramebufferSize(), use st_resize_framebuffer().
Brian [Sat, 3 Nov 2007 16:19:38 +0000 (10:19 -0600)]
Remove intelUpdateFramebufferSize(), use st_resize_framebuffer().

16 years agoadded st_resize_framebuffer()
Brian [Sat, 3 Nov 2007 16:19:10 +0000 (10:19 -0600)]
added st_resize_framebuffer()

16 years agouse st_make_current()
Brian [Sat, 3 Nov 2007 16:04:24 +0000 (10:04 -0600)]
use st_make_current()

16 years agorestore dummy card_extensions extensions array, needed for dispatch setup
Brian [Sat, 3 Nov 2007 15:52:27 +0000 (09:52 -0600)]
restore dummy card_extensions extensions array, needed for dispatch setup

16 years agouse st_create_framebuffer()
Brian [Sat, 3 Nov 2007 15:39:31 +0000 (09:39 -0600)]
use st_create_framebuffer()

16 years agost_create_framebuffer() working
Brian [Sat, 3 Nov 2007 15:39:12 +0000 (09:39 -0600)]
st_create_framebuffer() working

16 years agomove st_create_framebuffer() to new st_framebuffer.c file
Brian [Fri, 2 Nov 2007 19:25:44 +0000 (13:25 -0600)]
move st_create_framebuffer() to new st_framebuffer.c file

16 years agonew file for st_framebuffer stuff
Brian [Fri, 2 Nov 2007 19:25:13 +0000 (13:25 -0600)]
new file for st_framebuffer stuff

16 years agoIntroduce st_framebuffer type and st_create_framebuffer(), st_make_current()
Brian [Fri, 2 Nov 2007 19:22:22 +0000 (13:22 -0600)]
Introduce st_framebuffer type and st_create_framebuffer(), st_make_current()

16 years agomore dead code removal, clean-up
Brian [Fri, 2 Nov 2007 19:16:03 +0000 (13:16 -0600)]
more dead code removal, clean-up

16 years agomove intelScreenContext() to intel_swapbuffers.c and make static
Brian [Fri, 2 Nov 2007 19:10:31 +0000 (13:10 -0600)]
move intelScreenContext() to intel_swapbuffers.c and make static

16 years agoremove mesa extension code
Brian [Fri, 2 Nov 2007 19:08:20 +0000 (13:08 -0600)]
remove mesa extension code

16 years agoremove old mesa context creation code
Brian [Fri, 2 Nov 2007 19:06:40 +0000 (13:06 -0600)]
remove old mesa context creation code

16 years agoremove dead code, unnecessary #includes, etc
Brian [Fri, 2 Nov 2007 18:53:46 +0000 (12:53 -0600)]
remove dead code, unnecessary #includes, etc

16 years agoremove INTEL_FIREVERTICES
Brian [Fri, 2 Nov 2007 18:48:39 +0000 (12:48 -0600)]
remove INTEL_FIREVERTICES

16 years agoremove refcount, fboRect fields
Brian [Fri, 2 Nov 2007 18:46:19 +0000 (12:46 -0600)]
remove refcount, fboRect fields

16 years agoremove intel->pipe field
Brian [Fri, 2 Nov 2007 18:44:42 +0000 (12:44 -0600)]
remove intel->pipe field

16 years agoremove some struct decls
Brian [Fri, 2 Nov 2007 18:44:25 +0000 (12:44 -0600)]
remove some struct decls

16 years agos/intelDisplayBuffer/intelDisplaySurface
Brian [Fri, 2 Nov 2007 18:33:33 +0000 (12:33 -0600)]
s/intelDisplayBuffer/intelDisplaySurface

16 years agosimplify intelSwapBuffers()
Brian [Fri, 2 Nov 2007 18:31:56 +0000 (12:31 -0600)]
simplify intelSwapBuffers()

16 years agoremove useless code
Brian [Fri, 2 Nov 2007 18:31:39 +0000 (12:31 -0600)]
remove useless code

16 years agoremove disabled vblank/sync code
Brian [Fri, 2 Nov 2007 18:28:39 +0000 (12:28 -0600)]
remove disabled vblank/sync code

16 years agodisable vblank/sync code
Brian [Fri, 2 Nov 2007 18:26:16 +0000 (12:26 -0600)]
disable vblank/sync code

16 years agoadded check for fb==NULL
Brian [Fri, 2 Nov 2007 18:22:43 +0000 (12:22 -0600)]
added check for fb==NULL

16 years agoremove dead pageflip code
Brian [Fri, 2 Nov 2007 18:17:13 +0000 (12:17 -0600)]
remove dead pageflip code

16 years agodisable page flip code
Brian [Fri, 2 Nov 2007 18:14:01 +0000 (12:14 -0600)]
disable page flip code

16 years agoinclude context.h
Brian [Fri, 2 Nov 2007 18:11:40 +0000 (12:11 -0600)]
include context.h

16 years agoreplace IntelFlush(), FLUSH_VERTICES(), etc. with st_flush() call
Brian [Fri, 2 Nov 2007 17:44:07 +0000 (11:44 -0600)]
replace IntelFlush(), FLUSH_VERTICES(), etc. with st_flush() call

16 years agocall FLUSH_VERTICES() in st_flush()
Brian [Fri, 2 Nov 2007 17:43:33 +0000 (11:43 -0600)]
call FLUSH_VERTICES() in st_flush()

16 years agopublic st_flush()
Brian [Fri, 2 Nov 2007 17:41:32 +0000 (11:41 -0600)]
public st_flush()

16 years agoremove extern decls for non-existant functions
Brian [Fri, 2 Nov 2007 17:31:39 +0000 (11:31 -0600)]
remove extern decls for non-existant functions

16 years ago#include clean-ups, fixes
Brian [Fri, 2 Nov 2007 17:28:02 +0000 (11:28 -0600)]
#include clean-ups, fixes

16 years agocomment about renderbuffers vs. surfaces
Brian [Fri, 2 Nov 2007 17:27:39 +0000 (11:27 -0600)]
comment about renderbuffers vs. surfaces

16 years agoremove some dead code, clean-ups
Brian [Fri, 2 Nov 2007 17:27:23 +0000 (11:27 -0600)]
remove some dead code, clean-ups

16 years agomore clean-up in intelDisplayBuffer()
Brian [Fri, 2 Nov 2007 16:58:38 +0000 (10:58 -0600)]
more clean-up in intelDisplayBuffer()

16 years agoCheck if the user/texenvprogram is just a pass-through program and skip program conca...
Brian [Sun, 4 Nov 2007 23:38:36 +0000 (16:38 -0700)]
Check if the user/texenvprogram is just a pass-through program and skip program concatenation.

16 years agoAllow batch buffer debugging without calling i915_winsys->batch_start so often.
José Fonseca [Sat, 3 Nov 2007 02:00:28 +0000 (02:00 +0000)]
Allow batch buffer debugging without calling i915_winsys->batch_start so often.

16 years agoDo something sensible when failed to reserve space in the batch buffer.
José Fonseca [Sat, 3 Nov 2007 01:31:47 +0000 (01:31 +0000)]
Do something sensible when failed to reserve space in the batch buffer.

16 years agoDetail i915 winsys interface comments.
José Fonseca [Sat, 3 Nov 2007 01:08:15 +0000 (01:08 +0000)]
Detail i915 winsys interface comments.

16 years agoRender primitives using indirect vertices in a vertex buffer.
José Fonseca [Thu, 1 Nov 2007 18:14:44 +0000 (18:14 +0000)]
Render primitives using indirect vertices in a vertex buffer.

16 years agoCleanups.
Zack Rusin [Fri, 2 Nov 2007 16:18:02 +0000 (12:18 -0400)]
Cleanups.

Remove some debugging output and try to make sure that
Mesa compiles when configured without LLVM

16 years agoImplement sin opcode.
Zack Rusin [Fri, 2 Nov 2007 16:09:23 +0000 (12:09 -0400)]
Implement sin opcode.

Seems to have similar rounding border problems as cos.

16 years agoImplement scs opcode
Zack Rusin [Fri, 2 Nov 2007 16:05:00 +0000 (12:05 -0400)]
Implement scs opcode

16 years agoImplement COS and CMP opcode.
Zack Rusin [Fri, 2 Nov 2007 15:47:09 +0000 (11:47 -0400)]
Implement COS and CMP opcode.

There's some weird rounding issue with COS that I can't figure
out.

16 years agoAdd debugging ifdefs to make it less verbose
Zack Rusin [Fri, 2 Nov 2007 11:02:15 +0000 (07:02 -0400)]
Add debugging ifdefs to make it less verbose

16 years agoGet fragment shaders working on top of LLVM.
Zack Rusin [Thu, 1 Nov 2007 18:00:25 +0000 (14:00 -0400)]
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.

16 years agoChange the fragment shader signature to better match actual
Zack Rusin [Thu, 1 Nov 2007 09:53:44 +0000 (05:53 -0400)]
Change the fragment shader signature to better match actual
arguments that we need there.

16 years agoAdd basic entry points for fragment shaders.
Zack Rusin [Wed, 31 Oct 2007 16:23:45 +0000 (12:23 -0400)]
Add basic entry points for fragment shaders.

16 years agoRenaming llvmtgsi to gallivm. Taking first steps on the way to supporting
Zack Rusin [Wed, 31 Oct 2007 10:51:19 +0000 (06:51 -0400)]
Renaming llvmtgsi to gallivm. Taking first steps on the way to supporting
fragment shaders through llvm.

16 years agoStart re-working SwapBuffers.
Brian [Fri, 2 Nov 2007 00:37:00 +0000 (18:37 -0600)]
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...

16 years agoUse new state tracker context/destroy funcs with wrap Mesa context.
Brian [Fri, 2 Nov 2007 00:01:23 +0000 (18:01 -0600)]
Use new state tracker context/destroy funcs with wrap Mesa context.

16 years agoSketch out new create/destroy context functions which create/wrap a Mesa context.
Brian [Thu, 1 Nov 2007 23:46:04 +0000 (17:46 -0600)]
Sketch out new create/destroy context functions which create/wrap a Mesa context.

16 years agodisable the driverContext assertions
Brian [Thu, 1 Nov 2007 20:51:37 +0000 (14:51 -0600)]
disable the driverContext assertions

16 years agosilence the finalize_mipmap_tree msg
Brian [Thu, 1 Nov 2007 20:51:08 +0000 (14:51 -0600)]
silence the finalize_mipmap_tree msg

16 years agodon't call _mesa_init_driver_functions()
Brian [Thu, 1 Nov 2007 20:20:42 +0000 (14:20 -0600)]
don't call _mesa_init_driver_functions()

16 years agoremove _mesa_init_driver_functions()
Brian [Thu, 1 Nov 2007 20:14:53 +0000 (14:14 -0600)]
remove _mesa_init_driver_functions()

16 years agoplug in _mesa_test_proxy_teximage, temporarily
Brian [Thu, 1 Nov 2007 20:14:30 +0000 (14:14 -0600)]
plug in _mesa_test_proxy_teximage, temporarily

16 years agoremove dead code
Brian [Thu, 1 Nov 2007 20:01:39 +0000 (14:01 -0600)]
remove dead code

16 years agoremove unneeded tnl stuff
Brian [Thu, 1 Nov 2007 20:01:14 +0000 (14:01 -0600)]
remove unneeded tnl stuff

16 years agoremove old comment about tnl/vf
Brian [Thu, 1 Nov 2007 19:58:38 +0000 (13:58 -0600)]
remove old comment about tnl/vf

16 years agoReserve the right number of dwords for hardware state, and handle the case where...
José Fonseca [Thu, 1 Nov 2007 22:19:42 +0000 (22:19 +0000)]
Reserve the right number of dwords for hardware state, and handle the case where it fails.

16 years agoObsolete file
Brian [Thu, 1 Nov 2007 19:06:53 +0000 (13:06 -0600)]
Obsolete file

16 years agoremove xmesa_set_renderbuffer_funcs()
Brian [Thu, 1 Nov 2007 19:06:29 +0000 (13:06 -0600)]
remove xmesa_set_renderbuffer_funcs()