Commit Graph

92185 Commits

Author SHA1 Message Date
Michel Dänzer 4f79dbd5aa Convert format bitfields to shifts and masks.
The memory layout of bitfields depends on the ABI.
2007-11-06 10:17:59 +01:00
Michel Dänzer 0ab2c84ce9 Fix non-x86 build. 2007-11-06 10:16:34 +01:00
Brian c6499a741c Determine GL extensions/limits by making pipe queries.
The state tracker calls pipe->get_param() to determine the GL limits and
which OpenGL extensions are supported.
This is an initial implementation that'll probably change...
2007-11-05 18:04:30 -07:00
Brian 01e7165530 clean ups 2007-11-05 17:15:12 -07:00
Brian d31d93f477 change includes, minor simplification in intelDisplaySurface() 2007-11-05 17:10:12 -07:00
Brian cadaa4330e include mtypes.h (temporary) 2007-11-05 16:45:49 -07:00
Brian ced9c0f8c4 don't include mtypes.h in st_public.h 2007-11-05 16:38:07 -07:00
Brian 9b0f71e37f move st_invalidate_state() prototype to st_context.h 2007-11-05 16:34:47 -07:00
Brian 91564eedcc Remove some temporary state tracker context/framebuffer_create functions. 2007-11-05 16:15:43 -07:00
Brian e39f1b4cbe Update xlib driver to use newer state tracker context/framebuffer functions.
XMesaContext has an st_context * which contains a mesa context.
2007-11-05 15:59:55 -07:00
Brian 9a563d5e69 no-op glCopyPixels if width or height is zero 2007-11-05 15:42:55 -07:00
Oliver McFadden cd59600c7b Renamed the R300_VAP_UNKNOWN_221C to R300_VAP_CLIP_CNTL. 2007-11-05 22:17:34 +00:00
Dave Airlie 35d28ce12e r300: initial user clipping for TCL paths
I've no idea if this code might break something or how it should interact
with vertex shaders, it makes the clip demo work for me
2007-11-05 22:17:34 +00:00
Kristian Høgsberg 8e66c3d755 Lookup visual in visual list, not fbconfig list.
Also, handle visual not found error case by throwing X error.
2007-11-05 17:02:29 -05:00
Kristian Høgsberg e2c2df5c23 Filter both visuals and fbconfigs against driver supported configs. 2007-11-05 17:02:29 -05:00
Brian c9ce3e8fd2 Check for NULL VB->EdgeFlag array.
There might be a bug elsewhere, but this is a simple work-around for now.
See bug 12614
2007-11-05 14:44:01 -07:00
Brian a49e0726e3 fix mmx code (bug 12614) 2007-11-05 14:44:01 -07:00
Brian f4d51d8923 asst clean-ups 2007-11-05 13:37:12 -07:00
Brian e4bad27099 remove some GL types, mesa includes 2007-11-05 13:18:47 -07:00
Brian 3f80be3cb5 move intel_context_mesa() into intel_swapbuffers.c (the only place it's used now) 2007-11-05 11:59:09 -07:00
Brian 6ad4656cc4 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.
2007-11-05 11:54:36 -07:00
Brian b17675d709 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.
2007-11-05 11:53:56 -07:00
Brian adf3761fbd remove intelScreenPrivate typedef and use cast wrapper function to be like intel_context and intel_framebuffer 2007-11-05 11:48:54 -07:00
Brian 736baf22e9 remove driScrnPriv field from intel_screen 2007-11-05 11:38:46 -07:00
Brian cd360b7d60 comments 2007-11-05 11:35:43 -07:00
Brian 1bbc86e651 fix typo, formatting 2007-11-05 11:17:40 -07:00
Brian f8f1c4a022 remove unused intelScreen->texPool 2007-11-05 11:09:19 -07:00
Brian 6a95fe8735 add missing free() in intelDestroyContext 2007-11-05 10:16:28 -07:00
Brian 897428c426 comments, clean-ups, assertions 2007-11-05 10:14:24 -07:00
Brian 413688415c rewrite/simplify intelCopySubBuffer() 2007-11-05 10:04:23 -07:00
Brian 81c1993daa rewrite/simplify intelSwapBuffers() 2007-11-05 10:01:51 -07:00
Brian 74866737db added st_notify_swapbuffers() 2007-11-05 09:59:34 -07:00
Brian 9fc03fed01 replace get_color_surface() with st_get_framebuffer_surface() 2007-11-05 09:53:02 -07:00
Brian 616bf35569 added st_get_framebuffer_surface() and ST_SURFACE_x tokens 2007-11-05 09:52:14 -07:00
Brian f221ea658b comments, tweaks 2007-11-05 09:35:31 -07:00
Brian 29c1fdd0ce better use of intel_context() cast wrappers 2007-11-05 09:28:28 -07:00
Brian 2edc87eb3d clean-up/re-org of intel_framebuffer code 2007-11-05 09:24:03 -07:00
Brian 1f17d845ff remove unused intel_fb decls, code 2007-11-05 09:09:11 -07:00
Brian 32f05c35d2 move intelCopySubBuffer() decl 2007-11-05 09:07:35 -07:00
Brian c1933ed23f remove dead code in intelCreateBuffer() 2007-11-05 09:04:37 -07:00
Brian bac76b71f1 remove intel_context cliprect code 2007-11-05 09:02:54 -07:00
Brian 1cb81470b7 remove unused var 2007-11-05 09:00:18 -07:00
Brian 5d8e383380 remove cliprect code 2007-11-05 08:58:45 -07:00
Brian 4e0b38958d remove mesa includes 2007-11-05 08:47:48 -07:00
Brian 131330994a use st_unreference_framebuffer() 2007-11-05 08:42:18 -07:00
Brian 44dfed15e0 added st_unreference_framebuffer() 2007-11-05 08:41:45 -07:00
Brian fc73b21606 rename intelWindowMoved() to intelUpdateWindowSize() 2007-11-05 08:04:48 -07:00
Brian 02a1c8f569 pass __DRIdrawablePrivate to intelWindowMoved(), rather than context ptr 2007-11-05 08:04:48 -07:00
Brian cb62b64e33 simplify the window moved/resized code a bit 2007-11-05 08:04:48 -07:00
Brian ed8774e920 set stfb->Base.Initialized 2007-11-05 08:04:48 -07:00