<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Font rendering issue on Intel GMA X3100/X4500 with Android-x86"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92323#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Font rendering issue on Intel GMA X3100/X4500 with Android-x86"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92323">bug 92323</a>
              from <span class="vcard"><a class="email" href="mailto:issor.oruam@gmail.com" title="Mauro Rossi <issor.oruam@gmail.com>"> <span class="fn">Mauro Rossi</span></a>
</span></b>
        <pre>Hi,

I have added a few checkpoints in src/mesa/drivers/dri/i965/intel_texsubimage.c
and src/mesa/drivers/dri/i965/intel_texsubimage.c to see the value of bool
variable named ok

The result is:

11-01 16:49:04.645  4817  4945 W INTEL-MESA: intelTexSubImage mesa_format
MESA_FORMAT_A_UNORM8 target GL_TEXTURE_2D format GL_ALPHA type GL_UNSIGNED_BYTE
level 0 1024x512x1
11-01 16:49:04.645  4817  4945 W INTEL-MESA: intelNewTextureObject
11-01 16:49:04.645  4817  4945 W INTEL-MESA: intelNewTextureImage
11-01 16:49:04.652  4817  4945 W INTEL-MESA: MAUROSSI intelTexSubImage
_mesa_meta_pbo_TexSubImage() returns: 1
11-01 16:49:04.652  4817  4945 D libEGL  : [glTexSubImage2D] 0x500


this means that _mesa_meta_pbo_TexSubImage() reports to have completed its job.

In order to check if the font artifact were related to meta implementation I've
skipped _mesa_meta_pbo_TexSubImage() completely with /*  ... */ and logged 
intel_texsubimage_tiled_memcpy() and mesa_store_texsubimage() execution.  

11-02 02:20:44.825  5078  5096 W INTEL-MESA: intel_texsubimage_tiled_memcpy:
MAUROSSI 1st check failed, packing?
11-02 02:20:44.825  5078  5096 W INTEL-MESA: MAUROSSI intelTexSubImage
intel_texsubimage_tiled_memcpy() returns: 0
11-02 02:20:44.826  5078  5096 W INTEL-MESA: MAUROSSI intelTexSubImage
_mesa_store_texsubimage() executed.

The result I get by skipping _mesa_meta_pbo_TexSubImage() is that
intel_texsubimage_tiled_memcpy() bails out because of packing,

_mesa_store_texsubimage() is executed and there are no font artifacts at all
(triple checked).

This means that the offending commit lies among the following ones:

i965/tex_subimage: use meta instead of the blitter for PBO TexSubImage
i965/tex_image: Use meta for instead of the blitter PBO TexImage and
GetTexImage
i965/pixel_read: Use meta_pbo_GetTexSubImage for PBO ReadPixels
meta: Add an implementation of GetTexSubImage for PBOs
meta: Add a BlitFramebuffers-based implementation of TexSubImage

Mauro</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>