/external/angle/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() 435 for (GLuint texIndex = 0; texIndex < halfMaxDrawBuffers; texIndex++) in TEST_P() local 437 glBindTexture(GL_TEXTURE_2D, mTextures[texIndex]); in TEST_P() 438 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + halfMaxDrawBuffers + texIndex, in TEST_P() 439 GL_TEXTURE_2D, mTextures[texIndex], 0); in TEST_P() 440 flags[texIndex + halfMaxDrawBuffers] = true; in TEST_P() 441 bufs[texIndex + halfMaxDrawBuffers] = GL_COLOR_ATTACHMENT0 + halfMaxDrawBuffers + texIndex; in TEST_P() 450 for (GLuint texIndex = 0; texIndex < halfMaxDrawBuffers; texIndex++) in TEST_P() local 452 verifyAttachment2D(texIndex + halfMaxDrawBuffers, mTextures[texIndex], GL_TEXTURE_2D, 0); in TEST_P() [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() 648 for (GLint texIndex = 0; texIndex < kDrawBufferCount; ++texIndex) in TEST_P() local 650 glBindTexture(GL_TEXTURE_2D, textures[texIndex]); in TEST_P() [all …]
|
D | TextureTest.cpp | 6670 RGBA8 getPixel(GLint texIndex) in getPixel() argument 6672 RGBA8 pixel = {static_cast<uint8_t>(texIndex & 0x7u), static_cast<uint8_t>(texIndex >> 3), in getPixel() 6686 GLint texIndex = 0; in initTextures() local 6687 for (; texIndex < tex2DCount; ++texIndex) in initTextures() 6689 texData.assign(texData.size(), getPixel(texIndex)); in initTextures() 6690 glActiveTexture(GL_TEXTURE0 + texIndex); in initTextures() 6691 glBindTexture(GL_TEXTURE_2D, mTextures[texIndex]); in initTextures() 6702 for (; texIndex < texCubeCount; ++texIndex) in initTextures() 6704 texData.assign(texData.size(), getPixel(texIndex)); in initTextures() 6705 glActiveTexture(GL_TEXTURE0 + texIndex); in initTextures() [all …]
|
D | FramebufferTest.cpp | 1071 for (GLint texIndex = 0; texIndex < kDrawBufferCount; ++texIndex) in TEST_P() local 1073 glBindTexture(GL_TEXTURE_2D, textures[texIndex]); in TEST_P() 1085 for (GLint texIndex = 0; texIndex < kDrawBufferCount; ++texIndex) in TEST_P() local 1087 glBindTexture(GL_TEXTURE_2D, textures[texIndex]); in TEST_P() 1088 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + texIndex, GL_TEXTURE_2D, in TEST_P() 1089 textures[texIndex], 0); in TEST_P()
|
/external/angle/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()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | Grid.java | 185 final int texIndex = index * 2; in setVertex() local 193 mFloatTexCoordBuffer.put(texIndex, u); in setVertex() 194 mFloatTexCoordBuffer.put(texIndex + 1, v); in setVertex() 200 mFixedTexCoordBuffer.put(texIndex, (int)(u * (1 << 16))); in setVertex() 201 mFixedTexCoordBuffer.put(texIndex + 1, (int)(v * (1 << 16))); in setVertex()
|
/external/skqp/tools/ |
D | DDLPromiseImageHelper.cpp | 66 const SkYUVAIndex yuvaIndices[4], int texIndex) { in create_yuva_texture() argument 67 SkASSERT(texIndex >= 0 && texIndex <= 3); in create_yuva_texture() 70 if (yuvaIndices[i].fIndex == texIndex) { in create_yuva_texture()
|
/external/skia/tools/ |
D | DDLPromiseImageHelper.cpp | 123 int texIndex) { in create_yuva_texture() argument 124 SkASSERT(texIndex >= 0 && texIndex <= 3); in create_yuva_texture()
|
/external/skqp/gm/ |
D | wacky_yuv_formats.cpp | 665 SkYUVAIndex yuvaIndices[4], int texIndex) { in create_yuva_texture() argument 666 SkASSERT(texIndex >= 0 && texIndex <= 3); in create_yuva_texture() 669 if (yuvaIndices[i].fIndex == texIndex) { in create_yuva_texture()
|
/external/mesa3d/src/mesa/main/ |
D | teximage.c | 419 GLuint texIndex; in get_proxy_tex_image() local 426 texIndex = TEXTURE_1D_INDEX; in get_proxy_tex_image() 429 texIndex = TEXTURE_2D_INDEX; in get_proxy_tex_image() 432 texIndex = TEXTURE_3D_INDEX; in get_proxy_tex_image() 435 texIndex = TEXTURE_CUBE_INDEX; in get_proxy_tex_image() 440 texIndex = TEXTURE_RECT_INDEX; in get_proxy_tex_image() 443 texIndex = TEXTURE_1D_ARRAY_INDEX; in get_proxy_tex_image() 446 texIndex = TEXTURE_2D_ARRAY_INDEX; in get_proxy_tex_image() 449 texIndex = TEXTURE_CUBE_ARRAY_INDEX; in get_proxy_tex_image() 452 texIndex = TEXTURE_2D_MULTISAMPLE_INDEX; in get_proxy_tex_image() [all …]
|
D | texstate.c | 816 const int texIndex = u_bit_scan(&mask); in update_ff_texture_state() local 817 struct gl_texture_object *texObj = texUnit->CurrentTex[texIndex]; in update_ff_texture_state()
|
/external/deqp/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); 850 bool BaseTest::verifyDepthStencilGradient(GLvoid* data, unsigned int texIndex, int width, int heigh… in verifyDepthStencilGradient() argument 892 switch (texIndex) in verifyDepthStencilGradient() 991 bool BaseTest::verifyColorGradient(GLvoid* data, unsigned int texIndex, int function, int width, in… in verifyColorGradient() argument 1007 switch (texIndex) in verifyColorGradient()
|