Eric Anholt
ec526eab8f
ephyr: Hook the glamor into damage and draw into the backbuffer.
...
This should avoid a bunch of absurdity with GLX front buffer handling,
fix exposes, and improve performance. For now we're copying the whole
buffer while glamor is developed.
2011-09-26 16:46:32 +08:00
Eric Anholt
b5087ff9b1
glamor: Fix the row length of 1bpp prepare_access.
2011-09-26 16:46:32 +08:00
Eric Anholt
e93070affd
glamor: Fix up the access flags for glamor_prepare_access().
2011-09-26 16:46:32 +08:00
Eric Anholt
0e56c182c3
glamor: Add fallback support to glamor_put_image().
2011-09-26 16:46:32 +08:00
Eric Anholt
22cad98975
glamor: Add fallback support to glamor_set_spans().
2011-09-26 16:46:32 +08:00
Eric Anholt
55dac9b42e
glamor: Add glamor_prepare_access_gc() from UXA.
2011-09-26 16:46:32 +08:00
Eric Anholt
72a757ba00
glamor: Use GL_MESA_pack_invert to avoid complexity in prepare_access.
2011-09-26 16:46:32 +08:00
Eric Anholt
e9d4794cd0
glamor: Add fallbacks for Render.
2011-09-26 16:46:32 +08:00
Eric Anholt
de675893b7
glamor: Add fallbacks for glamor_copy_area().
2011-09-26 16:46:32 +08:00
Eric Anholt
ca58607a44
glamor: Move glamor_poly_lines to a separate file.
2011-09-26 16:46:32 +08:00
Eric Anholt
800fd4f849
glamor: Fix the type for copyarea.
2011-09-26 16:46:32 +08:00
Eric Anholt
c4343dfa0a
glamor: Add prepare/finishaccess code based on UXA.
2011-09-26 16:46:32 +08:00
Eric Anholt
f17473cdd5
glamor: Fix pixmap private getter in copyarea.
2011-09-26 16:46:32 +08:00
Eric Anholt
5915b4c0cf
glamor: Add support for solid source pictures.
2011-09-26 16:46:32 +08:00
Eric Anholt
1159ebb30b
glamor: Add untested copyarea implementation
2011-09-26 16:46:32 +08:00
Eric Anholt
936385142c
glamor: Accelerate PolyFillRect using glamor_fill instead of spans.
2011-09-26 16:46:32 +08:00
Eric Anholt
6dacc9b08c
glamor: Add untested PutImage 1bpp XYPixmap support.
2011-09-26 16:46:31 +08:00
Eric Anholt
854e9bd20a
glamor: Add untested PutImage XYBitmap support.
2011-09-26 16:46:31 +08:00
Eric Anholt
8a53566acb
glamor: make the polylines complaint a little more useful.
2011-09-26 16:46:31 +08:00
Eric Anholt
aa13306974
glamor: Start adding render acceleration support.
...
This brings in idr's glu3 code. We'll probably want to move to linking to
it as a library, once an ABI-stable release is out.
2011-09-26 16:46:31 +08:00
Eric Anholt
4a51cc0440
glamor: Add clipping to setspans.
2011-09-26 16:46:31 +08:00
Eric Anholt
5fadea5d9c
glamor: Fix some screen_xy offsets to be the right way around.
2011-09-26 16:46:31 +08:00
Eric Anholt
44e4599b83
glamor: Move planemask to a function in case I decide to fill it in.
2011-09-26 16:46:31 +08:00
Eric Anholt
882411bef1
glamor: add alu support to setspans.
2011-09-26 16:46:31 +08:00
Eric Anholt
c70ce72fd7
glamor: Give setspans the same format support as getspans.
2011-09-26 16:46:31 +08:00
Eric Anholt
d9eef95c74
glamor: Fix bad fallthrough in getspans (accessing invalid memory).
2011-09-26 16:46:31 +08:00
Eric Anholt
0360ba361a
glamor: Fix memory leak in getspans.
2011-09-26 16:46:31 +08:00
Eric Anholt
cdb1fe6d96
glamor: Move setspans to a separate file.
2011-09-26 16:46:31 +08:00
Eric Anholt
cfb8dea815
glamor: Hook up miGetImage to fix some invalid accesses.
2011-09-26 16:46:31 +08:00
Eric Anholt
e3c02c09c1
glamor: Add ALU support to solid, tile, and putimage.
2011-09-26 16:46:31 +08:00
Eric Anholt
2b657d91d8
glamor: Add untested putimage support.
2011-09-26 16:46:31 +08:00
Eric Anholt
f66e5c4145
glamor: Add 8bpp to get/setspans.
2011-09-26 16:46:31 +08:00
Eric Anholt
93ad091442
glamor: Add trapezoids code.
...
This fixes segfaults on starting gnome-terminal.
2011-09-26 16:46:31 +08:00
Eric Anholt
60ca0260f2
glamor: Add more solid_fail_regions for software fallbacks.
2011-09-26 16:46:31 +08:00
Eric Anholt
7500ee2b02
glamor: Fill in 1 and 24-bit getspans.
2011-09-26 16:46:31 +08:00
Eric Anholt
f6cffbb2ba
glamor: Add stub Composite support.
2011-09-26 16:46:31 +08:00
Eric Anholt
2fa26c4958
glamor: Free resources when destroying pixmaps.
2011-09-26 16:46:31 +08:00
Eric Anholt
16c3b929dd
glamor: Add untested support for tile filling.
2011-09-26 16:46:31 +08:00
Eric Anholt
8016135ec7
glamor: Fill out glamor_get_color_4f_from_pixel() a bit.
2011-09-26 16:46:31 +08:00
Eric Anholt
519103565c
glamor: Create FBOs for pixmaps.
2011-09-26 16:46:31 +08:00
Eric Anholt
f92d1478e9
glamor: Maybe fix up the format/type for setspans.
2011-09-26 16:46:30 +08:00
Eric Anholt
4f139db92f
glamor: Add getspans implementation.
2011-09-26 16:46:30 +08:00
Eric Anholt
f1dbed5456
glamor: Move to using shader objects.
2011-09-26 16:46:30 +08:00
Eric Anholt
fbbdd788cb
glamor: Fix up DrawPixels arguments to bear some relation to reality.
2011-09-26 16:46:30 +08:00
Eric Anholt
74f262bcdb
glamor: remove gratuitous flush.
2011-09-26 16:46:30 +08:00
Eric Anholt
399e006989
glamor: Fix up block/wakeup handler.
...
Prototypes are fixed, and we don't need to flush on wakeup.
2011-09-26 16:46:30 +08:00
Eric Anholt
2e35ceca65
ephyr: Use GLEW.
...
This will hide all sorts of extension stuff from us.
2011-09-26 16:46:30 +08:00
Eric Anholt
370df817ac
ephyr: Make sure a glamor-using window is created with a glx visual.
2011-09-26 16:46:30 +08:00
Eric Anholt
08097434ec
add fill files, merge with first real attempt at rendering.
2011-09-26 16:46:30 +08:00
Eric Anholt
e32efb02e5
ephyr: merge the host glamor bits into hostx.
2011-09-26 16:46:30 +08:00