Searched defs:depthValues (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dpixeltransfer.c130 GLfloat depthValues[])
136 GLfloat d = depthValues[i] * scale + bias;
137 depthValues[i] = CLAMP(d, 0.0F, 1.0F);
144 GLuint depthValues[])
151 GLdouble d = (GLdouble) depthValues[i] * scale + bias;
153 depthValues[i] = (GLuint) d;
129 _mesa_scale_and_bias_depth(const struct gl_context *ctx, GLuint n, GLfloat depthValues[]) argument
143 _mesa_scale_and_bias_depth_uint(const struct gl_context *ctx, GLuint n, GLuint depthValues[]) argument
H A Dreadpix.c121 GLfloat *depthValues; local
146 depthValues = (GLfloat *) malloc(width * sizeof(GLfloat));
148 if (depthValues) {
151 _mesa_unpack_float_z_row(rb->Format, width, map, depthValues);
152 _mesa_pack_depth_span(ctx, width, dst, type, depthValues, packing);
162 free(depthValues);
H A Dpack.c5408 depthValues[i] = GLTYPE2FLOAT(value); \
5428 GLfloat *depthTemp = NULL, *depthValues; local
5475 depthValues = (GLfloat *) dest;
5484 depthValues = depthTemp;
5539 depthValues[i] = (value >> 8) * scale;
5552 depthValues[i] = value;
5570 depthValues[i] = _mesa_half_to_float(value);
5588 depthValues[i] = depthValues[i] * scale + bias;
5598 depthValues[
[all...]
/external/mesa3d/src/mesa/main/
H A Dpixeltransfer.c130 GLfloat depthValues[])
136 GLfloat d = depthValues[i] * scale + bias;
137 depthValues[i] = CLAMP(d, 0.0F, 1.0F);
144 GLuint depthValues[])
151 GLdouble d = (GLdouble) depthValues[i] * scale + bias;
153 depthValues[i] = (GLuint) d;
129 _mesa_scale_and_bias_depth(const struct gl_context *ctx, GLuint n, GLfloat depthValues[]) argument
143 _mesa_scale_and_bias_depth_uint(const struct gl_context *ctx, GLuint n, GLuint depthValues[]) argument
H A Dreadpix.c121 GLfloat *depthValues; local
146 depthValues = (GLfloat *) malloc(width * sizeof(GLfloat));
148 if (depthValues) {
151 _mesa_unpack_float_z_row(rb->Format, width, map, depthValues);
152 _mesa_pack_depth_span(ctx, width, dst, type, depthValues, packing);
162 free(depthValues);
H A Dpack.c5408 depthValues[i] = GLTYPE2FLOAT(value); \
5428 GLfloat *depthTemp = NULL, *depthValues; local
5475 depthValues = (GLfloat *) dest;
5484 depthValues = depthTemp;
5539 depthValues[i] = (value >> 8) * scale;
5552 depthValues[i] = value;
5570 depthValues[i] = _mesa_half_to_float(value);
5588 depthValues[i] = depthValues[i] * scale + bias;
5598 depthValues[
[all...]
/external/deqp/modules/glshared/
H A DglsFragOpInteractionCase.cpp213 static const float depthValues[] = { 0.0f, 0.2f, 0.4f, 0.5f, 0.51f, 0.6f, 0.8f, 0.95f }; local
214 return rnd.choose<float>(DE_ARRAY_BEGIN(depthValues), DE_ARRAY_END(depthValues));
/external/deqp/framework/referencerenderer/
H A DrrRasterizer.cpp495 void TriangleRasterizer::rasterizeSingleSample (FragmentPacket* const fragmentPackets, float* const depthValues, const int maxFragmentPackets, int& numPacketsRasterized) argument
562 if (depthValues)
569 depthValues[packetNdx*4+0] = z0[0]*m_v0.z() + z1[0]*m_v1.z() + z2[0]*m_v2.z();
570 depthValues[packetNdx*4+1] = z0[1]*m_v0.z() + z1[1]*m_v1.z() + z2[1]*m_v2.z();
571 depthValues[packetNdx*4+2] = z0[2]*m_v0.z() + z1[2]*m_v1.z() + z2[2]*m_v2.z();
572 depthValues[packetNdx*4+3] = z0[3]*m_v0.z() + z1[3]*m_v1.z() + z2[3]*m_v2.z();
660 void TriangleRasterizer::rasterizeMultiSample (FragmentPacket* const fragmentPackets, float* const depthValues, const int maxFragmentPackets, int& numPacketsRasterized)
742 if (depthValues)
756 depthValues[(packetNdx*4+0)*NumSamples + sampleNdx] = z0[0]*m_v0.z() + z1[0]*m_v1.z() + z2[0]*m_v2.z();
757 depthValues[(packetNd
[all...]
H A DrrRenderer.cpp1032 const float* depthValues,
1058 fragment.sampleDepths = (depthValues) ? (&depthValues[(packetNdx*4 + yo*2 + xo)*numSamples]) : (DE_NULL);
1302 std::vector<float> depthValues (0);
1310 depthValues.resize(maxFragmentPackets*4*numSamples);
1311 depthBufferPointer = &depthValues[0];
1025 writeFragmentPackets(const RenderState& state, const RenderTarget& renderTarget, const Program& program, const FragmentPacket* fragmentPackets, int numRasterizedPackets, rr::FaceType facetype, const std::vector<rr::GenericVec4>& fragmentOutputArray, const float* depthValues, std::vector<Fragment>& fragmentBuffer) argument
/external/deqp/modules/gles2/functional/
H A Des2fDepthStencilTests.cpp260 float depthValues[numL1CellsX*numL1CellsY]; local
273 int numValues = DE_LENGTH_OF_ARRAY(depthValues);
277 depthValues[ndx] = -1.0f + depthStep*ndx;
298 renderCmd.params.depth = depthValues[y1*numL1CellsX + x1];;
753 static const float depthValues[] = { -1.0f, -0.8f, -0.6f, -0.4f, -0.2f, 0.0f, 0.2f, 0.4f, 0.6f, 0.8f, 1.0f }; local
776 params.depth = rnd.choose<float>(DE_ARRAY_BEGIN(depthValues), DE_ARRAY_END(depthValues));
/external/deqp/modules/gles3/functional/
H A Des3fDepthStencilTests.cpp260 float depthValues[numL1CellsX*numL1CellsY]; local
273 int numValues = DE_LENGTH_OF_ARRAY(depthValues);
277 depthValues[ndx] = -1.0f + depthStep*ndx;
298 renderCmd.params.depth = depthValues[y1*numL1CellsX + x1];;
753 static const float depthValues[] = { -1.0f, -0.8f, -0.6f, -0.4f, -0.2f, 0.0f, 0.2f, 0.4f, 0.6f, 0.8f, 1.0f }; local
776 params.depth = rnd.choose<float>(DE_ARRAY_BEGIN(depthValues), DE_ARRAY_END(depthValues));

Completed in 344 milliseconds