Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_fbo.c | 15 +++
glamor/glamor_utils.h | 15 ---
2 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/glamor/glamor_fbo.c b/glamor/glamor_fbo.c
index 1eee304..262033f 100644
--- a/glamor/glamor_fbo.c
the source and mask using
different formats, where we smash the source's format to a new value
so that the mask can use the same uploaded bits. Dropping most of
that should be safe, since it will be uploaded as the source first, so
the smashed format will still be used.
Signed-off-by: Eric Anholt e
This hasn't been used since the format swap/revert stuff for pictures
was added back in 2012.
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_utils.h | 7 ---
1 file changed, 7 deletions(-)
diff --git a/glamor/glamor_utils.h b/glamor/glamor_utils.h
index 59e6b64..e22bbc1 100644
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_priv.h | 9 -
1 file changed, 9 deletions(-)
diff --git a/glamor/glamor_priv.h b/glamor/glamor_priv.h
index 1614b6f..508433a 100644
--- a/glamor/glamor_priv.h
+++ b/glamor/glamor_priv.h
@@ -741,15 +741,6 @@ Bool
We don't need any of its weird handling of picture formats, since our
XV pixmaps don't have any pictures attached.
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_pixmap.c | 2 +-
glamor/glamor_priv.h | 4
glamor/glamor_xv.c | 38
This series came out of the process of trying to figure out if I could
safely store a8 pixmaps in an a8r8g8b8 FBO, to improve glamor
performance on VC4 (which doesn't support 8-bit FBOs). It turns out
the answer is not quite, but the Render code had a lot of bugs
obscuring that fact.
be wrong).
Fixes all failures in rendercheck -t fill and, as a result, the
remaining failures in rendercheck -t blend -o src -f
a8r8g8b8,x2r10g10b10
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_utils.h | 11 +--
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git
These are dead since the glamor_copy.c replacement.
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_utils.h | 39 ---
1 file changed, 39 deletions(-)
diff --git a/glamor/glamor_utils.h b/glamor/glamor_utils.h
index 8a96c61..e648af2 100644
Now that it's always non-null when the pixmap is non-null, we don't
need so much of this. glamor_get_pixmap_private() itself still
accepts a NULL pixmap and returns NULL, because of glamor_render.c
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor.c | 17
It died as of keithp's new glyphs code.
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_utils.h | 12
1 file changed, 12 deletions(-)
diff --git a/glamor/glamor_utils.h b/glamor/glamor_utils.h
index cef62c5..0a7de82 100644
--- a/glamor/glamor_utils.h
+++ b/glamor
start out zero-filled, which matches the callocs we
were doing when making our own privates, and in the case of an fb
pixmap that has a priv where it didn't before, the type ends up being
GLAMOR_MEMORY as we would want.
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor.c | 43
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_composite_glyphs.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/glamor/glamor_composite_glyphs.c b/glamor/glamor_composite_glyphs.c
index cd88524..389c8f4 100644
--- a/glamor/glamor_composite_glyphs.c
+++ b
The commit message in #3 has the meat of the series, but for further
explanation, note that this reduces the glamor library by 8588 bytes
(4.8%) on my x86-64 build, and I've only got 94 client-allocated
pixmaps on my desktop at the moment according to xrestop.
Airlie (1):
xserver: fix build with glamor disabled.
Eric Anholt (23):
glamor: Fix text rendering on GLES2.
glamor: Drop CloseScreen-time GL resource cleanup code.
glamor: Use the normal GL_QUADS drawing helper in the render code.
glamor: Use GL_EXT_map_buffer_range
Keith Packard kei...@keithp.com writes:
Eric Anholt e...@anholt.net writes:
The code to set it was deleted in keithp's big rewrite.
Looks like you can now remove the 'pbo' parameter to
upload_sub_pixmap_to_texture as it's always 0 now?
Sure, but I've got another big cleanup queued
to b6a814630e48c76c8682432bf9d74b271840da9e:
xserver: fix build with glamor disabled. (2015-07-02 10:07:02 -0700)
Dave Airlie (1):
xserver: fix build with glamor disabled.
Eric Anholt (24):
glamor: Fix text rendering on GLES2
Eric Anholt e...@anholt.net writes:
As I was getting ready to send out another cleanups series, I found this
old one laying around, reviewed by Ken back in April. It merges cleanly
with the performance series I sent yesterday, and xtests successfully,
too.
The following changes since
-by: Eric Anholt e...@anholt.net
---
glamor/glamor_composite_glyphs.c | 67 ++--
1 file changed, 37 insertions(+), 30 deletions(-)
diff --git a/glamor/glamor_composite_glyphs.c b/glamor/glamor_composite_glyphs.c
index 1f0d75e..f5a54c9 100644
--- a/glamor
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_transfer.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/glamor/glamor_transfer.c b/glamor/glamor_transfer.c
index aa5e861..155d7e0 100644
--- a/glamor/glamor_transfer.c
+++ b/glamor/glamor_transfer.c
@@ -186,6 +186,8
This should help people debugging when glamor does something stupid on
their driver.
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor.c | 41 +
1 file changed, 41 insertions(+)
diff --git a/glamor/glamor.c b/glamor/glamor.c
index 295f415
pixmap extents calculations. (2015-06-30 15:32:13
-0700)
Eric Anholt (7):
glamor: Propagate the fact that pbo_valid is never set.
glamor: Remove dead gl_tex flag in the fbo struct.
glamor: Drop the dead PBO field
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_program.c | 6 ++
glamor/glamor_render.c | 5 +
2 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/glamor/glamor_program.c b/glamor/glamor_program.c
index 5619216..416c54a 100644
--- a/glamor/glamor_program.c
+++ b
It's been unused since I killed glamor_download_pixmap_to_cpu().
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_pixmap.c | 70 --
glamor/glamor_priv.h | 6 -
2 files changed, 76 deletions(-)
diff --git a/glamor/glamor_pixmap.c
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_fbo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/glamor/glamor_fbo.c b/glamor/glamor_fbo.c
index cab2ff9..acb5d0d 100644
--- a/glamor/glamor_fbo.c
+++ b/glamor/glamor_fbo.c
@@ -424,8 +424,8
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_largepixmap.c | 10 +++---
glamor/glamor_priv.h| 22 --
glamor/glamor_render.c | 4 ++--
3 files changed, 9 insertions(+), 27 deletions(-)
diff --git a/glamor/glamor_largepixmap.c b/glamor
This gives the compiler a chance to optimize when the data is never
changed -- for example, with pict_format_combine_tab, the compiler
ends up inlining the 24 bytes of data into just 10 more bytes of code.
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_core.c| 2 +-
glamor
Above, we've already checked for -fbo -fbo-fb and returned.
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_pixmap.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/glamor/glamor_pixmap.c b/glamor/glamor_pixmap.c
index f2bf223..0e51550 100644
--- a/glamor
It was apparently accidentally dropped in keithp's removal of _nf
functions in 90d326fcc687e6d6d4b308f6272ededcf8145a17.
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/glamor/glamor.c b/glamor/glamor.c
index
Michel Dänzer mic...@daenzer.net writes:
On 30.06.2015 13:02, Keith Packard wrote:
commit 9c679d06055cc62aa9209318705e87dc33fba4c8
Author: Eric Anholt e...@anholt.net
Date: Sun May 31 16:07:01 2015 -0700
glamor: Skip actual FBO setup in our glyph atlas.
VC4 (and many
modesetting to support this scenario while still
supporting the USB offload one.
v1.1:
fix comment + ret = bits (Eric)
Looks nicer, thanks! This and patch 11-15 are:
Reviewed-by: Eric Anholt e...@anholt.net
Patch 16 is:
Acked-by: Eric Anholt e...@anholt.net
(I don't think I'll get around to doing
://people.freedesktop.org/~anholt/xserver glamor-next
for you to fetch changes up to 0e3f1252dacdc3194a99a2d090b5c13f070f8799:
glamor: Avoid using GL_QUADS on VC4. (2015-06-29 21:43:36 -0700)
Eric Anholt (7):
glamor: Fix text rendering
Dave Airlie airl...@gmail.com writes:
On 20 June 2015 at 12:09, Eric Anholt e...@anholt.net wrote:
Improves x11perf -aa10text performance by 1377.59% +/- 23.8198% (n=93)
on Intel with GLES2.
Do we destroy glamor_priv-ib anywhere?
Other than that, this seems sane, it might be nice to have
to 790311cec30ac3d35e580b9f1266236f558033d4:
glamor: Don't try to disable attrib divisors without the extension.
(2015-06-19 19:11:05 -0700)
Eric Anholt (4):
glamor: Actually allow glyphs of dimension 65 to 128 in the cache
Signed-off-by: Eric Anholt e...@anholt.net
---
hw/xfree86/drivers/modesetting/dri2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/xfree86/drivers/modesetting/dri2.c
b/hw/xfree86/drivers/modesetting/dri2.c
index 63cb065..8dc12b7 100644
--- a/hw/xfree86/drivers
We were only looking for the desktop GL version of the extension, so
GLES2 missed out.
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/glamor/glamor.c b/glamor/glamor.c
index 0378388..935fb74 100644
--- a/glamor
These will all be freed when the context is freed.
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor.c | 5 -
glamor/glamor_core.c | 11 ---
glamor/glamor_gradient.c | 21 -
glamor/glamor_priv.h | 3 ---
glamor/glamor_render.c | 21
We use this for all of our other performance-sensitive rendering, too.
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor.c| 1 -
glamor/glamor_priv.h | 7 +++
glamor/glamor_render.c | 50 --
3 files changed, 7 insertions
The GL_QUADS helper takes a number of quads, not a number of vertices.
---
glamor/glamor_composite_glyphs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/glamor/glamor_composite_glyphs.c b/glamor/glamor_composite_glyphs.c
index 1f0d75e..e92f1d9 100644
---
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_priv.h | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/glamor/glamor_priv.h b/glamor/glamor_priv.h
index 17f8253..681895f 100644
--- a/glamor/glamor_priv.h
+++ b/glamor/glamor_priv.h
@@ -194,16
Improves x11perf -aa10text performance by 1377.59% +/- 23.8198% (n=93)
on Intel with GLES2.
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor.c | 62 +++
glamor/glamor_priv.h | 11 +
glamor/glamor_utils.h | 4 +---
3
Improves text rendering from about 284k glyphs per second to 320k
glyphs per second. There's no GL extension for probing this, because
of the philosophy of Don't expose whether things are really in
hardware or not.
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor.c | 9
the slave stuff really, but it seems reasonable.
Acked-by: Eric Anholt e...@anholt.net
signature.asc
Description: PGP signature
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman
)
{
xf86CursorScreenPtr ScreenPriv =
--
Dropping the list_is_empty checks is the only thing I feel strongly
about here, everything else is take it or leave it, then:
Reviewed-by: Eric Anholt e...@anholt.net
signature.asc
Description: PGP signature
into the FBO cache.
Other than that,
Reviewed-by: Eric Anholt e...@anholt.net
signature.asc
Description: PGP signature
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman
screen =
pixmap-drawable.pScreen, but either way:
Reviewed-by: Eric Anholt e...@annholt.net
signature.asc
Description: PGP signature
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org
Dave Airlie airl...@gmail.com writes:
This adds support for reverse prime to the modesetting driver.
Reverse prime is where we have two GPUs in the display chain,
but the second GPU can't scanout from the shared pixmap, so needs
an extra copy to the on screen pixmap.
This allows
Fixes epoxy assertion failures on vc4.
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_composite_glyphs.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/glamor/glamor_composite_glyphs.c b/glamor/glamor_composite_glyphs.c
index c30cbed..1f0d75e 100644
The cache was trying to allow glyph_max_dim in, but since we were
putting over 64x64 into HW memory, it would end up in the
single-glyph-per-render bail_one path.
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
software fallback for a1 (since the glyph is also in
system memory).
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_composite_glyphs.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/glamor/glamor_composite_glyphs.c b/glamor/glamor_composite_glyphs.c
index 47bf647
After this series, I'm at 143000 glyphs/sec, up from 2640 glyphs/sec
with the old always-fallbacks path.
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_composite_glyphs.c | 11 ---
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/glamor/glamor_composite_glyphs.c b/glamor/glamor_composite_glyphs.c
index 39ed854..47bf647 100644
--- a/glamor/glamor_composite_glyphs.c
, and check it earlier.
(I assume the was for this case.)
v3: add same code to largepixmap paths (Keith)
Reviewed-by: Eric Anholt e...@anholt.net
signature.asc
Description: PGP signature
___
xorg-devel@lists.x.org: X.Org development
Archives: http
Keith Packard kei...@keithp.com writes:
Provide the common path for FindGlyph as an inline function, falling
back to a function for the slow case.
From the end of your current branch, reverting this commit gives me this
on aa10text:
x glamor-new-glyphs
+ revert
Keith Packard kei...@keithp.com writes:
This argument wasn't used at all.
Signed-off-by: Keith Packard kei...@keithp.com
Reviewed-by: Eric Anholt e...@anholt.net
signature.asc
Description: PGP signature
___
xorg-devel@lists.x.org: X.Org
keeps a copy of the depth of the drawable? Is it always the
same?
If so,
Reviewed-by: Eric Anholt e...@anholt.net
signature.asc
Description: PGP signature
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
. With however much of it you want to
take,
Reviewed-by: Eric Anholt e...@anholt.net
signature.asc
Description: PGP signature
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman
Summary: Tiny nitpicks, one functional concern.
Keith Packard kei...@keithp.com writes:
This extends the existing API to support options needed for render
accleratoin, including an additional fragment, 'combine', (which
acceleration
provides a place to perform the source IN mask operation
Markus Wick mar...@selfnet.de writes:
Am 2015-03-26 03:33, schrieb Eric Anholt:
The only reason _nf is useful is if you need to implement faster
software fallbacks -- otherwise, you should wrap above glamor, since
_nf
would have been equivalent to calling down.
For faster fallbacks, we
Zhou, Jammy jammy.z...@amd.com writes:
Hi Eric,
Thanks for your response.
I think some binary blobs don't support EGL_MESA_configless
extension. We can argue that they should add this support, but it will
be good if we can also have some fallback there.
You wrote the patch, so presumably
Michel Dänzer mic...@daenzer.net writes:
On 26.03.2015 04:14, Eric Anholt wrote:
Michel Dänzer mic...@daenzer.net writes:
On 25.03.2015 05:21, Eric Anholt wrote:
Keith Packard (13):
[...]
glamor: Eliminate GLAMOR_USE_SCREEN and GLAMOR_USE_PICTURE_SCREEN
glamor: Remove _nf
Michel Dänzer mic...@daenzer.net writes:
On 26.03.2015 04:14, Eric Anholt wrote:
Michel Dänzer mic...@daenzer.net writes:
On 25.03.2015 05:21, Eric Anholt wrote:
Keith Packard (13):
[...]
glamor: Eliminate GLAMOR_USE_SCREEN and GLAMOR_USE_PICTURE_SCREEN
glamor: Remove _nf
Matt Turner matts...@gmail.com writes:
The texture2D() happens in each branch, so we may as well do it as early
as possible and hide some of its latency in the branching instructions.
Moving it outside the (uniform) control flow reduces the number of
instructions in the fs_source shader from
Adam Jackson a...@redhat.com writes:
Signed-off-by: Adam Jackson a...@redhat.com
Reviewed and applied to -next.
signature.asc
Description: PGP signature
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Jammy Zhou jammy.z...@amd.com writes:
Signed-off-by: Kai Guo kai@amd.com
Signed-off-by: Jammy Zhou jammy.z...@amd.com
What driver does this apply to? Is there a good reason for that driver
not supporting EGL_MESA_configless context? It's a very nice extension,
and trivial to implement.
Daniel Martin consume.no...@gmail.com writes:
On 9 February 2015 at 15:09, Jon TURNEY jon.tur...@dronecode.org.uk wrote:
On 09/02/2015 14:03, Daniel Martin wrote:
On 9 February 2015 at 14:45, Jon TURNEY jon.tur...@dronecode.org.uk
wrote:
ephyr_glamor_connect() returns NULL if we failed,
Here are some documentation fixes and dead code removal from glamor,
as well as a tiny patch from trying to figure out how some of the
large pixmap code works.
This can be found on the glamor-cleanups branch of my tree.
___
xorg-devel@lists.x.org:
indentation
Eric Anholt (3):
glamor: Just set the logic op to what we want at the start of all
rendering.
glamor: Don't optimize out scissor updates in CopyArea.
glamor: Add a helper function for the common GL_QUADS fallback pattern.
Jon TURNEY (2):
glamor: Fix build when
This should hopefully keep the comments more up to date with the
structure comments. While I'm here, I've reworded a few of them to be
more accurate, and dropped a bunch of stale comments.
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_priv.h | 149
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_largepixmap.c | 16 +++-
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/glamor/glamor_largepixmap.c b/glamor/glamor_largepixmap.c
index 391f376..4c2534d 100644
--- a/glamor/glamor_largepixmap.c
+++ b/glamor
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_fbo.c | 35 +++
1 file changed, 11 insertions(+), 24 deletions(-)
diff --git a/glamor/glamor_fbo.c b/glamor/glamor_fbo.c
index 5d59913..ffe8ef9 100644
--- a/glamor/glamor_fbo.c
+++ b/glamor/glamor_fbo.c
PBOs are only used at the whole pixmap level.
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_fbo.c | 2 --
glamor/glamor_priv.h | 2 --
2 files changed, 4 deletions(-)
diff --git a/glamor/glamor_fbo.c b/glamor/glamor_fbo.c
index aedc804..5d59913 100644
--- a/glamor/glamor_fbo.c
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_priv.h | 5 -
glamor/glamor_utils.h | 1 -
2 files changed, 6 deletions(-)
diff --git a/glamor/glamor_priv.h b/glamor/glamor_priv.h
index 0960055..b9bd1ba 100644
--- a/glamor/glamor_priv.h
+++ b/glamor/glamor_priv.h
@@ -334,11
The code to set it was deleted in keithp's big rewrite.
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_pixmap.c | 18 ++
glamor/glamor_priv.h | 2 --
2 files changed, 2 insertions(+), 18 deletions(-)
diff --git a/glamor/glamor_pixmap.c b/glamor/glamor_pixmap.c
This used to be used in the old copy_area path.
---
glamor/glamor_fbo.c | 6 --
glamor/glamor_priv.h | 2 --
2 files changed, 8 deletions(-)
diff --git a/glamor/glamor_fbo.c b/glamor/glamor_fbo.c
index ea0e801..aedc804 100644
--- a/glamor/glamor_fbo.c
+++ b/glamor/glamor_fbo.c
@@ -476,12
Emil Velikov emil.l.veli...@gmail.com writes:
No longer used with the removal of the GL dispatch (glapi) from libglx a
few releases ago.
Reviewed-by: Eric Anholt e...@anholt.net
signature.asc
Description: PGP signature
___
xorg-devel@lists.x.org
Jon TURNEY jon.tur...@dronecode.org.uk writes:
On 05/02/2015 19:10, Eric Anholt wrote:
Jon TURNEY jon.tur...@dronecode.org.uk writes:
Signed-off-by: Jon TURNEY jon.tur...@dronecode.org.uk
---
glamor/glamor_sync.c | 2 ++
1 file changed, 2 insertions(+)
[...]
Reviewed and applied
Olivier Fourdan ofour...@redhat.com writes:
When using glamor (either in Xephyr or Xwayland) on hardware with too
low instructions limit, glamor fallbacks to sw due to large shaders.
This makes glamor unbearably slow on such hardware.
Check reported value for
Jon TURNEY jon.tur...@dronecode.org.uk writes:
Signed-off-by: Jon TURNEY jon.tur...@dronecode.org.uk
---
glamor/glamor_sync.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/glamor/glamor_sync.c b/glamor/glamor_sync.c
index 5e158c3..fbc47d4 100644
--- a/glamor/glamor_sync.c
+++
Keith Packard kei...@keithp.com writes:
Eric Anholt e...@anholt.net writes:
This possibly is a minor hit for immediate mode renderers (no
difference on copypixin100 on my hsw, n=12), but it gives important
information about drawing bounds to a deferred renderer (3.1x
improvement
Keith Packard kei...@keithp.com writes:
Eric Anholt e...@anholt.net writes:
By dropping the unconditional logic op disable at the end of
rendering, this fixes GL errors being thrown in GLES2 contexts (which
don't have logic ops). On desktop, this also means a little less
overhead per draw
Olivier Fourdan ofour...@redhat.com writes:
When using glamor (either in Xephyr or Xwayland) on hardware with too
low instructions limit, glamor fallbacks to sw due to large shaders.
This makes glamor unbearably slow on such hardware.
Check reported value for
Olivier Fourdan ofour...@redhat.com writes:
So that Xwayland gets re-linked each time glamor is modified.
Signed-off-by: Olivier Fourdan ofour...@redhat.com
Reviewed and merged for -next.
signature.asc
Description: PGP signature
___
Kenneth Graunke kenn...@whitecape.org writes:
On Tuesday 30 December 2014 14:54:27 Eric Anholt wrote:
By dropping the unconditional logic op disable at the end of
rendering, this fixes GL errors being thrown in GLES2 contexts (which
don't have logic ops). On desktop, this also means a little
Olivier Fourdan ofour...@redhat.com writes:
Signed-off-by: Olivier Fourdan ofour...@redhat.com
Reviewed and picked it up for my -next branch.
signature.asc
Description: PGP signature
___
xorg-devel@lists.x.org: X.Org development
Archives:
), glamor_get_vbo_space() accounted
for 4.24% of the CPU instructions in each glamor_copy_fbo_fbo_draw()
operation. With this patch, it became only 0.87%.
Signed-off-by: Kenneth Graunke kenn...@whitecape.org
Cc: Eric Anholt e...@anholt.net
---
glamor/glamor_vbo.c | 2 --
1 file changed, 2 deletions
as the caller caching it would be.
v2: Don't forget to set the logic op in Xephyr's drawing.
Signed-off-by: Eric Anholt e...@anholt.net
---
This is 2/3 a resend of patches that got swamped by a discussion that
wasn't related to the patches themselves. The only feedback there
that I see missing
This possibly is a minor hit for immediate mode renderers (no
difference on copypixin100 on my hsw, n=12), but it gives important
information about drawing bounds to a deferred renderer (3.1x
improvement in copypixwin100 on vc4).
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor
We should do better than this with an index buffer, but for now at
least make it so that we don't have to copy the same code to new
places.
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_copy.c | 8 +---
glamor/glamor_rects.c | 9 +
glamor/glamor_spans.c | 9
...@selfnet.de
Reviewed-by: Eric Anholt e...@anholt.net
signature.asc
Description: PGP signature
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel
Maarten Lankhorst maarten.lankho...@ubuntu.com writes:
Hey,
Op 13-01-15 om 03:48 schreef Eric Anholt:
Maarten Lankhorst maarten.lankho...@ubuntu.com writes:
This will probably break PVR, but fixes other implementations.
GL ES 2.0.25 spec says: Formats not listed in table 4.5, including
Maarten Lankhorst maarten.lankho...@ubuntu.com writes:
The latter might not be available on GLES2.
Signed-off-by: Maarten Lankhorst maarten.lankho...@ubuntu.com
Reviewed-by: Eric Anholt e...@anholt.net
signature.asc
Description: PGP signature
Maarten Lankhorst maarten.lankho...@canonical.com writes:
Hey,
Op 30-12-14 om 23:54 schreef Eric Anholt:
It's not available in GLES2 (though it's in GLES3). It's trivial to
do the math, and avoids going through more switch statements in the GL
on desktop.
Signed-off-by: Eric Anholt e
Maarten Lankhorst maarten.lankho...@ubuntu.com writes:
Signed-off-by: Maarten Lankhorst maarten.lankho...@ubuntu.com
I'd rather just delete the MAX_LEVEL setting, since it's unnecessary,
and setting the filtering is a sufficient hint to the driver about
texture mipmap allocation.
Maarten Lankhorst maarten.lankho...@ubuntu.com writes:
Signed-off-by: Maarten Lankhorst maarten.lankho...@ubuntu.com
---
glamor/glamor_core.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/glamor/glamor_core.c b/glamor/glamor_core.c
index 737b274..4eaf8ac 100644
---
Maarten Lankhorst maarten.lankho...@ubuntu.com writes:
This will probably break PVR, but fixes other implementations.
GL ES 2.0.25 spec says: Formats not listed in table 4.5, including
compressed internal formats. are not color-, depth-, or
stencil-renderable, no matter which components they
Maarten Lankhorst maarten.lankho...@ubuntu.com writes:
Some GLES2 implementations don't support GL_UNSIGNED__REV and only
guarantee less fancy things to work.
I'm only certain it fixes the GLES2 errors, but is this a sane way to handle
things? Or am I just shutting up the errors?
I
Maarten Lankhorst maarten.lankho...@ubuntu.com writes:
In case the glamor implementation is buggy a error might be set
before compiling, which causes glamor_build_program to enter
the failure path even though shader compilation succeeded.
Eat all errors before running glamor_build_program.
Keith Packard kei...@keithp.com writes:
Kenneth Graunke kenn...@whitecape.org writes:
That's true. I should probably just resurrect your Xephyr VAO patch, and
extend it for the rest of Glamor as well.
Yeah, would be good as that's required for 3.0 core context
support. Note that most of
Keith Packard kei...@keithp.com writes:
Ok, it's (almost) the first working day of the year, and we're supposed
to be shipping 1.17. I think we're quite close, but I want to make sure
everyone is ready for the release before it happens.
From my list of pending patches, we've got:
glamor:
Peter Hutterer peter.hutte...@who-t.net writes:
Reported-by: Adam Greenblatt adam.greenbl...@gmail.com
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net
Seems pretty obvious.
Reviewed-by: Eric Anholt e...@anholt.net
signature.asc
Description: PGP signature
501 - 600 of 1093 matches
Mail list logo