Home
last modified time | relevance | path

Searched refs:tileMode (Results 1 – 25 of 54) sorted by relevance

123

/external/mesa3d/src/amd/addrlib/src/r800/
Dciaddrlib.cpp212 if (SupportDccAndTcCompatibility() && IsMacroTiled(pIn->tileMode)) in HwlComputeDccInfo()
710 (pOut->tileMode != pIn->tileMode) && in HwlComputeSurfaceInfo()
713 …pOut->tcCompatible = CheckTcCompatibility(pOut->pTileInfo, pIn->bpp, pOut->tileMode, pOut->tileTyp… in HwlComputeSurfaceInfo()
754 localIn.tileMode = ADDR_TM_1D_TILED_THIN1; in HwlComputeSurfaceInfo()
791 AddrTileMode tileMode = pIn->tileMode; in HwlComputeFmaskInfo() local
799 ADDR_ASSERT(tileMode == ADDR_TM_2D_TILED_THIN1 || in HwlComputeFmaskInfo()
800 tileMode == ADDR_TM_3D_TILED_THIN1 || in HwlComputeFmaskInfo()
801 tileMode == ADDR_TM_PRT_TILED_THIN1 || in HwlComputeFmaskInfo()
802 tileMode == ADDR_TM_PRT_2D_TILED_THIN1 || in HwlComputeFmaskInfo()
803 tileMode == ADDR_TM_PRT_3D_TILED_THIN1); in HwlComputeFmaskInfo()
[all …]
Degbaddrlib.h149 AddrTileMode tileMode, UINT_32 tileBase, UINT_32 compBits,
162 AddrTileMode tileMode, ADDR_SURFACE_FLAGS flags,
172 AddrTileMode tileMode,
177 AddrTileMode tileMode, UINT_32 bpp, ADDR_SURFACE_FLAGS flags, UINT_32 numSamples) const;
198 AddrTileMode tileMode, UINT_32* pX, UINT_32* pY, UINT_32 slice,
257 AddrTileMode tileMode, UINT_32 baseSwizzle, UINT_32 slice, UINT_64 baseAddr,
270 AddrTileMode tileMode, UINT_32 bankSwizzle, UINT_32 tileSpitSlice,
277 AddrTileMode tileMode, UINT_32 numPipes) const;
280 AddrTileMode tileMode, UINT_32 numBanks,
284 AddrTileMode tileMode, UINT_32 x, UINT_32 y, UINT_32 slice,
[all …]
Degbaddrlib.cpp90 AddrTileMode tileMode = pIn->tileMode; in DispatchComputeSurfaceInfo() local
107 tileMode = DegradeLargeThickTile(tileMode, bpp); in DispatchComputeSurfaceInfo()
145 HwlSetupTileInfo(tileMode, in DispatchComputeSurfaceInfo()
170 switch (tileMode) in DispatchComputeSurfaceInfo()
179 valid = ComputeSurfaceInfoMicroTiled(pIn, pOut, padDims, tileMode); in DispatchComputeSurfaceInfo()
194 valid = ComputeSurfaceInfoMacroTiled(pIn, pOut, padDims, tileMode); in DispatchComputeSurfaceInfo()
237 ComputeSurfaceAlignmentsLinear(pIn->tileMode, in ComputeSurfaceInfoLinear()
244 if ((pIn->tileMode == ADDR_TM_LINEAR_GENERAL) && pIn->flags.color && (pIn->height > 1)) in ComputeSurfaceInfoLinear()
261 PadDimensions(pIn->tileMode, in ComputeSurfaceInfoLinear()
280 logicalSliceSize = HwlGetSizeAdjustmentLinear(pIn->tileMode, in ComputeSurfaceInfoLinear()
[all …]
Dsiaddrlib.cpp669 AddrTileMode tileMode, ///< [in] tile mode in ComputePipeFromCoord() argument
791 UINT_32 microTileThickness = Thickness(tileMode); in ComputePipeFromCoord()
796 switch (tileMode) in ComputePipeFromCoord()
1683 AddrTileMode tileMode, ///< [in] tile mode in HwlGetSizeAdjustmentLinear() argument
1694 if (tileMode == ADDR_TM_LINEAR_GENERAL) in HwlGetSizeAdjustmentLinear()
1805 AddrTileMode tileMode, ///< [in] tile mode in HwlGetPitchAlignmentMicroTiled() argument
1815 pitchAlign = EgBasedLib::HwlGetPitchAlignmentMicroTiled(tileMode,bpp,flags,numSamples); in HwlGetPitchAlignmentMicroTiled()
1948 AddrTileMode tileMode, ///< [in] Tile mode in HwlSetupTileInfo() argument
1960 UINT_32 thickness = Thickness(tileMode); in HwlSetupTileInfo()
1965 if (IsLinear(tileMode) == FALSE) in HwlSetupTileInfo()
[all …]
Dsiaddrlib.h167 AddrTileMode tileMode, UINT_32 pipeSwizzle, BOOL_32 ignoreSE,
185 AddrTileMode tileMode, ADDR_SURFACE_FLAGS flags,
191 AddrTileMode tileMode, UINT_32 bpp, ADDR_SURFACE_FLAGS flags, UINT_32 numSamples) const;
225 AddrTileMode tileMode,
230 AddrTileMode tileMode, UINT_32* pX, UINT_32* pY, UINT_32 slice,
270 AddrTileMode tileMode, UINT_32 bpp, ADDR_SURFACE_FLAGS flags,
Dciaddrlib.h97 AddrTileMode tileMode, ADDR_SURFACE_FLAGS flags,
145 AddrTileMode tileMode, UINT_32 bpp, ADDR_SURFACE_FLAGS flags,
150 AddrTileMode tileMode, UINT_32 bpp, ADDR_SURFACE_FLAGS flags,
183 BOOL_32 CheckTcCompatibility(const ADDR_TILEINFO* pTileInfo, UINT_32 bpp, AddrTileMode tileMode,
/external/mesa3d/src/amd/addrlib/src/core/
Daddrlib1.cpp189 if ((pIn->tileMode == ADDR_TM_UNKNOWN) && (pIn->mipLevel > 0)) in ComputeSurfaceInfo()
195 if ((Thickness(pIn->tileMode) > 1) && (pIn->numSamples > 1)) in ComputeSurfaceInfo()
264 ADDR_ASSERT(IsLinear(localIn.tileMode)); in ComputeSurfaceInfo()
314 &localIn.tileMode, in ComputeSurfaceInfo()
324 &localIn.tileMode, &localIn.tileType); in ComputeSurfaceInfo()
329 ADDR_ASSERT(!IsMacroTiled(localIn.tileMode)); in ComputeSurfaceInfo()
340 if (localIn.tileMode == ADDR_TM_UNKNOWN) in ComputeSurfaceInfo()
483 &input.tileMode, in ComputeSurfaceAddrFromCoord()
490 input.pTileInfo, &input.tileMode, &input.tileType); in ComputeSurfaceAddrFromCoord()
495 ADDR_ASSERT(!IsMacroTiled(input.tileMode)); in ComputeSurfaceAddrFromCoord()
[all …]
Daddrlib1.h373 AddrTileMode DegradeLargeThickTile(AddrTileMode tileMode, UINT_32 bpp) const;
376 AddrTileMode tileMode, UINT_32 bpp, ADDR_SURFACE_FLAGS flags,
382 AddrTileMode tileMode, UINT_32 bpp, ADDR_SURFACE_FLAGS flags, in HwlPadDimensions() argument
404 AddrTileMode tileMode, UINT_32 tileBase, UINT_32 compBits,
409 UINT_32 bpp, AddrTileMode tileMode,
414 UINT_32 bpp, AddrTileMode tileMode, AddrTileType microTileType) const;
419 AddrTileMode tileMode, UINT_32 tileBase, UINT_32 compBits,
440 UINT_32 x, UINT_32 y, UINT_32 slice, AddrTileMode tileMode,
453 AddrTileMode tileMode);
456 static BOOL_32 IsMacroTiled(AddrTileMode tileMode);
[all …]
/external/skqp/gm/
Dpictureshader.cpp90 unsigned tileMode) { in drawSceneColumn() argument
96 this->drawScene(canvas, ctm, localMatrix, tileMode); in drawSceneColumn()
102 this->drawScene(canvas, ctm, localMatrix, tileMode); in drawSceneColumn()
108 this->drawScene(canvas, ctm, localMatrix, tileMode); in drawSceneColumn()
114 this->drawScene(canvas, ctm, localMatrix, tileMode); in drawSceneColumn()
121 this->drawScene(canvas, ctm, localMatrix, tileMode); in drawSceneColumn()
142 unsigned tileMode) { in drawScene() argument
143 SkASSERT(tileMode < SK_ARRAY_COUNT(kTileConfigs)); in drawScene()
154 auto pictureShader = SkShader::MakePictureShader(fPicture, kTileConfigs[tileMode].tmx, in drawScene()
155 kTileConfigs[tileMode].tmy, in drawScene()
[all …]
/external/skia/gm/
Dpictureshader.cpp100 unsigned tileMode) { in drawSceneColumn() argument
106 this->drawScene(canvas, ctm, localMatrix, tileMode); in drawSceneColumn()
112 this->drawScene(canvas, ctm, localMatrix, tileMode); in drawSceneColumn()
118 this->drawScene(canvas, ctm, localMatrix, tileMode); in drawSceneColumn()
124 this->drawScene(canvas, ctm, localMatrix, tileMode); in drawSceneColumn()
131 this->drawScene(canvas, ctm, localMatrix, tileMode); in drawSceneColumn()
152 unsigned tileMode) { in drawScene() argument
153 SkASSERT(tileMode < SK_ARRAY_COUNT(kTileConfigs)); in drawScene()
164 auto pictureShader = fPicture->makeShader(kTileConfigs[tileMode].tmx, in drawScene()
165 kTileConfigs[tileMode].tmy, in drawScene()
[all …]
Dmatrixconvolution.cpp72 sk_sp<SkImageFilter> makeFilter(const SkIPoint &kernelOffset, SkTileMode tileMode, in makeFilter() argument
79 …l.data(), /* gain */ 0.3f, /* bias */ SkIntToScalar(100), kernelOffset, tileMode, convolveAlpha, n… in makeFilter()
86 …l.data(), /* gain */ 0.3f, /* bias */ SkIntToScalar(100), kernelOffset, tileMode, convolveAlpha, n… in makeFilter()
94 SkTileMode tileMode, bool convolveAlpha, in draw() argument
97 paint.setImageFilter(this->makeFilter(kernelOffset, tileMode, convolveAlpha, cropRect)); in draw()
/external/skqp/src/gpu/effects/
DGrMatrixConvolutionEffect.h26 GrTextureDomain::Mode tileMode, in Make() argument
30 gain, bias, kernelOffset, tileMode, convolveAlpha)); in Make()
39 GrTextureDomain::Mode tileMode,
67 GrTextureDomain::Mode tileMode,
DGrMatrixConvolutionEffect.cpp153 GrTextureDomain::Mode tileMode, in GrMatrixConvolutionEffect() argument
159 , fDomain(srcProxy.get(), GrTextureDomain::MakeTexelDomain(srcBounds, tileMode), in GrMatrixConvolutionEffect()
160 tileMode, tileMode) in GrMatrixConvolutionEffect()
303 GrTextureDomain::Mode tileMode, in MakeGaussian() argument
313 gain, bias, kernelOffset, tileMode, convolveAlpha)); in MakeGaussian()
339 GrTextureDomain::Mode tileMode = in TestCreate() local
349 tileMode, in TestCreate()
/external/skia/bench/
DMatrixConvolutionBench.cpp19 MatrixConvolutionBench(bool bigKernel, SkTileMode tileMode, bool convolveAlpha) in MatrixConvolutionBench() argument
22 ToolUtils::tilemode_name(tileMode), in MatrixConvolutionBench()
34 kernelOffset, tileMode, convolveAlpha, in MatrixConvolutionBench()
46 kernelOffset, tileMode, convolveAlpha, in MatrixConvolutionBench()
/external/skqp/include/c/
Dsk_shader.h49 sk_shader_tilemode_t tileMode,
79 sk_shader_tilemode_t tileMode,
138 sk_shader_tilemode_t tileMode,
/external/skia/include/c/
Dsk_shader.h49 sk_shader_tilemode_t tileMode,
79 sk_shader_tilemode_t tileMode,
138 sk_shader_tilemode_t tileMode,
/external/skqp/bench/
DMatrixConvolutionBench.cpp25 MatrixConvolutionBench(SkMatrixConvolutionImageFilter::TileMode tileMode, bool convolveAlpha) in MatrixConvolutionBench() argument
27 name(tileMode), in MatrixConvolutionBench()
38 kernelOffset, tileMode, convolveAlpha, in MatrixConvolutionBench()
/external/skqp/src/effects/imagefilters/
DSkBlurImageFilter.cpp40 SkBlurImageFilter::TileMode tileMode);
76 TileMode tileMode) { in Make() argument
81 new SkBlurImageFilterImpl(sigmaX, sigmaY, input, cropRect, tileMode)); in Make()
103 SkBlurImageFilter::TileMode tileMode) in SkBlurImageFilterImpl() argument
104 : INHERITED(&input, 1, cropRect), fSigma{sigmaX, sigmaY}, fTileMode(tileMode) {} in SkBlurImageFilterImpl()
110 SkBlurImageFilter::TileMode tileMode; in CreateProc() local
112 tileMode = SkBlurImageFilter::kClampToBlack_TileMode; in CreateProc()
114 tileMode = buffer.read32LE(SkBlurImageFilter::kLast_TileMode); in CreateProc()
120 sigmaX, sigmaY, common.getInput(0), &common.cropRect(), tileMode); in CreateProc()
135 static GrTextureDomain::Mode to_texture_domain_mode(SkBlurImageFilter::TileMode tileMode) { in to_texture_domain_mode() argument
[all …]
DSkMatrixConvolutionImageFilter.cpp34 TileMode tileMode, in SkMatrixConvolutionImageFilter() argument
43 , fTileMode(tileMode) in SkMatrixConvolutionImageFilter()
58 TileMode tileMode, in Make() argument
77 tileMode, convolveAlpha, in Make()
106 TileMode tileMode = buffer.read32LE(kLast_TileMode); in CreateProc() local
112 return Make(kernelSize, kernel.get(), gain, bias, kernelOffset, tileMode, in CreateProc()
293 static GrTextureDomain::Mode convert_tilemodes(SkMatrixConvolutionImageFilter::TileMode tileMode) { in convert_tilemodes() argument
294 switch (tileMode) { in convert_tilemodes()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DStoreTile.cpp71 pfnStoreTiles = sStoreTilesTableColor[pDstSurface->tileMode][pDstSurface->format]; in SwrStoreHotTileToSurface()
75 pfnStoreTiles = sStoreTilesTableDepth[pDstSurface->tileMode][pDstSurface->format]; in SwrStoreHotTileToSurface()
79 pfnStoreTiles = sStoreTilesTableStencil[pDstSurface->tileMode][pDstSurface->format]; in SwrStoreHotTileToSurface()
DLoadTile.cpp66 switch (pSrcSurface->tileMode) in SwrLoadHotTile()
89 switch (pSrcSurface->tileMode) in SwrLoadHotTile()
106 switch (pSrcSurface->tileMode) in SwrLoadHotTile()
/external/skia/src/shaders/gradients/
DSk4fGradientBase.cpp141 SkTileMode tileMode, bool premulColors, in init() argument
201 if (tileMode == SkTileMode::kClamp) { in init()
208 } else if (tileMode == SkTileMode::kMirror && reverse) { in init()
223 if (tileMode == SkTileMode::kClamp) { in init()
230 } else if (tileMode == SkTileMode::kMirror && !reverse) { in init()
DSk4fLinearGradient.cpp208 template<ApplyPremul premul, SkTileMode tileMode>
217 const SkScalar fx = pinFx<tileMode>(pt.x()); in shadeSpanInternal()
219 LinearIntervalProcessor<premul, tileMode> proc(fIntervals->begin(), in shadeSpanInternal()
258 template<ApplyPremul premul, SkTileMode tileMode>
278 if (tileMode != SkTileMode::kClamp && !is_vertical) { in LinearIntervalProcessor()
354 if (tileMode == SkTileMode::kClamp) { in next_interval()
/external/skqp/src/shaders/gradients/
DSk4fGradientBase.cpp141 SkShader::TileMode tileMode, bool premulColors, in init() argument
201 if (tileMode == SkShader::kClamp_TileMode) { in init()
208 } else if (tileMode == SkShader::kMirror_TileMode && reverse) { in init()
223 if (tileMode == SkShader::kClamp_TileMode) { in init()
230 } else if (tileMode == SkShader::kMirror_TileMode && !reverse) { in init()
DSk4fLinearGradient.cpp207 template<ApplyPremul premul, SkShader::TileMode tileMode>
216 const SkScalar fx = pinFx<tileMode>(pt.x()); in shadeSpanInternal()
218 LinearIntervalProcessor<premul, tileMode> proc(fIntervals->begin(), in shadeSpanInternal()
257 template<ApplyPremul premul, SkShader::TileMode tileMode>
277 if (tileMode != kClamp_TileMode && !is_vertical) { in LinearIntervalProcessor()
353 if (tileMode == kClamp_TileMode) { in next_interval()

123