Home
last modified time | relevance | path

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

1234

/external/skia/src/gpu/
DGrCommandBuilder.cpp24 GrRenderTarget* renderTarget) { in recordClear() argument
25 SkASSERT(renderTarget); in recordClear()
32 r.setLTRB(0, 0, renderTarget->width(), renderTarget->height()); in recordClear()
35 Clear* clr = GrNEW_APPEND_TO_RECORDER(*this->cmdBuffer(), Clear, (renderTarget)); in recordClear()
45 GrRenderTarget* renderTarget) { in recordClearStencilClip() argument
46 SkASSERT(renderTarget); in recordClearStencilClip()
50 (renderTarget)); in recordClearStencilClip()
56 GrTargetCommands::Cmd* GrCommandBuilder::recordDiscard(GrRenderTarget* renderTarget) { in recordDiscard() argument
57 SkASSERT(renderTarget); in recordDiscard()
59 Clear* clr = GrNEW_APPEND_TO_RECORDER(*this->cmdBuffer(), Clear, (renderTarget)); in recordDiscard()
DGrGpu.cpp55 static GrSurfaceOrigin resolve_origin(GrSurfaceOrigin origin, bool renderTarget) { in resolve_origin() argument
60 return renderTarget ? kBottomLeft_GrSurfaceOrigin : kTopLeft_GrSurfaceOrigin; in resolve_origin()
210 GrRenderTarget* renderTarget) { in clear() argument
211 SkASSERT(renderTarget); in clear()
213 this->onClear(renderTarget, rect, color, canIgnoreRect); in clear()
218 GrRenderTarget* renderTarget) { in clearStencilClip() argument
219 SkASSERT(renderTarget); in clearStencilClip()
221 this->onClearStencilClip(renderTarget, rect, insideClip); in clearStencilClip()
DGrInOrderDrawBuffer.cpp78 bool canIgnoreRect, GrRenderTarget* renderTarget) { in onClear() argument
79 GrTargetCommands::Cmd* cmd = fCommands->recordClear(rect, color, canIgnoreRect, renderTarget); in onClear()
85 GrRenderTarget* renderTarget) { in clearStencilClip() argument
86 GrTargetCommands::Cmd* cmd = fCommands->recordClearStencilClip(rect, insideClip, renderTarget); in clearStencilClip()
90 void GrInOrderDrawBuffer::discard(GrRenderTarget* renderTarget) { in discard() argument
95 GrTargetCommands::Cmd* cmd = fCommands->recordDiscard(renderTarget); in discard()
DGrRenderTargetPriv.h32 explicit GrRenderTargetPriv(GrRenderTarget* renderTarget) : fRenderTarget(renderTarget) {} in GrRenderTargetPriv() argument
DGrTargetCommands.cpp99 gpu->discard(this->renderTarget()); in execute()
101 gpu->clear(&fRect, fColor, fCanIgnoreRect, this->renderTarget()); in execute()
106 gpu->clearStencilClip(fRect, fInsideClip, this->renderTarget()); in execute()
DGrGpu.h163 virtual bool readPixelsWillPayForYFlip(GrRenderTarget* renderTarget,
195 bool readPixels(GrRenderTarget* renderTarget,
221 void clear(const SkIRect* rect, GrColor color, bool canIgnoreRect,GrRenderTarget* renderTarget);
224 void clearStencilClip(const SkIRect& rect, bool insideClip, GrRenderTarget* renderTarget);
/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/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.colorBuffers[0].getNumSamples(); in writeFragmentPackets()
1093 …fragProcessor.render(renderTarget.colorBuffers[outputNdx], renderTarget.depthBuffer, renderTarget.… in writeFragmentPackets()
1099 const RenderTarget& renderTarget, in rasterizePrimitive() argument
1105 const int numSamples = renderTarget.colorBuffers[0].getNumSamples(); in rasterizePrimitive()
1126 …esolvableDifference = findPrimitiveMinimumResolvableDifference(triangle, renderTarget.depthBuffer); 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.colorBuffers[0].getNumSamples(); in rasterizePrimitive()
1215 …writeFragmentPackets(state, renderTarget, program, &buffers.fragmentPackets[0], numRasterizedPacke… in rasterizePrimitive()
[all …]
/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 …]
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()
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()
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.h44 FX_BOOL DwCreateRenderingTarget(CFX_DIBitmap* pSrc, void** renderTarget);
45 void DwDeleteRenderingTarget(void* renderTarget);
46 …FX_BOOL DwRendingString(void* renderTarget, CFX_ClipRgn* pClipRgn, FX_RECT& stringRect, CFX_Affi…
Dfx_win32_dwrite.cpp177 FX_BOOL CDWriteExt::DwCreateRenderingTarget(CFX_DIBitmap* pBitmap, void** renderTarget) in DwCreateRenderingTarget() argument
211 …*(CDwGdiTextRenderer**)renderTarget = new CDwGdiTextRenderer(pBitmap, pBitmapRenderTarget, pRender… in DwCreateRenderingTarget()
222 FX_BOOL CDWriteExt::DwRendingString(void* renderTarget, CFX_ClipRgn* pClipRgn, FX_RECT& stringRect,… in DwRendingString() argument
229 if (renderTarget == NULL) { in DwRendingString()
232 CDwGdiTextRenderer* pTextRenderer = (CDwGdiTextRenderer*)renderTarget; in DwRendingString()
263 void CDWriteExt::DwDeleteRenderingTarget(void* renderTarget) in DwDeleteRenderingTarget() argument
265 if (renderTarget) { in DwDeleteRenderingTarget()
266 delete (CDwGdiTextRenderer*)renderTarget; in DwDeleteRenderingTarget()

1234