Home
last modified time | relevance | path

Searched refs:deMin32 (Results 1 – 25 of 43) sorted by relevance

12

/external/deqp/modules/gles2/functional/
Des2fReadPixelsTests.cpp218 …const deUint8 redThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_… in iterate()
219 …const deUint8 greenThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(… in iterate()
220 …const deUint8 blueThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m… in iterate()
221 …const deUint8 alphaThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(… in iterate()
241 …const float redThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelForma… in iterate()
242 …const float greenThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFor… in iterate()
243 …const float blueThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelForm… in iterate()
244 …const float alphaThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFor… in iterate()
Des2fStencilTests.cpp264 int value = deMin32(ndx*stencilStep, endVal-1); in visualizeStencil()
285 int width = deMin32(128, renderTarget.getWidth()); in iterate()
286 int height = deMin32(128, renderTarget.getHeight()); in iterate()
305 genOps(ops[ndx], stencilBits, depthBits, deMin32(ndx*stencilStep, (1<<stencilBits)-1)); in iterate()
Des2fDepthTests.cpp132 int width = deMin32(renderTarget.getWidth(), 128); in iterate()
133 int height = deMin32(renderTarget.getHeight(), 128); in iterate()
Des2fColorClearTest.cpp198 spanLength = deMin32(spanLength, op.m_rect.x() + op.m_rect.z() - x); in iterate()
213 spanLength = deMin32(spanLength, op.m_rect.x() - x); in iterate()
Des2fVertexTextureTests.cpp551 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_2D_RENDER_WIDTH); in iterate()
552 const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_2D_RENDER_HEIGHT); in iterate()
869 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_CUBE_RENDER_WIDTH); in iterate()
870 …const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_CUBE_RENDER_HEIGH… in iterate()
/external/deqp/modules/gles3/functional/
Des3fReadPixelsTests.cpp363 …const deUint8 redThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_… in iterate()
364 …const deUint8 greenThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(… in iterate()
365 …const deUint8 blueThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m… in iterate()
366 …const deUint8 alphaThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(… in iterate()
386 …const float redThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelForma… in iterate()
387 …const float greenThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFor… in iterate()
388 …const float blueThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelForm… in iterate()
389 …const float alphaThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFor… in iterate()
Des3fStencilTests.cpp267 int value = deMin32(ndx*stencilStep, endVal-1); in visualizeStencil()
288 int width = deMin32(128, renderTarget.getWidth()); in iterate()
289 int height = deMin32(128, renderTarget.getHeight()); in iterate()
308 genOps(ops[ndx], stencilBits, depthBits, deMin32(ndx*stencilStep, (1<<stencilBits)-1)); in iterate()
Des3fDepthTests.cpp135 int width = deMin32(renderTarget.getWidth(), 128); in iterate()
136 int height = deMin32(renderTarget.getHeight(), 128); in iterate()
Des3fFboTestCase.cpp68 int width = deMin32(renderTarget.getWidth(), m_viewportWidth); in iterate()
69 int height = deMin32(renderTarget.getHeight(), m_viewportHeight); in iterate()
Des3fColorClearTest.cpp198 spanLength = deMin32(spanLength, op.m_rect.x() + op.m_rect.z() - x); in iterate()
213 spanLength = deMin32(spanLength, op.m_rect.x() - x); in iterate()
Des3fVertexTextureTests.cpp652 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_2D_RENDER_WIDTH); in iterate()
653 const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_2D_RENDER_HEIGHT); in iterate()
973 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_CUBE_RENDER_WIDTH); in iterate()
974 …const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_CUBE_RENDER_HEIGH… in iterate()
1308 …const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_2D_ARRAY_RENDER_WID… in iterate()
1309 …const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_2D_ARRAY_RENDER_H… in iterate()
1651 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_3D_RENDER_WIDTH); in iterate()
1652 const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_3D_RENDER_HEIGHT); in iterate()
Des3fPrimitiveRestartTests.cpp459 int width = deMin32(m_context.getRenderTarget().getWidth(), MAX_RENDER_WIDTH); in iterate()
460 int height = deMin32(m_context.getRenderTarget().getHeight(), MAX_RENDER_HEIGHT); in iterate()
Des3fInstancedRenderingTests.cpp436 int width = deMin32(m_context.getRenderTarget().getWidth(), MAX_RENDER_WIDTH); in iterate()
437 int height = deMin32(m_context.getRenderTarget().getHeight(), MAX_RENDER_HEIGHT); in iterate()
/external/deqp/framework/delibs/debase/
DdeDefs.c107 num = deMin32((int)strlen(reason), DE_LENGTH_OF_ARRAY(wreason)-1); in deAssertFail()
112 num = deMin32((int)strlen(file), DE_LENGTH_OF_ARRAY(wfile)-1); in deAssertFail()
DdeInt32.h63 DE_INLINE int deMin32 (int a, int b) in deMin32() function
/external/deqp/framework/qphelper/
DqpXmlWriter.c175 return &s_indentStr[s_indentStrLen - deMin32(s_indentStrLen, indentLevel)]; in getIndentStr()
280 size_t numRead = (size_t)deMin32(3, (int)(numBytes - srcNdx)); in qpXmlWriter_writeBase64()
/external/deqp/framework/delibs/destream/
DdeRingbuffer.c140 writeSize = deMin32(ringbuffer->blockSize - ringbuffer->inPos, bufSize - *written); in producerStream_write()
237 …writeSize = deMin32(ringbuffer->blockUsage[ringbuffer->outBlock] - ringbuffer->outPos, bufSize - *… in consumerStream_read()
/external/deqp/modules/gles31/functional/
Des31fFboTestCase.cpp68 int width = deMin32(renderTarget.getWidth(), m_viewportWidth); in iterate()
69 int height = deMin32(renderTarget.getHeight(), m_viewportHeight); in iterate()
Des31fLayoutBindingTests.cpp342 m_numBindings = rnd.getInt(2, deMin32(MAX_UNIFORM_MULTIPLE_INSTANCES, maxUnits)); in init()
349 m_numBindings = rnd.getInt(2, deMin32(MAX_UNIFORM_ARRAY_SIZE, maxUnits)); in init()
708 m_numBindings = rnd.getInt(2, deMin32(MAX_UNIFORM_ARRAY_SIZE, maxUnits-1)); in init()
714 m_numBindings = rnd.getInt(2, deMin32(MAX_UNIFORM_ARRAY_SIZE, maxUnits)); in init()
/external/deqp/modules/egl/
DteglCreateSurfaceTests.cpp244 width = deMin32(width, eglu::getConfigAttribInt(egl, display, config, EGL_MAX_PBUFFER_WIDTH)); in executeForConfig()
245 height = deMin32(height, eglu::getConfigAttribInt(egl, display, config, EGL_MAX_PBUFFER_HEIGHT)); in executeForConfig()
DteglQuerySurfaceTests.cpp379 width = deMin32(width, eglu::getConfigAttribInt(egl, display, config, EGL_MAX_PBUFFER_WIDTH)); in executeForConfig()
380 height = deMin32(height, eglu::getConfigAttribInt(egl, display, config, EGL_MAX_PBUFFER_HEIGHT)); in executeForConfig()
648 width = deMin32(width, eglu::getConfigAttribInt(egl, display, config, EGL_MAX_PBUFFER_WIDTH)); in executeForConfig()
649 height = deMin32(height, eglu::getConfigAttribInt(egl, display, config, EGL_MAX_PBUFFER_HEIGHT)); in executeForConfig()
/external/deqp/framework/delibs/depool/
DdeMemPool.c470 …int newPageCapacity = deMax32(deMin32(2*curPage->capacity, MAX_PAGE_SIZE), ((int)numBytes)+maxAl… in deMemPool_allocInternal()
568 size_t len = (size_t)deMin32((int)strlen(str), deMax32(0, maxLength)); in deMemPool_strnDup()
DdePoolHeap.h110 int childNdx1 = deMin32(childNdx0 + 1, numElements - 1); \
DdePoolMultiSet.h237 int count = deMin32(aCount, bCount); \
/external/deqp/framework/randomshaders/
DrsgProgramExecutor.cpp235 int packetEnd = deMin32((packetNdx+1)*EXEC_VEC_WIDTH, numVertices); in execute()
311 int packetEnd = deMin32((packetNdx+1)*EXEC_VEC_WIDTH, width*height); in execute()

12