/external/mesa3d/src/gallium/state_trackers/wgl/ |
H A D | stw_st.c | 78 unsigned mask) 104 if (stwfb->textures[i] || !(mask & (1 << i))) { 107 mask |= (1 << i); 139 stwfb->texture_mask = mask; 270 unsigned mask; local 277 /* convert to mask */ 281 /* swap the bits in mask */ 282 mask = stwfb->texture_mask & ~(front | back); 284 mask |= back; 286 mask | 76 stw_st_framebuffer_validate_locked(struct st_framebuffer_iface *stfb, unsigned width, unsigned height, unsigned mask) argument [all...] |
/external/mesa3d/src/gallium/state_trackers/xa/ |
H A D | xa_composite.h | 104 struct xa_picture *src, *mask, *dst; member in struct:xa_composite
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | vmw_fence.c | 58 uint32_t mask; member in struct:vmw_fence 177 * @mask: Mask of flags that this fence object may signal. 183 uint32_t seqno, uint32_t mask) 193 fence->mask = mask; 276 vflags &= ~vfence->mask; 323 vflags &= ~vfence->mask; 182 vmw_fence_create(struct pb_fence_ops *fence_ops, uint32_t handle, uint32_t seqno, uint32_t mask) argument
|
/external/mesa3d/src/glx/apple/ |
H A D | apple_glx_context.c | 485 unsigned long mask, int *errorptr, bool * x11errorptr) 512 (GLbitfield) mask); 484 apple_glx_copy_context(void *currentptr, void *srcptr, void *destptr, unsigned long mask, int *errorptr, bool * x11errorptr) argument
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
H A D | intel_pixel_bitmap.c | 114 GLuint mask = unpack->LsbFirst ? 0 : 7; local 121 DBG("%s %d,%d %dx%d bitmap %dx%d skip %d src_offset %d mask %d\n", 122 __func__, x,y,w,h,width,height,unpack->SkipPixels, src_offset, mask); 144 if (test_bit(rowsrc, (col + src_offset) ^ mask)) {
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_draw.c | 305 uint64_t mask = ctx->VertexProgram._Current->info.inputs_read; local 309 while (mask) { 312 i = u_bit_scan64(&mask);
|
H A D | brw_inst.h | 713 const uint64_t mask = (~0ull >> (64 - (high - low + 1))); local 715 return (inst->data[word] >> low) & mask; 732 const uint64_t mask = (~0ull >> (64 - (high - low + 1))) << low; local 735 assert((value & (mask >> low)) == value); 737 inst->data[word] = (inst->data[word] & ~mask) | (value << low); 761 const uint64_t mask = (1ull << (high - low + 1)) - 1; local 763 return (inst->data >> low) & mask; 775 const uint64_t mask = ((1ull << (high - low + 1)) - 1) << low; local 778 assert((value & (mask >> low)) == value); 780 inst->data = (inst->data & ~mask) | (valu [all...] |
H A D | brw_ir_vec4.h | 202 writemask(dst_reg reg, unsigned mask) argument 205 assert((reg.writemask & mask) != 0); 206 reg.writemask &= mask;
|
H A D | brw_vec4_surface_builder.cpp | 69 const unsigned mask = (1 << n) - 1; local 72 bld.MOV(writemask(tmp, mask), src); 74 bld.MOV(writemask(tmp, ~mask), brw_imm_d(0)); 242 /* The sample mask is used on IVB for the SIMD8 messages that 244 * in that case, mask everything else out.
|
H A D | brw_vec4_tcs.cpp | 92 /* HS threads are dispatched with the dispatch mask set to 0xFF. 330 unsigned mask = instr->const_index[1]; local 342 mask = mask << first_component; 357 if (mask & WRITEMASK_X) 359 if (mask & WRITEMASK_Y) 365 mask >>= 2; 369 emit_urb_write(swizzle(value, swiz), mask, local
|
H A D | brw_wm.c | 302 GLbitfield mask = prog->SamplersUsed; local 304 while (mask) { 305 const int s = u_bit_scan(&mask);
|
H A D | intel_pixel_bitmap.c | 111 GLuint mask = unpack->LsbFirst ? 0 : 7; local 118 DBG("%s %d,%d %dx%d bitmap %dx%d skip %d src_offset %d mask %d\n", 119 __func__, x,y,w,h,width,height,unpack->SkipPixels, src_offset, mask); 141 if (test_bit(rowsrc, (col + src_offset) ^ mask)) {
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
H A D | nv04_surface.c | 426 unsigned mask, unsigned value, 452 PUSH_DATA (push, mask | ~0ll << (8 * dst->cpp)); 424 nv04_surface_fill(struct gl_context *ctx, struct nouveau_surface *dst, unsigned mask, unsigned value, int dx, int dy, int w, int h) argument
|
H A D | nv10_state_tnl.c | 61 unsigned mask = get_material_bitmask(ctx->Light._ColorMaterialBitmask); local 64 PUSH_DATA (push, ctx->Light.ColorMaterialEnabled ? mask : 0); 325 GLbitfield mask; local 349 mask = ctx->Light._EnabledLights; 350 while (mask) { 351 const int i = u_bit_scan(&mask); 367 GLbitfield mask; local 372 mask = ctx->Light._EnabledLights; 373 while (mask) { 374 const int i = u_bit_scan(&mask); 389 GLbitfield mask; local [all...] |
H A D | nv20_state_tnl.c | 93 unsigned mask = get_material_bitmask(ctx->Light._ColorMaterialBitmask); local 96 PUSH_DATA (push, ctx->Light.ColorMaterialEnabled ? mask : 0); 242 GLbitfield mask; local 266 mask = ctx->Light._EnabledLights; 267 while (mask) { 268 const int i = u_bit_scan(&mask); 285 GLbitfield mask; local 290 mask = ctx->Light._EnabledLights; 291 while (mask) { 292 const int i = u_bit_scan(&mask); 308 GLbitfield mask; local [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | arrayobj.c | 370 GLbitfield64 mask = vao->_Enabled & ~vao->VertexAttribBufferMask; local 372 while (mask) { 376 const int i = ffsll(mask) - 1; 391 /* Note that we cannot use the xor variant since the _BoundArray mask 394 mask &= ~buffer_binding->_BoundArrays; 404 GLbitfield64 mask = vao->_Enabled & vao->VertexAttribBufferMask; local 406 while (mask) { 407 const int i = ffsll(mask) - 1; 423 mask &= ~buffer_binding->_BoundArrays;
|
H A D | blit.c | 91 * "GL_INVALID_OPERATION is generated if mask contains GL_COLOR_BUFFER_BIT 186 GLbitfield mask, GLenum filter, const char *func) 229 if (mask & ~legalMaskBits) { 230 _mesa_error(ctx, GL_INVALID_VALUE, "%s(invalid mask bits set)", func); 235 if ((mask & (GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT)) 243 if (mask & GL_COLOR_BUFFER_BIT) { 251 * "If a buffer is specified in <mask> and does not exist in both 256 mask &= ~GL_COLOR_BUFFER_BIT; 321 if (mask & GL_STENCIL_BUFFER_BIT) { 329 * "If a buffer is specified in <mask> an 181 _mesa_blit_framebuffer(struct gl_context *ctx, struct gl_framebuffer *readFb, struct gl_framebuffer *drawFb, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter, const char *func) argument 550 _mesa_BlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) argument 572 _mesa_BlitNamedFramebuffer(GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) argument [all...] |
H A D | clear.c | 134 * \param mask bit-mask indicating the buffers to be cleared. 143 _mesa_Clear( GLbitfield mask ) 151 _mesa_debug(ctx, "glClear 0x%x\n", mask); 153 if (mask & ~(GL_COLOR_BUFFER_BIT | 158 _mesa_error( ctx, GL_INVALID_VALUE, "glClear(0x%x)", mask); 165 if ((mask & GL_ACCUM_BUFFER_BIT) != 0 189 mask &= ~GL_DEPTH_BUFFER_BIT; 197 if (mask & GL_COLOR_BUFFER_BIT) { 208 if ((mask 242 GLbitfield mask = 0x0; local 365 const GLbitfield mask = make_color_buffer_mask(ctx, drawbuffer); local 436 const GLbitfield mask = make_color_buffer_mask(ctx, drawbuffer); local 534 const GLbitfield mask = make_color_buffer_mask(ctx, drawbuffer); local 595 GLbitfield mask = 0; local [all...] |
H A D | light.c | 618 _mesa_debug(ctx, "_mesa_update_material, mask 0x%x\n", bitmask); 625 GLbitfield mask = ctx->Light._EnabledLights; local 626 while (mask) { 627 const int i = u_bit_scan(&mask); 635 GLbitfield mask = ctx->Light._EnabledLights; local 636 while (mask) { 637 const int i = u_bit_scan(&mask); 659 GLbitfield mask = ctx->Light._EnabledLights; local 660 while (mask) { 661 const int i = u_bit_scan(&mask); 669 GLbitfield mask = ctx->Light._EnabledLights; local 680 GLbitfield mask = ctx->Light._EnabledLights; local 690 GLbitfield mask = ctx->Light._EnabledLights; local 961 GLbitfield mask = ctx->Light._EnabledLights; local [all...] |
H A D | matrix.c | 578 GLbitfield mask; local 585 mask = ctx->Transform.ClipPlanesEnabled; 586 while (mask) { 587 const int p = u_bit_scan(&mask); 620 * \param new_state new state bit mask.
|
H A D | pixeltransfer.c | 236 const GLuint mask = ctx->PixelMaps.ItoI.Size - 1; local 239 const GLuint j = indexes[i] & mask; 276 GLuint mask = ctx->PixelMaps.StoS.Size - 1; local 279 stencil[i] = (GLubyte) ctx->PixelMaps.StoS.Map[ stencil[i] & mask ];
|
H A D | texstate.c | 615 GLbitfield mask; local 655 mask = texUnit->Enabled; 656 while (mask) { 657 const int texIndex = u_bit_scan(&mask);
|
/external/mesa3d/src/mesa/math/ |
H A D | m_debug_clip.c | 86 GLubyte mask = 0; local 87 if ( -cx + cw < 0 ) mask |= CLIP_RIGHT_BIT; 88 if ( cx + cw < 0 ) mask |= CLIP_LEFT_BIT; 89 if ( -cy + cw < 0 ) mask |= CLIP_TOP_BIT; 90 if ( cy + cw < 0 ) mask |= CLIP_BOTTOM_BIT; 92 if ( -cz + cw < 0 ) mask |= CLIP_FAR_BIT; 93 if ( cz + cw < 0 ) mask |= CLIP_NEAR_BIT; 95 clipMask[i] = mask; 96 if ( mask ) { 98 tmpAndMask &= mask; 140 GLubyte mask = 0; local 178 GLubyte mask = 0; local [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_clear.c | 394 st_Clear(struct gl_context *ctx, GLbitfield mask) argument 411 if (mask & BUFFER_BITS_COLOR) { 415 if (b >= 0 && mask & (1 << b)) { 437 if (mask & BUFFER_BIT_DEPTH) { 448 if (mask & BUFFER_BIT_STENCIL) { 462 * This can only happen when the stencil writemask is not a full mask. 485 if (mask & BUFFER_BIT_ACCUM)
|
H A D | st_program.h | 61 unsigned mask = prog->ExternalSamplersUsed; local 66 while (unlikely(mask)) { 67 unsigned unit = u_bit_scan(&mask);
|