Home
last modified time | relevance | path

Searched refs:This (Results 1 – 25 of 10316) sorted by relevance

12345678910>>...413

/third_party/mesa3d/src/gallium/frontends/nine/
Dvolume9.c38 NineVolume9_AllocateData( struct NineVolume9 *This ) in NineVolume9_AllocateData() argument
40 unsigned size = This->layer_stride * This->desc.Depth; in NineVolume9_AllocateData()
43 This->base.container, This, This->level, size); in NineVolume9_AllocateData()
45 This->data = (uint8_t *)align_calloc(size, 32); in NineVolume9_AllocateData()
46 if (!This->data) in NineVolume9_AllocateData()
52 NineVolume9_ctor( struct NineVolume9 *This, in NineVolume9_ctor() argument
64 This, pContainer, pParams->device, pResource, Level, pDesc); in NineVolume9_ctor()
74 hr = NineUnknown_ctor(&This->base, pParams); in NineVolume9_ctor()
78 pipe_resource_reference(&This->resource, pResource); in NineVolume9_ctor()
80 This->transfer = NULL; in NineVolume9_ctor()
[all …]
Dsurface9.c49 NineSurface9_CreatePipeSurfaces( struct NineSurface9 *This );
52 NineSurface9_ctor( struct NineSurface9 *This, in NineSurface9_ctor() argument
67 This, pParams->device, pResource, Level, Layer, pDesc); in NineSurface9_ctor()
71 This->base.base.device = pParams->device; /* Early fill this field in case of failure */ in NineSurface9_ctor()
84 This->data = user_buffer; in NineSurface9_ctor()
101 This->base.info.screen = pParams->device->screen; in NineSurface9_ctor()
102 This->base.info.target = PIPE_TEXTURE_2D; in NineSurface9_ctor()
103 This->base.info.width0 = pDesc->Width; in NineSurface9_ctor()
104 This->base.info.height0 = pDesc->Height; in NineSurface9_ctor()
105 This->base.info.depth0 = 1; in NineSurface9_ctor()
[all …]
Dbasetexture9.c41 NineBaseTexture9_ctor( struct NineBaseTexture9 *This, in NineBaseTexture9_ctor() argument
54 This, pParams, initResource, Type, format, Pool, Usage); in NineBaseTexture9_ctor()
62 hr = NineResource9_ctor(&This->base, pParams, initResource, alloc, Type, Pool, Usage); in NineBaseTexture9_ctor()
66 This->format = format; in NineBaseTexture9_ctor()
67 This->mipfilter = (Usage & D3DUSAGE_AUTOGENMIPMAP) ? in NineBaseTexture9_ctor()
71 This->level_count = (Usage & D3DUSAGE_AUTOGENMIPMAP) ? 1 : (This->base.info.last_level+1); in NineBaseTexture9_ctor()
72 This->managed.lod = 0; in NineBaseTexture9_ctor()
73 This->managed.lod_resident = -1; in NineBaseTexture9_ctor()
77 This->managed.dirty = TRUE; in NineBaseTexture9_ctor()
85 This->shadow = (This->format != D3DFMT_INTZ && This->format != D3DFMT_DF16 && in NineBaseTexture9_ctor()
[all …]
Dbuffer9.c42 NineBuffer9_ctor( struct NineBuffer9 *This, in NineBuffer9_ctor() argument
49 struct pipe_resource *info = &This->base.info; in NineBuffer9_ctor()
52 DBG("This=%p Size=0x%x Usage=%x Pool=%u\n", This, Size, Usage, Pool); in NineBuffer9_ctor()
56 This->maps = MALLOC(sizeof(struct NineTransfer)); in NineBuffer9_ctor()
57 if (!This->maps) in NineBuffer9_ctor()
59 This->nlocks = 0; in NineBuffer9_ctor()
60 This->nmaps = 0; in NineBuffer9_ctor()
61 This->maxmaps = 1; in NineBuffer9_ctor()
62 This->size = Size; in NineBuffer9_ctor()
140 This->discard_nooverwrite_only = !!(Usage & D3DUSAGE_WRITEONLY) && in NineBuffer9_ctor()
[all …]
Dswapchain9.c44 NineSwapChain9_ctor( struct NineSwapChain9 *This, in NineSwapChain9_ctor() argument
57 This, pParams->device, pPresent, pCTX, hFocusWindow); in NineSwapChain9_ctor()
59 hr = NineUnknown_ctor(&This->base, pParams); in NineSwapChain9_ctor()
63 This->screen = NineDevice9_GetScreen(This->base.device); in NineSwapChain9_ctor()
64 This->implicit = implicit; in NineSwapChain9_ctor()
65 This->actx = pCTX; in NineSwapChain9_ctor()
66 This->present = pPresent; in NineSwapChain9_ctor()
67 This->mode = NULL; in NineSwapChain9_ctor()
70 if (This->base.device->minor_version_num > 2) { in NineSwapChain9_ctor()
74 params2.AllowDISCARDDelayedRelease = This->actx->discard_delayed_release; in NineSwapChain9_ctor()
[all …]
Ddevice9.c113 nine_resource_create_with_retry( struct NineDevice9 *This, in nine_resource_create_with_retry() argument
123 if (!This) in nine_resource_create_with_retry()
126 NineDevice9_EvictManagedResourcesInternal(This); in nine_resource_create_with_retry()
129 nine_csmt_process(This); in nine_resource_create_with_retry()
135 NineDevice9_SetDefaultState( struct NineDevice9 *This, boolean is_reset ) in NineDevice9_SetDefaultState() argument
139 DBG("This=%p is_reset=%d\n", This, (int) is_reset); in NineDevice9_SetDefaultState()
141 assert(!This->is_recording); in NineDevice9_SetDefaultState()
143 nine_state_set_defaults(This, &This->caps, is_reset); in NineDevice9_SetDefaultState()
145 refSurf = This->swapchains[0]->buffers[0]; in NineDevice9_SetDefaultState()
148 This->state.viewport.X = 0; in NineDevice9_SetDefaultState()
[all …]
Diunknown.c34 NineUnknown_ctor( struct NineUnknown *This, in NineUnknown_ctor() argument
38 This->refs = 0; in NineUnknown_ctor()
39 This->forward = true; in NineUnknown_ctor()
40 This->bind = 0; in NineUnknown_ctor()
43 This->refs = 0; in NineUnknown_ctor()
44 This->forward = false; in NineUnknown_ctor()
45 This->bind = 1; in NineUnknown_ctor()
47 This->refs = 1; in NineUnknown_ctor()
48 This->forward = false; in NineUnknown_ctor()
49 This->bind = 0; in NineUnknown_ctor()
[all …]
Dresource9.c36 NineResource9_ctor( struct NineResource9 *This, in NineResource9_ctor() argument
49 This, pParams, initResource, (int) Allocate, in NineResource9_ctor()
52 hr = NineUnknown_ctor(&This->base, pParams); in NineResource9_ctor()
56 This->info.screen = screen = This->base.device->screen; in NineResource9_ctor()
58 pipe_resource_reference(&This->resource, initResource); in NineResource9_ctor()
79 if (This->info.target != PIPE_BUFFER) { in NineResource9_ctor()
80 This->size = util_resource_size(&This->info); in NineResource9_ctor()
82 p_atomic_add(&This->base.device->available_texture_mem, -This->size); in NineResource9_ctor()
84 if (This->base.device && in NineResource9_ctor()
85 p_atomic_read(&This->base.device->available_texture_mem) <= in NineResource9_ctor()
[all …]
Dvolumetexture9.c31 NineVolumeTexture9_ctor( struct NineVolumeTexture9 *This, in NineVolumeTexture9_ctor() argument
39 struct pipe_resource *info = &This->base.base.info; in NineVolumeTexture9_ctor()
48 This, pParams, Width, Height, Depth, Levels, in NineVolumeTexture9_ctor()
103 This->base.pstype = 3; in NineVolumeTexture9_ctor()
105 hr = NineBaseTexture9_ctor(&This->base, pParams, NULL, in NineVolumeTexture9_ctor()
110 This->volumes = CALLOC(This->base.level_count, sizeof(*This->volumes)); in NineVolumeTexture9_ctor()
111 if (!This->volumes) in NineVolumeTexture9_ctor()
118 for (l = 0; l < This->base.level_count; ++l) { in NineVolumeTexture9_ctor()
123 hr = NineVolume9_new(This->base.base.base.device, NineUnknown(This), in NineVolumeTexture9_ctor()
124 This->base.base.resource, l, in NineVolumeTexture9_ctor()
[all …]
Dvertexshader9.c36 NineVertexShader9_ctor( struct NineVertexShader9 *This, in NineVertexShader9_ctor() argument
47 This, pParams, pFunction, cso); in NineVertexShader9_ctor()
49 hr = NineUnknown_ctor(&This->base, pParams); in NineVertexShader9_ctor()
54 This->ff_cso = cso; in NineVertexShader9_ctor()
58 device = This->base.device; in NineVertexShader9_ctor()
89 This->byte_code.version = info.version; in NineVertexShader9_ctor()
90 This->swvp_only = info.swvp_on; in NineVertexShader9_ctor()
92 This->byte_code.tokens = mem_dup(pFunction, info.byte_size); in NineVertexShader9_ctor()
93 if (!This->byte_code.tokens) in NineVertexShader9_ctor()
95 This->byte_code.size = info.byte_size; in NineVertexShader9_ctor()
[all …]
Dpixelshader9.c34 NinePixelShader9_ctor( struct NinePixelShader9 *This, in NinePixelShader9_ctor() argument
43 DBG("This=%p pParams=%p pFunction=%p cso=%p\n", This, pParams, pFunction, cso); in NinePixelShader9_ctor()
45 hr = NineUnknown_ctor(&This->base, pParams); in NinePixelShader9_ctor()
50 This->ff_cso = cso; in NinePixelShader9_ctor()
53 device = This->base.device; in NinePixelShader9_ctor()
75 This->byte_code.version = info.version; in NinePixelShader9_ctor()
77 This->byte_code.tokens = mem_dup(pFunction, info.byte_size); in NinePixelShader9_ctor()
78 if (!This->byte_code.tokens) in NinePixelShader9_ctor()
80 This->byte_code.size = info.byte_size; in NinePixelShader9_ctor()
82 This->variant.cso = info.cso; in NinePixelShader9_ctor()
[all …]
Dcubetexture9.c35 NineCubeTexture9_ctor( struct NineCubeTexture9 *This, in NineCubeTexture9_ctor() argument
43 struct pipe_resource *info = &This->base.base.info; in NineCubeTexture9_ctor()
54 This, pParams, EdgeLength, Levels, Usage, in NineCubeTexture9_ctor()
57 This->base.base.base.device = pParams->device; /* Early fill this field in case of failure */ in NineCubeTexture9_ctor()
113 hr = NineBaseTexture9_ctor(&This->base, pParams, NULL, D3DRTYPE_CUBETEXTURE, in NineCubeTexture9_ctor()
117 This->base.pstype = 2; in NineCubeTexture9_ctor()
120 level_offsets = alloca(sizeof(unsigned) * This->base.level_count); in NineCubeTexture9_ctor()
123 This->base.level_count-1); in NineCubeTexture9_ctor()
124 This->managed_buffer = nine_allocate(pParams->device->allocator, 6 * face_size); in NineCubeTexture9_ctor()
125 if (!This->managed_buffer) in NineCubeTexture9_ctor()
[all …]
Dnine_lock.c66 LockAuthenticatedChannel9_GetCertificateSize( struct NineAuthenticatedChannel9 *This, in LockAuthenticatedChannel9_GetCertificateSize() argument
71 r = NineAuthenticatedChannel9_GetCertificateSize(This, pCertificateSize); in LockAuthenticatedChannel9_GetCertificateSize()
77 LockAuthenticatedChannel9_GetCertificate( struct NineAuthenticatedChannel9 *This, in LockAuthenticatedChannel9_GetCertificate() argument
83 r = NineAuthenticatedChannel9_GetCertificate(This, CertifacteSize, ppCertificate); in LockAuthenticatedChannel9_GetCertificate()
89 LockAuthenticatedChannel9_NegotiateKeyExchange( struct NineAuthenticatedChannel9 *This, in LockAuthenticatedChannel9_NegotiateKeyExchange() argument
95 r = NineAuthenticatedChannel9_NegotiateKeyExchange(This, DataSize, pData); in LockAuthenticatedChannel9_NegotiateKeyExchange()
101 LockAuthenticatedChannel9_Query( struct NineAuthenticatedChannel9 *This, in LockAuthenticatedChannel9_Query() argument
109 r = NineAuthenticatedChannel9_Query(This, InputSize, pInput, OutputSize, pOutput); in LockAuthenticatedChannel9_Query()
115 LockAuthenticatedChannel9_Configure( struct NineAuthenticatedChannel9 *This, in LockAuthenticatedChannel9_Configure() argument
122 r = NineAuthenticatedChannel9_Configure(This, InputSize, pInput, pOutput); in LockAuthenticatedChannel9_Configure()
[all …]
Dtexture9.c42 NineTexture9_ctor( struct NineTexture9 *This, in NineTexture9_ctor() argument
51 struct pipe_resource *info = &This->base.base.info; in NineTexture9_ctor()
59 This->base.base.base.device = pParams->device; /* Early fill this field in case of failure */ in NineTexture9_ctor()
62 "pSharedHandle=%p\n", This, Width, Height, Levels, in NineTexture9_ctor()
155 hr = NineBaseTexture9_ctor(&This->base, pParams, NULL, D3DRTYPE_TEXTURE, Format, Pool, Usage); in NineTexture9_ctor()
158 This->base.pstype = (Height == 1) ? 1 : 0; in NineTexture9_ctor()
162 level_offsets = alloca(sizeof(unsigned) * This->base.level_count); in NineTexture9_ctor()
165 This->base.level_count-1); in NineTexture9_ctor()
167 level_offsets = alloca(sizeof(unsigned) * This->base.level_count); in NineTexture9_ctor()
171 This->base.level_count-1)); in NineTexture9_ctor()
[all …]
Ddevice9.h193 NineDevice9_ctor( struct NineDevice9 *This,
207 NineDevice9_dtor( struct NineDevice9 *This );
211 nine_resource_create_with_retry( struct NineDevice9 *This,
216 NineDevice9_SetDefaultState( struct NineDevice9 *This, boolean is_reset );
219 NineDevice9_GetScreen( struct NineDevice9 *This );
222 NineDevice9_GetPipe( struct NineDevice9 *This );
225 NineDevice9_GetCaps( struct NineDevice9 *This );
228 NineDevice9_EvictManagedResourcesInternal( struct NineDevice9 *This );
233 NineDevice9_TestCooperativeLevel( struct NineDevice9 *This );
236 NineDevice9_GetAvailableTextureMem( struct NineDevice9 *This );
[all …]
Diunknown.h85 NineUnknown_ctor( struct NineUnknown *This,
89 NineUnknown_dtor( struct NineUnknown *This );
94 NineUnknown_QueryInterface( struct NineUnknown *This,
99 NineUnknown_AddRef( struct NineUnknown *This );
102 NineUnknown_Release( struct NineUnknown *This );
105 NineUnknown_ReleaseWithDtorLock( struct NineUnknown *This );
108 NineUnknown_GetDevice( struct NineUnknown *This,
112 NineUnknown_SetPrivateData( struct NineUnknown *This,
119 NineUnknown_GetPrivateData( struct NineUnknown *This,
125 NineUnknown_FreePrivateData( struct NineUnknown *This,
[all …]
Dquery9.c93 NineQuery9_ctor( struct NineQuery9 *This, in NineQuery9_ctor() argument
101 DBG("This=%p pParams=%p Type=%d\n", This, pParams, Type); in NineQuery9_ctor()
103 hr = NineUnknown_ctor(&This->base, pParams); in NineQuery9_ctor()
107 This->state = NINE_QUERY_STATE_FRESH; in NineQuery9_ctor()
108 This->type = Type; in NineQuery9_ctor()
113 This->pq = nine_context_create_query(device, ptype); in NineQuery9_ctor()
114 if (!This->pq) in NineQuery9_ctor()
120 This->instant = in NineQuery9_ctor()
128 This->result_size = nine_query_result_size(Type); in NineQuery9_ctor()
134 NineQuery9_dtor( struct NineQuery9 *This ) in NineQuery9_dtor() argument
[all …]
Ddevice9ex.c35 NineDevice9Ex_ctor( struct NineDevice9Ex *This, in NineDevice9Ex_ctor() argument
50 This, pParams, pScreen, pCreationParameters, pCaps, in NineDevice9Ex_ctor()
54 return NineDevice9_ctor(&This->base, pParams, in NineDevice9Ex_ctor()
62 NineDevice9Ex_dtor( struct NineDevice9Ex *This ) in NineDevice9Ex_dtor() argument
64 NineDevice9_dtor(&This->base); in NineDevice9Ex_dtor()
68 NineDevice9Ex_SetConvolutionMonoKernel( UNUSED struct NineDevice9Ex *This, in NineDevice9Ex_SetConvolutionMonoKernel() argument
79 NineDevice9Ex_ComposeRects( UNUSED struct NineDevice9Ex *This, in NineDevice9Ex_ComposeRects() argument
94 NineDevice9Ex_PresentEx( struct NineDevice9Ex *This, in NineDevice9Ex_PresentEx() argument
106 This, pSourceRect, pDestRect, hDestWindowOverride, in NineDevice9Ex_PresentEx()
109 for (i = 0; i < This->base.nswapchains; i++) { in NineDevice9Ex_PresentEx()
[all …]
Dbasetexture9.h67 NineBaseTexture9_ctor( struct NineBaseTexture9 *This,
76 NineBaseTexture9_dtor( struct NineBaseTexture9 *This );
79 NineBaseTexture9_SetLOD( struct NineBaseTexture9 *This,
83 NineBaseTexture9_GetLOD( struct NineBaseTexture9 *This );
86 NineBaseTexture9_GetLevelCount( struct NineBaseTexture9 *This );
89 NineBaseTexture9_SetAutoGenFilterType( struct NineBaseTexture9 *This,
93 NineBaseTexture9_GetAutoGenFilterType( struct NineBaseTexture9 *This );
96 NineBaseTexture9_GenerateMipSubLevels( struct NineBaseTexture9 *This );
99 NineBaseTexture9_PreLoad( struct NineBaseTexture9 *This );
102 NineBaseTexture9_UnLoad( struct NineBaseTexture9 *This );
[all …]
Dsurface9.h76 NineSurface9_ctor( struct NineSurface9 *This,
87 NineSurface9_dtor( struct NineSurface9 *This );
92 NineSurface9_MarkContainerDirty( struct NineSurface9 *This );
95 NineSurface9_GetSurface( struct NineSurface9 *This, int sRGB ) in NineSurface9_GetSurface() argument
97 assert(This->surface[sRGB]); in NineSurface9_GetSurface()
98 return This->surface[sRGB]; in NineSurface9_GetSurface()
102 NineSurface9_GetResource( struct NineSurface9 *This ) in NineSurface9_GetResource() argument
104 return This->base.resource; in NineSurface9_GetResource()
108 NineSurface9_SetResource( struct NineSurface9 *This,
112 NineSurface9_SetMultiSampleType( struct NineSurface9 *This,
[all …]
Dvertexdeclaration9.c172 NineVertexDeclaration9_ctor( struct NineVertexDeclaration9 *This, in NineVertexDeclaration9_ctor() argument
178 DBG("This=%p pParams=%p pElements=%p\n", This, pParams, pElements); in NineVertexDeclaration9_ctor()
191 HRESULT hr = NineUnknown_ctor(&This->base, pParams); in NineVertexDeclaration9_ctor()
194 This->nelems = nelems; in NineVertexDeclaration9_ctor()
195 This->decls = CALLOC(This->nelems+1, sizeof(D3DVERTEXELEMENT9)); in NineVertexDeclaration9_ctor()
196 This->elems = CALLOC(This->nelems, sizeof(struct pipe_vertex_element)); in NineVertexDeclaration9_ctor()
197 This->usage_map = CALLOC(This->nelems, sizeof(uint16_t)); in NineVertexDeclaration9_ctor()
198 if (!This->decls || !This->elems || !This->usage_map) { return E_OUTOFMEMORY; } in NineVertexDeclaration9_ctor()
199 memcpy(This->decls, pElements, sizeof(D3DVERTEXELEMENT9)*(This->nelems+1)); in NineVertexDeclaration9_ctor()
201 for (i = 0; i < This->nelems; ++i) { in NineVertexDeclaration9_ctor()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DRBBIDataWrapper.java68 RBBIStateTable This = new RBBIStateTable(); in get() local
69 This.fNumStates = bytes.getInt(); in get()
70 This.fRowLen = bytes.getInt(); in get()
71 This.fFlags = bytes.getInt(); in get()
72 This.fReserved = bytes.getInt(); in get()
74 This.fTable = ICUBinary.getShorts(bytes, lengthOfShorts / 2, lengthOfShorts & 1); in get()
75 return This; in get()
261 RBBIDataWrapper This = new RBBIDataWrapper(); in get() local
266 This.fHeader = new RBBIDataHeader(); in get()
267 This.fHeader.fMagic = bytes.getInt(); in get()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRBBIDataWrapper.java78 RBBIStateTable This = new RBBIStateTable(); in get() local
79 This.fNumStates = bytes.getInt(); in get()
80 This.fRowLen = bytes.getInt(); in get()
81 This.fDictCategoriesStart = bytes.getInt(); in get()
82 This.fLookAheadResultsSize = bytes.getInt(); in get()
83 This.fFlags = bytes.getInt(); in get()
85 …boolean use8Bits = (This.fFlags & RBBIDataWrapper.RBBI_8BITS_ROWS) == RBBIDataWrapper.RBBI_8BITS_R… in get()
87 This.fTable = new char[lengthOfTable]; in get()
90 This.fTable[i] = (char)(0xff & b); // Treat b as unsigned. in get()
94 This.fTable = ICUBinary.getChars(bytes, lengthOfTable / 2, lengthOfTable & 1); in get()
[all …]
/third_party/mesa3d/include/D3D9/
Dd3d9.h442 HRESULT (WINAPI *QueryInterface)(IDirect3D9 *This, REFIID riid, void **ppvObject);
443 ULONG (WINAPI *AddRef)(IDirect3D9 *This);
444 ULONG (WINAPI *Release)(IDirect3D9 *This);
446 HRESULT (WINAPI *RegisterSoftwareDevice)(IDirect3D9 *This, void *pInitializeFunction);
447 UINT (WINAPI *GetAdapterCount)(IDirect3D9 *This);
448 …HRESULT (WINAPI *GetAdapterIdentifier)(IDirect3D9 *This, UINT Adapter, DWORD Flags, D3DADAPTER_IDE…
449 UINT (WINAPI *GetAdapterModeCount)(IDirect3D9 *This, UINT Adapter, D3DFORMAT Format);
450 …HRESULT (WINAPI *EnumAdapterModes)(IDirect3D9 *This, UINT Adapter, D3DFORMAT Format, UINT Mode, D3…
451 HRESULT (WINAPI *GetAdapterDisplayMode)(IDirect3D9 *This, UINT Adapter, D3DDISPLAYMODE *pMode);
452 …HRESULT (WINAPI *CheckDeviceType)(IDirect3D9 *This, UINT Adapter, D3DDEVTYPE DevType, D3DFORMAT Ad…
[all …]
/third_party/icu/icu4c/source/i18n/
Duspoof.cpp253 SpoofImpl *This = SpoofImpl::validateThis(sc, status); in uspoof_close() local
254 delete This; in uspoof_close()
260 SpoofImpl *This = SpoofImpl::validateThis(sc, *status); in uspoof_setChecks() local
261 if (This == NULL) { in uspoof_setChecks()
272 This->fChecks = checks; in uspoof_setChecks()
278 const SpoofImpl *This = SpoofImpl::validateThis(sc, *status); in uspoof_getChecks() local
279 if (This == NULL) { in uspoof_getChecks()
282 return This->fChecks; in uspoof_getChecks()
288 SpoofImpl *This = SpoofImpl::validateThis(sc, status); in uspoof_setRestrictionLevel() local
289 if (This != NULL) { in uspoof_setRestrictionLevel()
[all …]

12345678910>>...413