Home
last modified time | relevance | path

Searched refs:stencilValues (Results 1 – 6 of 6) sorted by relevance

/external/angle/samples/stencil_operations/
DStencilOperations.cpp103 GLuint stencilValues[testCount] = { in draw() local
186 stencilValues[3] = ~(((1 << stencilBitCount) - 1) & 0x1) & 0xff; in draw()
195 glStencilFunc(GL_EQUAL, stencilValues[i], 0xff); in draw()
/external/deqp/modules/egl/
DteglImageUtil.cpp349 static const deUint32 stencilValues[] = in initializeStencilRbo() local
374 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(stencilValues); ++ndx) in initializeStencilRbo()
376 const deUint32 stencil = stencilValues[ndx] & stencilMask; in initializeStencilRbo()
377 …(int)((float)(DE_LENGTH_OF_ARRAY(stencilValues) - ndx) * ((float)ref.getWidth() / float(DE_LENGTH_… in initializeStencilRbo()
378 …int)((float)(DE_LENGTH_OF_ARRAY(stencilValues) - ndx) * ((float)ref.getHeight() / float(DE_LENGTH_… in initializeStencilRbo()
/external/mesa3d/src/mesa/swrast/
Ds_drawpix.c681 GLubyte *stencilValues = (GLubyte *) zValues; /* re-use buffer */ in draw_depth_stencil_pixels() local
683 _mesa_unpack_stencil_span(ctx, width, stencilType, stencilValues, in draw_depth_stencil_pixels()
688 x, y + i, stencilValues); in draw_depth_stencil_pixels()
690 _swrast_write_stencil_span(ctx, width, x, y + i, stencilValues); in draw_depth_stencil_pixels()
/external/deqp/modules/gles3/functional/
Des3fDepthStencilTests.cpp259 int stencilValues[numL0CellsX*numL0CellsY]; in generateBaseClearAndDepthCommands() local
269 getStencilTestValues(target.stencilBits, numL0CellsX*numL0CellsY, &stencilValues[0]); in generateBaseClearAndDepthCommands()
284 int stencilValue = stencilValues[y0*numL0CellsX + x0]; in generateBaseClearAndDepthCommands()
340 int stencilValues[numValues]; in generateStencilVisualizeCommands() local
342 getStencilTestValues(target.stencilBits, numValues, &stencilValues[0]); in generateStencilVisualizeCommands()
355 cmd.params.stencil[rr::FACETYPE_FRONT].reference = stencilValues[ndx]; in generateStencilVisualizeCommands()
/external/deqp/modules/gles2/functional/
Des2fDepthStencilTests.cpp259 int stencilValues[numL0CellsX*numL0CellsY]; in generateBaseClearAndDepthCommands() local
269 getStencilTestValues(target.stencilBits, numL0CellsX*numL0CellsY, &stencilValues[0]); in generateBaseClearAndDepthCommands()
284 int stencilValue = stencilValues[y0*numL0CellsX + x0]; in generateBaseClearAndDepthCommands()
340 int stencilValues[numValues]; in generateStencilVisualizeCommands() local
342 getStencilTestValues(target.stencilBits, numValues, &stencilValues[0]); in generateStencilVisualizeCommands()
355 cmd.params.stencil[rr::FACETYPE_FRONT].reference = stencilValues[ndx]; in generateStencilVisualizeCommands()
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp4718 const deUint32 stencilValues[] = { stencilValue0, stencilValue1 }; in initDepthStencilImageChessboardPattern() local
4816 deMemset(stencilPtr, stencilValues[bufferIdx], stencilBufferSize); in initDepthStencilImageChessboardPattern()