| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| nir_lower_two_sided_color.c | 36 nir_variable *front; /* COLn */ member in struct:__anon3407::__anon3408 45 * instruction used to select front or back color based on FACE. 102 state->colors[state->colors_count].front = var; 116 if (state->colors[i].front->data.location == VARYING_SLOT_COL0) 123 state->colors[i].front->data.interpolation); 147 state->colors[idx].front->data.driver_location; 165 nir_ssa_def *front = load_input(b, state->colors[idx].front); local 167 nir_ssa_def *color = nir_bcsel(b, face, front, back);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/core/core/ |
| platform.cpp | 31 pipe_loader_probe(&ldevs.front(), n);
|
| queue.cpp | 76 queued_events.front()().signalled()) { 77 queued_events.front()().fence(fence);
|
| /xsrc/external/mit/xf86-video-intel/dist/src/sna/ |
| sna_dri2.c | 129 DRI2BufferPtr front; member in struct:sna_dri2_event 174 assert(info->front != info->back); 176 info->back, info->front, 178 info->front->flags = info->back->flags; 195 DRI2BufferPtr front; member in struct:dri2_window 213 if (priv->front) 217 draw->width == sna->front->drawable.width && 218 draw->height == sna->front->drawable.height && 219 draw->bitsPerPixel == sna->front->drawable.bitsPerPixel; 235 DBG(("%s: draw size=%dx%d, back buffer handle=%d size=%dx%d, is-scanout? %d, active?=%d, pitch=%d, front pitch=%d\n" [all...] |
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| nir_lower_two_sided_color.c | 37 nir_variable *front; /* COLn */ member in struct:__anon790::__anon791 47 * instruction used to select front or back color based on FACE. 102 state->colors[state->colors_count].front = var; 116 if (state->colors[i].front->data.location == VARYING_SLOT_COL0) 123 state->colors[i].front->data.interpolation); 148 state->colors[idx].front->data.driver_location; 160 unsigned loc = state->colors[idx].front->data.location; 183 nir_ssa_def *front, *back; local 185 front = nir_load_var(b, state->colors[idx].front); [all...] |
| /xsrc/external/mit/mesa-demos/dist/src/trivial/ |
| tri-cull.c | 32 static GLenum front = GL_CCW; /* GL default */ variable 87 front = ((front == GL_CCW) ? GL_CW : GL_CCW); 88 glFrontFace(front); 89 printf("front face = %s\n", front == GL_CCW ? "GL_CCW" : "GL_CW"); 102 /* CCW / front-facing */
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/wgl/ |
| stw_st.c | 274 unsigned front = ST_ATTACHMENT_FRONT_LEFT, back = ST_ATTACHMENT_BACK_LEFT; local 279 ptex = stwfb->textures[front]; 280 stwfb->textures[front] = stwfb->textures[back]; 284 front = 1 << front; 288 mask = stwfb->texture_mask & ~(front | back); 289 if (stwfb->texture_mask & front) 292 mask |= front; 295 front = ST_ATTACHMENT_FRONT_LEFT; 296 return stw_st_framebuffer_present_locked(hdc, &stwfb->base, front); [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/ |
| sna_dri2.c | 115 DRI2BufferPtr front; member in struct:sna_dri2_event 218 DRI2BufferPtr front; member in struct:dri2_window 240 return priv ? priv->front : NULL; 333 (draw->width != sna->front->drawable.width || 334 draw->height != sna->front->drawable.height)) 476 DBG(("%s: reusing front buffer attachment, win=%lu %dx%d, pixmap=%ld [%ld] %dx%d, handle=%d, name=%d\n", 503 if (pixmap == sna->front && !(sna->flags & SNA_LINEAR_FB)) 505 DBG(("%s: attaching to front buffer %dx%d [%p:%d], scanout? %d\n", 516 if (draw->width == sna->front->drawable.width && 517 draw->height == sna->front->drawable.height & [all...] |
| /xsrc/external/mit/MesaLib/dist/src/egl/drivers/dri2/ |
| platform_device.c | 65 if (dri2_surf->front) { 66 dri2_dpy->image->destroyImage(dri2_surf->front); 67 dri2_surf->front = NULL; 87 buffers->front = NULL; 91 * the spec states that they have a back buffer but no front buffer, in 92 * contrast to pixmaps, which have a front buffer but no back buffer. 94 * Single-buffered surfaces with no front buffer confuse Mesa; so we deviate 97 * assigns the pbuffer a front buffer instead of a back buffer. 106 if (!dri2_surf->front) 107 dri2_surf->front [all...] |
| platform_surfaceless.c | 58 if (dri2_surf->front) { 59 dri2_dpy->image->destroyImage(dri2_surf->front); 60 dri2_surf->front = NULL; 80 buffers->front = NULL; 84 * the spec states that they have a back buffer but no front buffer, in 85 * contrast to pixmaps, which have a front buffer but no back buffer. 87 * Single-buffered surfaces with no front buffer confuse Mesa; so we deviate 90 * assigns the pbuffer a front buffer instead of a back buffer. 99 if (!dri2_surf->front) 100 dri2_surf->front [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/glx/xlib/ |
| xm_st.c | 239 enum st_attachment_type back, front; local 242 front = ST_ATTACHMENT_FRONT_LEFT; 243 /* copy the contents if front is newly allocated and back is not */ 245 (new_mask & (1 << front)) && 247 xmesa_st_framebuffer_copy_textures(stfbi, back, front, 358 struct pipe_resource **front, **back, *tmp; local 360 front = &xstfb->textures[ST_ATTACHMENT_FRONT_LEFT]; 362 /* swap textures only if the front texture has been allocated */ 363 if (*front) { 364 tmp = *front; [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/glx/xlib/ |
| xm_st.c | 236 enum st_attachment_type back, front; local 239 front = ST_ATTACHMENT_FRONT_LEFT; 240 /* copy the contents if front is newly allocated and back is not */ 242 (new_mask & (1 << front)) && 244 xmesa_st_framebuffer_copy_textures(stfbi, back, front, 352 struct pipe_resource **front, **back, *tmp; local 354 front = &xstfb->textures[ST_ATTACHMENT_FRONT_LEFT]; 356 /* swap textures only if the front texture has been allocated */ 357 if (*front) { 358 tmp = *front; [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/wgl/ |
| stw_st.c | 146 * d3d12_wgl_framebuffer and it doesn't support front buffer 147 * drawing. A fake front texture is needed to handle that scenario */ 221 /* When a fake front buffer is needed for drawing, we use the back buffer 224 * - When flushing the front buffer, we only need to swap the real buffers 225 * - When swapping buffers, we can safely overwrite the fake front buffer 245 /* Copying front texture content to fake front texture (back texture) */ 287 texture = textures[ST_ATTACHMENT_BACK_LEFT]; /* Fake front buffer */ 322 /* Fake front texture is dirty ?? */ 396 /* Resolve the front buffer. * 484 unsigned front = ST_ATTACHMENT_FRONT_LEFT, back = ST_ATTACHMENT_BACK_LEFT; local [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/ |
| dri2.c | 67 DRI2BufferPtr front; member in struct:ms_dri2_frame_event 414 if (info->front) 415 ms_dri2_destroy_buffer(NULL, info->front); 509 update_front(DrawablePtr draw, DRI2BufferPtr front) 513 ms_dri2_buffer_private_ptr priv = front->driverPrivate; 523 front->name = name; 526 front->pitch = pixmap->devKind; 527 front->cpp = pixmap->drawable.bitsPerPixel / 8; 536 DRI2BufferPtr front, DRI2BufferPtr back) 538 ms_dri2_buffer_private_ptr front_priv = front->driverPrivate [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/egl/drivers/dri2/ |
| platform_surfaceless.c | 59 if (dri2_surf->front) { 60 dri2_dpy->image->destroyImage(dri2_surf->front); 61 dri2_surf->front = NULL; 78 buffers->front = NULL; 82 * the spec states that they have a back buffer but no front buffer, in 83 * contrast to pixmaps, which have a front buffer but no back buffer. 85 * Single-buffered surfaces with no front buffer confuse Mesa; so we deviate 88 * assigns the pbuffer a front buffer instead of a back buffer. 97 if (!dri2_surf->front) 98 dri2_surf->front [all...] |
| /xsrc/external/mit/xf86-video-ati/dist/src/ |
| radeon_dri2.c | 520 DRI2BufferPtr front; member in struct:_DRI2FrameEvent 610 radeon_dri2_unref_buffer(ref->front); 633 /* Make sure the CRTC is valid and this is the real front buffer */ 642 DrawablePtr draw, DRI2BufferPtr front, 675 update_front(DrawablePtr draw, DRI2BufferPtr front) 679 struct dri2_buffer_priv *priv = front->driverPrivate; 691 r = radeon_gem_get_kernel_name(driver_priv->bo, &front->name); 697 front->pitch = pixmap->devKind; 698 front->cpp = pixmap->drawable.bitsPerPixel / 8; 706 DRI2BufferPtr front, DRI2BufferPtr back [all...] |
| /xsrc/external/mit/xf86-video-amdgpu/dist/src/ |
| amdgpu_dri2.c | 324 DRI2BufferPtr front; member in struct:_DRI2FrameEvent 513 DrawablePtr draw, DRI2BufferPtr front, 550 static Bool update_front(DrawablePtr draw, DRI2BufferPtr front) 556 struct dri2_buffer_priv *priv = front->driverPrivate; 558 if (!amdgpu_get_flink_name(pAMDGPUEnt, pixmap, &front->name)) 562 front->pitch = pixmap->devKind; 563 front->cpp = pixmap->drawable.bitsPerPixel / 8; 572 DRI2BufferPtr front, DRI2BufferPtr back) 574 struct dri2_buffer_priv *front_priv = front->driverPrivate; 579 if (!update_front(draw, front)) [all...] |
| /xsrc/external/mit/xf86-video-ati-kms/dist/src/ |
| radeon_dri2.c | 418 DRI2BufferPtr front; member in struct:_DRI2FrameEvent 607 DrawablePtr draw, DRI2BufferPtr front, 646 update_front(DrawablePtr draw, DRI2BufferPtr front) 652 struct dri2_buffer_priv *priv = front->driverPrivate; 659 if (!radeon_get_flink_name(pRADEONEnt, pixmap, &front->name)) { 664 front->pitch = pixmap->devKind; 665 front->cpp = pixmap->drawable.bitsPerPixel / 8; 673 DRI2BufferPtr front, DRI2BufferPtr back) 675 struct dri2_buffer_priv *front_priv = front->driverPrivate; 680 if (!update_front(draw, front)) [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/uxa/ |
| intel_dri.c | 404 * Make sure the CRTC is valid and this is the real front 531 /* Make sure the CRTC is valid and this is the real front buffer */ 671 if (info->front) 672 I830DRI2DestroyBuffer(NULL, info->front); 680 intel_exchange_pixmap_buffers(struct intel_screen_private *intel, PixmapPtr front, PixmapPtr back) 685 /* Post damage on the front buffer so that listeners, such 690 region.extents.x2 = front->drawable.width; 691 region.extents.y2 = front->drawable.height; 693 DamageRegionAppend(&front->drawable, ®ion); 696 new_back = intel_uxa_get_pixmap_private(front); [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/ |
| gen8_cmd_buffer.c | 358 (cmd_buffer->state.gfx.dynamic.stencil_write_mask.front || 437 .StencilReferenceValue = d->stencil_reference.front & 0xff, 457 .StencilTestMask = d->stencil_compare_mask.front & 0xff, 458 .StencilWriteMask = d->stencil_write_mask.front & 0xff, 464 (d->stencil_write_mask.front || d->stencil_write_mask.back) && 505 .StencilTestMask = d->stencil_compare_mask.front & 0xff, 506 .StencilWriteMask = d->stencil_write_mask.front & 0xff, 511 .StencilReferenceValue = d->stencil_reference.front & 0xff, 515 (d->stencil_write_mask.front || d->stencil_write_mask.back) &&
|
| /xsrc/external/mit/xf86-video-intel/dist/src/uxa/ |
| intel_dri.c | 439 * Make sure the CRTC is valid and this is the real front 566 /* Make sure the CRTC is valid and this is the real front buffer */ 706 if (info->front) 707 I830DRI2DestroyBuffer(NULL, info->front); 712 /* Check that the old buffer still matches the front buffer 729 intel_exchange_pixmap_buffers(struct intel_screen_private *intel, PixmapPtr front, PixmapPtr back) 734 /* Post damage on the front buffer so that listeners, such 739 region.extents.x2 = front->drawable.width; 740 region.extents.y2 = front->drawable.height; 742 DamageRegionAppend(&front->drawable, ®ion) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/intel/vulkan/ |
| gfx8_cmd_buffer.c | 394 (cmd_buffer->state.gfx.dynamic.stencil_write_mask.front || 526 .StencilReferenceValue = d->stencil_reference.front & 0xff, 551 .StencilTestMask = d->stencil_compare_mask.front & 0xff, 552 .StencilWriteMask = d->stencil_write_mask.front & 0xff, 558 (d->stencil_write_mask.front || d->stencil_write_mask.back) && 565 .StencilFailOp = genX(vk_to_intel_stencil_op)[d->stencil_op.front.fail_op], 566 .StencilPassDepthPassOp = genX(vk_to_intel_stencil_op)[d->stencil_op.front.pass_op], 567 .StencilPassDepthFailOp = genX(vk_to_intel_stencil_op)[d->stencil_op.front.depth_fail_op], 568 .StencilTestFunction = genX(vk_to_intel_compare_op)[d->stencil_op.front.compare_op], 617 .StencilTestMask = d->stencil_compare_mask.front & 0xff [all...] |
| /xsrc/external/mit/MesaLib/dist/docs/_extra/specs/ |
| MESA_copy_sub_buffer.spec | 33 of the back color buffer to the front color buffer. This can be 64 the front color buffer. This can be used to quickly repaint 3D windows
|
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/ |
| radv_meta.c | 79 state->stencil_op.front.compare_op = cmd_buffer->state.dynamic.stencil_op.front.compare_op; 80 state->stencil_op.front.fail_op = cmd_buffer->state.dynamic.stencil_op.front.fail_op; 81 state->stencil_op.front.pass_op = cmd_buffer->state.dynamic.stencil_op.front.pass_op; 82 state->stencil_op.front.depth_fail_op = 83 cmd_buffer->state.dynamic.stencil_op.front.depth_fail_op; 173 cmd_buffer->state.dynamic.stencil_op.front.compare_op = state->stencil_op.front.compare_op [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/core/ |
| platform.cpp | 36 pipe_loader_probe(&ldevs.front(), n);
|