/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | DrawBuffersTest.cpp | 65 for (size_t texIndex = 0; texIndex < ArraySize(mTextures); texIndex++) in setupTest() local 67 glBindTexture(GL_TEXTURE_2D, mTextures[texIndex]); in setupTest() 337 for (GLuint texIndex = 0; texIndex < halfMaxDrawBuffers; texIndex++) in TEST_P() local 339 glBindTexture(GL_TEXTURE_2D, mTextures[texIndex]); in TEST_P() 340 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + halfMaxDrawBuffers + texIndex, in TEST_P() 341 GL_TEXTURE_2D, mTextures[texIndex], 0); in TEST_P() 342 flags[texIndex + halfMaxDrawBuffers] = true; in TEST_P() 343 bufs[texIndex + halfMaxDrawBuffers] = GL_COLOR_ATTACHMENT0 + halfMaxDrawBuffers + texIndex; in TEST_P() 352 for (GLuint texIndex = 0; texIndex < halfMaxDrawBuffers; texIndex++) in TEST_P() local 354 verifyAttachment2D(texIndex + halfMaxDrawBuffers, mTextures[texIndex], GL_TEXTURE_2D, 0); in TEST_P() [all …]
|
D | TextureTest.cpp | 3660 RGBA8 getPixel(GLint texIndex) in getPixel() argument 3662 RGBA8 pixel = {static_cast<uint8_t>(texIndex & 0x7u), static_cast<uint8_t>(texIndex >> 3), in getPixel() 3676 GLint texIndex = 0; in initTextures() local 3677 for (; texIndex < tex2DCount; ++texIndex) in initTextures() 3679 texData.assign(texData.size(), getPixel(texIndex)); in initTextures() 3680 glActiveTexture(GL_TEXTURE0 + texIndex); in initTextures() 3681 glBindTexture(GL_TEXTURE_2D, mTextures[texIndex]); in initTextures() 3692 for (; texIndex < texCubeCount; ++texIndex) in initTextures() 3694 texData.assign(texData.size(), getPixel(texIndex)); in initTextures() 3695 glActiveTexture(GL_TEXTURE0 + texIndex); in initTextures() [all …]
|
D | GLSLTest.cpp | 562 for (size_t texIndex = 0; texIndex < ArraySize(textures); texIndex++) in TEST_P() local 564 glBindTexture(GL_TEXTURE_2D, textures[texIndex]); in TEST_P() 599 for (GLuint texIndex = 0; texIndex < kMaxBuffers; texIndex++) in TEST_P() local 601 glBindTexture(GL_TEXTURE_2D, textures[texIndex]); in TEST_P() 602 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + texIndex, GL_TEXTURE_2D, in TEST_P() 603 textures[texIndex], 0); in TEST_P() 604 glFramebufferTexture2D(GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + texIndex, GL_TEXTURE_2D, in TEST_P() 605 textures[texIndex], 0); in TEST_P()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | DrawBuffersTest.cpp | 65 for (size_t texIndex = 0; texIndex < ArraySize(mTextures); texIndex++) in setupTest() local 67 glBindTexture(GL_TEXTURE_2D, mTextures[texIndex]); in setupTest() 426 for (GLuint texIndex = 0; texIndex < halfMaxDrawBuffers; texIndex++) in TEST_P() local 428 glBindTexture(GL_TEXTURE_2D, mTextures[texIndex]); in TEST_P() 429 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + halfMaxDrawBuffers + texIndex, in TEST_P() 430 GL_TEXTURE_2D, mTextures[texIndex], 0); in TEST_P() 431 flags[texIndex + halfMaxDrawBuffers] = true; in TEST_P() 432 bufs[texIndex + halfMaxDrawBuffers] = GL_COLOR_ATTACHMENT0 + halfMaxDrawBuffers + texIndex; in TEST_P() 441 for (GLuint texIndex = 0; texIndex < halfMaxDrawBuffers; texIndex++) in TEST_P() local 443 verifyAttachment2D(texIndex + halfMaxDrawBuffers, mTextures[texIndex], GL_TEXTURE_2D, 0); in TEST_P() [all …]
|
D | TextureTest.cpp | 6819 RGBA8 getPixel(GLint texIndex) in getPixel() argument 6821 RGBA8 pixel = {static_cast<uint8_t>(texIndex & 0x7u), static_cast<uint8_t>(texIndex >> 3), in getPixel() 6835 GLint texIndex = 0; in initTextures() local 6836 for (; texIndex < tex2DCount; ++texIndex) in initTextures() 6838 texData.assign(texData.size(), getPixel(texIndex)); in initTextures() 6839 glActiveTexture(GL_TEXTURE0 + texIndex); in initTextures() 6840 glBindTexture(GL_TEXTURE_2D, mTextures[texIndex]); in initTextures() 6851 for (; texIndex < texCubeCount; ++texIndex) in initTextures() 6853 texData.assign(texData.size(), getPixel(texIndex)); in initTextures() 6854 glActiveTexture(GL_TEXTURE0 + texIndex); in initTextures() [all …]
|
D | GLSLTest.cpp | 819 for (size_t texIndex = 0; texIndex < ArraySize(textures); texIndex++) in TEST_P() local 821 glBindTexture(GL_TEXTURE_2D, textures[texIndex]); in TEST_P() 856 for (GLuint texIndex = 0; texIndex < kMaxBuffers; texIndex++) in TEST_P() local 858 glBindTexture(GL_TEXTURE_2D, textures[texIndex]); in TEST_P() 859 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + texIndex, GL_TEXTURE_2D, in TEST_P() 860 textures[texIndex], 0); in TEST_P() 861 glFramebufferTexture2D(GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + texIndex, GL_TEXTURE_2D, in TEST_P() 862 textures[texIndex], 0); in TEST_P() 905 for (GLint texIndex = 0; texIndex < kDrawBufferCount; ++texIndex) in TEST_P() local 907 glBindTexture(GL_TEXTURE_2D, textures[texIndex]); in TEST_P() [all …]
|
D | FramebufferTest.cpp | 1103 for (GLint texIndex = 0; texIndex < kDrawBufferCount; ++texIndex) in TEST_P() local 1105 glBindTexture(GL_TEXTURE_2D, textures[texIndex]); in TEST_P() 1117 for (GLint texIndex = 0; texIndex < kDrawBufferCount; ++texIndex) in TEST_P() local 1119 glBindTexture(GL_TEXTURE_2D, textures[texIndex]); in TEST_P() 1120 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + texIndex, GL_TEXTURE_2D, in TEST_P() 1121 textures[texIndex], 0); in TEST_P()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | TexturesPerf.cpp | 182 for (size_t texIndex = 0; texIndex < params.numTextures; texIndex++) in initTextures() local 187 glActiveTexture(static_cast<GLenum>(GL_TEXTURE0 + texIndex)); in initTextures() 197 glUniform1i(mUniformLocations[texIndex], static_cast<GLint>(texIndex)); in initTextures()
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | TexturesPerf.cpp | 223 for (size_t texIndex = 0; texIndex < params.numTextures; texIndex++) in initTextures() local 228 glActiveTexture(static_cast<GLenum>(GL_TEXTURE0 + texIndex)); in initTextures() 238 glUniform1i(mUniformLocations[texIndex], static_cast<GLint>(texIndex)); in initTextures()
|
/third_party/flutter/skia/tools/ |
D | DDLPromiseImageHelper.cpp | 60 const SkYUVAIndex yuvaIndices[4], int texIndex) { in create_yuva_texture() argument 61 SkASSERT(texIndex >= 0 && texIndex <= 3); in create_yuva_texture() 64 if (yuvaIndices[i].fIndex == texIndex) { in create_yuva_texture()
|
/third_party/skia/tools/ |
D | DDLPromiseImageHelper.cpp | 123 int texIndex) { in create_yuva_texture() argument 124 SkASSERT(texIndex >= 0 && texIndex <= 3); in create_yuva_texture()
|
/third_party/mesa3d/src/mesa/main/ |
D | teximage.c | 420 GLuint texIndex; in get_proxy_tex_image() local 427 texIndex = TEXTURE_1D_INDEX; in get_proxy_tex_image() 430 texIndex = TEXTURE_2D_INDEX; in get_proxy_tex_image() 433 texIndex = TEXTURE_3D_INDEX; in get_proxy_tex_image() 436 texIndex = TEXTURE_CUBE_INDEX; in get_proxy_tex_image() 441 texIndex = TEXTURE_RECT_INDEX; in get_proxy_tex_image() 444 texIndex = TEXTURE_1D_ARRAY_INDEX; in get_proxy_tex_image() 447 texIndex = TEXTURE_2D_ARRAY_INDEX; in get_proxy_tex_image() 450 texIndex = TEXTURE_CUBE_ARRAY_INDEX; in get_proxy_tex_image() 453 texIndex = TEXTURE_2D_MULTISAMPLE_INDEX; in get_proxy_tex_image() [all …]
|
D | texstate.c | 826 const int texIndex = u_bit_scan(&mask); in update_ff_texture_state() local 827 struct gl_texture_object *texObj = texUnit->CurrentTex[texIndex]; in update_ff_texture_state()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcPackedDepthStencilTests.cpp | 316 bool verifyDepthStencilGradient(GLvoid* data, unsigned int texIndex, int width, int height); 317 bool verifyColorGradient(GLvoid* data, unsigned int texIndex, int function, int width, int height); 851 bool BaseTest::verifyDepthStencilGradient(GLvoid* data, unsigned int texIndex, int width, int heigh… in verifyDepthStencilGradient() argument 893 switch (texIndex) in verifyDepthStencilGradient() 992 bool BaseTest::verifyColorGradient(GLvoid* data, unsigned int texIndex, int function, int width, in… in verifyColorGradient() argument 1014 switch (texIndex) in verifyColorGradient()
|
/third_party/flutter/skia/gm/ |
D | wacky_yuv_formats.cpp | 1046 SkYUVAIndex yuvaIndices[4], int texIndex, in create_yuva_texture() argument 1048 SkASSERT(texIndex >= 0 && texIndex <= 3); in create_yuva_texture() 1051 if (yuvaIndices[i].fIndex == texIndex) { in create_yuva_texture()
|