Home
last modified time | relevance | path

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

12

/external/deqp/modules/gles2/functional/
Des2fReadPixelsTests.cpp247 …const deUint8 redThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_context… in iterate()
248 …const deUint8 greenThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_conte… in iterate()
249 …const deUint8 blueThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_contex… in iterate()
250 …const deUint8 alphaThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_conte… in iterate()
260 …const float redThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().red… in iterate()
261 …const float greenThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().g… in iterate()
262 …const float blueThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().bl… in iterate()
263 …const float alphaThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().a… 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.cpp386 …const deUint8 redThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_context… in iterate()
387 …const deUint8 greenThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_conte… in iterate()
388 …const deUint8 blueThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_contex… in iterate()
389 …const deUint8 alphaThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_conte… in iterate()
399 …const float redThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().red… in iterate()
400 …const float greenThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().g… in iterate()
401 …const float blueThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().bl… in iterate()
402 …const float alphaThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().a… 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()
Des3fFboTestCase.cpp68 int width = deMin32(renderTarget.getWidth(), m_viewportWidth); in iterate()
69 int height = deMin32(renderTarget.getHeight(), m_viewportHeight); in iterate()
Des3fDepthTests.cpp135 int width = deMin32(renderTarget.getWidth(), 128); in iterate()
136 int height = deMin32(renderTarget.getHeight(), 128); 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.c172 return &s_indentStr[s_indentStrLen - deMin32(s_indentStrLen, indentLevel)]; in getIndentStr()
277 int numRead = deMin32(3, 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.cpp340 m_numBindings = rnd.getInt(2, deMin32(MAX_UNIFORM_MULTIPLE_INSTANCES, maxUnits)); in init()
347 m_numBindings = rnd.getInt(2, deMin32(MAX_UNIFORM_ARRAY_SIZE, maxUnits)); in init()
699 m_numBindings = rnd.getInt(2, deMin32(MAX_UNIFORM_ARRAY_SIZE, maxUnits-1)); in init()
705 m_numBindings = rnd.getInt(2, deMin32(MAX_UNIFORM_ARRAY_SIZE, maxUnits)); in init()
/external/deqp/framework/delibs/depool/
DdeMemPool.c470 …int newPageCapacity = deMax32(deMin32(2*curPage->capacity, MAX_PAGE_SIZE), numBytes+maxAlignPadd… in deMemPool_allocInternal()
568 int len = deMin32((int)strlen(str), maxLength); in deMemPool_strnDup()
DdePoolHeap.h110 int childNdx1 = deMin32(childNdx0 + 1, numElements - 1); \
DdePoolMultiSet.h237 int count = deMin32(aCount, bCount); \
/external/deqp/modules/egl/
DteglQuerySurfaceTests.cpp373 width = deMin32(width, display.getConfigAttrib(config, EGL_MAX_PBUFFER_WIDTH)); in executeForConfig()
374 height = deMin32(height, display.getConfigAttrib(config, EGL_MAX_PBUFFER_HEIGHT)); in executeForConfig()
640 width = deMin32(width, display.getConfigAttrib(config, EGL_MAX_PBUFFER_WIDTH)); in executeForConfig()
641 height = deMin32(height, display.getConfigAttrib(config, EGL_MAX_PBUFFER_HEIGHT)); in executeForConfig()
DteglCreateSurfaceTests.cpp244 width = deMin32(width, display.getConfigAttrib(config, EGL_MAX_PBUFFER_WIDTH)); in executeForConfig()
245 height = deMin32(height, display.getConfigAttrib(config, EGL_MAX_PBUFFER_HEIGHT)); in executeForConfig()
/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