Home
last modified time | relevance | path

Searched refs:texIndex (Results 1 - 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DDrawBuffersTest.cpp65 for (size_t texIndex = 0; texIndex < ArraySize(mTextures); texIndex++) in setupTest()
67 glBindTexture(GL_TEXTURE_2D, mTextures[texIndex]); in setupTest()
426 for (GLuint texIndex = 0; texIndex < halfMaxDrawBuffers; texIndex++) in TEST_P()
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], in TEST_P()
[all...]
H A DTextureTest.cpp6819 RGBA8 getPixel(GLint texIndex)
6821 RGBA8 pixel = {static_cast<uint8_t>(texIndex & 0x7u), static_cast<uint8_t>(texIndex >> 3),
6835 GLint texIndex = 0;
6836 for (; texIndex < tex2DCount; ++texIndex)
6838 texData.assign(texData.size(), getPixel(texIndex));
6839 glActiveTexture(GL_TEXTURE0 + texIndex);
6840 glBindTexture(GL_TEXTURE_2D, mTextures[texIndex]);
6851 for (; texIndex < texCubeCoun
[all...]
H A DGLSLTest.cpp819 for (size_t texIndex = 0; texIndex < ArraySize(textures); texIndex++) in TEST_P()
821 glBindTexture(GL_TEXTURE_2D, textures[texIndex]); in TEST_P()
856 for (GLuint texIndex = 0; texIndex < kMaxBuffers; texIndex++) in TEST_P()
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], in TEST_P()
[all...]
H A DFramebufferTest.cpp1103 for (GLint texIndex = 0; texIndex < kDrawBufferCount; ++texIndex) in TEST_P()
1105 glBindTexture(GL_TEXTURE_2D, textures[texIndex]); in TEST_P()
1117 for (GLint texIndex = 0; texIndex < kDrawBufferCount; ++texIndex) in TEST_P()
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], in TEST_P()
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DTexturesPerf.cpp223 for (size_t texIndex = 0; texIndex < params.numTextures; texIndex++) in initTextures()
228 glActiveTexture(static_cast<GLenum>(GL_TEXTURE0 + texIndex)); in initTextures()
238 glUniform1i(mUniformLocations[texIndex], static_cast<GLint>(texIndex)); in initTextures()
/third_party/skia/tools/
H A DDDLPromiseImageHelper.cpp123 int texIndex) { in create_yuva_texture()
124 SkASSERT(texIndex >= 0 && texIndex <= 3); in create_yuva_texture()
121 create_yuva_texture(GrDirectContext* direct, const SkPixmap& pm, int texIndex) create_yuva_texture() argument
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcPackedDepthStencilTests.cpp316 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 height) in verifyDepthStencilGradient() argument
893 switch (texIndex) in verifyDepthStencilGradient()
992 bool BaseTest::verifyColorGradient(GLvoid* data, unsigned int texIndex, int function, int width, int height) in verifyColorGradient() argument
1014 switch (texIndex) in verifyColorGradient()
/third_party/mesa3d/src/mesa/main/
H A Dtexstate.c828 const int texIndex = u_bit_scan(&mask); in update_ff_texture_state() local
829 struct gl_texture_object *texObj = texUnit->CurrentTex[texIndex]; in update_ff_texture_state()
H A Dteximage.c421 GLuint texIndex; in get_proxy_tex_image() local
428 texIndex = TEXTURE_1D_INDEX; in get_proxy_tex_image()
431 texIndex = TEXTURE_2D_INDEX; in get_proxy_tex_image()
434 texIndex = TEXTURE_3D_INDEX; in get_proxy_tex_image()
437 texIndex = TEXTURE_CUBE_INDEX; in get_proxy_tex_image()
442 texIndex = TEXTURE_RECT_INDEX; in get_proxy_tex_image()
445 texIndex = TEXTURE_1D_ARRAY_INDEX; in get_proxy_tex_image()
448 texIndex = TEXTURE_2D_ARRAY_INDEX; in get_proxy_tex_image()
451 texIndex = TEXTURE_CUBE_ARRAY_INDEX; in get_proxy_tex_image()
454 texIndex in get_proxy_tex_image()
[all...]

Completed in 24 milliseconds