Commit Graph

74545 Commits

Author SHA1 Message Date
Christoph Bill ad3f2107ed Add early register descritpion.
This need more work on case where we can disable
or enable early  (stencil, alpha might need it to
be disable).
2007-03-01 20:40:25 +01:00
Rune Petersen 5cb01764f6 Optimize cos&sin instruction a bit more. 2007-03-01 20:36:19 +01:00
Brian a8ba888a35 move oldFb decl into tighter scopes 2007-03-01 09:40:21 -07:00
Brian 9fbb2e9e76 fix bad n_dot_h normalization code (bug 9977), plus clean-up the code in general 2007-03-01 09:17:01 -07:00
Nian Wu 6a47e35065 Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline 2007-03-01 09:01:58 -05:00
Brian 38a88db1fc Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa 2007-02-28 11:58:30 -07:00
Michel Dänzer 0609b6afa8 i915tex: Sync pages differently when crossing pipe borders.
Don't flip (up to twice) immediately but just arrange things such that the
pages will be in sync on both pipes on the next flip.
2007-02-28 17:46:07 +01:00
Michel Dänzer 3c578455e1 i915tex: Check that intel_rb is valid before trying to add it to an fbo. 2007-02-28 17:42:54 +01:00
Michel Dänzer edf676cc5a i915tex: Also update intel_rb->vbl_pending when scheduled swap is not a flip. 2007-02-28 16:05:49 +01:00
Ben Skeggs afa780c09d nouveau: drm interface changes 2007-02-28 15:31:28 +11:00
Nian Wu 381b4b0c91 Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline 2007-02-27 14:42:16 -05:00
Brian 59e56ee3e5 fix comment 2007-02-27 11:09:48 -07:00
Brian f30e312763 assert that fb->RefCount==0 in _mesa_free_framebuffer_data() 2007-02-27 11:09:28 -07:00
Brian 0e1bd23025 s/matrix_stack/gl_matrix_stack/ and s/mesa_list_state/gl_dlist_state/ 2007-02-27 09:54:50 -07:00
Brian 2cf8d24131 remove unused DriverMgrCtx 2007-02-26 18:35:34 -07:00
Brian fa4d036424 Add EmitHighLevelInstructions, EmitComments booleans to gl_shader_state.
These control code generation options.  May be overridden by drivers, debuggers, etc.
2007-02-26 18:33:50 -07:00
Brian 4f26a52908 re-enable var scope destruct in slang_operation_destruct() 2007-02-26 18:08:09 -07:00
Brian 553fe132d4 Fix a few bugs in slang_operation variable scoping. Seems to fix a double-free. 2007-02-26 18:07:26 -07:00
Brian aa6f4241f8 formatting fixes 2007-02-26 17:32:45 -07:00
Brian e21096b07c fix mem leak 2007-02-26 17:05:52 -07:00
Brian b58ea057fe fix mem leak in _mesa_ShaderSourceARB() 2007-02-26 17:00:06 -07:00
Brian 4b8d75e2e6 fix logic for reporting errors 2007-02-26 16:32:00 -07:00
Brian f446e58e45 disable execute bit 2007-02-26 15:13:34 -07:00
Brian 6817407d49 fix error flagging 2007-02-26 15:06:56 -07:00
Brian 365f8fb0dd re-enable some code 2007-02-26 15:02:36 -07:00
Brian ed0ae62ad7 Merge branch 'glsl-compiler-1' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into glsl-compiler-1 2007-02-26 14:34:57 -07:00
Brian ca279b80e6 Remove old error logging code. New slang_log.[ch] files. 2007-02-26 14:33:52 -07:00
Brian c4ac5ac9d7 Overhaul of error handling. 2007-02-26 14:32:53 -07:00
Brian 7f01ef171f Overhaul of error logging. 2007-02-26 14:32:29 -07:00
Brian e63c7e0893 Use new slang_emit_info struct for passing context info around. 2007-02-26 14:22:05 -07:00
Brian 928a70e435 Rewrite code related to buffer destruction.
Do proper reference counting so that we don't wind up with dangling
references to deleted windows/framebuffers.  Should help with bug 7205.
2007-02-26 11:39:17 -07:00
Brian f30e8a4bdf if renderbuffer ptr is null, just return 2007-02-26 11:37:52 -07:00
Brian e6a9381f78 Do proper framebuffer refcounting in _mesa_make_current().
Also, added DeletePending field to gl_framebuffer used when a window has been
deleted, but there still may be rendering contexts attached to the
gl_framebuffer object.
2007-02-26 11:37:37 -07:00
Panagiotis Papadakos 1a72c8ed3f s/pdp/prp/ in DoBindContext() 2007-02-26 07:59:14 -07:00
Panagiotis Papadakos 3528d61820 add missing param to _mesa_warning() 2007-02-26 07:57:31 -07:00
Brian 4e53ce81cf remove unneeded includes 2007-02-25 20:05:22 -07:00
Brian 3c1c999226 update comments 2007-02-25 19:11:44 -07:00
Brian 313d50e903 fix bounds checking in get_register_pointer() 2007-02-25 19:01:16 -07:00
Brian b85d4d61a7 define and use MAX_PROGRAM_ADDRESS_REGS 2007-02-25 18:56:57 -07:00
Brian 33eac56e4a Add EnvParams field to gl_program_machine, avoid passing ctx to a bunch of functions. 2007-02-25 18:52:41 -07:00
Brian 6774f32adb simplify _mesa_get_program_register() 2007-02-25 18:39:46 -07:00
Brian 21bcb2e1f6 s/GetFragmentProgramRegister/GetProgramRegister/ 2007-02-25 18:35:47 -07:00
Brian cfd0011f2f minor clean-ups in _mesa_execute_program() 2007-02-25 18:30:45 -07:00
Brian 8b34b7da41 remove 'maxInst' parameter from _mesa_execute_program() 2007-02-25 18:26:50 -07:00
Brian 085d7d59f0 remove unused 'element' parameter from _mesa_execute_program() 2007-02-25 18:23:37 -07:00
Brian 12fd8faa5d s/attribs/results/ 2007-02-25 18:08:16 -07:00
Brian 29796b62bd remove unused VaryingPtr 2007-02-25 17:33:46 -07:00
Brian e71a33bbf8 Optimize the loop for copying output results. 2007-02-25 17:29:00 -07:00
Aapo Tahkola c080123998 Fix #10071 - wrong max_index in vbo draw_prims. (Papadakos Panagiotis) 2007-02-26 01:51:39 +02:00
Brian 9854a17f29 only copy used outputs 2007-02-25 12:47:25 -07:00