Searched refs:pPict (Results 1 - 19 of 19) sorted by relevance

/xsrc/external/mit/xf86-video-ati/dist/src/
H A Dradeon_exa_render.c242 static Bool RADEONCheckTexturePOT(PicturePtr pPict, Bool canTile) argument
244 int w = pPict->pDrawable->width;
245 int h = pPict->pDrawable->height;
246 unsigned int repeatType = pPict->repeat ? pPict->repeatType : RepeatNone;
250 !(repeatType == RepeatNormal && !pPict->transform && canTile))
252 canTile ? "source" : "mask", w, h, pPict->transform != 0));
288 static Bool RADEONSetupSourceTile(PicturePtr pPict, argument
294 unsigned int repeatType = pPict->repeat ? pPict
335 R100CheckCompositeTexture(PicturePtr pPict,PicturePtr pDstPict,int op,int unit) argument
753 R200CheckCompositeTexture(PicturePtr pPict,PicturePtr pDstPict,int op,int unit) argument
1136 R300CheckCompositeTexture(PicturePtr pPict,PicturePtr pDstPict,int op,int unit,Bool is_r500) argument
[all...]
H A Devergreen_exa.c746 static Bool EVERGREENCheckCompositeTexture(PicturePtr pPict, argument
751 unsigned int repeatType = pPict->repeat ? pPict->repeatType : RepeatNone;
755 if (EVERGREENTexFormats[i].fmt == pPict->format)
760 (int)pPict->format));
762 if (pPict->filter != PictFilterNearest &&
763 pPict->filter != PictFilterBilinear)
764 RADEON_FALLBACK(("Unsupported filter 0x%x\n", pPict->filter));
775 if (pPict->transform != 0 && repeatType == RepeatNone && PICT_FORMAT_A(pPict
786 EVERGREENXFormSetup(PicturePtr pPict,PixmapPtr pPix,int unit,float * vs_alu_consts) argument
832 EVERGREENTextureSetup(PicturePtr pPict,PixmapPtr pPix,int unit) argument
[all...]
H A Dr600_exa.c900 static Bool R600CheckCompositeTexture(PicturePtr pPict, argument
905 unsigned int repeatType = pPict->repeat ? pPict->repeatType : RepeatNone;
909 if (R600TexFormats[i].fmt == pPict->format)
914 (int)pPict->format));
916 if (pPict->filter != PictFilterNearest &&
917 pPict->filter != PictFilterBilinear)
918 RADEON_FALLBACK(("Unsupported filter 0x%x\n", pPict->filter));
929 if (pPict->transform != 0 && repeatType == RepeatNone && PICT_FORMAT_A(pPict
940 R600TextureSetup(PicturePtr pPict,PixmapPtr pPix,int unit) argument
[all...]
/xsrc/external/mit/xf86-video-ati-kms/dist/src/
H A Dradeon_exa_render.c211 static Bool RADEONCheckTexturePOT(PicturePtr pPict, Bool canTile) argument
213 int w = pPict->pDrawable->width;
214 int h = pPict->pDrawable->height;
215 unsigned int repeatType = pPict->repeat ? pPict->repeatType : RepeatNone;
219 !(repeatType == RepeatNormal && !pPict->transform && canTile))
221 canTile ? "source" : "mask", w, h, pPict->transform != 0));
257 static Bool RADEONSetupSourceTile(PicturePtr pPict, argument
263 unsigned int repeatType = pPict->repeat ? pPict
304 R100CheckCompositeTexture(PicturePtr pPict,PicturePtr pDstPict,int op,int unit) argument
348 R100TextureSetup(PicturePtr pPict,PixmapPtr pPix,int unit) argument
702 R200CheckCompositeTexture(PicturePtr pPict,PicturePtr pDstPict,int op,int unit) argument
745 R200TextureSetup(PicturePtr pPict,PixmapPtr pPix,int unit) argument
1074 R300CheckCompositeTexture(PicturePtr pPict,PicturePtr pDstPict,int op,int unit,Bool is_r500) argument
1127 R300TextureSetup(PicturePtr pPict,PixmapPtr pPix,int unit) argument
[all...]
H A Devergreen_exa.c761 static Bool EVERGREENCheckCompositeTexture(PicturePtr pPict, argument
766 unsigned int repeatType = pPict->repeat ? pPict->repeatType : RepeatNone;
770 if (EVERGREENTexFormats[i].fmt == pPict->format)
775 (int)pPict->format));
777 if (pPict->filter != PictFilterNearest &&
778 pPict->filter != PictFilterBilinear)
779 RADEON_FALLBACK(("Unsupported filter 0x%x\n", pPict->filter));
790 if (pPict->transform != 0 && repeatType == RepeatNone && PICT_FORMAT_A(pPict
801 EVERGREENXFormSetup(PicturePtr pPict,ScrnInfoPtr pScrn,int unit,float * vs_alu_consts) argument
846 EVERGREENTextureSetup(PicturePtr pPict,PixmapPtr pPix,int unit) argument
[all...]
H A Dr600_exa.c820 static Bool R600CheckCompositeTexture(PicturePtr pPict, argument
825 unsigned int repeatType = pPict->repeat ? pPict->repeatType : RepeatNone;
829 if (R600TexFormats[i].fmt == pPict->format)
834 (int)pPict->format));
836 if (pPict->filter != PictFilterNearest &&
837 pPict->filter != PictFilterBilinear)
838 RADEON_FALLBACK(("Unsupported filter 0x%x\n", pPict->filter));
849 if (pPict->transform != 0 && repeatType == RepeatNone && PICT_FORMAT_A(pPict
860 R600TextureSetup(PicturePtr pPict,PixmapPtr pPix,int unit) argument
[all...]
/xsrc/external/mit/xf86-video-intel-old/dist/src/
H A Di830_render.c224 static Bool i830_check_composite_texture(ScrnInfoPtr pScrn, PicturePtr pPict, int unit) argument
226 if (pPict->repeatType > RepeatReflect)
227 I830FALLBACK("Unsupported picture repeat %d\n", pPict->repeatType);
229 if (pPict->filter != PictFilterNearest &&
230 pPict->filter != PictFilterBilinear)
232 I830FALLBACK("Unsupported filter 0x%x\n", pPict->filter);
235 if (pPict->pDrawable)
239 w = pPict->pDrawable->width;
240 h = pPict->pDrawable->height;
247 if (i830_tex_formats[i].fmt == pPict
259 i8xx_get_card_format(PicturePtr pPict) argument
272 i830_texture_setup(PicturePtr pPict,PixmapPtr pPix,int unit) argument
[all...]
H A Di915_render.c172 static Bool i915_check_composite_texture(ScrnInfoPtr pScrn, PicturePtr pPict, int unit) argument
174 if (pPict->repeatType > RepeatReflect)
175 I830FALLBACK("Unsupported picture repeat %d\n", pPict->repeatType);
177 if (pPict->filter != PictFilterNearest &&
178 pPict->filter != PictFilterBilinear)
179 I830FALLBACK("Unsupported filter 0x%x\n", pPict->filter);
181 if (pPict->pDrawable)
185 w = pPict->pDrawable->width;
186 h = pPict->pDrawable->height;
193 if (i915_tex_formats[i].fmt == pPict
239 i915_texture_setup(PicturePtr pPict,PixmapPtr pPix,int unit) argument
[all...]
H A Di965_render.c184 static Bool i965_check_composite_texture(ScrnInfoPtr pScrn, PicturePtr pPict, int unit) argument
186 if (pPict->repeatType > RepeatReflect)
188 pPict->repeatType);
190 if (pPict->filter != PictFilterNearest &&
191 pPict->filter != PictFilterBilinear)
193 I830FALLBACK("Unsupported filter 0x%x\n", pPict->filter);
196 if (pPict->pDrawable)
200 w = pPict->pDrawable->width;
201 h = pPict->pDrawable->height;
208 if (i965_tex_formats[i].fmt == pPict
988 i965_get_card_format(PicturePtr pPict) argument
[all...]
/xsrc/external/mit/xf86-video-nouveau/dist/src/
H A Dnv30_exa.c250 NV30EXATexture(ScrnInfoPtr pScrn, PixmapPtr pPix, PicturePtr pPict, int unit) argument
262 fmt = NV30_GetPictTextureFormat(pPict->format);
268 if (pPict->filter == PictFilterBilinear)
295 if (pPict->transform) {
299 PUSH_DATAf(push, xFixedToFloat(pPict->transform->matrix[0][0]));
300 PUSH_DATAf(push, xFixedToFloat(pPict->transform->matrix[0][1]));
302 PUSH_DATAf(push, xFixedToFloat(pPict->transform->matrix[0][2]));
303 PUSH_DATAf(push, xFixedToFloat(pPict->transform->matrix[1][0]));
304 PUSH_DATAf(push, xFixedToFloat(pPict->transform->matrix[1][1]));
306 PUSH_DATAf(push, xFixedToFloat(pPict
333 NV30EXAPicture(ScrnInfoPtr pScrn,PixmapPtr pPix,PicturePtr pPict,int unit,uint32_t * color,uint32_t * alpha,uint32_t * solid) argument
369 NV30_SetupSurface(ScrnInfoPtr pScrn,PixmapPtr pPix,PicturePtr pPict) argument
392 NV30EXACheckCompositeTexture(PicturePtr pPict,PicturePtr pdPict,int op) argument
[all...]
H A Dnv40_exa.c184 NV40EXAPictSolid(NVPtr pNv, PicturePtr pPict, int unit) argument
189 PUSH_DATA (push, pPict->pSourcePict->solidFill.color);
234 NV40EXAPictGradient(NVPtr pNv, PicturePtr pPict, int unit) argument
240 NV40EXAPictTexture(NVPtr pNv, PixmapPtr pPix, PicturePtr pPict, int unit) argument
247 fmt = NV40_GetPictTextureFormat(pPict->format);
260 if (pPict->repeat) {
261 switch(pPict->repeatType) {
286 if (pPict->filter == PictFilterBilinear) {
301 if (pPict->transform) {
302 PUSH_DATAf(push, xFixedToFloat(pPict
378 NV40EXACheckCompositeTexture(PicturePtr pPict,PicturePtr pdPict,int op) argument
[all...]
H A Dnv_accel_common.c280 NVAccelGetCtxSurf2DFormatFromPicture(PicturePtr pPict, int *fmt_ret) argument
282 switch (pPict->format) {
/xsrc/external/mit/xf86-video-mach64/dist/src/
H A Datimach64render.c340 Mach64CheckTexture(PicturePtr pPict) argument
345 if (pPict->pDrawable == NULL)
347 w = pPict->pDrawable->width;
348 h = pPict->pDrawable->height;
350 if (Mach64TexFormats[i].pictFormat == pPict->format)
356 (int)pPict->format));
572 Mach64PrepareTexture(PicturePtr pPict, PixmapPtr pPix) argument
580 int w = pPict->pDrawable->width;
581 int h = pPict->pDrawable->height;
586 if (Mach64TexFormats[i].pictFormat == pPict
[all...]
/xsrc/external/mit/xf86-video-r128/dist/src/
H A Dr128_exa_render.c168 R128CheckCompositeTexture(PicturePtr pPict, PicturePtr pDstPict, int op) argument
175 unsigned int repeatType = pPict->repeat ? pPict->repeatType : RepeatNone;
178 if (!R128GetDatatypePict2(pPict->format, &tmp1)) return FALSE;
180 if (pPict->pDrawable) {
181 int w = pPict->pDrawable->width;
182 int h = pPict->pDrawable->height;
184 if (pPict->repeat && ((w & (w - 1)) != 0 || (h & (h - 1)) != 0)) {
191 if (pPict->filter != PictFilterNearest && pPict
302 R128TextureSetup(PicturePtr pPict,PixmapPtr pPix,int unit,uint32_t * txsize,uint32_t * tex_cntl_c,Bool trying_solid) argument
[all...]
/xsrc/external/mit/xorg-server/dist/render/
H A Dmipict.h90 miRenderColorToPixel(PictFormatPtr pPict, xRenderColor * color, CARD32 *pixel);
93 miRenderPixelToColor(PictFormatPtr pPict, CARD32 pixel, xRenderColor * color);
/xsrc/external/mit/xf86-video-mga/dist/src/
H A Dmga_exa.c294 mgaGetTexFormat(PicturePtr pPict) argument
312 if (ptr->fmt == pPict->format)
319 mgaCheckSourceTexture(int tmu, PicturePtr pPict) argument
321 if (!pPict->pDrawable) {
326 int w = pPict->pDrawable->width;
327 int h = pPict->pDrawable->height;
334 if (!mgaGetTexFormat(pPict)) {
335 DEBUG_MSG(("Unsupported picture format 0x%x\n", pPict->format));
339 if (pPict->repeatType != RepeatNormal) {
340 DEBUG_MSG(("Unsupported repeat type %d\n", pPict
[all...]
/xsrc/external/mit/xorg-server.old/dist/render/
H A Dmipict.h126 miRenderColorToPixel (PictFormatPtr pPict,
131 miRenderPixelToColor (PictFormatPtr pPict,
/xsrc/external/mit/xf86-video-intel-old/dist/uxa/
H A Duxa-render.c443 PicturePtr pPict,
451 source = image_from_pict(pPict, FALSE, &src_xoff, &src_yoff);
469 pPict = uxa_picture_from_pixman_image (pScreen, image, format);
472 return pPict;
477 PicturePtr pPict,
482 if (pPict->pDrawable) {
483 *out_x = x + pPict->pDrawable->x;
484 *out_y = y + pPict->pDrawable->y;
485 return pPict;
490 return uxa_acquire_pattern (pScreen, pPict,
442 uxa_acquire_pattern(ScreenPtr pScreen,PicturePtr pPict,pixman_format_code_t format,INT16 x,INT16 y,CARD16 width,CARD16 height) argument
476 uxa_acquire_source(ScreenPtr pScreen,PicturePtr pPict,INT16 x,INT16 y,CARD16 width,CARD16 height,INT16 * out_x,INT16 * out_y) argument
495 uxa_acquire_mask(ScreenPtr pScreen,PicturePtr pPict,INT16 x,INT16 y,INT16 width,INT16 height,INT16 * out_x,INT16 * out_y) argument
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/dmx/
H A Ddmxextension.c1482 PicturePtr pPict = value; local in function:dmxBEDestroyResources
1483 if (pPict->pDrawable->pScreen->myNum == scrnNum) {
1485 if (pPict->pDrawable->type == DRAWABLE_PIXMAP) {
1486 PixmapPtr pPixmap = (PixmapPtr)(pPict->pDrawable);

Completed in 24 milliseconds