/external/deqp/modules/glshared/ |
D | glsShaderPerformanceCase.cpp | 118 static void logRenderTargetInfo (TestLog& log, const tcu::RenderTarget& renderTarget) in logRenderTargetInfo() argument 121 …<< TestLog::Message << "size: " << renderTarget.getWidth() << "x" << renderTarget.getHeight() << T… in logRenderTargetInfo() 123 << " R" << renderTarget.getPixelFormat().redBits in logRenderTargetInfo() 124 << " G" << renderTarget.getPixelFormat().greenBits in logRenderTargetInfo() 125 << " B" << renderTarget.getPixelFormat().blueBits in logRenderTargetInfo() 126 << " A" << renderTarget.getPixelFormat().alphaBits in logRenderTargetInfo() 127 << " D" << renderTarget.getDepthBits() in logRenderTargetInfo() 128 << " S" << renderTarget.getStencilBits() in logRenderTargetInfo() 131 if (renderTarget.getNumSamples() != 0) in logRenderTargetInfo() 132 log << TestLog::Message << renderTarget.getNumSamples() << "x MSAA" << TestLog::EndMessage; in logRenderTargetInfo()
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Device.cpp | 38 renderTarget = nullptr; in Device() 129 if(renderTarget) in ~Device() 131 renderTarget->release(); in ~Device() 132 renderTarget = nullptr; in ~Device() 164 if(!renderTarget || !rgbaMask) in clearColor() 175 sw::Rect clearRect = renderTarget->getRect(); in clearColor() 182 clear(rgba, FORMAT_A32B32G32R32F, renderTarget, clearRect, rgbaMask); in clearColor() 247 void Device::setRenderTarget(int index, egl::Image *renderTarget) in setRenderTarget() argument 249 if(renderTarget) in setRenderTarget() 251 renderTarget->addRef(); in setRenderTarget() [all …]
|
D | Renderbuffer.cpp | 283 Colorbuffer::Colorbuffer(egl::Image *renderTarget) : mRenderTarget(renderTarget) in Colorbuffer() argument 285 if(renderTarget) in Colorbuffer() 287 renderTarget->addRef(); in Colorbuffer() 289 mWidth = renderTarget->getWidth(); in Colorbuffer() 290 mHeight = renderTarget->getHeight(); in Colorbuffer() 291 format = renderTarget->getFormat(); in Colorbuffer() 292 mSamples = renderTarget->getDepth() & ~1; in Colorbuffer()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcInfoTests.cpp | 97 const tcu::RenderTarget& renderTarget = m_context.getRenderContext().getRenderTarget(); in iterate() local 98 const tcu::PixelFormat& pixelFormat = renderTarget.getPixelFormat(); in iterate() 100 …m_testCtx.getLog() << TestLog::Integer("Width", "Width", "px", QP_KEY_TAG_NONE, renderTarget.getWi… in iterate() 101 << TestLog::Integer("Height", "Height", "px", QP_KEY_TAG_NONE, renderTarget.getHeight()) in iterate() 107 renderTarget.getDepthBits()) in iterate() 109 renderTarget.getStencilBits()) in iterate() 111 renderTarget.getNumSamples()); in iterate()
|
D | glcFragDepthTests.cpp | 145 const tcu::RenderTarget& renderTarget = m_context.getRenderContext().getRenderTarget(); in iterate() local 146 int viewportW = de::min(128, renderTarget.getWidth()); in iterate() 147 int viewportH = de::min(128, renderTarget.getHeight()); in iterate() 148 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportW); in iterate() 149 int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportH); in iterate() 154 if (renderTarget.getDepthBits() == 0) in iterate() 298 const tcu::RenderTarget& renderTarget = m_context.getRenderContext().getRenderTarget(); in iterate() local 299 int viewportW = de::min(128, renderTarget.getWidth()); in iterate() 300 int viewportH = de::min(128, renderTarget.getHeight()); in iterate() 301 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportW); in iterate() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fDepthRangeTests.cpp | 144 const tcu::RenderTarget& renderTarget = m_context.getRenderContext().getRenderTarget(); in iterate() local 145 const int viewportW = de::min(128, renderTarget.getWidth()); in iterate() 146 const int viewportH = de::min(128, renderTarget.getHeight()); in iterate() 147 const int viewportX = rnd.getInt(0, renderTarget.getWidth()-viewportW); in iterate() 148 const int viewportY = rnd.getInt(0, renderTarget.getHeight()-viewportH); in iterate() 153 if (renderTarget.getDepthBits() == 0) in iterate() 293 const tcu::RenderTarget& renderTarget = m_context.getRenderContext().getRenderTarget(); in iterate() local 294 const int viewportW = de::min(128, renderTarget.getWidth()); in iterate() 295 const int viewportH = de::min(128, renderTarget.getHeight()); in iterate() 296 const int viewportX = rnd.getInt(0, renderTarget.getWidth()-viewportW); in iterate() [all …]
|
D | es2fDepthTests.cpp | 125 const tcu::RenderTarget& renderTarget = renderCtx.getRenderTarget(); in iterate() local 132 int width = deMin32(renderTarget.getWidth(), 128); in iterate() 133 int height = deMin32(renderTarget.getHeight(), 128); in iterate() 134 int x = rnd.getInt(0, renderTarget.getWidth() - width); in iterate() 135 int y = rnd.getInt(0, renderTarget.getHeight() - height); in iterate() 156 … buffers (tcu::PixelFormat(8,8,8,renderTarget.getPixelFormat().alphaBits?8:0), renderTarget.getDep… in iterate()
|
D | es2fDepthStencilClearTests.cpp | 201 const tcu::RenderTarget& renderTarget = m_context.getRenderTarget(); in iterate() local 202 int width = renderTarget.getWidth(); in iterate() 203 int height = renderTarget.getHeight(); in iterate() 206 tcu::RGBA threshold = renderTarget.getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); in iterate() 209 if ((m_testDepth && renderTarget.getDepthBits() == 0) || in iterate() 210 (m_testStencil && renderTarget.getStencilBits() == 0)) in iterate() 229 const tcu::RenderTarget& renderTarget = m_context.getRenderContext().getRenderTarget(); in generateClears() local 230 int width = renderTarget.getWidth(); in generateClears() 231 int height = renderTarget.getHeight(); in generateClears() 400 const tcu::RenderTarget& renderTarget = renderCtx.getRenderTarget(); in renderReference() local [all …]
|
/external/deqp/framework/referencerenderer/ |
D | rrRenderer.cpp | 1026 const RenderTarget& renderTarget, in writeFragmentPackets() argument 1035 const int numSamples = renderTarget.getNumSamples(); in writeFragmentPackets() 1093 …fragProcessor.render(renderTarget.getColorBuffer((int)outputNdx), renderTarget.getDepthBuffer(), r… in writeFragmentPackets() 1099 const RenderTarget& renderTarget, in rasterizePrimitive() argument 1105 const int numSamples = renderTarget.getNumSamples(); in rasterizePrimitive() 1126 …lvableDifference = findPrimitiveMinimumResolvableDifference(triangle, renderTarget.getDepthBuffer(… in rasterizePrimitive() 1162 …writeFragmentPackets(state, renderTarget, program, &buffers.fragmentPackets[0], numRasterizedPacke… in rasterizePrimitive() 1167 const RenderTarget& renderTarget, in rasterizePrimitive() argument 1173 const int numSamples = renderTarget.getNumSamples(); in rasterizePrimitive() 1215 …writeFragmentPackets(state, renderTarget, program, &buffers.fragmentPackets[0], numRasterizedPacke… in rasterizePrimitive() [all …]
|
/external/skqp/src/gpu/ |
D | GrPathRendering.cpp | 53 void GrPathRendering::drawPath(GrRenderTarget* renderTarget, GrSurfaceOrigin origin, in drawPath() argument 61 if (GrXferBarrierType barrierType = pipeline.xferBarrierType(renderTarget->asTexture(), in drawPath() 63 fGpu->xferBarrier(renderTarget, barrierType); in drawPath() 65 this->onDrawPath(renderTarget, origin, primProc, pipeline, fixedDynamicState, in drawPath()
|
/external/skia/src/gpu/ |
D | GrPathRendering.cpp | 53 void GrPathRendering::drawPath(GrRenderTarget* renderTarget, GrSurfaceOrigin origin, in drawPath() argument 61 if (GrXferBarrierType barrierType = pipeline.xferBarrierType(renderTarget->asTexture(), in drawPath() 63 fGpu->xferBarrier(renderTarget, barrierType); in drawPath() 65 this->onDrawPath(renderTarget, origin, primProc, pipeline, fixedDynamicState, in drawPath()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cClipControlTests.cpp | 186 const tcu::RenderTarget& renderTarget = m_context.getRenderContext().getRenderTarget(); in init() local 187 glw::GLuint viewportW = renderTarget.getWidth(); in init() 188 glw::GLuint viewportH = renderTarget.getHeight(); in init() 510 const tcu::RenderTarget& renderTarget = context.getRenderContext().getRenderTarget(); in ValidateFramebuffer() local 511 glw::GLuint viewportW = renderTarget.getWidth(); in ValidateFramebuffer() 512 glw::GLuint viewportH = renderTarget.getHeight(); in ValidateFramebuffer() 695 const tcu::RenderTarget& renderTarget = context.getRenderContext().getRenderTarget(); in ValidateFramebuffer() local 696 glw::GLuint viewportW = renderTarget.getWidth(); in ValidateFramebuffer() 697 glw::GLuint viewportH = renderTarget.getHeight(); in ValidateFramebuffer() 884 const tcu::RenderTarget& renderTarget = context.getRenderContext().getRenderTarget(); in ValidateFramebuffer() local [all …]
|
/external/skia/src/gpu/vk/ |
D | GrVkPipelineStateCache.cpp | 78 GrRenderTarget* renderTarget, in refPipelineState() argument 91 SkASSERT(renderTarget->renderTargetPriv().getStencilAttachment()); in refPipelineState() 93 renderTarget->renderTargetPriv().numStencilBits()); in refPipelineState() 98 if (!GrVkPipelineStateBuilder::Desc::Build(&desc, renderTarget, primProc, pipeline, stencil, in refPipelineState() 115 fGpu, renderTarget, origin, primProc, primProcProxies, pipeline, stencil, in refPipelineState()
|
/external/skqp/src/gpu/vk/ |
D | GrVkPipelineStateCache.cpp | 78 GrRenderTarget* renderTarget, in refPipelineState() argument 91 SkASSERT(renderTarget->renderTargetPriv().getStencilAttachment()); in refPipelineState() 93 renderTarget->renderTargetPriv().numStencilBits()); in refPipelineState() 98 if (!GrVkPipelineStateBuilder::Desc::Build(&desc, renderTarget, primProc, pipeline, stencil, in refPipelineState() 115 fGpu, renderTarget, origin, primProc, primProcProxies, pipeline, stencil, in refPipelineState()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Texture.cpp | 622 egl::Image *renderTarget = source->getRenderTarget(); in copyImage() local 624 if(!renderTarget) in copyImage() 631 sourceRect.clip(0, 0, renderTarget->getWidth(), renderTarget->getHeight()); in copyImage() 633 copy(renderTarget, sourceRect, 0, 0, 0, image[level]); in copyImage() 635 renderTarget->release(); in copyImage() 653 egl::Image *renderTarget = source->getRenderTarget(); in copySubImage() local 655 if(!renderTarget) in copySubImage() 662 sourceRect.clip(0, 0, renderTarget->getWidth(), renderTarget->getHeight()); in copySubImage() 664 copy(renderTarget, sourceRect, xoffset, yoffset, zoffset, image[level]); in copySubImage() 666 renderTarget->release(); in copySubImage() [all …]
|
D | Device.cpp | 40 renderTarget[i] = nullptr; in Device() 154 if(renderTarget[i]) in ~Device() 156 renderTarget[i]->release(); in ~Device() 157 renderTarget[i] = nullptr; in ~Device() 203 if(renderTarget[i]) in clearColor() 205 sw::Rect clearRect = renderTarget[i]->getRect(); in clearColor() 212 clear(rgba, FORMAT_A32B32G32R32F, renderTarget[i], clearRect, rgbaMask); in clearColor() 299 void Device::setRenderTarget(int index, egl::Image *renderTarget, unsigned int layer) in setRenderTarget() argument 301 if(renderTarget) in setRenderTarget() 303 renderTarget->addRef(); in setRenderTarget() [all …]
|
D | Renderbuffer.cpp | 482 Colorbuffer::Colorbuffer(egl::Image *renderTarget) : mRenderTarget(renderTarget) in Colorbuffer() argument 484 if(renderTarget) in Colorbuffer() 486 renderTarget->addRef(); in Colorbuffer() 488 mWidth = renderTarget->getWidth(); in Colorbuffer() 489 mHeight = renderTarget->getHeight(); in Colorbuffer() 490 format = renderTarget->getFormat(); in Colorbuffer() 491 mSamples = renderTarget->getDepth() & ~1; in Colorbuffer()
|
/external/deqp/modules/gles3/functional/ |
D | es3fFragDepthTests.cpp | 128 const tcu::RenderTarget& renderTarget = m_context.getRenderContext().getRenderTarget(); in iterate() local 129 int viewportW = de::min(128, renderTarget.getWidth()); in iterate() 130 int viewportH = de::min(128, renderTarget.getHeight()); in iterate() 131 int viewportX = rnd.getInt(0, renderTarget.getWidth()-viewportW); in iterate() 132 int viewportY = rnd.getInt(0, renderTarget.getHeight()-viewportH); in iterate() 137 if (renderTarget.getDepthBits() == 0) in iterate() 299 const tcu::RenderTarget& renderTarget = m_context.getRenderContext().getRenderTarget(); in iterate() local 300 int viewportW = de::min(128, renderTarget.getWidth()); in iterate() 301 int viewportH = de::min(128, renderTarget.getHeight()); in iterate() 302 int viewportX = rnd.getInt(0, renderTarget.getWidth()-viewportW); in iterate() [all …]
|
D | es3fFboTestCase.cpp | 63 const tcu::RenderTarget& renderTarget = renderCtx.getRenderTarget(); in iterate() local 68 int width = deMin32(renderTarget.getWidth(), m_viewportWidth); in iterate() 69 int height = deMin32(renderTarget.getHeight(), m_viewportHeight); in iterate() 70 int x = rnd.getInt(0, renderTarget.getWidth() - width); in iterate() 71 int y = rnd.getInt(0, renderTarget.getHeight() - height); in iterate() 108 … buffers (tcu::PixelFormat(8,8,8,renderTarget.getPixelFormat().alphaBits?8:0), renderTarget.getDep… in iterate()
|
D | es3fDepthTests.cpp | 128 const tcu::RenderTarget& renderTarget = renderCtx.getRenderTarget(); in iterate() local 135 int width = deMin32(renderTarget.getWidth(), 128); in iterate() 136 int height = deMin32(renderTarget.getHeight(), 128); in iterate() 137 int x = rnd.getInt(0, renderTarget.getWidth() - width); in iterate() 138 int y = rnd.getInt(0, renderTarget.getHeight() - height); in iterate() 159 … buffers (tcu::PixelFormat(8,8,8,renderTarget.getPixelFormat().alphaBits?8:0), renderTarget.getDep… in iterate()
|
D | es3fDepthStencilClearTests.cpp | 204 const tcu::RenderTarget& renderTarget = m_context.getRenderTarget(); in iterate() local 205 int width = renderTarget.getWidth(); in iterate() 206 int height = renderTarget.getHeight(); in iterate() 209 tcu::RGBA threshold = renderTarget.getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); in iterate() 212 if ((m_testDepth && renderTarget.getDepthBits() == 0) || in iterate() 213 (m_testStencil && renderTarget.getStencilBits() == 0)) in iterate() 232 const tcu::RenderTarget& renderTarget = m_context.getRenderContext().getRenderTarget(); in generateClears() local 233 int width = renderTarget.getWidth(); in generateClears() 234 int height = renderTarget.getHeight(); in generateClears() 403 const tcu::RenderTarget& renderTarget = renderCtx.getRenderTarget(); in renderReference() local [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fFboTestCase.cpp | 63 const tcu::RenderTarget& renderTarget = renderCtx.getRenderTarget(); in iterate() local 68 int width = deMin32(renderTarget.getWidth(), m_viewportWidth); in iterate() 69 int height = deMin32(renderTarget.getHeight(), m_viewportHeight); in iterate() 70 int x = rnd.getInt(0, renderTarget.getWidth() - width); in iterate() 71 int y = rnd.getInt(0, renderTarget.getHeight() - height); in iterate() 112 … buffers (tcu::PixelFormat(8,8,8,renderTarget.getPixelFormat().alphaBits?8:0), renderTarget.getDep… in iterate()
|
/external/skia/src/gpu/mtl/ |
D | GrMtlPipelineStateBuilder.mm | 23 GrRenderTarget* renderTarget, GrSurfaceOrigin origin, 28 GrMtlPipelineStateBuilder builder(gpu, renderTarget, origin, pipeline, primProc, 34 return builder.finalize(renderTarget, primProc, pipeline, desc); 38 GrRenderTarget* renderTarget, 44 : INHERITED(renderTarget, origin, primProc, primProcProxies, pipeline, desc) 320 GrMtlPipelineState* GrMtlPipelineStateBuilder::finalize(GrRenderTarget* renderTarget, 362 bool hasStencilAttachment = SkToBool(renderTarget->renderTargetPriv().getStencilAttachment()); 409 GrRenderTarget* renderTarget, 414 if (!INHERITED::Build(desc, renderTarget, primProc, 425 b.add32(renderTarget->config()); [all …]
|
D | GrMtlResourceProvider.mm | 41 GrRenderTarget* renderTarget, GrSurfaceOrigin origin, 44 return fPipelineStateCache->refPipelineState(renderTarget, origin, proc, primProcProxies, 91 GrRenderTarget* renderTarget, 102 if (!GrMtlPipelineStateBuilder::Desc::Build(&desc, renderTarget, primProc, pipeline, primType, 119 fGpu, renderTarget, origin, primProc, primProcProxies, pipeline, &desc));
|
/external/pdfium/core/fxge/win32/ |
D | dwrite_int.h | 47 void** renderTarget); 48 void DwDeleteRenderingTarget(void* renderTarget); 49 bool DwRendingString(void* renderTarget,
|