Searched refs:context (Results 1 - 25 of 27) sorted by relevance

12

/solaris-x11-s11/open-src/lib/DPS/sun-src/include/DPS/
H A DdpsXshare.h71 /* XDPSRegisterContext registers a DPS context with the context sharing
72 mangager and enables manipulation of the context through the other
74 whether or not the context will be made the shared context for its
75 display. It does not destroy the previous shared context for the
79 extern void XDPSRegisterContext(DPSContext context,
82 /* XDPSGetSharedContext returns the shared context for its display. If no
83 shared context exists, it creates one. XDPSGetSharedContext returns NULL
84 if the display does not support the DPS extension. The context i
[all...]
H A DdpsXpreview.h124 box (in points) is returned in bbox. The context parameter may be NULL,
125 in which case the shared context for the display will be used. If a real
126 context is passed, it must be registered with XDPSRegisterContext.
129 extern int XDPSCreatePixmapForEPSF(DPSContext context,
151 is suitable for use as a mask in X drawing call. The context parameter
152 may be NULL, in which case the shared context for the display will
153 be used. If a real context is passed, it must be registered with
163 Partial imaging may be stopped by destroying the context with
165 XDPSUnregisterContext. Doing anything with a context between the time
169 results and leave the context i
[all...]
H A DDPSScrollW.h47 #define XtNcontext "context"
106 DPSContext context; member in struct:__anon190
122 DPSContext context; member in struct:__anon194
139 DPSContext context; member in struct:__anon196
182 DPSContext *context);
H A DColorSBP.h57 DPSContext context; member in struct:__anon188
H A DDPSScrollWP.h50 DPSContext context; member in struct:__anon198
198 Drawable *drawable, DPSGState *gstate, DPSContext *context);
H A DFontSBP.h94 DPSContext context; member in struct:__anon211
/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_lock.c42 drm_lock_take(drm_lock_data_t *lock_data, unsigned int context) argument
52 new = context | _DRM_LOCK_HELD;
56 if (_DRM_LOCKING_CONTEXT(old) == context) {
58 if (context != DRM_KERNEL_CONTEXT) {
60 context);
65 if ((_DRM_LOCKING_CONTEXT(new)) == context &&
74 * This takes a lock forcibly and hands it to context. Should ONLY be used
79 unsigned int context)
86 new = context | _DRM_LOCK_HELD;
95 unsigned int context)
78 drm_lock_transfer(drm_device_t *dev, volatile unsigned int *lock, unsigned int context) argument
94 drm_lock_free(drm_device_t *dev, volatile unsigned int *lock, unsigned int context) argument
[all...]
H A Dradeon_io32.h40 int context; member in struct:drm_dma_32
H A Ddrm.h375 _DRM_LOCK_FLUSH = 0x04, /**< Flush this context's DMA queue first */
390 int context; member in struct:drm_lock
497 int context; /**< Context handle */ member in struct:drm_dma
H A Dradeon_cp.c2241 d.context = dma32.context;
2281 dma32.context = d.context;
H A Dradeon_drm.h80 #define RADEON_EMIT_PP_MISC 0 /* context/7 */
81 #define RADEON_EMIT_PP_CNTL 1 /* context/3 */
82 #define RADEON_EMIT_RB3D_COLORPITCH 2 /* context/1 */
427 drm_radeon_context_regs_t context; member in struct:__anon147
H A DdrmP.h342 int context; /* Kernel queue for this buffer */ member in struct:drm_buf
581 * can be used in interrupt context, so they need to know
646 int last_context; /* Last current context */
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_lock.c66 if (lock->context == DRM_KERNEL_CONTEXT) {
67 DRM_ERROR("Process %d using kernel context %d\n",
68 DRM_CURRENTPID, lock->context);
76 lock->context, DRM_CURRENTPID,
80 if (lock->context < 0)
86 if (drm_lock_take(&master->lock, lock->context)) {
103 DRM_DEBUG("%d %s\n", lock->context,
111 lock->context);
136 if (lock->context == DRM_KERNEL_CONTEXT) {
137 DRM_ERROR("Process %d using kernel context
164 drm_lock_take(struct drm_lock_data *lock_data, unsigned int context) argument
210 drm_lock_transfer(struct drm_lock_data *lock_data, unsigned int context) argument
235 drm_lock_free(struct drm_lock_data *lock_data, unsigned int context) argument
[all...]
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/
H A DdpsXcommonI.h60 extern int _XDPSSetComponentInitialized(DPSContext context,
63 extern int _XDPSTestComponentInitialized(DPSContext context,
H A DXDPSshare.c83 the extension exists on the display. If context is not NULL, the
84 display has a default context associated with it. */
90 static ContextInfo AllocContextInfo(DPSContext context) argument
97 DPSAddContextExtensionRec(context, (DPSContextExtensionRec *) c);
102 static ContextInfo FindContextInfo(DPSContext context) argument
106 return (ContextInfo) DPSGetContextExtensionRec(context, extensionId);
109 static ContextInfo RemoveContextInfo(DPSContext context) argument
111 return (ContextInfo) DPSRemoveContextExtensionRec(context,
119 DPSContext context)
121 ContextInfo c = FindContextInfo(context);
117 LookupContext( Display *display, DPSContext context) argument
132 AllocDisplayInfo( Display *display, DPSContext context) argument
176 _XDPSSetComponentInitialized(DPSContext context, unsigned long bit) argument
185 _XDPSTestComponentInitialized( DPSContext context, unsigned long bit, Bool *result) argument
200 XDPSSetContextDepth( DPSContext context, Screen *screen, int depth) argument
211 XDPSSetContextDrawable( DPSContext context, Drawable drawable, int height) argument
221 XDPSSetContextRGBMap( DPSContext context, XDPSStandardColormap *map) argument
230 XDPSSetContextGrayMap( DPSContext context, XDPSStandardColormap *map) argument
269 XDPSSetContextParameters( DPSContext context, Screen *screen, int depth, Drawable drawable, int height, XDPSStandardColormap *rgbMap, XDPSStandardColormap *grayMap, unsigned int flags) argument
377 XDPSPushContextParameters( DPSContext context, Screen *screen, int depth, Drawable drawable, int height, XDPSStandardColormap *rgbMap, XDPSStandardColormap *grayMap, unsigned int flags, DPSPointer *pushCookieReturn) argument
404 DPSContext context = (DPSContext) pushCookie; local
414 XDPSCaptureContextGState(DPSContext context, DPSGState *gsReturn) argument
425 XDPSUpdateContextGState(DPSContext context, DPSGState gs) argument
432 XDPSFreeContextGState(DPSContext context, DPSGState gs) argument
439 XDPSSetContextGState( DPSContext context, DPSGState gs) argument
448 XDPSPushContextGState( DPSContext context, DPSGState gs, DPSPointer *pushCookieReturn) argument
464 DPSContext context = (DPSContext) pushCookie; local
470 XDPSRegisterContext(DPSContext context, Bool makeSharedContext) argument
499 DPSContext context; local
528 XDPSDestroySharedContext(DPSContext context) argument
542 XDPSUnregisterContext(DPSContext context) argument
587 XDPSChainTextContext(DPSContext context, Bool enable) argument
[all...]
H A DXDPSpreview.c172 DPSContext context,
190 if (context == NULL) {
191 context = XDPSGetSharedContext(DisplayOfScreen(screen));
215 if (context != NULL) return dps_status_success;
331 DPSContext context,
339 info->ctxt = context;
352 DPSContext context,
357 while (info != NULL && info->ctxt != context) info = info->next;
362 DPSContext context,
369 while (info != NULL && info->ctxt != context) inf
171 XDPSCreatePixmapForEPSF( DPSContext context, Screen *screen, FILE *epsf, int depth, double pixelsPerPoint, Pixmap *pixmap, XRectangle *pixelSize, XRectangle *bbox) argument
330 SetUpStatusVariables( DPSContext context, DPSPointer cookie, Bool *doneFlag, unsigned long startReq, XDPSStatusProc oldProc) argument
351 SetEndReqNum( DPSContext context, unsigned long endReq) argument
361 HandlePreviewStatus( DPSContext context, int status) argument
388 FinishUp( DPSContext context, DPSPointer cookie) argument
421 XDPSCheckImagingResults( DPSContext context, Screen *screen) argument
453 XDPSImageFileIntoDrawable( DPSContext context, Screen *screen, Drawable dest, FILE *file, int drawableHeight, int drawableDepth, XRectangle *bbox, int xOffset, int yOffset, double pixelsPerPoint, Bool clear, Bool createMask, Bool waitForCompletion, Bool *doneFlag) argument
[all...]
H A DColorSB.c102 Offset(context), XtRDPSContext, (XtPointer) NULL},
565 XDPSSetContextGState(csb->csb.context, csb->csb.base_gstate);
566 XDPSSetContextDrawable(csb->csb.context, csb->csb.red_pixmap, height);
568 _DPSCRGBBlend(csb->csb.context, 0.0, 0.0, w, h, "0 0", steps);
573 XDPSSetContextDrawable(csb->csb.context,
576 _DPSCRGBBlend(csb->csb.context, 0.0, 0.0, w, h, "0 exch 0", steps);
581 XDPSSetContextDrawable(csb->csb.context, csb->csb.blue_pixmap, height);
583 _DPSCRGBBlend(csb->csb.context,
586 DPSWaitContext(csb->csb.context);
625 XDPSSetContextGState(csb->csb.context, cs
[all...]
H A DDPSScrollW.c97 Offset(context), XtRImmediate, (XtPointer) NULL},
182 static void GetDrawingInfo(Widget w, DSWDrawableType *type, Drawable *drawable, DPSGState *gstate, DPSContext *context);
709 /* Get the context */
711 if (dsw->sw.context == NULL) {
712 dsw->sw.context = XDPSGetSharedContext(XtDisplay(dsw));
721 if (_XDPSTestComponentInitialized(dsw->sw.context,
724 XDPSRegisterContext(dsw->sw.context, False);
753 XDPSFreeContextGState(dsw->sw.context, dsw->sw.window_gstate);
756 XDPSFreeContextGState(dsw->sw.context, dsw->sw.backing_gstate);
759 XDPSFreeContextGState(dsw->sw.context, ds
3395 GetDrawingInfo( Widget w, DSWDrawableType *type, Drawable *drawable, DPSGState *gstate, DPSContext *context) argument
3416 DSWGetDrawingInfo( Widget w, DSWDrawableType *type, Drawable *drawable, DPSGState *gstate, DPSContext *context) argument
[all...]
H A DFontSample.c360 XDPSSetContextGState(s->sampler.fsb->fsb.context, s->sampler.gstate);
361 DPSsetrgbcolor(s->sampler.fsb->fsb.context, 1.0, 0.0, 0.0);
362 _DPSFShowText(s->sampler.fsb->fsb.context, d->text->str,
479 XDPSSetContextGState(s->sampler.fsb->fsb.context,
481 XDPSSetContextParameters(s->sampler.fsb->fsb.context,
489 _DPSFReclip(s->sampler.fsb->fsb.context);
490 _DPSFGetCTM(s->sampler.fsb->fsb.context,
492 XDPSUpdateContextGState(s->sampler.fsb->fsb.context,
494 XDPSSetContextGState(s->sampler.fsb->fsb.context,
496 XDPSSetContextParameters(s->sampler.fsb->fsb.context,
[all...]
H A DFontSB.c124 Offset(context), XtRDPSContext, (XtPointer) NULL},
1043 _DPSFGetFontInfo(fsb->fsb.context, serverNum, fsb->fsb.old_server,
1061 _DPSFGetBlendedFontInfo(fsb->fsb.context, serverNum,
1271 _DPSFEnumFonts(fsb->fsb.context, &fontCount, &totalLength);
1274 _DPSFGetAllFontNames(fsb->fsb.context, fontCount, totalLength, buffer);
1285 _DPSFFreeFontInfo(fsb->fsb.context);
1377 /* Assume context is correct */
1454 _DPSFUndefineFont(fsb->fsb.context, f->font_name,
1482 _DPSFIsFontResident(fsb->fsb.context, f->font_name, &resident);
1488 if (!DownloadFont(fsb, f->font_name, fsb->fsb.context, share
[all...]
H A DFontCreato.c217 XDPSSetContextGState(fc->creator.fsb->fsb.context, fc->creator.gstate);
219 XDPSSetContextParameters(fc->creator.fsb->fsb.context, XtScreen(widget),
225 _DPSFReclip(fc->creator.fsb->fsb.context);
227 XDPSUpdateContextGState(fc->creator.fsb->fsb.context, fc->creator.gstate);
239 DPSContext context; local
253 context = fc->creator.fsb->fsb.context;
255 XDPSSetContextDrawable(context,
257 XDPSCaptureContextGState(context, &fc->creator.gstate);
258 } else XDPSSetContextGState(context, f
[all...]
/solaris-x11-s11/open-src/xserver/xorg/sun-src/tsol/
H A Dauditwrite.c175 aw_context_t context; /* saved state for this rec */ member in struct:aw_rec
452 * set context, parse the invocation line and get the command.
617 * (servers) to set-up context for a new "subject".
1131 * If we are in context for a descriptor, now that the
2221 rec->context.static_flags = AW_NO_FLAGS;
2222 rec->context.save_rd = AW_NO_RD;
2223 rec->context.aw_errno = AW_ERR_NO_ERROR;
2224 rec->context.pmask.am_success = 0;
2225 rec->context.pmask.am_failure = 0;
2482 * set context a
[all...]
/solaris-x11-s11/open-src/kernel/sys/drm/
H A Ddrm.h282 _DRM_LOCK_FLUSH = 0x04, /**< Flush this context's DMA queue first */
297 int context; member in struct:drm_lock
412 int context; /**< Context handle */ member in struct:drm_dma
H A DdrmP.h486 int context; /* Kernel queue for this buffer */ member in struct:drm_buf
569 drm_context_t handle; /**< context handle */
1073 * can be used in interrupt context, so they need to know
1113 struct list_head ctxlist; /**< Linked list of context handles */
1114 int ctx_count; /**< Number of context handles */
1131 int last_context; /* Last current context */
1132 unsigned long last_switch; /**< jiffies at last context switch */
1378 extern int drm_lock_take(struct drm_lock_data *lock_data, unsigned int context);
1379 extern int drm_lock_free(struct drm_lock_data *lock_data, unsigned int context);
/solaris-x11-s11/open-src/kernel/i915/src/
H A Di915_drm.h76 int ctxOwner; /* last context to upload state */
759 #define i915_execbuffer2_set_context_id(eb2, context) \
760 (eb2).rsvd1 = context & I915_EXEC_CONTEXT_ID_MASK
1017 /* output: id of new context*/

Completed in 120 milliseconds

12