[PULL] glamor fixes, cleanups, and your polypoint.

Keith Packard keithp at keithp.com
Wed Mar 26 22:33:17 PDT 2014


Eric Anholt <eric at anholt.net> writes:

> Here's a series for reviewed, ready-to-go glamor code.  I'd been holding
> off for a while expecting that someone would review the warning-fixing
> revert I sent out, but I removed it in the end so that we can get some
> stuff merged.

Thanks for sending these out. I've got 22 patches still hoping for a bit
of review on my 'glamor-server' branch. All of the 'interesting' ones
have been on the list before; I've updated them based on Markus' review,
as well as continued to find other bugs which have been preventing me
From running a desktop on my hacked glamor-only intel driver.

I'd like to know if either Eric or Markus have patches they'd like to
get merged to glamor at this point, and whether anyone wants to see me
spam the list with the patches listed below.

The following changes since commit 1b5d7e78460ed686ba2da398dab341d4867fd4a0:

  glamor: Add glamor_program PolyPoint implementation (2014-03-26 12:58:40 -0700)

are available in the git repository at:

  git://people.freedesktop.org/~keithp/xserver glamor-server

for you to fetch changes up to a0023d9ad96149fe5d2ae2a4bf84041424690bcd:

  glamor: Provide render fallbacks for debugging (2014-03-26 22:04:06 -0700)

----------------------------------------------------------------
Keith Packard (22):
      fb: Publish fbGlyphs and fbUnrealizeGlyph

Just makes a couple fb functions used for Render public

      glamor: the render Composite hook must call SourceValidate

Fix glamor Composite hook to make required SourceValidate call

      glamor: Stop calling eglMakeCurrent (.., EGL_NO_SURFACE)

Speed up glamor EGL back end by no longer calling eglMakeCurrent

      glamor: SetWindowPixmap is not related to RENDER

Shuffle a bit of ifdef code around; no actual change.

      glamor: Initialize XV shaders from glamor_xv_init instead of glamor_init

This lets me use xv from xfree86; otherwise the shaders were never initialized.

      glamor: Public polyLines function is glamor_poly_lines_nf

Just a mistake in the header file, defining a non-existent function.

      glamor: Remove warning message when pixmap cannot be stored in a texture

4bpp alpha textures were generating one warning per operation

      glamor: Bail from composite when pixmap cannot be uploaded

It looks like the sense of a boolean return value from
glamor_upload_sub_pixmap_to_texture was just reverse; when this case was
hit, the server would segfault.

      glamor: Add simple upload/download functions in glamor_transfer
      glamor: Replace fallback preparation code

My new simpler transfer functions and associated fallback implementation.

      glamor: Add glamor_program based fill/set/get spans
      glamor: Add glamor_program based poly_fill_rect
      glamor: Add glamor_program based poly_text and image_text
      glamor: Add glamor_program based copy acceleration
      glamor: Use glamor_program for glamor_glyphblt
      glamor: Use glamor_program for glamor_copy_plane
      glamor: Use glamor_program and GL_LINES for 0-width lines
      glamor: Add glamor_transfer based glamor_get_image and glamor_put_image

New acceleration code which replaces the remaining core X operations.

      glamor: Replace glamor_solid_boxes and glamor_solid with GC using code
      glamor: Remove 'tiling' shader code
      glamor: Remove stubbed-out glamor_stipple function

Clean out additional functions that used to be used by the core X code.

      glamor: Provide render fallbacks for debugging

Just some debugging hooks to help track down Render extension issues.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140326/83e2fd91/attachment.sig>


More information about the xorg-devel mailing list