Home
last modified time | relevance | path

Searched refs:texHeight (Results 1 – 25 of 38) sorted by relevance

12

/third_party/flutter/skia/samplecode/
DPerlinPatch.cpp136 SkScalar texHeight = fTexScale * TexHeight; in onDrawContent() local
138 { fTexX - texWidth, fTexY - texHeight}, in onDrawContent()
139 { fTexX + texWidth, fTexY - texHeight}, in onDrawContent()
140 { fTexX + texWidth, fTexY + texHeight}, in onDrawContent()
141 { fTexX - texWidth, fTexY + texHeight}} in onDrawContent()
DSampleVertices.cpp139 void make_fan(Rec* rec, int texWidth, int texHeight) { in make_fan() argument
141 const SkScalar ty = SkIntToScalar(texHeight); in make_fan()
170 void make_strip(Rec* rec, int texWidth, int texHeight) { in make_strip() argument
172 const SkScalar ty = SkIntToScalar(texHeight); in make_strip()
DSampleSlides.cpp287 static void make_fan(Rec* rec, int texWidth, int texHeight) { in make_fan() argument
289 const SkScalar ty = SkIntToScalar(texHeight); in make_fan()
318 static void make_strip(Rec* rec, int texWidth, int texHeight) { in make_strip() argument
320 const SkScalar ty = SkIntToScalar(texHeight); in make_strip()
/third_party/skia/samplecode/
DSampleVertices.cpp139 void make_fan(Rec* rec, int texWidth, int texHeight) { in make_fan() argument
141 const SkScalar ty = SkIntToScalar(texHeight); in make_fan()
170 void make_strip(Rec* rec, int texWidth, int texHeight) { in make_strip() argument
172 const SkScalar ty = SkIntToScalar(texHeight); in make_strip()
DSampleSlides.cpp286 static void make_fan(Rec* rec, int texWidth, int texHeight) { in make_fan() argument
288 const SkScalar ty = SkIntToScalar(texHeight); in make_fan()
317 static void make_strip(Rec* rec, int texWidth, int texHeight) { in make_strip() argument
319 const SkScalar ty = SkIntToScalar(texHeight); in make_strip()
/third_party/vk-gl-cts/modules/gles2/accuracy/
Des2aTextureMipmapTests.cpp259 int texHeight = refTexture.getHeight(); in iterate() local
261 int defViewportHeight = texHeight*4; in iterate()
363 const int bestScoreDiff = (texWidth/16)*(texHeight/16); in iterate()
364 const int worstScoreDiff = texWidth*texHeight; in iterate()
532 int texHeight = m_texture->getRefTexture().getSize(); in iterate() local
535 int defViewportHeight = texHeight*2; in iterate()
630 const int bestScoreDiff = (texWidth/16)*(texHeight/16); in iterate()
631 const int worstScoreDiff = texWidth*texHeight; in iterate()
/third_party/vk-gl-cts/modules/gles3/accuracy/
Des3aTextureMipmapTests.cpp250 int texHeight = refTexture.getHeight(); in iterate() local
252 int defViewportHeight = texHeight*4; in iterate()
355 const int bestScoreDiff = (texWidth/16)*(texHeight/16); in iterate()
356 const int worstScoreDiff = texWidth*texHeight; in iterate()
519 int texHeight = m_texture->getRefTexture().getSize(); in iterate() local
522 int defViewportHeight = texHeight*2; in iterate()
618 const int bestScoreDiff = (texWidth/16)*(texHeight/16); in iterate()
619 const int worstScoreDiff = texWidth*texHeight; in iterate()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DSamplerFilterAnisotropicTests.cpp121 const uint32_t texHeight = textureHeightLevel0 >> level; in InitTexture() local
125 std::vector<RGBA8> data(rowPixels * texHeight, color); in InitTexture()
132 wgpu::Extent3D copySize = {texWidth, texHeight, 1}; in InitTexture()
DTextureViewTests.cpp150 const uint32_t texHeight = textureHeightLevel0 >> level; in initTexture() local
155 std::vector<RGBA8> data(kPaddedTexWidth * texHeight, RGBA8(0, 0, 0, pixelValue)); in initTexture()
162 wgpu::Extent3D copySize = {texWidth, texHeight, 1}; in initTexture()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fVertexTextureTests.cpp582 const int texHeight = 1 << deLog2Ceil32(MAX_2D_RENDER_HEIGHT / 2); in init() local
587 … = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight); in init()
590 const bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight)); in init()
591 const int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1; in init()
888 const int texHeight = 1 << deLog2Ceil32(MAX_CUBE_RENDER_HEIGHT / 2 / 2); in init() local
890 DE_ASSERT(texWidth == texHeight); in init()
891 DE_UNREF(texHeight); in init()
1228 const int texHeight = HEIGHT_2D_ARRAY; in init() local
1234 …ure2DArray(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight, texLayers); in init()
1237 const int numLevels = deLog2Floor32(de::max(texWidth, texHeight)) + 1; in init()
[all …]
Des3fTextureUnitTests.cpp824 …const int texHeight = is2dTex ? TEXTURE_HEIGHT_2D : isCubeTex ? TEXTURE_HEIGHT_CUBE : is2dArr… in init() local
829 …bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight) && deIsPowerOfTwo3… in init()
830 …int numLevels = mipmaps ? deLog2Floor32(de::max(de::max(texWidth, texHeight), texDepth))+1 :… in init()
861 m_textures2d.push_back(new tcu::Texture2D(texFormat, texWidth, texHeight)); in init()
866 DE_ASSERT(texWidth == texHeight); in init()
872 m_textures2dArray.push_back(new tcu::Texture2DArray(texFormat, texWidth, texHeight, texLayers)); in init()
877 m_textures3d.push_back(new tcu::Texture3D(texFormat, texWidth, texHeight, texDepth)); in init()
Des3fTextureMipmapTests.cpp301 const int texHeight = refTexture.getHeight(); in iterate() local
303 const int defViewportHeight = texHeight*4; in iterate()
625 const int texHeight = m_texture->getRefTexture().getSize(); in iterate() local
627 const int defViewportHeight = texHeight*2; in iterate()
1250 const int texHeight = refTexture.getHeight(); in iterate() local
1254 const RandomViewport viewport (renderTarget, texWidth*4, texHeight*4, deStringHash(getName())); in iterate()
1500 const int texHeight = refTexture.getHeight(); in iterate() local
1503 const RandomViewport viewport (renderTarget, texWidth*4, texHeight*4, deStringHash(getName())); in iterate()
1811 const int texHeight = m_texture->getRefTexture().getSize(); in iterate() local
1814 const int defViewportHeight = texHeight*2; in iterate()
[all …]
/third_party/mesa3d/src/mesa/main/
Ddlist.h64 unsigned texWidth, texHeight; member
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fVertexTextureTests.cpp482 const int texHeight = 1 << deLog2Ceil32(MAX_2D_RENDER_HEIGHT / 2); in init() local
487 … = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight); in init()
490 const bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight)); in init()
491 const int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1; in init()
790 const int texHeight = 1 << deLog2Ceil32(MAX_CUBE_RENDER_HEIGHT / 2 / 2); in init() local
792 DE_ASSERT(texWidth == texHeight); in init()
793 DE_UNREF(texHeight); in init()
Des2fTextureUnitTests.cpp646 const int texHeight = is2d ? TEXTURE_HEIGHT_2D : TEXTURE_HEIGHT_CUBE; in init() local
647 bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight)); in init()
648 int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1; in init()
677 …e2D(glu::mapGLTransferFormat(params.format, params.dataType), texWidth, texHeight, isES2Context(m_… in init()
682 DE_ASSERT(texWidth == texHeight); in init()
Des2fTextureMipmapTests.cpp257 const int texHeight = refTexture.getHeight(); in iterate() local
259 const int defViewportHeight = texHeight*4; in iterate()
586 const int texHeight = m_texture->getRefTexture().getSize(); in iterate() local
588 const int defViewportHeight = texHeight*2; in iterate()
/third_party/mesa3d/src/mesa/swrast/
Ds_aalinetemp.h81 line->texWidth[attr], line->texHeight[attr]); in NAME()
186 line.texHeight[attr] = (GLfloat) texImage->Height; in NAME()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DTextureViewTests.cpp140 const uint32_t texHeight = textureHeightLevel0 >> level; in initTexture() local
145 std::vector<RGBA8> data(kPaddedTexWidth * texHeight, RGBA8(0, 0, 0, pixelValue)); in initTexture()
153 dawn::Extent3D copySize = {texWidth, texHeight, 1}; in initTexture()
/third_party/flutter/skia/third_party/externals/dawn/src/utils/
DDawnHelpers.cpp203 uint32_t texHeight, in BasicRenderPass() argument
207 height(texHeight), in BasicRenderPass()
/third_party/skia/third_party/externals/dawn/src/utils/
DWGPUHelpers.cpp151 uint32_t texHeight, in BasicRenderPass() argument
155 height(texHeight), in BasicRenderPass()
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_pixel_buffer_object.txt1448 const int texHeight = 256;
1449 const int texsize = texWidth * texHeight * 4;
1460 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, texWidth, texHeight, 0,
1473 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, texWidth, texHeight,
1492 const int texHeight = 256;
1493 const int texsize = texWidth * texHeight * 4;
1501 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, texWidth, texHeight, 0,
1531 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, texWidth, texHeight,
/third_party/openGLES/extensions/ARB/
DARB_pixel_buffer_object.txt1458 const int texHeight = 256;
1459 const int texsize = texWidth * texHeight * 4;
1470 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, texWidth, texHeight, 0,
1483 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, texWidth, texHeight,
1502 const int texHeight = 256;
1503 const int texsize = texWidth * texHeight * 4;
1511 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, texWidth, texHeight, 0,
1541 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, texWidth, texHeight,
/third_party/openGLES/extensions/NV/
DNV_pixel_buffer_object.txt474 const int texHeight = 256;
475 const int texsize = texWidth * texHeight * 4;
483 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, texWidth, texHeight, 0,
513 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, texWidth, texHeight,
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_pixel_buffer_object.txt474 const int texHeight = 256;
475 const int texsize = texWidth * texHeight * 4;
483 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, texWidth, texHeight, 0,
513 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, texWidth, texHeight,
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_pixel_buffer_object.txt358 texWidth, texHeight, GL_BGRA, GL_UNSIGNED_BYTE, pdrMemory);
397 TexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, texWidth, texHeight,

12