Home
last modified time | relevance | path

Searched refs:getWidth (Results 1 – 25 of 702) sorted by relevance

12345678910>>...29

/third_party/vk-gl-cts/framework/opengl/
DgluPixelTransfer.cpp54 TCU_CHECK_INTERNAL(dst.getRowPitch() == dst.getFormat().getPixelSize()*dst.getWidth()); in readPixels()
56 int width = dst.getWidth(); in readPixels()
73 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth()); in texImage2D()
75 int width = src.getWidth(); in texImage2D()
91 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth()); in texImage3D()
94 int width = src.getWidth(); in texImage3D()
112 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth()); in texSubImage2D()
114 int width = src.getWidth(); in texSubImage2D()
130 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth()); in texSubImage3D()
133 int width = src.getWidth(); in texSubImage3D()
DgluTexture.cpp97 …gl.texImage1D(GL_TEXTURE_1D, levelNdx, m_format, access.getWidth(), 0 /* border */, transferFormat… in upload()
133 …, m_refTexture (getUncompressedFormat(levels[0].getFormat()), levels[0].getWidth(), levels[0].get… in Texture2D()
180 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload()
181 …gl.texImage2D(GL_TEXTURE_2D, levelNdx, m_format, access.getWidth(), access.getHeight(), 0 /* borde… in upload()
202 TCU_CHECK(level.getWidth() == refLevelAccess.getWidth() && in loadCompressed()
208 level.getWidth(), level.getHeight(), 0 /* border */, level.getDataSize(), level.getData()); in loadCompressed()
233 …w Texture2D(context, isRGBA ? GL_RGBA : GL_RGB, GL_UNSIGNED_BYTE, level.getWidth(), level.getHeigh… in create()
306 …gl.texStorage2D(GL_TEXTURE_2D, m_refTexture.getNumLevels(), m_format, m_refTexture.getWidth(), m_r… in upload()
313 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload()
314 …gl.texSubImage2D(GL_TEXTURE_2D, levelNdx, 0, 0, access.getWidth(), access.getHeight(), transferFo… in upload()
[all …]
DgluTextureTestUtil.cpp400 tcu::IVec2 dstSize = tcu::IVec2(dst.getWidth(), dst.getHeight()); in sampleTextureNonProjected()
401 int srcSize = src.getWidth(); in sampleTextureNonProjected()
410 for (int x = 0; x < dst.getWidth(); x++) in sampleTextureNonProjected()
413 float xf = ((float)x + 0.5f) / (float)dst.getWidth(); in sampleTextureNonProjected()
436 tcu::IVec2 dstSize = tcu::IVec2(dst.getWidth(), dst.getHeight()); in sampleTextureNonProjected()
437 tcu::IVec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight()); in sampleTextureNonProjected()
447 for (int x = 0; x < dst.getWidth(); x++) in sampleTextureNonProjected()
450 float xf = ((float)x + 0.5f) / (float)dst.getWidth(); in sampleTextureNonProjected()
481 float dstW = (float)dst.getWidth(); in sampleTextureProjected()
484 tcu::Vec4 uq = sq * (float)src.getWidth(); in sampleTextureProjected()
[all …]
/third_party/vk-gl-cts/framework/common/
DtcuFuzzyImageCompare.cpp126 int w = src.getWidth(); in bilinearSample()
164 DE_ASSERT(dst.getWidth() == src.getWidth() && dst.getHeight() == src.getHeight()); in separableConvolve()
166 TextureLevel tmp (dst.getFormat(), dst.getHeight(), dst.getWidth()); in separableConvolve()
176 for (int i = 0; i < src.getWidth(); i++) in separableConvolve()
183 deUint32 p = readUnorm8<SrcChannels>(src, de::clamp(i+kx-shiftX, 0, src.getWidth()-1), j); in separableConvolve()
195 for (int i = 0; i < src.getWidth(); i++) in separableConvolve()
202 deUint32 p = readUnorm8<DstChannels>(tmpAccess, de::clamp(j+ky-shiftY, 0, tmp.getWidth()-1), i); in separableConvolve()
239 if (!deInBounds32(dx, 0, surface.getWidth()) || !deInBounds32(dy, 0, surface.getHeight())) in distSquaredToNeighbor()
275 DE_ASSERT(ref.getWidth() == cmp.getWidth() && ref.getHeight() == cmp.getHeight()); in fuzzyCompare()
276 DE_ASSERT(errorMask.getWidth() == ref.getWidth() && errorMask.getHeight() == ref.getHeight()); in fuzzyCompare()
[all …]
DtcuBilinearImageCompare.cpp93 DE_ASSERT(x1 < (deUint32)access.getWidth()); in bilinearSampleRGBA8()
122 const deUint32 x2 = (deUint32)de::min(x+1, reference.getWidth()-1); in comparePixelRGBA8()
179 if (!de::inBounds(u, 0, (reference.getWidth()-1)<<NUM_SUBPIXEL_BITS) || in comparePixelRGBA8()
203 for (int x = 0; x < reference.getWidth(); x++) in bilinearCompareRGBA8()
221 DE_ASSERT(reference.getWidth() == result.getWidth() && in bilinearCompare()
225 DE_ASSERT(reference.getWidth() == errorMask.getWidth() && in bilinearCompare()
DtcuImageCompare.cpp95 const int width = reference.getWidth(); in findNumPositionDeviationFailingPixels()
108 …TCU_CHECK_INTERNAL(result.getWidth() == width && result.getHeight() == height && result.getDepth()… in findNumPositionDeviationFailingPixels()
220 …TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.getWidth(), reference.getH… in fuzzyCompare()
294 DE_ASSERT(ref.getWidth() == cmp.getWidth() && ref.getWidth() == diffMask.getWidth()); in computeSquaredDiffSum()
301 for (int x = 0; x < cmp.getWidth(); x++) in computeSquaredDiffSum()
337 …TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.getWidth(), reference.getH… in measurePixelDiffAccuracy()
490 int width = reference.getWidth(); in floatUlpThresholdCompare()
499 …TCU_CHECK(result.getWidth() == width && result.getHeight() == height && result.getDepth() == depth… in floatUlpThresholdCompare()
576 int width = reference.getWidth(); in floatThresholdCompare()
585 …TCU_CHECK_INTERNAL(result.getWidth() == width && result.getHeight() == height && result.getDepth()… in floatThresholdCompare()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DRenderbuffer.cpp115 GLsizei RenderbufferTexture2D::getWidth() const in getWidth() function in es2::RenderbufferTexture2D
117 return mTexture2D->getWidth(GL_TEXTURE_2D, mLevel); in getWidth()
178 GLsizei RenderbufferTexture2DRect::getWidth() const in getWidth() function in es2::RenderbufferTexture2DRect
180 return mTexture2DRect->getWidth(GL_TEXTURE_RECTANGLE_ARB, 0); in getWidth()
241 GLsizei RenderbufferTexture3D::getWidth() const in getWidth() function in es2::RenderbufferTexture3D
243 return mTexture3D->getWidth(mTexture3D->getTarget(), mLevel); in getWidth()
309 GLsizei RenderbufferTextureCubeMap::getWidth() const in getWidth() function in es2::RenderbufferTextureCubeMap
311 return mTextureCubeMap->getWidth(mTarget, mLevel); in getWidth()
377 GLsizei Renderbuffer::getWidth() const in getWidth() function in es2::Renderbuffer
379 return mInstance->getWidth(); in getWidth()
[all …]
DTexture.cpp349 …image->loadImageData(0, 0, 0, image->getWidth(), image->getHeight(), depth, format, type, unpackPa… in setImage()
358 …image->loadCompressedData(0, 0, 0, image->getWidth(), image->getHeight(), depth, imageSize, pixels… in setCompressedImage()
498 GLsizei Texture2D::getWidth(GLenum target, GLint level) const in getWidth() function in es2::Texture2D
501 return image[level] ? image[level]->getWidth() : 0; in getWidth()
646 sourceRect.clip(0, 0, renderTarget->getWidth(), renderTarget->getHeight()); in copyImage()
661 …if(xoffset + width > image[level]->getWidth() || yoffset + height > image[level]->getHeight() || z… in copySubImage()
677 sourceRect.clip(0, 0, renderTarget->getWidth(), renderTarget->getHeight()); in copySubImage()
709 GLsizei width = image[mBaseLevel]->getWidth(); in isBaseLevelDefined()
752 GLsizei width = image[mBaseLevel]->getWidth(); in isMipmapComplete()
772 if(image[level]->getWidth() != std::max(1, width >> i)) in isMipmapComplete()
[all …]
DRenderbuffer.h53 virtual GLsizei getWidth() const = 0;
84 GLsizei getWidth() const override;
111 GLsizei getWidth() const override;
134 GLsizei getWidth() const override;
162 GLsizei getWidth() const override;
190 GLsizei getWidth() const override;
223 GLsizei getWidth() const;
/third_party/vk-gl-cts/framework/referencerenderer/
DrrMultisamplePixelBufferAccess.cpp55 tcu::IVec3(1, original.getWidth(), original.getHeight()), in fromSinglesampleAccess()
95 tcu::IVec3(1, original.getWidth(), original.getHeight()), in fromSinglesampleAccess()
117 DE_ASSERT(dst.getWidth() == src.raw().getHeight()); in resolveMultisampleColorBuffer()
130 for (int x = 0; x < dst.getWidth(); x++) in resolveMultisampleColorBuffer()
133 for (int s = 0; s < src.raw().getWidth(); s++) in resolveMultisampleColorBuffer()
143 DE_ASSERT(dst.getWidth() == src.raw().getHeight()); in resolveMultisampleDepthBuffer()
159 for (int x = 0; x < dst.getWidth(); x++) in resolveMultisampleDepthBuffer()
172 DE_ASSERT(dst.getWidth() == src.raw().getHeight()); in resolveMultisampleStencilBuffer()
187 for (int x = 0; x < dst.getWidth(); x++) in resolveMultisampleStencilBuffer()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fDepthRangeTests.cpp145 const int viewportW = de::min(128, renderTarget.getWidth()); in iterate()
147 const int viewportX = rnd.getInt(0, renderTarget.getWidth()-viewportW); in iterate()
232 …int half = de::clamp((int)((float)referenceFrame.getWidth()*0.5f + 0.5f), 0, referenceFrame.getWi… in iterate()
237 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth(); in iterate()
245 for (int x = half; x < referenceFrame.getWidth(); x++) in iterate()
247 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth(); in iterate()
248 float xh = ((float)(x - half) + 0.5f) / (float)(referenceFrame.getWidth()-half); in iterate()
294 const int viewportW = de::min(128, renderTarget.getWidth()); in iterate()
296 const int viewportX = rnd.getInt(0, renderTarget.getWidth()-viewportW); in iterate()
378 for (int x = 0; x < referenceFrame.getWidth(); x++) in iterate()
[all …]
Des2fShaderBuiltinVarTests.cpp282 const int width = m_context.getRenderTarget().getWidth(); in iterate()
335 for (int x = 0; x < refImg.getWidth(); x++) in iterate()
337 const float xf = (float(x)+.5f) / float(refImg.getWidth()); in iterate()
376 const int width = m_context.getRenderTarget().getWidth(); in iterate()
427 for (int x = 0; x < refImg.getWidth(); x++) in iterate()
429 const float xf = (float(x)+.5f) / float(refImg.getWidth()); in iterate()
463 const int width = de::min(256, m_context.getRenderTarget().getWidth()); in iterate()
514 const int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth()-width); in iterate()
551 if (de::inBounds(dx, 0, refImg.getWidth()) && de::inBounds(dy, 0, refImg.getHeight())) in iterate()
585 const int width = de::min(64, m_context.getRenderTarget().getWidth()); in iterate()
[all …]
Des2fClipControlTests.cpp142 for (int x = 0; x < result.getWidth() && depthOk; x++) in fuzzyDepthCompare()
175 glw::GLuint viewportW = renderTarget.getWidth(); in init()
503 glw::GLsizei viewportW = renderTarget.getWidth(); in ValidateFramebuffer()
514 for (int x = 0; x < renderedFrame.getWidth(); x++) in ValidateFramebuffer()
517 float xCoord = (float)(x) / (float)renderedFrame.getWidth(); in ValidateFramebuffer()
705 glw::GLsizei viewportW = renderTarget.getWidth(); in ValidateFramebuffer()
713 for (int x = 0; x < renderedColorFrame.getWidth(); x++) in ValidateFramebuffer()
715 float xCoord = (float)(x) / (float)renderedColorFrame.getWidth(); in ValidateFramebuffer()
785 glw::GLsizei windowW = renderTarget.getWidth(); in deinit()
813 glw::GLsizei windowW = renderTarget.getWidth(); in iterate()
[all …]
Des2fDitheringTests.cpp245 const int viewportWid = de::min(m_renderCtx.getRenderTarget().getWidth(), maxViewportWid); in drawAndCheckGradient()
247 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWid); in drawAndCheckGradient()
287 for (int x = 0; x < renderedImg.getWidth(); x++) in drawAndCheckGradient()
289 … : x) + 0.5f) / (float)(isVerticallyIncreasing ? renderedImg.getHeight() : renderedImg.getWidth()); in drawAndCheckGradient()
318 …ncreasingDirectionSize = isVerticallyIncreasing ? renderedImg.getHeight() : renderedImg.getWidth(); in drawAndCheckGradient()
319 …const int constantDirectionSize = isVerticallyIncreasing ? renderedImg.getWidth() : renderedImg.ge… in drawAndCheckGradient()
364 const int viewportWid = de::min(m_renderCtx.getRenderTarget().getWidth(), maxViewportWid); in drawAndCheckUnicoloredQuad()
366 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWid); in drawAndCheckUnicoloredQuad()
402 for (int x = 0; x < renderedImg.getWidth(); x++) in drawAndCheckUnicoloredQuad()
434 for (int x = 0; x < renderedImg.getWidth(); x++) in drawAndCheckUnicoloredQuad()
Des2fDepthStencilClearTests.cpp202 int width = renderTarget.getWidth(); in iterate()
230 int width = renderTarget.getWidth(); in generateClears()
408 …tcu::TextureLevel depthBufRow (getDepthFormat(renderTarget.getDepthBits()), dst.getWidth(), 1, 1… in renderReference()
414 for (int x = 0; x < rowAccess.getWidth(); x++) in renderReference()
424 …tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.g… in renderReference()
435 for (int x = 0; x < dst.getWidth(); x++) in renderReference()
451 tcu::TextureLevel depthBufRow (getStencilFormat(stencilBits), dst.getWidth(), 1, 1); in renderReference()
458 for (int x = 0; x < rowAccess.getWidth(); x++) in renderReference()
468 …tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.g… in renderReference()
483 for (int x = 0; x < dst.getWidth(); x++) in renderReference()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fFragDepthTests.cpp129 int viewportW = de::min(128, renderTarget.getWidth()); in iterate()
131 int viewportX = rnd.getInt(0, renderTarget.getWidth()-viewportW); in iterate()
239 …int half = de::clamp((int)((float)referenceFrame.getWidth()*0.5f + 0.5f), 0, referenceFrame.getWi… in iterate()
244 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth(); in iterate()
252 for (int x = half; x < referenceFrame.getWidth(); x++) in iterate()
254 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth(); in iterate()
255 float xh = ((float)(x - half) + 0.5f) / (float)(referenceFrame.getWidth()-half); in iterate()
300 int viewportW = de::min(128, renderTarget.getWidth()); in iterate()
302 int viewportX = rnd.getInt(0, renderTarget.getWidth()-viewportW); in iterate()
404 for (int x = 0; x < referenceFrame.getWidth(); x++) in iterate()
[all …]
Des3fFboInvalidateTests.cpp196 readPixels(dst, 0, 0, getWidth(), getHeight()); in render()
232 …glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA8, getWidth(), getHeight(), 0, GL_RGBA, GL_UNSIGNED_BYTE,… in render()
291 readPixels(dst, 0, 0, getWidth(), getHeight()); in render()
309 int invalidateX = getWidth() / 4; in render()
311 int invalidateW = getWidth() / 2; in render()
345 readPixels(dst, 0, 0, getWidth(), getHeight()); in render()
373 int invalidateX = getWidth() / 4; in render()
375 int invalidateW = getWidth() / 2; in render()
390 …glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA8, getWidth(), getHeight(), 0, GL_RGBA, GL_UNSIGNED_BYTE,… in render()
435 readPixels(dst, 0, 0, getWidth(), getHeight()); in render()
[all …]
Des3fDitheringTests.cpp251 const int viewportWid = de::min(m_renderCtx.getRenderTarget().getWidth(), maxViewportWid); in drawAndCheckGradient()
253 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWid); in drawAndCheckGradient()
293 for (int x = 0; x < renderedImg.getWidth(); x++) in drawAndCheckGradient()
295 … : x) + 0.5f) / (float)(isVerticallyIncreasing ? renderedImg.getHeight() : renderedImg.getWidth()); in drawAndCheckGradient()
297 …const bool increaseTol = ((renderedImg.getWidth() < 300) || (renderedImg.getHeigh… in drawAndCheckGradient()
325 …ncreasingDirectionSize = isVerticallyIncreasing ? renderedImg.getHeight() : renderedImg.getWidth(); in drawAndCheckGradient()
326 …const int constantDirectionSize = isVerticallyIncreasing ? renderedImg.getWidth() : renderedImg.ge… in drawAndCheckGradient()
369 const int viewportWid = de::min(m_renderCtx.getRenderTarget().getWidth(), maxViewportWid); in drawAndCheckUnicoloredQuad()
371 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWid); in drawAndCheckUnicoloredQuad()
407 for (int x = 0; x < renderedImg.getWidth(); x++) in drawAndCheckUnicoloredQuad()
[all …]
Des3fShaderBuiltinVarTests.cpp297 const int width = m_context.getRenderTarget().getWidth(); in iterate()
353 for (int x = 0; x < refImg.getWidth(); x++) in iterate()
355 const float xf = (float(x)+.5f) / float(refImg.getWidth()); in iterate()
394 const int width = m_context.getRenderTarget().getWidth(); in iterate()
448 for (int x = 0; x < refImg.getWidth(); x++) in iterate()
450 const float xf = (float(x)+.5f) / float(refImg.getWidth()); in iterate()
484 const int width = de::min(256, m_context.getRenderTarget().getWidth()); in iterate()
538 const int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth()-width); in iterate()
575 if (de::inBounds(dx, 0, refImg.getWidth()) && de::inBounds(dy, 0, refImg.getHeight())) in iterate()
609 const int width = de::min(64, m_context.getRenderTarget().getWidth()); in iterate()
[all …]
Des3fDepthStencilClearTests.cpp205 int width = renderTarget.getWidth(); in iterate()
233 int width = renderTarget.getWidth(); in generateClears()
411 …tcu::TextureLevel depthBufRow (getDepthFormat(renderTarget.getDepthBits()), dst.getWidth(), 1, 1… in renderReference()
417 for (int x = 0; x < rowAccess.getWidth(); x++) in renderReference()
427 …tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.g… in renderReference()
438 for (int x = 0; x < dst.getWidth(); x++) in renderReference()
454 tcu::TextureLevel depthBufRow (getStencilFormat(stencilBits), dst.getWidth(), 1, 1); in renderReference()
461 for (int x = 0; x < rowAccess.getWidth(); x++) in renderReference()
471 …tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.g… in renderReference()
486 for (int x = 0; x < dst.getWidth(); x++) in renderReference()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcFragDepthTests.cpp146 int viewportW = de::min(128, renderTarget.getWidth()); in iterate()
148 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportW); in iterate()
237 …nt half = de::clamp((int)((float)referenceFrame.getWidth() * 0.5f + 0.5f), 0, referenceFrame.get… in iterate()
242 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth(); in iterate()
250 for (int x = half; x < referenceFrame.getWidth(); x++) in iterate()
252 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth(); in iterate()
253 float xh = ((float)x - (float)half + 0.5f) / (float)(referenceFrame.getWidth() - half); in iterate()
299 int viewportW = de::min(128, renderTarget.getWidth()); in iterate()
301 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportW); in iterate()
389 for (int x = 0; x < referenceFrame.getWidth(); x++) in iterate()
[all …]
/third_party/vk-gl-cts/modules/egl/
DteglImageFormatTests.cpp484 gl.viewport(0, 0, reference.getWidth(), reference.getHeight()); in invokeGLES()
536 tcu::Surface refSurface (reference.getWidth(), reference.getHeight()); in invokeGLES()
537 tcu::Surface screen (reference.getWidth(), reference.getHeight()); in invokeGLES()
538 …GLU_CHECK_GLW_CALL(gl, readPixels(0, 0, screen.getWidth(), screen.getHeight(), GL_RGBA, GL_UNSIGNE… in invokeGLES()
556 gl.viewport(0, 0, reference.getWidth(), reference.getHeight()); in invokeGLES()
573 reference.getWidth(), // Width in invokeGLES()
642 tcu::Surface refSurface (reference.getWidth(), reference.getHeight()); in invokeGLES()
643 tcu::Surface screen (reference.getWidth(), reference.getHeight()); in invokeGLES()
644 …GLU_CHECK_GLW_CALL(gl, readPixels(0, 0, screen.getWidth(), screen.getHeight(), GL_RGBA, GL_UNSIGNE… in invokeGLES()
663 gl.viewport(0, 0, reference.getWidth(), reference.getHeight()); in invokeGLES()
[all …]
/third_party/vk-gl-cts/modules/internal/
DditTextureFormatTests.cpp1272 const int numPixels = getInputAccess(storageFormat).getWidth(); in getReferenceValues()
1336 for (int ndx = 0; ndx < src.getWidth(); ndx++) in copyPixels()
1342 for (int ndx = 0; ndx < src.getWidth(); ndx++) in copyGetSetDepth()
1348 for (int ndx = 0; ndx < src.getWidth(); ndx++) in copyGetSetStencil()
1430 const int numPixels = src.getWidth(); in verifyRead()
1478 for (int pixelNdx = 0; pixelNdx < refAccess.getWidth(); pixelNdx++) in verifyGetPixDepth()
1498 for (int pixelNdx = 0; pixelNdx < refAccess.getWidth(); pixelNdx++) in verifyGetPixStencil()
1543 vector<deUint8> tmpMem (getPixelSize(inputAccess.getFormat())*inputAccess.getWidth()); in iterate()
1544 …const PixelBufferAccess tmpAccess (inputAccess.getFormat(), inputAccess.getWidth(), 1, 1, &tmpM… in iterate()
1576 vector<deUint8> tmpMem (getPixelSize(inputAccess.getFormat())*inputAccess.getWidth()); in iterate()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cClipControlTests.cpp154 for (int x = 0; x < result.getWidth() && depthOk; x++) in fuzzyDepthCompare()
187 glw::GLuint viewportW = renderTarget.getWidth(); in init()
511 glw::GLuint viewportW = renderTarget.getWidth(); in ValidateFramebuffer()
522 for (int x = 0; x < renderedFrame.getWidth(); x++) in ValidateFramebuffer()
525 float xCoord = (float)(x) / (float)renderedFrame.getWidth(); in ValidateFramebuffer()
696 glw::GLuint viewportW = renderTarget.getWidth(); in ValidateFramebuffer()
708 2.0f / (float)renderedColorFrame.getHeight() + 2.0f / (float)renderedColorFrame.getWidth(); in ValidateFramebuffer()
714 for (int x = 0; x < renderedColorFrame.getWidth(); x++) in ValidateFramebuffer()
716 float xCoord = ((float)(x) + 0.5f) / (float)renderedColorFrame.getWidth(); in ValidateFramebuffer()
885 glw::GLuint viewportW = renderTarget.getWidth(); in ValidateFramebuffer()
[all …]
/third_party/skia/src/effects/
DSkDashPathEffect.cpp49 SkScalar radius = SkScalarHalf(rec.getWidth()); in outset_for_stroke()
169 if (0 >= rec.getWidth()) { in onAsPoints()
219 results->fSize.set(SkScalarHalf(fIntervals[0]), SkScalarHalf(rec.getWidth())); in onAsPoints()
222 results->fSize.set(SkScalarHalf(rec.getWidth()), SkScalarHalf(fIntervals[0])); in onAsPoints()
293 halfHeight = SkScalarHalf(rec.getWidth()); in onAsPoints()
295 halfWidth = SkScalarHalf(rec.getWidth()); in onAsPoints()
344 halfHeight = SkScalarHalf(rec.getWidth()); in onAsPoints()
346 halfWidth = SkScalarHalf(rec.getWidth()); in onAsPoints()

12345678910>>...29