summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i810/i810context.c
AgeCommit message (Collapse)AuthorFilesLines
2011-08-26dri: Remove all DRI1 driversIan Romanick1-570/+0
Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-04-05dri: Remove driver date from renderer stringIan Romanick1-3/+1
Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
2011-02-08mesa: remove _mesa_create_context_for_api()Brian Paul1-1/+1
Just add the gl_api parameter to _mesa_create_context().
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg1-5/+5
2010-10-13Drop GLframebuffer typedef and just use struct gl_framebufferKristian Høgsberg1-3/+3
2010-10-13Rename GLvisual and __GLcontextModes to struct gl_configKristian Høgsberg1-1/+1
2010-09-27mesa: Force GL_SGIS_generate_mipmap to always be enabledIan Romanick1-1/+0
As per discussions at XDS.
2010-04-28dri: Add DRI entrypoints to create a context for a given APIKristian Høgsberg1-1/+2
2010-01-22Merge branch 'mesa_7_7_branch'Brian Paul1-3/+0
Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
2010-01-20i810: Remove unnecessary headers.Vinson Lee1-3/+0
2010-01-04Remove leftover __DRI{screen,drawable,context}Private referencesKristian Høgsberg1-12/+12
As part of the DRI driver interface rewrite I merged __DRIscreenPrivate and __DRIscreen, and likewise for __DRIdrawablePrivate and __DRIcontextPrivate. I left typedefs in place though, to avoid renaming all the *Private use internal to the driver. That was probably a mistake, and it turns out a one-line find+sed combo can do the mass rename. Better late than never.
2009-10-23mesa: Enable remap table in core.Chia-I Wu1-1/+1
This enables the remap table in core. driInitExtensions is adapted to use the remap table. All uses of extension_helper.h are replaced by remap_helper.h. The chicken-egg problem of the DRI drivers is also solved. It is now also possible to pass NULL extensions to driInitExtensions. It will cause driInitExtensions to map all known functions. This functionality is used by software drivers and EGL_i915. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-01-28Make GL_ARB_vertex_buffer_object mandatoryIan Romanick1-4/+0
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-28Make GL_ARB_multisample mandatoryIan Romanick1-2/+0
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-28Make GL_ARB_texture_compression mandatoryIan Romanick1-2/+0
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2008-09-21Remove CVS keywords.Keith Whitwell1-1/+0
Cherry-picked from gallium-0.1 Conflicts: src/glu/sgi/libnurbs/interface/bezierEval.h src/glu/sgi/libnurbs/interface/bezierPatch.h src/glu/sgi/libnurbs/interface/bezierPatchMesh.h src/glu/sgi/libnurbs/internals/dataTransform.h src/glu/sgi/libnurbs/internals/displaymode.h src/glu/sgi/libnurbs/internals/sorter.h src/glu/sgi/libnurbs/nurbtess/definitions.h src/glu/sgi/libnurbs/nurbtess/directedLine.h src/glu/sgi/libnurbs/nurbtess/gridWrap.h src/glu/sgi/libnurbs/nurbtess/monoChain.h src/glu/sgi/libnurbs/nurbtess/monoPolyPart.h src/glu/sgi/libnurbs/nurbtess/monoTriangulation.h src/glu/sgi/libnurbs/nurbtess/partitionX.h src/glu/sgi/libnurbs/nurbtess/partitionY.h src/glu/sgi/libnurbs/nurbtess/polyDBG.h src/glu/sgi/libnurbs/nurbtess/polyUtil.h src/glu/sgi/libnurbs/nurbtess/primitiveStream.h src/glu/sgi/libnurbs/nurbtess/quicksort.h src/glu/sgi/libnurbs/nurbtess/rectBlock.h src/glu/sgi/libnurbs/nurbtess/sampleComp.h src/glu/sgi/libnurbs/nurbtess/sampleCompBot.h src/glu/sgi/libnurbs/nurbtess/sampleCompRight.h src/glu/sgi/libnurbs/nurbtess/sampleCompTop.h src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.h src/glu/sgi/libnurbs/nurbtess/sampledLine.h src/glu/sgi/libnurbs/nurbtess/searchTree.h src/glu/sgi/libnurbs/nurbtess/zlassert.h src/glu/sgi/libutil/error.c src/glu/sgi/libutil/glue.c src/glu/sgi/libutil/gluint.h src/glu/sgi/libutil/project.c src/glu/sgi/libutil/registry.c src/glx/x11/glxclient.h src/glx/x11/glxext.c src/mesa/drivers/dri/ffb/ffb_dd.h src/mesa/drivers/dri/ffb/ffb_points.h src/mesa/drivers/dri/gamma/gamma_context.h src/mesa/drivers/dri/gamma/gamma_macros.h src/mesa/drivers/dri/i810/i810context.h src/mesa/drivers/dri/r128/r128_dd.h src/mesa/drivers/dri/tdfx/tdfx_dd.h
2008-09-18mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul1-8/+8
Makefile.template
2008-01-06Replace gl_framebuffer's _ColorDrawBufferMask with _ColorDrawBufferIndexesBrian1-6/+6
Each array element is now a BUFFER_x token rather than a BUFFER_BIT_x bitmask. The number of active color buffers is specified by _NumColorDrawBuffers. This builds on the previous DrawBuffer changes and will help with drivers implementing GL_ARB_draw_buffers.
2007-04-05include points.h to fix warningsBrian1-0/+1
2007-04-04i810/i915/i915tex: reinitialize the context point stateXiang, Haihao1-0/+5
2007-03-13enable ARB_vertex_buffer_object for more dri driversRoland Scheidegger1-0/+2
ARB_vertex_buffer_object looks like a useful extension even for old chips. The drivers should not need any code to be able to use this extension since they just use mesa's vbo code anyway. Newly enabled for i810, mach64, mga, r128, radeon, savage, sis and unichrome.
2006-10-30switch several dri drivers overKeith Whitwell1-3/+3
2006-10-15Remove Driver.ResizeBuffers = _mesa_resize_framebuffer lines.Brian Paul1-1/+0
This is already done by the preceeding call to _mesa_init_driver_functions() which plugs in default functions like that.
2006-05-17add texture rectangle support for i815, I wrote the original patch aboutDave Airlie1-0/+1
2 years ago, I finally dug out an i815 and got it working
2006-02-03replace the texture level hack used in radeon/r200 to allow larger textures ↵Roland Scheidegger1-1/+2
with different methods to calculate the announced maximum texture sizes. Default is still the same (that is, radeon/r200 default to not announce anything which might not fit, i830/i915 default to 1 texture must fit). Bug #5785.
2005-09-14Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function,Brian Paul1-0/+1
call driUpdateFramebufferSize() when window size/position changes.
2005-09-03SetBuffer, renderbuffer changesBrian Paul1-4/+3
2005-08-29Implement GL_ARB_texture_env_combine, GL_EXT_texture_env_combine, andIan Romanick1-1/+4
GL_ARB_texture_env_crossbar for i810. This passes both demos/texenv and all of glean's texCombine tests.
2005-08-19Enable ARB_texture_compression. The code has been in place for a long time,Ian Romanick1-0/+2
but, for whatever reason, the extension wasn't enabled. Add some comments to i810ChooseTextureFormat. There's some strangeness with i810 texture formats.
2005-08-18Add support for NV_blend_square. This was tested withIan Romanick1-0/+1
progs/tests/blendsquare.
2005-08-18Make sure extension entry point offsets are properly initialized. This isIan Romanick1-1/+1
primarilly needed to support functions that are internally implemented using extension entry points (e.g., glBlendFunc uses glBlendFuncSeparate).
2005-08-18Don't try to update hardware texture fields if there is no hardware texture.Ian Romanick1-1/+1
This can happen when all the texture enables for a texture unit are disabled. This fixes bugzilla #3195.
2005-08-18Make the i810 driver use driGetRendererString like all the other drivers.Ian Romanick1-2/+19
The GL_RENDERER string now accurately contains the chip name. This was only tested on a "plain" i810 (PCI ID 8086:7121).
2005-06-30Replace add_newer_entrypoints (src/mesa/main/context.c) withIan Romanick1-10/+15
device-specific code. A new Python script (src/mesa/glapi/extension_helper.py) generates a list of all entry-points for all known extensions. Each driver the selects only the extensions that it needs and enables the via either driInitExtensions or driInitSingleExtension. This code has been compile-tested on a drivers, but has only been run-tested on mga and i915 (on i830 hardware). These changes were discussed at length on the mesa3d-dev mailing list. http://marc.theaimsgroup.com/?t=111947074700001&r=1&w=2
2005-05-04Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul1-11/+14
Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
2005-02-14fix some signed vs unsigned warningsDave Airlie1-1/+1
2004-12-16Also PUBLICize the config option tableAdam Jackson1-1/+1
2004-11-27Remove _mesa_ResizeBuffersMESA() call from _mesa_set_viewport().Brian Paul1-3/+0
Now, the driver's Viewport routine should call _mesa_ResizeBuffersMESA() if necessary. Cleaned up code related to GLframebuffer width/height initialization. Set initial viewport/scissor params in _mesa_make_current2(), instead of in the drivers' MakeCurrent functions.
2004-10-02added support for GL_ARB_draw_buffersBrian Paul1-2/+2
2004-03-21Implemented support for software-based AUX color buffers.Brian Paul1-5/+4
Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
2004-02-26added _tnl_allow_vertex/pixel_fog() callsBrian Paul1-1/+3
2004-01-28fix breakage associated with pointers not being initialised inDave Airlie1-7/+9
mesa_create_context
2004-01-26Make the drivers using the common texmem code work with NewTextureObjectFelix Kuehling1-2/+0
in Mesa. This is analogous to changes idr made to the r200 driver. Patch submitted by Andreas Stenglein.
2004-01-20Before calling _mesa_create_context(), initialize a dd_function_table structBrian Paul1-3/+15
by calling _mesa_init_driver_functions() and then plugging in the driver- specific functions. In particular, make sure ctx->Driver.NewTextureObject points to the appropriate driver function so that _all_ texture objects are augmented with the driver-specific data. Put in a bunch of assertions in the texture-related driver functions that texObj->DriverData is valid. Remove old dead code in near future.
2004-01-18minor changes to silence warningsBrian Paul1-2/+2
2004-01-12Removed redundant extension strings. The Mesa extension mechanismIan Romanick1-3/+0
automatically enables "duplicate" extensions without the driver explicitly enabling them.
2003-12-12set MaxTextureImageUnits, MaxTextureCoordUnitsKeith Whitwell1-0/+2
2003-12-08fix bogus assertion that checked for an empty texture heap list beforeAlan Hourihane1-2/+2
deleting the textures. Essentially move the assertion after the destruction of the heap.
2003-12-08Provide dummy definitions of __driConfig externsKeith Whitwell1-0/+3
2003-11-24Import vtx-0-2-branchKeith Whitwell1-2/+2