/external/deqp/modules/gles2/functional/ |
es2fReadPixelsTests.cpp | 218 const deUint8 redThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())))); 219 const deUint8 greenThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())))); 220 const deUint8 blueThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())))); 221 const deUint8 alphaThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths.w())))); 241 const float redThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())); 242 const float greenThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())); 243 const float blueThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())); 244 const float alphaThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths.w()));
|
es2fStencilTests.cpp | 264 int value = deMin32(ndx*stencilStep, endVal-1); 285 int width = deMin32(128, renderTarget.getWidth()); 286 int height = deMin32(128, renderTarget.getHeight()); 305 genOps(ops[ndx], stencilBits, depthBits, deMin32(ndx*stencilStep, (1<<stencilBits)-1));
|
es2fColorClearTest.cpp | 198 spanLength = deMin32(spanLength, op.m_rect.x() + op.m_rect.z() - x); 213 spanLength = deMin32(spanLength, op.m_rect.x() - x);
|
es2fDepthTests.cpp | 132 int width = deMin32(renderTarget.getWidth(), 128); 133 int height = deMin32(renderTarget.getHeight(), 128);
|
es2fVertexTextureTests.cpp | 551 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_2D_RENDER_WIDTH); 552 const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_2D_RENDER_HEIGHT); 869 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_CUBE_RENDER_WIDTH); 870 const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_CUBE_RENDER_HEIGHT); [all...] |
/external/deqp/framework/delibs/debase/ |
deDefs.c | 107 num = deMin32((int)strlen(reason), DE_LENGTH_OF_ARRAY(wreason)-1); 112 num = deMin32((int)strlen(file), DE_LENGTH_OF_ARRAY(wfile)-1);
|
deInt32.h | 63 DE_INLINE int deMin32 (int a, int b)
|
/external/deqp/framework/delibs/destream/ |
deRingbuffer.c | 140 writeSize = deMin32(ringbuffer->blockSize - ringbuffer->inPos, bufSize - *written); 237 writeSize = deMin32(ringbuffer->blockUsage[ringbuffer->outBlock] - ringbuffer->outPos, bufSize - *read);
|
/external/deqp/framework/qphelper/ |
qpXmlWriter.c | 175 return &s_indentStr[s_indentStrLen - deMin32(s_indentStrLen, indentLevel)]; 280 size_t numRead = (size_t)deMin32(3, (int)(numBytes - srcNdx));
|
/external/deqp/modules/gles3/functional/ |
es3fReadPixelsTests.cpp | 363 const deUint8 redThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())))); 364 const deUint8 greenThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())))); 365 const deUint8 blueThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())))); 366 const deUint8 alphaThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths.w())))); 386 const float redThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())); 387 const float greenThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())); 388 const float blueThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())); 389 const float alphaThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths.w()));
|
es3fStencilTests.cpp | 267 int value = deMin32(ndx*stencilStep, endVal-1); 288 int width = deMin32(128, renderTarget.getWidth()); 289 int height = deMin32(128, renderTarget.getHeight()); 308 genOps(ops[ndx], stencilBits, depthBits, deMin32(ndx*stencilStep, (1<<stencilBits)-1));
|
es3fColorClearTest.cpp | 198 spanLength = deMin32(spanLength, op.m_rect.x() + op.m_rect.z() - x); 213 spanLength = deMin32(spanLength, op.m_rect.x() - x);
|
es3fDepthTests.cpp | 135 int width = deMin32(renderTarget.getWidth(), 128); 136 int height = deMin32(renderTarget.getHeight(), 128);
|
es3fFboTestCase.cpp | 68 int width = deMin32(renderTarget.getWidth(), m_viewportWidth); 69 int height = deMin32(renderTarget.getHeight(), m_viewportHeight);
|
es3fInstancedRenderingTests.cpp | 436 int width = deMin32(m_context.getRenderTarget().getWidth(), MAX_RENDER_WIDTH); 437 int height = deMin32(m_context.getRenderTarget().getHeight(), MAX_RENDER_HEIGHT);
|
es3fPrimitiveRestartTests.cpp | 459 int width = deMin32(m_context.getRenderTarget().getWidth(), MAX_RENDER_WIDTH); 460 int height = deMin32(m_context.getRenderTarget().getHeight(), MAX_RENDER_HEIGHT);
|
es3fVertexTextureTests.cpp | 652 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_2D_RENDER_WIDTH); 653 const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_2D_RENDER_HEIGHT); [all...] |
/external/deqp/framework/delibs/depool/ |
dePoolHeap.h | 110 int childNdx1 = deMin32(childNdx0 + 1, numElements - 1); \
|
deMemPool.c | 470 int newPageCapacity = deMax32(deMin32(2*curPage->capacity, MAX_PAGE_SIZE), ((int)numBytes)+maxAlignPadding); 568 size_t len = (size_t)deMin32((int)strlen(str), deMax32(0, maxLength));
|
dePoolMultiSet.h | 237 int count = deMin32(aCount, bCount); \
|
/external/deqp/modules/gles31/functional/ |
es31fFboTestCase.cpp | 68 int width = deMin32(renderTarget.getWidth(), m_viewportWidth); 69 int height = deMin32(renderTarget.getHeight(), m_viewportHeight);
|
/external/deqp/framework/randomshaders/ |
rsgProgramExecutor.cpp | 235 int packetEnd = deMin32((packetNdx+1)*EXEC_VEC_WIDTH, numVertices); 311 int packetEnd = deMin32((packetNdx+1)*EXEC_VEC_WIDTH, width*height);
|
/external/deqp/modules/egl/ |
teglCreateSurfaceTests.cpp | 244 width = deMin32(width, eglu::getConfigAttribInt(egl, display, config, EGL_MAX_PBUFFER_WIDTH)); 245 height = deMin32(height, eglu::getConfigAttribInt(egl, display, config, EGL_MAX_PBUFFER_HEIGHT));
|
teglQuerySurfaceTests.cpp | 379 width = deMin32(width, eglu::getConfigAttribInt(egl, display, config, EGL_MAX_PBUFFER_WIDTH)); 380 height = deMin32(height, eglu::getConfigAttribInt(egl, display, config, EGL_MAX_PBUFFER_HEIGHT)); 648 width = deMin32(width, eglu::getConfigAttribInt(egl, display, config, EGL_MAX_PBUFFER_WIDTH)); 649 height = deMin32(height, eglu::getConfigAttribInt(egl, display, config, EGL_MAX_PBUFFER_HEIGHT));
|
teglMemoryStressTests.cpp | 441 min = deMin32(m_allocationCounts[allocNdx], min);
|