History log of /external/mesa3d/src/mesa/drivers/dri/r200/radeon_common_context.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c0c216c4690f1d39ae384b45be5d5350d5bde875 27-Jul-2012 Roland Scheidegger <sroland@vmware.com> radeon/r200: get rid of some unneeded cliprect/scissor code

Noone was interested in the number of cliprects, and noone cared
about the intersect result neither. So just nuke this.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
c080202db5363a18a759a9a7c82b40ac558c8abe 16-Jan-2012 Brian Paul <brianp@vmware.com> radeon: derive radeon_renderbuffer from swrast_renderbuffer
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
4ed8a585840865550bb9acac38c5ef26670a1fb8 11-Nov-2011 Dave Airlie <airlied@redhat.com> radeon: update flush according to glXMakeCurrent man page

This also copies code from intel driver to do this.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
1401b96bb9f485eb5c08fb724b4366a16ea93aef 07-Nov-2011 Fabio Pedretti <fabio.ped@libero.it> radeon: cleanup radeon shared code after r300 and r600 classic drivers removal

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
875a757ddd103722cfe9a2b21035024aa5a23d32 03-Nov-2011 George Sapountzis <gsapountzis@gmail.com> dri: unify __DRIscreenRec

Also drop DriverAPI field, this is a static symbol and I don't see why it
should be accessed through __DRIscreenRec
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
9954a93ab77e64b01b95837f90a567df9e8c94df 02-Nov-2011 Eric Anholt <eric@anholt.net> radeon: Check an error return instead of assigning it to a dead variable.

Fixes gcc set-but-unused-variable warning.

Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
a14bb89d3ffda49ec8e64453640b42b670cb43a7 28-Oct-2011 Kristian Høgsberg <krh@bitplanet.net> dri: Drop unused dri renderbuffer helper functions
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
03855bc2accbeb508458f70bdbdcef292672b2b8 28-Oct-2011 Kristian Høgsberg <krh@bitplanet.net> dri: Remove dri2.enabled flag

DRI2 is always enabled now.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
a2ea34d70507ffb6b7277b4612ae3bc1ca582a60 28-Oct-2011 Kristian Høgsberg <krh@bitplanet.net> dri: Remove DRI1 fields from DRI structs
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
1837fb8e7c3cef8b9292b68da152d185e7103646 28-Oct-2011 Kristian Høgsberg <krh@bitplanet.net> dri: Remove remaining DRI1 vblank code
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
d24b81e0e0f4109f3256dc45b0adc5ffd59fb749 28-Oct-2011 Kristian Høgsberg <krh@bitplanet.net> dri: Remove cliprect information from __DRIdrawable
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
56d30bb00d40cd391d7a469604792a27ddcc459c 29-Oct-2011 Dave Airlie <airlied@redhat.com> radeon/r200: drop remains of r300/r600 support along with old drm 1.x kernel

This drops all the old drmSupports* checks since KMS does them all, and it
also drop R300_CLASS and R600_CLASS.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
eb135fe8c16388cd33b424ee3915ae52d20cb3ff 14-Oct-2011 Eric Anholt <eric@anholt.net> radeon: Drop some remaining DRI1 vblank support code.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
0973a1ec78fdedc5401cb1c0f6d027425c492509 14-Oct-2011 Eric Anholt <eric@anholt.net> radeon: Drop the non-kernel-memory-manager support, and thus DRI1.

It's past time, and it was going to get in the way of the renderbuffer
mapping refactor. We dropped all the other DRI1 drivers for this
release, and I can't imagine anybody supporting DRI1 radeon classic in
a new release of Mesa.

Diff produced by treating kernel_mm as true, deleting the DRI1 paths
that produce kernel_mm false, and deleting code.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
e0e4c2e30552e524c91b2eb98a2dabdcd4666169 02-Aug-2011 Eric Anholt <eric@anholt.net> radeon: Remove some remaining set-but-unused variables.

These looked more like copy-and-paste to me than the others (which
looked more like possibly someone forgot to write some code in a
refactor), so I didn't verify where they came from.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
c5903ed4541ec4f9389e33ba27c9527afa87ec44 04-Apr-2011 Alex Deucher <alexdeucher@gmail.com> r600c: add support for llano

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
0fe34b7bbc9a8e089bbb4d0fe401b09095a571eb 01-Mar-2011 Ian Romanick <ian.d.romanick@intel.com> dri: Remove driver date from renderer string

Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
211725eccdda4a9b7959e1f458d253b32186ff6a 12-Feb-2011 Eric Anholt <eric@anholt.net> radeon: Remove setup of the old dri/ meta code, which is now unused.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
6f2f449414e51e3b98f85e3fc916a7f3d42a99d4 09-Feb-2011 Brian Paul <brianp@vmware.com> mesa: remove _mesa_create_context_for_api()

Just add the gl_api parameter to _mesa_create_context().
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
4ef3e261a4dbe81c1ca73dbf83d45edf332c8d68 18-Jan-2011 Andre Maasikas <amaasikas@gmail.com> r600c: preserve correct buffer when using fbo

Hopefully better than previous - this passes more mipgen tests
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
7b97bdba4096180df4e32e6c52f79713a649478b 07-Jan-2011 Alex Deucher <alexdeucher@gmail.com> r600c: add support for NI asics
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
072f2cbf29725c698497fd451a3289802ff31a40 22-Nov-2010 Alex Deucher <alexdeucher@gmail.com> r600c: add Ontario Fusion APU support

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
75e52556a8e72f2841ef03de91255f260160ebd2 17-Nov-2010 Alex Deucher <alexdeucher@gmail.com> r600c/evergreen: texture align is group_bytes just like 6xx/7xx

Default group bytes to 512 on evergreen. Don't query
tiling config yet for evergreen, the current info returned is not
adequate for evergreen (no way to get bank info).
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
ef0720758e5ba34d0d163bdf5efc6e8dabd65aa8 15-Nov-2010 Daniel Lichtenberger <daniel.lichtenberger@gmail.com> radeon: fix potential segfault in renderbuffer update

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=31617

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
f9b5201dbdca4a612afdd694a583177fb4af8685 27-Jul-2010 Johann Rudloff <cypheon@googlemail.com> radeon: Implement EGL_MESA_no_surface_extension
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
5b15b5f4a8fffa07d8051e6cd4cd0a6c9288fc9f 08-Nov-2010 Alex Deucher <alexdeucher@gmail.com> r600c: properly align mipmaps to group size

fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=31400
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
f9995b30756140724f41daf963fa06167912be7f 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
d3491e775fb07f891463b2185d74bbad62f3ed24 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Rename GLvisual and __GLcontextModes to struct gl_config
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
603741a86df0e43c0b52e8c202a35c7fe2fc1d9c 10-Oct-2010 Daniel Vetter <daniel.vetter@ffwll.ch> r200: revalidate after radeon_update_renderbuffers

By calling radeon_draw_buffers (which sets the necessary flags
in radeon->NewGLState) and revalidating if NewGLState is non-zero
in r200TclPrimitive. This fixes an assert in libdrm (the color-/
depthbuffer was changed but not yet validated) and and stops the
kernel cs checker from complaining about them (when they're too
small).

Thanks to Mario Kleiner for the hint to call radeon_draw_buffer
(instead of my half-broken hack).

v2: Also fix the swtcl r200 path.

Cc: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
15861e0074bdc0185662ef6a6f4358230a187243 24-Sep-2010 Alex Deucher <alexdeucher@gmail.com> r600c: fix mipmap stride on evergreen

taken from Dave's r600g fix
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
b4bb6680200b5a898583392f4c831c02f41e63f7 08-Sep-2010 Kristian Høgsberg <krh@bitplanet.net> dri: Unset current context and dispatch table when unbinding

Otherwise, when we switch to an indirect glx context and then back, it looks
like we're still current.

https://bugs.freedesktop.org/show_bug.cgi?id=29977#c7
Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
d1b4f4034796e607371536d43370c6fefc22811c 24-Aug-2010 Alex Deucher <alexdeucher@gmail.com> radeon: print chip family for evergreen in renderer string
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
063c70d7f72a043037fb4c9b534c53208f86611d 20-May-2010 Alex Deucher <alexdeucher@gmail.com> r600: add span support for 2D tiling

Requires tiling config ioctl support from the drm to use.
kms only.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
646d2e9fbc41bf49075013009e9583bec4a51168 02-Aug-2010 Mario Kleiner <mario.kleiner@tuebingen.mpg.de> radeon: Add DRI2 flush extension support, so we synchronize properly.

When a DRI2 swap buffer is pending we need to make sure we
have the flush extension so radeon doesn't resume rendering to
or reading from the not yet blitted front buffer.

This fixes:

https://bugs.freedesktop.org/show_bug.cgi?id=28341
https://bugs.freedesktop.org/show_bug.cgi?id=28410

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
3d39f56a8721ec6aa6d00965b7740fc8cb5edaae 02-Aug-2010 Jerome Glisse <jglisse@redhat.com> Revert "radeon: Add DRI2 flush extension to so we synchronize properly."

This reverts commit 8446f257b3e3ca4a3eb2c79bc357e46343e04e87.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
8446f257b3e3ca4a3eb2c79bc357e46343e04e87 25-Jul-2010 Mario Kleiner <mario.kleiner@tuebingen.mpg.de> radeon: Add DRI2 flush extension to so we synchronize properly.

When DRI2 swap buffer is pending (copy buffer not pageflipping)
we need to make sure we have the flush extension so radeon doesn't
resume rendering on the not yet blitted front buffer.

Modified version of Jerome's patch to add flush extension
in the correct place.

This prepares a possible fix for:

https://bugs.freedesktop.org/show_bug.cgi?id=28341
https://bugs.freedesktop.org/show_bug.cgi?id=28410

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
fef9b532cd1631cc53056b9eba4369d1310b88df 15-Jul-2010 Henri Verbeet <hverbeet@gmail.com> radeon: Also flush if it's not the current context that's being destroyed.

This avoids calling radeonFlush() during context destruction, when
ctx->DrawBuffer would be NULL.

NOTE: This is a candidate for the 7.8 branch.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
8a2cf4549a4e88d8981d75b003ac0a43e71f5e41 31-Jan-2010 Vinson Lee <vlee@vmware.com> radeon: Remove unnecessary headers.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
d61f07318c8678901b948fdaa8ccdf37aa3203e9 01-Jan-2010 Kristian Høgsberg <krh@bitplanet.net> Remove leftover __DRI{screen,drawable,context}Private references

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.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
433f0a82f5a4696e6b0c4061f645485ec8079bb4 05-Dec-2009 Michel Dänzer <daenzer@vmware.com> radeon: Only get DRI2 front buffer information for glXBindTexImageEXT.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
d20b79172df18b27c8b4e428119814ffef2c8494 21-Nov-2009 Maciej Cencora <m.cencora@gmail.com> radeon: fix compressed mipmapped textures

Tested on r300 only, other cards may require adjusting texture_compressed_row_align.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
aa195611586cdfb21bb1707b12b16e461a92d42e 11-Nov-2009 Maciej Cencora <m.cencora@gmail.com> radeon: use radeon_bo_is_referenced_by_cs for query objects
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
45e76d2665b38ba3787548310efc59e969124c01 09-Oct-2009 Brian Paul <brianp@vmware.com> mesa: remove a bunch of gl_renderbuffer fields

_ActualFormat is replaced by Format (MESA_FORMAT_x).
ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are
all replaced by MESA_FORMAT_x queries.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
1869bdabbac0926c7da8bfd9e22616cab9457126 21-Sep-2009 Alex Deucher <alexdeucher@gmail.com> r600: various cleanups

- max texture size is 8k, but mesa doesn't support
that at the moment.
- attempt to set shader limits to what the hw actually
supports
- clean up some old r300 cruft
- no need to explicitly disable irqs. This is fixed
in the drm now.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
da9d8f192431b0142e65bceb5ca8a2e52e21ac90 21-Sep-2009 Brian Paul <brianp@vmware.com> Revert "mesa: move _mesa_meta_init/free() calls to core Mesa"

This reverts commit 651cffd626a82d9bf539437ca4bdf8ea4b396fab.

The commit inadvertantly introduced a new gallium dependency on the meta code.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
651cffd626a82d9bf539437ca4bdf8ea4b396fab 19-Sep-2009 Brian Paul <brianp@vmware.com> mesa: move _mesa_meta_init/free() calls to core Mesa
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
858a2a2ac7b1c8f1a7f7c4b3c66b3919989798d4 16-Sep-2009 Dave Airlie <airlied@linux.ie> radeon: cleanup compile defines mess.

I inherited this and really it stayed around far too long,
make it nice and simple.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
4e0d99a63588c67a955f797733da32d04e6f4ee6 30-Aug-2009 Pauli Nieminen <suokkos@gmail.com> r100: Use shared debug code.

Converted r100 to use shared debug code with sed and fast compile check. New
code has compability layer so old debugging code doesn't have to be changed
all immidiatly.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
ed14a4cb7bbcef45668a3ab6fe8efb267b7c4efd 24-Aug-2009 Maciej Cencora <m.cencora@gmail.com> r300: add support for EXT_framebuffer_blit
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
17813931db4cc114262d306f4c1484cd353a13f9 22-Aug-2009 Alex Deucher <alexdeucher@gmail.com> r600: add support for RS880
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
ba48e78b1f7cf307d505583f758c65b158f5aae0 21-Aug-2009 Alex Deucher <alexdeucher@gmail.com> r600: convert to using common radeon state atoms

switches more state handling to common code. We need
should be more fine grained with the state atoms
eventually.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
bbf2b5c4ffcb6755d34a5b698445aecf604e45fb 14-Aug-2009 Pauli Nieminen <suokkos@gmail.com> radeon: Optimize memory handling for dma operations.

We keep dma buffer objects in list untill they have been unused for many
draw operations. Current limit of having 100 flushes is just guess for
good performance/memory trade off.

Moving WARN_ONCE macro to common context because it is used in multiple drivers.

Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
9ad76e9479c9c3cb8b2947d5144de33bb31197b8 16-Aug-2009 Dave Airlie <airlied@redhat.com> r300: OQ rework

Move to common code base so radeon/r200 can add support for this.
Make OQ start a state emitted like all normal state, and make no-tcl
flushing work in proper places.

Really need a generic post emit space reservation mechanism like max_state
so we can reserve some space for the emit

this code passes demos/arbocclude, piglit occlusion query and
glean occlusion query with TCL and NO-TCL on my rv530.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
c3380ded10200f2df0cfba4abbe9a9eb892f7cbb 17-Aug-2009 Alex Deucher <alexdeucher@gmail.com> radeon: remove RADEON_DEBUG_BO stuff

This stuff was a vestige of the r600 bring up and
now mostly serves to periodically break the build.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
2f6675b8160c5fa2e6e9b5642c133fd2843a7508 12-Aug-2009 Alex Deucher <alexdeucher@gmail.com> r600: clean up Create/DestroyContext
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
ef3ad412c746203727324edbd4cbe04079332d7c 12-Aug-2009 Eric Anholt <eric@anholt.net> radeon: Minor warnings cleanup.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
29173d3d5cf02d58e720b5c7fe48a0630c7d5d5f 30-Jul-2009 Pauli Nieminen <suokkos@gmail.com> radeon: Add protection against recursive DRM locking.

Reference counting protects DRM lock call from recursive locking that would
cause hang. Code also adds optional debugging output for recursive call that
is compiled only if NDEBUG is not defined.

This code is not 100% thread safe because mesa doesn't include increment and
test atomic operation. There is built-in gcc functions but they are only
available from gcc 4.2.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
239c8bfb10d3cd61547ccc460f0b89062f3520bc 07-Aug-2009 Dave Airlie <airlied@redhat.com> radeon: enable tiling fallbacks in 3D driver.

Only really got good testing on r500 so far, need to enable in
DDX and play some more.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
801c3fcbca69a17f0696522b91cbfc378094974b 31-Jul-2009 Roland Scheidegger <sroland@vmware.com> radeon: fix r100/r200 compressed texture stride

This almost fixes compressed mipmapped textures on r200, though some small
mip levels are still broken.
Leave r300 compressed texture stride as is though afaik it's different
to pre-radeon-rewrite too. Also do the fixup for rs600 uncompressed row stride
at same place.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
b116f57bacb79205a1f80c7055964c60b402a19d 30-Jul-2009 Alex Deucher <alexdeucher@gmail.com> r600: fix texture pitch alignment

fixes texwrap
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
6b142866abb3097a84cf4b6dae69423154ab40a6 27-Jul-2009 Pauli Nieminen <suokkos@gmail.com> radeon: Add r6xx/r7xx chip family to get_chip_family_name

This fixes problem that glxinfo was reporting r600+ cards as unknown.

Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
79a170108f1d9cad949cd2a34e4de597beae72db 17-Jul-2009 Kevin DeKorte <kdekorte@gmail.com> R6xx/r7xx: warning fixes

patch from Kevin DeKorte with some minor fixes from me.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
c5c19919ce627b98d8aab4284da1694573bcccd4 15-Jul-2009 Alex Deucher <alexdeucher@gmail.com> Merge branch 'master' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa into r6xx-rewrite

This builds, but I get an assertion in radeonGetLock() due to
the drawable being null.
f6f0e117a45a64464e49290ebc9f75b9a976070a 15-Jul-2009 Dave Airlie <airlied@redhat.com> intel/radeon: add common metaops code.

Move all the metaops to a dri_metaops file and port radeon/intel
to use the new common meta ops code.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
9ae78dc0bc948d56198c344d077a1513e531c4d4 15-Jul-2009 Alex Deucher <alexdeucher@gmail.com> R6xx/R7xx: no irqs yet.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
bb4c70358778f28f644ae493b5d8163e76e9fddb 13-Jul-2009 Dave Airlie <airlied@linux.ie> radeon: port more front fixes from intel.

Port fixes to read buffer from front.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
54ee188a00e31d239cbd256e7ba5ffd2c1259650 02-Jul-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: drop radeon renderbuffer private width/height

half stealing the code without taking the intel regions
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
dbb56687c83845cc20aee7243e437a32e5c79a70 01-Jun-2009 Nicolai Hähnle <nhaehnle@gmail.com> radeon: Always initialize front and back renderbuffers if present

This fixes an assertion in glReadPixels from the front buffer.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
1036ef2bf468611d37b5df06fc4424f2002e3837 12-Jun-2009 Alex Deucher <alexdeucher@gmail.com> Merge master and fix conflicts
c1ccc7d5394c23a371540e1b2c3d35b0da3b30d6 31-May-2009 Nicolai Hähnle <nhaehnle@gmail.com> radeon: Provide a more detailled GL_RENDERER string.

Display the chip family and PCI ID. This can be parsed easily,
and essentially all information that the driver has about the chip can be
deduced from it.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
17417fc8eeaf5f88452fa3d37a763cee3c92a28c 26-May-2009 Alex Deucher <alexdeucher@gmail.com> fix segfault when running glxinfo
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
7dd184dc4da37233471875df6f40cce0560cb7bc 24-May-2009 Nicolai Hähnle <nhaehnle@gmail.com> radeon: Remove drawable & readable from radeon_dri_mirror

The duplication of state data caused a crash due to double-free on destruction
of context, because a variable wasn't correctly null'ed out.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
01daeadf8cd8c56820585c3da88cc626dcdc33d0 20-May-2009 Michel Dänzer <daenzer@vmware.com> radeon: Increase reference count of current renderbuffers.

Fixes

glxinfo: main/renderbuffer.c:2159: _mesa_reference_renderbuffer: Assertion
`oldRb->Magic == 0xaabbccdd' failed.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
3149b87ac43a5f10983c6682dff7a00cf1d99c7c 19-May-2009 root <root@richard-desktop.(none)> Makeup checkin for radeon code change paired with r6/7 code.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
2a7a2c6b77116fd475e1d05fb0adbd1702d11f77 16-May-2009 Richard Li <richardradeon@gmail.com> Fix r6 code bugs.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
0bfa8dfaaf49703eb5c3237b5cae6201b8755e4d 12-May-2009 Tormod Volden <debian.tormod@gmail.com> radeon: avoid segfault in radeon_update_renderbuffers() if using DRI1

Basically the same as 43d9020ff1e975e7f4f9480d9ef24f0b9fb2141f for intel. Bug 21688.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
98bb5c610dc68d8e9a185216ce9d2dc6d278c114 10-May-2009 Joel Bosveld <joel.bosveld@gmail.com> radeon: add support for new dri2 interfaces & fix single buffer rendering
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
0b22615c2c860968a027c04519e25864ae69f6cd 02-May-2009 Maciej Cencora <m.cencora@gmail.com> r300: set proper texture row alignment for IGP chips

Looks like r400 based IGP chips require 64 byte alignment
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
4138bdb3b1e845d8a6172015025e1231fda7dcd1 08-Apr-2009 Alex Deucher <alexdeucher@gmail.com> R600: initial copy of r300 code
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
05304d41f2d9ab7a66a8b976580c156b7b93a9d3 02-Apr-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: fix up the whole buffer space checking.

This fixes up the buffer validation scheme, so that we keep a list
of buffers to validate so cmdbuf flushes during a pipeline get
all the buffers revalidated on the next emit.

This also fixes radeonFlush to not flush unless we have something
useful to send to the GPU, like a DMA buffer or something not state
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
41702160090a4c1325afc07c56682f3e1c4fcaf0 02-Apr-2009 Dave Airlie <airlied@redhat.com> radeon/common: use glCtx not ctx
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
e00ef43d796f0ae0247b1072bf0aa8cdd8e3034d 02-Apr-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: collapse context destruction down to a common path.

Context destruction was nearly the same over all the drivers,
so collapse it down.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
6e30fe4873f30ccf9edec9ab6113ea647dccb9b7 01-Apr-2009 Dave Airlie <airlied@redhat.com> radeon: fixup render buffer cleanups

this fixes qtdemo-qt4 starting and a leak in glxgears exit
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
d81a48757a9bde35299fd7c3cfbe83885238409a 31-Mar-2009 Dave Airlie <airlied@redhat.com> radeon/dri2: if the depth buffer is 16-bit force cpp == 2

This is because the DDX always allocates using the drawable sizes.
which gives me twice the depth buffer I asked for, dumb.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
f577c8e462fc924ea436d129ad64c8a1226b5f9c 24-Mar-2009 Dave Airlie <airlied@linux.ie> radeon/r200/r300: fix warnings
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
0a725db10c1491539d48370df7207206538bf945 24-Mar-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: set the texture depth correctly for DRI2
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
8c7e30fb950c83f5e9e29e60735e999ac608145a 23-Mar-2009 Dave Airlie <airlied@redhat.com> raedon/r200/r300: mega-FBO commits.

Re work depth issues.
Do a lot more FBO abstactions
fixup depth/stencil buffer interactions
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
bdaa0341caffc353fd26bbd91865c2d86eed11c1 19-Mar-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: cleanup some of the renderbuffer code
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
778cf80d9e462ca26e660dca1910328f66f6427d 09-Mar-2009 Dave Airlie <airlied@redhat.com> r300: move firevertices out into the main place its needed.

This fixes a hang on context destruction on rs690
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
e0de73e8a558db5dfe8e20ed7aa2e9eae28861c1 04-Mar-2009 Dave Airlie <airlied@redhat.com> radeon: fixup some segfaults/exit at startup
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
2b85fccae5ba33748846f74f90fe0f72c673a4b1 02-Mar-2009 Dave Airlie <airlied@redhat.com> radeon: refactor framebuffer code like intel

this is a step towards fbos and should fix pageflipping, but
I think the first flip seems broken.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
d513915d27eac8a57ff7f5c1973b4a07fe288c53 12-Feb-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: make build again with tracker changes
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c
23d3559bd4ece1fcab5513ebdaa38600d6654374 12-Feb-2009 Dave Airlie <airlied@redhat.com> radeon: renaming and headers cleanup
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_common_context.c