[PATCH 0/7] glamor fixes with GLES2

Maarten Lankhorst maarten.lankhorst at ubuntu.com
Mon Jan 12 06:29:30 PST 2015


I've tested glamor against other GLES2 drivers and found that some
behavior is different from the desktop. The below plus the patch
"glamor: Just set the logic op to what we want at the start of all rendering."
created by Eric Anholt squashes most GLES2 errors I've hit.

Maarten Lankhorst (7):
  glamor: only use (un)pack_subimage when available
  glamor: glObjectLabel is not defined in GLES2
  glamor: swallow gl errors before compiling programs
  glamor: Use GL_FRAMEBUFFER instead of GL_READ_FRAMEBUFFER
  glamor: GL_TEXTURE_MAX_LEVEL is not available on GLES2
  glamor: Re-enable a8 textures for GLES2
  XXX glamor: Only use supported tex formats

 glamor/glamor.c          |  7 ++++++
 glamor/glamor_core.c     |  3 ++-
 glamor/glamor_fbo.c      |  3 ++-
 glamor/glamor_font.c     |  3 ++-
 glamor/glamor_pixmap.c   | 13 +++-------
 glamor/glamor_priv.h     |  2 ++
 glamor/glamor_program.c  |  4 +++
 glamor/glamor_spans.c    |  2 +-
 glamor/glamor_transfer.c | 65 ++++++++++++++++++++++++++++++------------------
 glamor/glamor_utils.h    |  6 +----
 10 files changed, 66 insertions(+), 42 deletions(-)

-- 
2.2.1



More information about the xorg-devel mailing list