Lines Matching refs:base
188 HRESULT hr = NineUnknown_ctor(&This->base, pParams);
662 NineUnknown_dtor(&This->base);
857 util_format_unpack_rgba_8unorm_rect(surf->base.info.format, ptr, transfer->stride,
865 util_format_unpack_rgba_8unorm_rect(surf->base.info.format,
1346 if (surface->base.resource && Discard_or_Lockable && (type != 1))
1347 surface->base.resource->flags |= NINE_RESOURCE_FLAG_LOCKABLE;
1417 user_assert(dst->base.pool == D3DPOOL_DEFAULT, D3DERR_INVALIDCALL);
1418 user_assert(src->base.pool == D3DPOOL_SYSTEMMEM, D3DERR_INVALIDCALL);
1460 const unsigned w = util_format_get_blockwidth(dst->base.info.format);
1461 const unsigned h = util_format_get_blockheight(dst->base.info.format);
1503 user_assert(dstb->base.pool == D3DPOOL_DEFAULT, D3DERR_INVALIDCALL);
1504 user_assert(srcb->base.pool == D3DPOOL_SYSTEMMEM, D3DERR_INVALIDCALL);
1505 user_assert(dstb->base.type == srcb->base.type, D3DERR_INVALIDCALL);
1506 user_assert(!(srcb->base.usage & D3DUSAGE_AUTOGENMIPMAP) ||
1507 dstb->base.usage & D3DUSAGE_AUTOGENMIPMAP, D3DERR_INVALIDCALL);
1537 unsigned w = u_minify(srcb->base.info.width0, m);
1538 unsigned h = u_minify(srcb->base.info.height0, m);
1539 unsigned d = u_minify(srcb->base.info.depth0, m);
1541 if (w <= dstb->base.info.width0 &&
1542 h <= dstb->base.info.height0 &&
1543 d <= dstb->base.info.depth0)
1548 last_dst_level = MIN2(srcb->base.info.last_level - m, last_dst_level);
1550 if (dstb->base.type == D3DRTYPE_TEXTURE) {
1562 fit_rect_format_inclusive(dst->base.base.info.format,
1574 if (dstb->base.type == D3DRTYPE_CUBETEXTURE) {
1589 fit_rect_format_inclusive(dst->base.base.info.format,
1603 if (dstb->base.type == D3DRTYPE_VOLUMETEXTURE) {
1617 if (dstb->base.usage & D3DUSAGE_AUTOGENMIPMAP) {
1697 user_assert(dst->base.pool == D3DPOOL_DEFAULT &&
1698 src->base.pool == D3DPOOL_DEFAULT, D3DERR_INVALIDCALL);
1819 (!util_format_is_compressed(dst->base.info.format) &&
1820 !util_format_is_compressed(src->base.info.format)),
1897 user_assert(surf->base.pool == D3DPOOL_DEFAULT, D3DERR_INVALIDCALL);
1899 user_assert((surf->base.usage & D3DUSAGE_RENDERTARGET) ||
1911 const unsigned bw = util_format_get_blockwidth(surf->base.info.format);
1912 const unsigned bh = util_format_get_blockheight(surf->base.info.format);
1924 if (surf->base.info.bind & PIPE_BIND_RENDER_TARGET) {
1935 surf->base.info.format, &uc);
1936 util_fill_rect(lock.pBits, surf->base.info.format,lock.Pitch,
2042 user_assert(!ds || util_format_is_depth_or_stencil(ds->base.info.format),
2116 util_format_is_depth_and_stencil(zsbuf_surf->base.info.format)),
2665 user_assert(!tex || (tex->base.pool != D3DPOOL_SCRATCH &&
2666 tex->base.pool != D3DPOOL_SYSTEMMEM), D3DERR_INVALIDCALL);
2969 NineBaseTexture9(rt->base.base.container)->dirty_mip = TRUE;
2974 #define IS_SYSTEMMEM_DYNAMIC(t) ((t) && (t)->base.pool == D3DPOOL_SYSTEMMEM && (t)->base.usage & D3DUSAGE_DYNAMIC)
3011 unsigned full_size = This->state.stream[i]->base.size;
3016 NineTrackSystemmemDynamic(&This->state.stream[i]->base, start, size);
3048 if (IS_SYSTEMMEM_DYNAMIC(&This->state.idxbuf->base))
3049 NineTrackSystemmemDynamic(&This->state.idxbuf->base,
3056 uint32_t full_size = This->state.stream[i]->base.size;
3062 NineTrackSystemmemDynamic(&This->state.stream[i]->base,
3143 unsigned base;
3158 base = MinVertexIndex * VertexStreamZeroStride;
3163 base,
3166 (const uint8_t *)pVertexStreamZeroData + base,
3171 vbuf.buffer_offset -= base;