Home
last modified time | relevance | path

Searched refs:renderTarget (Results 1 – 25 of 89) sorted by relevance

1234

/external/deqp/modules/glshared/
DglsShaderPerformanceCase.cpp118 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/skia/src/gpu/batches/
DGrStencilPathBatch.h26 GrRenderTarget* renderTarget, in Create() argument
28 return new GrStencilPathBatch(viewMatrix, useHWAA, stencil, scissor, renderTarget, path); in Create()
34 GrRenderTarget* renderTarget() const override { return fRenderTarget.get(); } in renderTarget() function
47 GrRenderTarget* renderTarget, in GrStencilPathBatch() argument
54 , fRenderTarget(renderTarget) in GrStencilPathBatch()
/external/deqp/modules/gles2/functional/
Des2fDepthRangeTests.cpp144 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 …]
Des2fDepthTests.cpp125 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()
Des2fDepthStencilClearTests.cpp201 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 …]
Des2fStencilTests.cpp276 const tcu::RenderTarget& renderTarget = m_context.getRenderContext().getRenderTarget(); in iterate() local
277 int depthBits = renderTarget.getDepthBits(); in iterate()
278 int stencilBits = renderTarget.getStencilBits(); in iterate()
285 int width = deMin32(128, renderTarget.getWidth()); in iterate()
286 int height = deMin32(128, renderTarget.getHeight()); in iterate()
290 int viewportX = rnd.getInt(0, renderTarget.getWidth()-width); in iterate()
291 int viewportY = rnd.getInt(0, renderTarget.getHeight()-height); in iterate()
342 … buffers (tcu::PixelFormat(8,8,8,renderTarget.getPixelFormat().alphaBits?8:0), renderTarget.getDep… in iterate()
Des2fPrerequisiteTests.cpp176 const tcu::RenderTarget& renderTarget = m_context.getRenderTarget(); in iterate() local
177 tcu::PixelFormat pixelFormat = renderTarget.getPixelFormat(); in iterate()
178 int targetWidth = renderTarget.getWidth(); in iterate()
179 int targetHeight = renderTarget.getHeight(); in iterate()
Des2fTextureSpecificationTests.cpp415 const tcu::RenderTarget& renderTarget = renderCtx.getRenderTarget(); in iterate() local
419 if (renderTarget.getWidth() < m_width || renderTarget.getHeight() < m_height) in iterate()
424 int width = deMin32(renderTarget.getWidth(), 256); in iterate()
425 int height = deMin32(renderTarget.getHeight(), 256); in iterate()
426 int x = rnd.getInt(0, renderTarget.getWidth() - width); in iterate()
427 int y = rnd.getInt(0, renderTarget.getHeight() - height); in iterate()
431 …sglr::ReferenceContextBuffers refBuffers (tcu::PixelFormat(8,8,8,renderTarget.getPixelFormat().al… in iterate()
1276 const tcu::RenderTarget& renderTarget = TestCase::m_context.getRenderContext().getRenderTarget(); in createTexture() local
1277 …ool targetHasRGB = renderTarget.getPixelFormat().redBits > 0 && renderTarget.getPixelFormat()… in createTexture()
1278 bool targetHasAlpha = renderTarget.getPixelFormat().alphaBits > 0; in createTexture()
[all …]
/external/deqp/framework/referencerenderer/
DrrRenderer.cpp1026 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/skia/src/gpu/
DGrGpu.cpp80 static GrSurfaceOrigin resolve_origin(GrSurfaceOrigin origin, bool renderTarget) { in resolve_origin() argument
85 return renderTarget ? kBottomLeft_GrSurfaceOrigin : kTopLeft_GrSurfaceOrigin; in resolve_origin()
239 GrRenderTarget* renderTarget) { in clear() argument
240 SkASSERT(renderTarget); in clear()
241 SkASSERT(SkIRect::MakeWH(renderTarget->width(), renderTarget->height()).contains(rect)); in clear()
243 this->onClear(renderTarget, rect, color); in clear()
248 GrRenderTarget* renderTarget) { in clearStencilClip() argument
249 SkASSERT(renderTarget); in clearStencilClip()
251 this->onClearStencilClip(renderTarget, rect, insideClip); in clearStencilClip()
DGrDrawTarget.cpp210 if (GrRenderTarget* rt = fBatches[i]->renderTarget()) { in drawBatches()
359 GrRenderTarget* renderTarget) { in clear() argument
360 SkIRect rtRect = SkIRect::MakeWH(renderTarget->width(), renderTarget->height()); in clear()
379 this->discard(renderTarget); in clear()
385 pipelineBuilder.setRenderTarget(renderTarget); in clear()
393 GrBatch* batch = new GrClearBatch(*rect, color, renderTarget); in clear()
399 void GrDrawTarget::discard(GrRenderTarget* renderTarget) { in discard() argument
401 GrBatch* batch = new GrDiscardBatch(renderTarget); in discard()
DGrRenderTargetPriv.h31 explicit GrRenderTargetPriv(GrRenderTarget* renderTarget) : fRenderTarget(renderTarget) {} in GrRenderTargetPriv() argument
DGrYUVProvider.cpp121 GrRenderTarget* renderTarget = result->asRenderTarget(); in refAsTexture() local
122 SkASSERT(renderTarget); in refAsTexture()
135 SkAutoTUnref<GrDrawContext> drawContext(ctx->drawContext(renderTarget)); in refAsTexture()
/external/deqp/modules/gles3/functional/
Des3fFragDepthTests.cpp128 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 …]
Des3fDepthTests.cpp128 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()
Des3fFboTestCase.cpp63 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()
Des3fDepthStencilClearTests.cpp204 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 …]
Des3fStencilTests.cpp279 const tcu::RenderTarget& renderTarget = m_context.getRenderContext().getRenderTarget(); in iterate() local
280 int depthBits = renderTarget.getDepthBits(); in iterate()
281 int stencilBits = renderTarget.getStencilBits(); in iterate()
288 int width = deMin32(128, renderTarget.getWidth()); in iterate()
289 int height = deMin32(128, renderTarget.getHeight()); in iterate()
293 int viewportX = rnd.getInt(0, renderTarget.getWidth()-width); in iterate()
294 int viewportY = rnd.getInt(0, renderTarget.getHeight()-height); in iterate()
345 … buffers (tcu::PixelFormat(8,8,8,renderTarget.getPixelFormat().alphaBits?8:0), renderTarget.getDep… in iterate()
Des3fPrerequisiteTests.cpp176 const tcu::RenderTarget& renderTarget = m_context.getRenderTarget(); in iterate() local
177 tcu::PixelFormat pixelFormat = renderTarget.getPixelFormat(); in iterate()
178 int targetWidth = renderTarget.getWidth(); in iterate()
179 int targetHeight = renderTarget.getHeight(); in iterate()
Des3fRasterizationTests.cpp422 … desc, glw::GLenum primitiveDrawType, BaseRenderingCase::RenderTarget renderTarget, int numSamples…
435 … desc, glw::GLenum primitiveDrawType, BaseRenderingCase::RenderTarget renderTarget, int numSamples) in BaseTriangleCase() argument
436 : BaseRenderingCase (context, name, desc, renderTarget, numSamples, DEFAULT_RENDER_SIZE) in BaseTriangleCase()
498 …DrawType, PrimitiveWideness wideness, BaseRenderingCase::RenderTarget renderTarget, int numSamples…
518 …DrawType, PrimitiveWideness wideness, BaseRenderingCase::RenderTarget renderTarget, int numSamples) in BaseLineCase() argument
519 : BaseRenderingCase (context, name, desc, renderTarget, numSamples, DEFAULT_RENDER_SIZE) in BaseLineCase()
641 …ar* desc, PrimitiveWideness wideness, BaseRenderingCase::RenderTarget renderTarget = RENDERTARGET_…
662 …ar* desc, PrimitiveWideness wideness, BaseRenderingCase::RenderTarget renderTarget, int numSamples) in PointCase() argument
663 : BaseRenderingCase (context, name, desc, renderTarget, numSamples, DEFAULT_RENDER_SIZE) in PointCase()
820 …, const char* name, const char* desc, BaseRenderingCase::RenderTarget renderTarget = RENDERTARGET_…
[all …]
Des3fRasterizerDiscardTests.cpp249 const tcu::RenderTarget& renderTarget = m_context.getRenderTarget(); in iterate() local
285 glScissor(0, 0, renderTarget.getWidth(), renderTarget.getHeight()); in iterate()
286 …ssage << "Scissor test enabled: glScissor(0, 0, " << renderTarget.getWidth() << ", " << renderTarg… in iterate()
374 tcu::Surface pixels(renderTarget.getWidth(), renderTarget.getHeight()); in iterate()
/external/deqp/modules/gles31/functional/
Des31fFboTestCase.cpp63 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/pdfium/core/src/fxge/win32/
Ddwrite_int.h42 FX_BOOL DwCreateRenderingTarget(CFX_DIBitmap* pSrc, void** renderTarget);
43 void DwDeleteRenderingTarget(void* renderTarget);
44 FX_BOOL DwRendingString(void* renderTarget,
Dfx_win32_dwrite.cpp166 void** renderTarget) { in DwCreateRenderingTarget() argument
194 *(CDwGdiTextRenderer**)renderTarget = in DwCreateRenderingTarget()
206 FX_BOOL CDWriteExt::DwRendingString(void* renderTarget, in DwRendingString() argument
219 if (!renderTarget) { in DwRendingString()
222 CDwGdiTextRenderer* pTextRenderer = (CDwGdiTextRenderer*)renderTarget; in DwRendingString()
248 void CDWriteExt::DwDeleteRenderingTarget(void* renderTarget) { in DwDeleteRenderingTarget() argument
249 delete (CDwGdiTextRenderer*)renderTarget; in DwDeleteRenderingTarget()
/external/skia/tests/
DVkUploadPixelsTests.cpp53 bool renderTarget, bool linearTiling) { in basic_texture_test() argument
71 (renderTarget && !caps->isConfigRenderableLinearly(config, false))) { in basic_texture_test()
77 surfDesc.fFlags = renderTarget ? kRenderTarget_GrSurfaceFlag : kNone_GrSurfaceFlags; in basic_texture_test()

1234