Native resolution on iMac 27.
Reported missing by Benjamin Lorenz in
http://gnats.netbsd.org/49094
Signed-off-by: Thomas Klausner w...@netbsd.org
---
src/svga_modes.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/svga_modes.h b/src/svga_modes.h
index 97d869e..c3aa1a3 100644
---
On 19.01.2015 20:00, Chris Wilson wrote:
For BufferAge support, we just have to guarrantee that we were not using
the DRI2Buffer-flags field for anything else (i.e. it is always 0) and
then to make sure that we exchange the flags field after buffer
exchanges. radeon does not support
Hi Jaya,
Thank you for this patch revision.
The code changes look good in this patch.
There's just a tiny problem:
It contains a hunk which adds a whitespace after a C-comment.
I have added a comment below at the position where this happens.
Maybe that can be fixed when merging?
Otherwise
On Mon, Jan 19, 2015 at 11:00:40AM +, Chris Wilson wrote:
@@ -1104,6 +1107,8 @@ DRI2SwapBuffers(ClientPtr client, DrawablePtr pDraw,
CARD64 target_msc,
* it as early as possible, just to be sure.
*/
*swap_target = pPriv-swap_count + pPriv-swapsPending + 1;
+if
Allow mesa/dri2 to implement GLX_EXT_buffer_age by reporting the sbc of
when the current back buffer was defined. As this may require ddx
support, only set the value if enabled by the ddx and report the new
semantics via a DRI2GetParam request.
Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
Currently xorg ignores the seat assignments for drm devices because the
devices are initialized earlier in the code. Depending on race
conditions, the first X server will get more than one of the drm
devices, which breaks multiseat systems.
This patch fixes that by rejecting drm devices that
Allow mesa/dri2 to implement GLX_EXT_buffer_age by reporting the sbc of
when the current back buffer was defined. As this may require ddx
support, only set the value if enabled by the ddx and report the new
semantics via a DRI2GetParam request.
Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
In order to suport GLX_EXT_buffer_age in DRI2, we need to pass back the
last swap buffer count that the back buffer was defined for. For
simplicity, we can reuse an existing field in the DRI2GetBuffers reply
that is not used by current drivers, the flags. Since we change the
interpretation of this
Since the introduction of DRI2GetBuffersWithFormat, the old
DRI2GetBuffers interface would always recreate all buffers all the time
as it was no longer agnostic to the format value being set by the DDXes.
This causes an issue with clients intermixing the two requests,
rendering any sharing or
For enable BufferAge support, we just have to be not using the
DRI2Buffer-flags field for any purpose (i.e. it is always expected to
be 0, as it is now) and to be sure to swap the flags field whenever we
exchange buffers. As nouveau does not exactly support TripleBuffer, we
don't have to worry
In order for X/DDX to reuse a driver specific field of the DRI2GetBuffers
reply, we need to declare the change in semantics. To indicate that the
flags field now continues the last swap buffers count instead, we
introduce the has-buffer-age parameter.
Signed-off-by: Chris Wilson
Within the DRI2GetBuffers return packet there is a 4-byte field that is
currently unused by any driver, i.e. flags. With the co-operation of a
suitably modified X server, we can pass the last SBC on which the buffer
was defined (i.e. the last SwapBuffers for which it was used) and 0 if
it is fresh
Allow the DDXes to opt-in and handle swap-interval=0 requests for
themselves, for example by using asynchronous pageflips, rather than
forcing a blit. This has the important side-effect of also
disambiguating CopyRegion calls to always be client requests.
References:
Available since the inclusion of dri2proto 1.4 is a DRI2 request to
query and set certain parameters about the X/DDX configuration. This
implements the getter request.
Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
---
src/glx/dri2.c | 29 +
src/glx/dri2.h | 4
As the SBC from the reply from SwapBuffers is not used immediately and
can be easily determined by counting the new of SwapBuffers requests
made by the client, we can defer the synchronisation point to the
pending GetBuffers round trip. (We force the invalidation event in order
to require the
For BufferAge support, we just have to guarrantee that we were not using
the DRI2Buffer-flags field for anything else (i.e. it is always 0) and
then to make sure that we exchange the flags field after buffer
exchanges. radeon does not support TripleBuffering so we do not have to
worry about
Help catch errors like missing prototypes in makestrs sooner.
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
---
configure.ac |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 1f95a5c..34e6aab 100644
--- a/configure.ac
+++
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
---
util/makestrs.c |7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/util/makestrs.c b/util/makestrs.c
index 7853f87..f872ec8 100644
--- a/util/makestrs.c
+++ b/util/makestrs.c
@@ -102,9 +102,7 @@ static FILE
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
---
util/makestrs.c | 24
1 file changed, 8 insertions(+), 16 deletions(-)
diff --git a/util/makestrs.c b/util/makestrs.c
index 2c4dcc8..7853f87 100644
--- a/util/makestrs.c
+++ b/util/makestrs.c
@@ -498,9
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
---
configure.ac|5 -
util/makestrs.c | 17 +
2 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 34e6aab..3633ec6 100644
--- a/configure.ac
+++ b/configure.ac
@@
Besides being supported by more standards, strchr() has the important
characteristic of having a prototype included in string.h on Solaris
so that 64-bit compiles know it returns a pointer, not an integer.
(On Solaris, index() is only found in strings.h, for SunOS compatibility.)
Without this
If the initial point is more than one pixel left, right, or below the
bounding box of the region, ConfineToShape will enter an infinite loop.
Avoid the infinite loop by resetting the position to the edge of the
bounding box if the initial point is outside the bounding box.
Signed-off-by: Peter
Remove the calls to GL_TEXTURE_MAX_LEVEL. Setting the filtering is
a sufficient hint to the driver about texture mipmap allocation.
Signed-off-by: Maarten Lankhorst maarten.lankho...@ubuntu.com
---
glamor/glamor_fbo.c| 1 -
glamor/glamor_font.c | 1 -
glamor/glamor_pixmap.c | 1 -
3 files
According to Eric Anholt the check for glGetError is not needed here.
Because a opengl error might be set before this function is called
keeping the check could result in glamor_build_program returning
failure when building the shader succeeded.
Signed-off-by: Maarten Lankhorst
libepoxy doesn't handle this case well, and tries to look for the glObjectLabel
symbol in GLES2.
As a result, using glObjectLabelKHR with opengl, or glObjectLabel with GLES
will crash.
Signed-off-by: Maarten Lankhorst maarten.lankho...@ubuntu.com
---
diff --git a/glamor/glamor_core.c
Check for GL_EXT_unpack_subimage and GL_NV_pack_subimage to
check if GL_(UN)PACK_ROW_LENGTH is available. Set the offsets
manually to prevent calls to GL_(UN)PACK_SKIP_*.
Check support for GL_NV_pack_subimage as suggested by Matt Turner.
Signed-off-by: Maarten Lankhorst
26 matches
Mail list logo