Home
last modified time | relevance | path

Searched refs:pDesc (Results 1 – 24 of 24) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/nine/
Dvertexbuffer9.c40 D3DVERTEXBUFFER_DESC *pDesc ) in NineVertexBuffer9_ctor() argument
45 pDesc->Size, pDesc->Usage, pDesc->Pool); in NineVertexBuffer9_ctor()
48 pDesc->Usage, pDesc->Size, pDesc->Pool); in NineVertexBuffer9_ctor()
52 pDesc->Type = D3DRTYPE_VERTEXBUFFER; in NineVertexBuffer9_ctor()
53 pDesc->Format = D3DFMT_VERTEXDATA; in NineVertexBuffer9_ctor()
54 This->desc = *pDesc; in NineVertexBuffer9_ctor()
89 D3DVERTEXBUFFER_DESC *pDesc ) in NineVertexBuffer9_GetDesc() argument
91 user_assert(pDesc, E_POINTER); in NineVertexBuffer9_GetDesc()
92 *pDesc = This->desc; in NineVertexBuffer9_GetDesc()
122 D3DVERTEXBUFFER_DESC *pDesc, in NineVertexBuffer9_new() argument
[all …]
Dindexbuffer9.c41 D3DINDEXBUFFER_DESC *pDesc ) in NineIndexBuffer9_ctor() argument
45 This, pParams, pDesc, nine_D3DUSAGE_to_str(pDesc->Usage)); in NineIndexBuffer9_ctor()
48 pDesc->Usage, pDesc->Size, pDesc->Pool); in NineIndexBuffer9_ctor()
55 switch (pDesc->Format) { in NineIndexBuffer9_ctor()
64 pDesc->Type = D3DRTYPE_INDEXBUFFER; in NineIndexBuffer9_ctor()
65 This->desc = *pDesc; in NineIndexBuffer9_ctor()
102 D3DINDEXBUFFER_DESC *pDesc ) in NineIndexBuffer9_GetDesc() argument
104 user_assert(pDesc, E_POINTER); in NineIndexBuffer9_GetDesc()
105 *pDesc = This->desc; in NineIndexBuffer9_GetDesc()
135 D3DINDEXBUFFER_DESC *pDesc, in NineIndexBuffer9_new() argument
[all …]
Dsurface9.c59 D3DSURFACE_DESC *pDesc ) in NineSurface9_ctor() argument
62 bool allocate = !pContainer && pDesc->Format != D3DFMT_NULL; in NineSurface9_ctor()
66 This, pParams->device, pResource, Level, Layer, pDesc); in NineSurface9_ctor()
71 assert(pDesc); in NineSurface9_ctor()
74 pDesc->Format == D3DFMT_NULL); in NineSurface9_ctor()
77 assert(!user_buffer || pDesc->Pool != D3DPOOL_DEFAULT); in NineSurface9_ctor()
78 assert(!pResource || pDesc->Pool == D3DPOOL_DEFAULT); in NineSurface9_ctor()
84 multisample_type = pDesc->MultiSampleType; in NineSurface9_ctor()
88 pDesc->Format, in NineSurface9_ctor()
90 pDesc->MultiSampleQuality, in NineSurface9_ctor()
[all …]
Dvolume9.c57 D3DVOLUME_DESC *pDesc ) in NineVolume9_ctor() argument
64 This, pContainer, pParams->device, pResource, Level, pDesc); in NineVolume9_ctor()
69 user_assert(!(pDesc->Usage & D3DUSAGE_DYNAMIC) || in NineVolume9_ctor()
70 (pDesc->Pool != D3DPOOL_MANAGED), D3DERR_INVALIDCALL); in NineVolume9_ctor()
72 assert(pResource || pDesc->Pool != D3DPOOL_DEFAULT); in NineVolume9_ctor()
85 This->desc = *pDesc; in NineVolume9_ctor()
89 This->info.width0 = pDesc->Width; in NineVolume9_ctor()
90 This->info.height0 = pDesc->Height; in NineVolume9_ctor()
91 This->info.depth0 = pDesc->Depth; in NineVolume9_ctor()
99 pDesc->Format, in NineVolume9_ctor()
[all …]
Dvertexbuffer9.h48 D3DVERTEXBUFFER_DESC *pDesc,
54 D3DVERTEXBUFFER_DESC *pDesc );
77 D3DVERTEXBUFFER_DESC *pDesc );
Dindexbuffer9.h53 D3DINDEXBUFFER_DESC *pDesc,
59 D3DINDEXBUFFER_DESC *pDesc );
83 D3DINDEXBUFFER_DESC *pDesc );
Dsurface9.h71 D3DSURFACE_DESC *pDesc,
83 D3DSURFACE_DESC *pDesc );
159 D3DSURFACE_DESC *pDesc );
Dvolume9.h70 D3DVOLUME_DESC *pDesc,
107 D3DVOLUME_DESC *pDesc );
Dcubetexture9.c190 D3DSURFACE_DESC *pDesc ) in NineCubeTexture9_GetLevelDesc() argument
192 DBG("This=%p Level=%u pDesc=%p\n", This, Level, pDesc); in NineCubeTexture9_GetLevelDesc()
198 *pDesc = This->surfaces[Level * 6]->desc; in NineCubeTexture9_GetLevelDesc()
Dtexture9.c245 D3DSURFACE_DESC *pDesc ) in NineTexture9_GetLevelDesc() argument
247 DBG("This=%p Level=%d pDesc=%p\n", This, Level, pDesc); in NineTexture9_GetLevelDesc()
253 *pDesc = This->surfaces[Level]->desc; in NineTexture9_GetLevelDesc()
Dtexture9.h54 D3DSURFACE_DESC *pDesc );
Dvolumetexture9.h53 D3DVOLUME_DESC *pDesc );
Dcubetexture9.h54 D3DSURFACE_DESC *pDesc );
Dnine_lock.c430 D3DSURFACE_DESC *pDesc )
434 r = NineCubeTexture9_GetLevelDesc(This, Level, pDesc);
2496 D3DINDEXBUFFER_DESC *pDesc )
2500 r = NineIndexBuffer9_GetDesc(This, pDesc);
2685 D3DSURFACE_DESC *pDesc )
2689 r = NineSurface9_GetDesc(This, pDesc);
2912 D3DSURFACE_DESC *pDesc )
2916 r = NineTexture9_GetLevelDesc(This, Level, pDesc);
3024 D3DVERTEXBUFFER_DESC *pDesc )
3028 r = NineVertexBuffer9_GetDesc(This, pDesc);
[all …]
Dvolumetexture9.c153 D3DVOLUME_DESC *pDesc ) in NineVolumeTexture9_GetLevelDesc() argument
157 *pDesc = This->volumes[Level]->desc; in NineVolumeTexture9_GetLevelDesc()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dfrontend.cpp115 CLEAR_DESC *pDesc = (CLEAR_DESC*)pUserData; in ProcessClear() local
120 uint32_t macroTileXMin = pDesc->rect.xmin / KNOB_MACROTILE_X_DIM; in ProcessClear()
121 uint32_t macroTileXMax = (pDesc->rect.xmax - 1) / KNOB_MACROTILE_X_DIM; in ProcessClear()
122 uint32_t macroTileYMin = pDesc->rect.ymin / KNOB_MACROTILE_Y_DIM; in ProcessClear()
123 uint32_t macroTileYMax = (pDesc->rect.ymax - 1) / KNOB_MACROTILE_Y_DIM; in ProcessClear()
128 work.desc.clear = *pDesc; in ProcessClear()
154 STORE_TILES_DESC* pDesc = (STORE_TILES_DESC*)pUserData; in ProcessStoreTiles() local
158 uint32_t macroTileXMin = pDesc->rect.xmin / KNOB_MACROTILE_X_DIM; in ProcessStoreTiles()
159 uint32_t macroTileXMax = (pDesc->rect.xmax - 1) / KNOB_MACROTILE_X_DIM; in ProcessStoreTiles()
160 uint32_t macroTileYMin = pDesc->rect.ymin / KNOB_MACROTILE_Y_DIM; in ProcessStoreTiles()
[all …]
Drasterizer.cpp419 INLINE float ComputeMaxDepthSlope(const SWR_TRIANGLE_DESC* pDesc) in ComputeMaxDepthSlope() argument
444 float dzdx = fabsf(pDesc->recipDet * (pDesc->Z[0] * pDesc->I[0] + pDesc->Z[1] * pDesc->J[0])); in ComputeMaxDepthSlope()
445 float dzdy = fabsf(pDesc->recipDet * (pDesc->Z[0] * pDesc->I[1] + pDesc->Z[1] * pDesc->J[1])); in ComputeMaxDepthSlope()
450 INLINE float ComputeBiasFactor(const SWR_RASTSTATE* pState, const SWR_TRIANGLE_DESC* pDesc, const f… in ComputeBiasFactor() argument
838 void RasterizeTriangle(DRAW_CONTEXT* pDC, uint32_t workerId, uint32_t macroTile, void* pDesc) in RasterizeTriangle() argument
841 const TRIANGLE_WORK_DESC &workDesc = *((TRIANGLE_WORK_DESC*)pDesc); in RasterizeTriangle()
Dbackend.cpp330 …cessStoreTileBE(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t macroTile, STORE_TILES_DESC* pDesc, in ProcessStoreTileBE() argument
366 …es(pDC, attachment, macroTile, pHotTile->renderTargetArrayIndex, pHotTile->clearData, pDesc->rect); in ProcessStoreTileBE()
369 …if (pHotTile->state == HOTTILE_DIRTY || pDesc->postStoreTileState == (SWR_TILE_STATE)HOTTILE_DIRTY) in ProcessStoreTileBE()
381 pHotTile->state = (HOTTILE_STATE)pDesc->postStoreTileState; in ProcessStoreTileBE()
389 STORE_TILES_DESC *pDesc = (STORE_TILES_DESC*)pData; in ProcessStoreTilesBE() local
392 uint32_t mask = pDesc->attachmentMask; in ProcessStoreTilesBE()
396 ProcessStoreTileBE(pDC, workerId, macroTile, pDesc, (SWR_RENDERTARGET_ATTACHMENT)rt); in ProcessStoreTilesBE()
402 DISCARD_INVALIDATE_TILES_DESC *pDesc = (DISCARD_INVALIDATE_TILES_DESC *)pData; in ProcessDiscardInvalidateTilesBE() local
409 if (pDesc->attachmentMask & (1 << i)) in ProcessDiscardInvalidateTilesBE()
412 … pContext, pDC, macroTile, (SWR_RENDERTARGET_ATTACHMENT)i, pDesc->createNewTiles, numSamples); in ProcessDiscardInvalidateTilesBE()
[all …]
Dcontext.h144 typedef void(*PFN_WORK_FUNC)(DRAW_CONTEXT* pDC, uint32_t workerId, uint32_t macroTile, void* pDesc);
191 … void(*PFN_FE_WORK_FUNC)(SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC, uint32_t workerId, void* pDesc);
/external/pdfium/xfa/fgas/font/
Dcfgas_fontmgr.cpp232 const FX_FONTDESCRIPTOR* pDesc = MatchDefaultFont(&params, m_FontFaces); in FindFont() local
233 if (pDesc) in FindFont()
234 return pDesc; in FindFont()
242 pDesc = MatchDefaultFont(&params, namedFonts); in FindFont()
243 if (!pDesc) in FindFont()
246 auto it = std::find(m_FontFaces.rbegin(), m_FontFaces.rend(), *pDesc); in FindFont()
250 m_FontFaces.push_back(*pDesc); in FindFont()
577 bool CFGAS_FontMgr::VerifyUnicode(CFX_FontDescriptor* pDesc, in VerifyUnicode() argument
580 CreateFontStream(pDesc->m_wsFaceName.UTF8Encode()); in VerifyUnicode()
584 FXFT_Face pFace = LoadFace(pFileRead, pDesc->m_nFaceIndex); in VerifyUnicode()
[all …]
Dcfgas_fontmgr.h168 bool VerifyUnicode(CFX_FontDescriptor* pDesc, wchar_t wcUnicode);
/external/pdfium/core/fpdfapi/edit/
Dcpdf_pagecontentgenerator_unittest.cpp246 CPDF_Dictionary* pDesc = pDoc->NewIndirect<CPDF_Dictionary>(); in TEST_F() local
247 pDesc->SetNewFor<CPDF_Name>("Type", "FontDescriptor"); in TEST_F()
248 pDesc->SetNewFor<CPDF_Name>("FontName", pFont->GetBaseFont()); in TEST_F()
250 pDesc->GetObjNum()); in TEST_F()
/external/mesa3d/include/D3D9/
Dd3d9.h152 virtual HRESULT WINAPI GetLevelDesc(UINT Level, D3DSURFACE_DESC *pDesc) = 0;
309 virtual HRESULT WINAPI GetDesc(D3DINDEXBUFFER_DESC *pDesc) = 0;
337 virtual HRESULT WINAPI GetDesc(D3DSURFACE_DESC *pDesc) = 0;
364 virtual HRESULT WINAPI GetLevelDesc(UINT Level, D3DSURFACE_DESC *pDesc) = 0;
375 virtual HRESULT WINAPI GetDesc(D3DVERTEXBUFFER_DESC *pDesc) = 0;
397 virtual HRESULT WINAPI GetDesc(D3DVOLUME_DESC *pDesc) = 0;
404 virtual HRESULT WINAPI GetLevelDesc(UINT Level, D3DVOLUME_DESC *pDesc) = 0;
704 HRESULT (WINAPI *GetLevelDesc)(IDirect3DCubeTexture9 *This, UINT Level, D3DSURFACE_DESC *pDesc);
1319 HRESULT (WINAPI *GetDesc)(IDirect3DIndexBuffer9 *This, D3DINDEXBUFFER_DESC *pDesc);
1473 HRESULT (WINAPI *GetDesc)(IDirect3DSurface9 *This, D3DSURFACE_DESC *pDesc);
[all …]
/external/swiftshader/include/Direct3D/
Dd3d8.h722 STDMETHOD(GetLevelDesc)(THIS_ UINT Level,D3DSURFACE_DESC *pDesc) PURE; in DECLARE_INTERFACE_()
799 STDMETHOD(GetLevelDesc)(THIS_ UINT Level,D3DVOLUME_DESC *pDesc) PURE; in DECLARE_INTERFACE_()
876 STDMETHOD(GetLevelDesc)(THIS_ UINT Level,D3DSURFACE_DESC *pDesc) PURE; in DECLARE_INTERFACE_()
951 STDMETHOD(GetDesc)(THIS_ D3DVERTEXBUFFER_DESC *pDesc) PURE; in DECLARE_INTERFACE_()
1012 STDMETHOD(GetDesc)(THIS_ D3DINDEXBUFFER_DESC *pDesc) PURE; in DECLARE_INTERFACE_()
1068 STDMETHOD(GetDesc)(THIS_ D3DSURFACE_DESC *pDesc) PURE; in DECLARE_INTERFACE_()
1120 STDMETHOD(GetDesc)(THIS_ D3DVOLUME_DESC *pDesc) PURE; in DECLARE_INTERFACE_()