| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/ |
| nv04_state_raster.c | 128 int front = ctx->Polygon.FrontFace; local 145 nv04->ctrl[0] |= (cull == GL_FRONT) ^ (front == GL_CCW) ?
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/ |
| nv04_state_raster.c | 128 int front = ctx->Polygon.FrontFace; local 145 nv04->ctrl[0] |= (cull == GL_FRONT) ^ (front == GL_CCW) ?
|
| /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/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/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/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/MesaLib/dist/src/gallium/drivers/v3d/ |
| v3dx_emit.c | 667 struct pipe_stencil_state *front = &v3d->zsa->base.stencil[0]; local 670 if (front->enabled) {
|
| v3dx_state.c | 210 const struct pipe_stencil_state *front = &cso->stencil[0]; local 213 if (front->enabled) { 218 /* If !back->enabled, then the front values should be 219 * used for both front and back-facing primitives. 223 config.stencil_write_mask = front->writemask; 224 config.stencil_test_mask = front->valuemask; 226 config.stencil_test_function = front->func; 228 translate_stencil_op(front->zpass_op); 230 translate_stencil_op(front->zfail_op); 232 translate_stencil_op(front->fail_op) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/ |
| vc4_state.c | 248 const struct pipe_stencil_state *front = &cso->stencil[0]; local 252 tlb_stencil_setup_writemask(front->writemask); 253 uint8_t back_writemask = front->writemask; 257 tlb_stencil_setup_bits(front, front_writemask_bits); 273 so->stencil_uniforms[2] = (front->writemask |
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/util/ |
| range.hpp | 126 front() { function in class:clover::detail::basic_range
|
| /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/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/MesaLib.old/dist/src/gallium/drivers/v3d/ |
| v3dx_emit.c | 631 struct pipe_stencil_state *front = &v3d->zsa->base.stencil[0]; local 634 if (front->enabled) {
|
| v3dx_state.c | 210 const struct pipe_stencil_state *front = &cso->stencil[0]; local 213 if (front->enabled) { 218 /* If !back->enabled, then the front values should be 219 * used for both front and back-facing primitives. 223 config.stencil_write_mask = front->writemask; 224 config.stencil_test_mask = front->valuemask; 226 config.stencil_test_function = front->func; 228 translate_stencil_op(front->zpass_op); 230 translate_stencil_op(front->zfail_op); 232 translate_stencil_op(front->fail_op) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/ |
| vc4_state.c | 248 const struct pipe_stencil_state *front = &cso->stencil[0]; local 252 tlb_stencil_setup_writemask(front->writemask); 253 uint8_t back_writemask = front->writemask; 257 tlb_stencil_setup_bits(front, front_writemask_bits); 273 so->stencil_uniforms[2] = (front->writemask |
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/util/ |
| range.hpp | 126 front() { function in class:clover::detail::basic_range
|
| /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/libX11/dist/src/ |
| locking.c | 300 register struct _XCVList *front = *list; local 304 xthread_self(), front); 311 if (front) { /* check "front" for paranoia */ 312 *list = front->next; 313 if (*tail == &front->next) /* did we free the last elt? */ 316 front->next = dpy->lock->free_cvls; 317 dpy->lock->free_cvls = front; 320 xcondition_clear(front->cv); 321 Xfree(front->cv) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/ |
| radv_meta.h | 79 } front; member in struct:radv_meta_saved_state::__anon519
|
| /xsrc/external/mit/xf86-video-intel/dist/src/sna/ |
| sna_video.c | 802 PixmapPtr front = sna->front; local 803 struct kgem_bo *bo = __sna_pixmap_get_bo(front); 813 front->drawable.bitsPerPixel, 825 w = front->drawable.bitsPerPixel/8; 843 w = front->drawable.bitsPerPixel/8;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/asahi/ |
| agx_state.h | 120 struct agx_rasterizer_face_packed front, back; member in struct:agx_zsa
|
| /xsrc/external/mit/mesa-demos/dist/src/samples/ |
| sphere.c | 522 float right, left, top, bottom, front, back; local 524 front = 0.0; 550 ** Front 553 glVertex3f(left+i*inc, top, front); 554 glVertex3f(left+i*inc, bottom, front); 557 glVertex3f(right, bottom+i*inc, front); 558 glVertex3f(left, bottom+i*inc, front); 565 glVertex3f(left, bottom+i*inc, front); 577 glVertex3f(right, top-i*inc, front); 589 glVertex3f(left+i*inc, top, front); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/egl/drivers/dri2/ |
| egl_dri2.h | 256 /* gralloc vendor usage bit for front rendering */ 354 __DRIimage *front; member in struct:dri2_egl_surface
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/ |
| si_shader_llvm_ps.c | 186 LLVMValueRef front, back; local 188 front = si_build_fs_interp(ctx, input_index, chan, prim_mask, i, j); 191 result[chan] = LLVMBuildSelect(ctx->ac.builder, is_face_positive, front, back, "");
|
| /xsrc/external/mit/MesaLib/dist/src/loader/ |
| loader_dri3_helper.c | 868 /* Refresh the fake front (if present) after we just damaged the real 869 * front. 909 struct loader_dri3_buffer *front; local 914 front = dri3_fake_front_buffer(draw); 916 loader_dri3_copy_drawable(draw, front->pixmap, draw->drawable); 925 front->image, 926 front->linear_buffer, 927 0, 0, front->width, front->height, 934 struct loader_dri3_buffer *front; local 2118 struct loader_dri3_buffer *front, *back; local [all...] |