- 18 Dec, 2013 13 commits
-
-
Zhigang Gong authored
Change the finish_access to pass in the access mode, and remove the access mode from the pixmap structure. This element should not be a pixmap's property. Signed-off-by:
Zhigang Gong <zhigang.gong@linux.intel.com>
-
Zhigang Gong authored
Currently, KHR image only support one color format ARGB32. For all other format, we have to fail to create corresponding image and texture here. Signed-off-by:
Zhigang Gong <zhigang.gong@linux.intel.com>
-
Zhigang Gong authored
Exports all necessary rendering functions to DDx drivers, including CopyArea, Glyphs, Composite, Triangles, .... Signed-off-by:
Zhigang Gong <zhigang.gong@linux.intel.com>
-
Zhigang Gong authored
When create a piccture, we need to attach a pixmap to it. A pixmap only has a depth, which is not sufficant for glamor. As in openGL texture only has a few internal formats which is not sufficant to represent all the possible picture format. So we always transform the picture format to GL_RGBA. And when we need to read back the picture, we must know the original picture format. So we have to override create and destroy picture to track a pixmap's real picture format if it is attached to a picture. Signed-off-by:
Zhigang Gong <zhigang.gong@linux.intel.com>
-
Zhigang Gong authored
Pointed by Chris, we must add xorg-server.h at the top of each file before we include any other xorg header files. Otherwise, it may cause incorrect XID length. This commit also fixes one compilation warning in X86_64 platform. Signed-off-by:
Zhigang Gong <zhigang.gong@linux.intel.com>
-
Zhigang Gong authored
the block handler. Signed-off-by:
Zhigang Gong <zhigang.gong@linux.intel.com>
-
Zhigang Gong authored
The previous corruption output is caused by GLAMOR/UXA flushing issue. Now get fixed. This reverts commit 0d2d3e4f051e48c3499e1c972e012803a8623526.
-
Zhigang Gong authored
Enable glamor tile cause corrupted output. Need more investigation. Signed-off-by:
Zhigang Gong <zhigang.gong@linux.intel.com>
-
Zhigang Gong authored
If need fallback, this new version just returns FALSE without doing anything. It's the caller's responsibility to implement fallback method. Signed-off-by:
Zhigang Gong <zhigang.gong@linux.intel.com>
-
Zhigang Gong authored
For the purpose of incrementally intergration of existing intel driver, for the GC operations we may don't want to use glamor's internal fallback which is in general much slower than the implementation in intel driver. If the parameter "fallback" is false when call the glamor_fillspans, then if glamor found it can't accelerate it then it will just return a FALSE rather than fallback to a slow path. Signed-off-by:
Zhigang Gong <zhigang.gong@linux.intel.com>
-
Zhigang Gong authored
Signed-off-by:
Zhigang Gong <zhigang.gong@linux.intel.com>
-
Eric Anholt authored
-
Eric Anholt authored
We want to merge the external glamor code to the xserver, with the internal history retained. However, we don't want a bunch of non-building changes along the way, so remove all the build system and support code outside of glamor for now.
-
- 16 Dec, 2013 1 commit
-
-
Keith Packard authored
-
- 13 Dec, 2013 6 commits
-
-
Adam Jackson authored
" is not the mate of ]. Reviewed-by:
Jasper St. Pierre <jstpierre@mecheye.net> Signed-off-by:
Adam Jackson <ajax@redhat.com>
-
Adam Jackson authored
This can't happen when GLX is the backing window system, but can elsewhere. We may as well protect against it at a high level. Reviewed-by:
Eric Anholt <eric@anholt.net> Signed-off-by:
Adam Jackson <ajax@redhat.com>
-
Adam Jackson authored
We want to advertise the version we implement, not the version the protocol headers happen to describe. Reviewed-by:
Jasper St. Pierre <<jstpierre@mecheye.net> Signed-off-by:
Adam Jackson <ajax@redhat.com>
-
Adam Jackson authored
We want to advertise the version we implement, not the version the protocol headers happen to describe. Reviewed-by:
Jasper St. Pierre <<jstpierre@mecheye.net> Signed-off-by:
Adam Jackson <ajax@redhat.com>
-
Adam Jackson authored
There's nothing to stop a client from sending these requests to screens without DRI3 support, and if they do, we'll crash. Let's not do that. Reviewed-by:
Jasper St. Pierre <<jstpierre@mecheye.net> Signed-off-by:
Adam Jackson <ajax@redhat.com>
-
Jeremy Huddleston Sequoia authored
Undefined symbols for architecture x86_64: "_present_extension_init", referenced from: _staticExtensions in libXquartz.a(miinitext.o) "_present_register_complete_notify", referenced from: ___glXregisterPresentCompleteNotify in libglx.a(glxcmds.o) Signed-off-by:
Jeremy Huddleston Sequoia <jeremyhu@apple.com>
-
- 12 Dec, 2013 2 commits
-
-
Jeremy Huddleston Sequoia authored
Signed-off-by:
Jeremy Huddleston Sequoia <jeremyhu@apple.com>
-
Jeremy Huddleston Sequoia authored
<rdar://problem/15609419> Signed-off-by:
Jeremy Huddleston Sequoia <jeremyhu@apple.com>
-
- 10 Dec, 2013 14 commits
-
-
Keith Packard authored
Newly created windows inherit the pixmap of their parent, similarly, reparenting a tree inherits the pixmap of the destination tree. Making present preserve the invariant that unredirected windows always have the same pixmap as their parent ensures that the above cases work correctly. v2: name the recursive function to 'set_tree_pixmap' instead of 'set_window_pixmap' Signed-off-by:
Keith Packard <keithp@keithp.com> Reviewed-by:
Adam Jackson <ajax@redhat.com>
-
Keith Packard authored
Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Jon Turney authored
v1: Rewrite by Marc Haesen of the WGL wrapper function generation script to use Khronos group XML. v2: Remove -dispatchheader option, since dispatch.h doesn't exist anymore, use the private glapi interface to construct the GL dispatch table for the native WGL thunks. v3: Rewrite to generate shims for the OpenGL 1.2.1 (GL 1.2 + GL_ARB_imaging +GL_ARB_multitexture + GL_ARB_texture_compression(?)) functions the server links directly with rather than libGL. These shims dispatch to either the mesa GL DLL, or a thunking DLL containing cdecl-to-stcall wrapper functions for the native GL DLL. Signed-off-by:
Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by:
Adam Jackson <ajax@redhat.com>
-
Jon Turney authored
At the moment we have a mix of ARB and non-ARB suffixed forms for ARB_multitexture functions e.g. glMultiTexCoord1fvARB and glMultiTexCoord1dv Consistently use the ARB-suffixed form, assuming that is present in all libGL which provide the OpenGL 1.2.1 ABI we expect to be able to directly link with. Signed-off-by:
Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by:
Adam Jackson <ajax@redhat.com>
-
Jon Turney authored
/jhbuild/checkout/xorg/xserver/hw/kdrive/ephyr/ephyr.c: In function ‘ephyrProcessMouseMotion’: /jhbuild/checkout/xorg/xserver/hw/kdrive/ephyr/ephyr.c:946:188: error: ‘ephyrCurScreen’ undeclared (first use in this function) /jhbuild/checkout/xorg/xserver/hw/kdrive/ephyr/ephyr.c: In function ‘ephyrProcessButtonPress’: /jhbuild/checkout/xorg/xserver/hw/kdrive/ephyr/ephyr.c:980:186: error: ‘ephyrCurScreen’ undeclared (first use in this function) /jhbuild/checkout/xorg/xserver/hw/kdrive/ephyr/ephyr.c: In function ‘ephyrProcessButtonRelease’: /jhbuild/checkout/xorg/xserver/hw/kdrive/ephyr/ephyr.c:1007:186: error: ‘ephyrCurScreen’ undeclared (first use in this function) Fix ephyr compilation when ./configure'd with --enable-debug after commit 46cf6bf5, some instances of ephyrCurScreen were not converted to screen->pScreen->myNum. v2: Don't use a trivial local variable which will be unused when ./configure'd with --disable-debug Signed-off-by:
Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by:
Adam Jackson <ajax@redhat.com>
-
Jon Turney authored
Signed-off-by:
Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by:
Adam Jackson <ajax@redhat.com>
-
Adam Jackson authored
CGL doesn't have anything like glXGetProcAddress, and the old code just called down to dlsym in any case. It's a little mind-warping since dlopening a framework actually loads multiple dylibs, but that's just how OSX rolls. Signed-off-by:
Adam Jackson <ajax@redhat.com> Reviewed-by:
Jeremy Huddleston Sequoia <jeremyhu@apple.com>
-
Adam Jackson authored
Signed-off-by:
Adam Jackson <ajax@redhat.com> Reviewed-by:
Keith Packard <keithp@keithp.com>
-
Adam Jackson authored
Signed-off-by:
Adam Jackson <ajax@redhat.com> Reviewed-by:
Keith Packard <keithp@keithp.com>
-
Adam Jackson authored
Signed-off-by:
Adam Jackson <ajax@redhat.com> Reviewed-by:
Jeremy Huddleston Sequoia <jeremyhu@apple.com> Reviewed-by:
Jon TURNEY <jon.turney@dronecode.org.uk>
-
Adam Jackson authored
Now that we're calling non-1.2 ABI things by function pointer this is no longer needed. Signed-off-by:
Adam Jackson <ajax@redhat.com> Reviewed-by:
Jeremy Huddleston Sequoia <jeremyhu@apple.com> Reviewed-by:
Jon TURNEY <jon.turney@dronecode.org.uk>
-
Adam Jackson authored
Same concept as the generated code conversion. Signed-off-by:
Adam Jackson <ajax@redhat.com> Reviewed-by:
Jon TURNEY <jon.turney@dronecode.org.uk>
-
Adam Jackson authored
We're meant not to call these by name due to ABI. Rather than try to generate a bunch of little stub functions that do the lookup, just inline it all directly into the calling function. This does not cache results. That's fine, this is not a performance path, and if we're atop WGL then we effectively have to do this every time anyway because wglGetProcAddress results are context-dependent. Signed-off-by:
Adam Jackson <ajax@redhat.com> Jon TURNEY <jon.turney@dronecode.org.uk>
-
Keith Packard authored
Signed-off-by:
Keith Packard <keithp@keithp.com>
-
- 09 Dec, 2013 4 commits
-
-
Adam Jackson authored
Reviewed-by:
Keith Packard <keithp@keithp.com> Signed-off-by:
Adam Jackson <ajax@redhat.com>
-
Adam Jackson authored
v7: Don't bother making resources for the backing listeners. [keithp] This is now slightly unlike how other resources are xineramified. We create N+1 internal damage listeners, one that's a real resource and reflects the protocol view, and then one per backend screen where the report function piles onto the protocol view. The internal listeners are not stored in the resource database directly, they just hang off the xinerama resource. We don't wrap Subtract at the dispatch level, but we do extend it for the Xinerama case to clip to the root window geometry. As a result of the N+1 design here, the damage reports we generate are not quite minimal. However they are indistinguishable from sequential rendering events happening before the client hears damage, and we don't need to add a post-dispatch callback just for this one extension. Add is probably (still) somewhat broken since it will only hit screen 0, but Add really only exists for DRI1's sake, and DRI1 disables itself with Xinerama enabled anyway. In the absence of a use case, I'm leaving it unwrapped under Xinerama; if someone wants to define how it ought to work, be my guest. Reviewed-by:
Keith Packard <keithp@keithp.com> Signed-off-by:
Adam Jackson <ajax@redhat.com>
-
Adam Jackson authored
Root windows in Xinerama are in the coordinate space of their root window pixmap, not in protocol space. v2: Only translate for root windows, sice the window shape is drawable-relative. Reviewed-by:
Keith Packard <keithp@keithp.com> Signed-off-by:
Adam Jackson <ajax@redhat.com>
-
Adam Jackson authored
Root windows in Xinerama are in the coordinate space of their root window pixmap, not in protocol space. This fixes 'xcompmgr -n' when Xinerama is active. v2: Only translate for root windows, since the clip origin is drawable-relative. Reviewed-by:
Keith Packard <keithp@keithp.com> Signed-off-by:
Adam Jackson <ajax@redhat.com>
-