Lines Matching refs:writer

196 void GrCaps::dumpJSON(SkJSONWriter* writer) const {
197 writer->beginObject();
199 writer->appendBool("MIP Map Support", fMipmapSupport);
200 writer->appendBool("NPOT Texture Tile Support", fNPOTTextureTileSupport);
201 writer->appendBool("Reuse Scratch Textures", fReuseScratchTextures);
202 writer->appendBool("Reuse Scratch Buffers", fReuseScratchBuffers);
203 writer->appendBool("Gpu Tracing Support", fGpuTracingSupport);
204 writer->appendBool("Oversized Stencil Support", fOversizedStencilSupport);
205 writer->appendBool("Texture Barrier Support", fTextureBarrierSupport);
206 writer->appendBool("Sample Locations Support", fSampleLocationsSupport);
207 writer->appendBool("Draw Instanced Support", fDrawInstancedSupport);
208 writer->appendBool("Native Draw Indirect Support", fNativeDrawIndirectSupport);
209 writer->appendBool("Use client side indirect buffers", fUseClientSideIndirectBuffers);
210 writer->appendBool("Conservative Raster Support", fConservativeRasterSupport);
211 writer->appendBool("Wireframe Support", fWireframeSupport);
212 writer->appendBool("MSAA Resolves Automatically", fMSAAResolvesAutomatically);
213 writer->appendBool("Use primitive restart", fUsePrimitiveRestart);
214 writer->appendBool("Prefer client-side dynamic buffers", fPreferClientSideDynamicBuffers);
215 writer->appendBool("Prefer fullscreen clears (and stencil discard)", fPreferFullscreenClears);
216 writer->appendBool("Two-sided Stencil Refs And Masks Must Match",
218 writer->appendBool("Must clear buffer memory", fMustClearUploadedBufferData);
219 writer->appendBool("Should initialize textures", fShouldInitializeTextures);
220 writer->appendBool("Supports importing AHardwareBuffers", fSupportsAHardwareBufferImages);
221 writer->appendBool("Fence sync support", fFenceSyncSupport);
222 writer->appendBool("Semaphore support", fSemaphoreSupport);
223 writer->appendBool("Cross context texture support", fCrossContextTextureSupport);
224 writer->appendBool("Half float vertex attribute support", fHalfFloatVertexAttributeSupport);
225 writer->appendBool("Specify GeometryProcessor textures as a dynamic state array",
227 writer->appendBool("Use draws for partial clears", fPerformPartialClearsAsDraws);
228 writer->appendBool("Use draws for color clears", fPerformColorClearsAsDraws);
229 writer->appendBool("Avoid Large IndexBuffer Draws", fAvoidLargeIndexBufferDraws);
230 writer->appendBool("Use draws for stencil clip clears", fPerformStencilClearsAsDraws);
231 writer->appendBool("Supports transfers from buffers to textures",
233 writer->appendBool("Supports transfers from textures to buffers",
235 writer->appendBool("Write pixels row bytes support", fWritePixelsRowBytesSupport);
236 writer->appendBool("Transfer pixels to row bytes support", fTransferPixelsToRowBytesSupport);
237 writer->appendBool("Read pixels row bytes support", fReadPixelsRowBytesSupport);
238 writer->appendBool("Disable msaa clip mask atlas on current driver [workaround]",
240 writer->appendBool("Disable TessellationPathRenderer current driver [workaround]",
242 writer->appendBool("Clamp-to-border", fClampToBorderSupport);
244 writer->appendBool("Prefer VRAM Use over flushes [workaround]", fPreferVRAMUseOverFlushes);
245 writer->appendBool("Avoid stencil buffers [workaround]", fAvoidStencilBuffers);
246 writer->appendBool("Avoid writePixels fast path [workaround]", fAvoidWritePixelsFastPath);
247 writer->appendBool("Requires manual FB barrier after tessellated stencilDraw [workaround]",
249 writer->appendBool("Native draw indexed indirect is broken [workaround]",
251 writer->appendBool("Avoid DAG reordering [workaround]", fAvoidReorderingRenderTasks);
252 writer->appendBool("Avoid Dithering [workaround]", fAvoidDithering);
255 writer->appendHexU32("Advanced Blend Equation Disable Flags", fAdvBlendEqDisableFlags);
258 writer->appendS32("Max Vertex Attributes", fMaxVertexAttributes);
259 writer->appendS32("Max Texture Size", fMaxTextureSize);
260 writer->appendS32("Max Render Target Size", fMaxRenderTargetSize);
261 writer->appendS32("Max Preferred Render Target Size", fMaxPreferredRenderTargetSize);
262 writer->appendS32("Max Window Rectangles", fMaxWindowRectangles);
263 writer->appendS32("Sample Count for Internal MSAA", fInternalMultisampleCount);
264 writer->appendS32("Min Path Verbs for HW Tessellation", fMinPathVerbsForHwTessellation);
265 writer->appendS32("Min Stroke Verbs for HW Tessellation", fMinStrokeVerbsForHwTessellation);
277 writer->appendString("Blend Equation Support",
279 writer->appendString("Map Buffer Support", map_flags_to_string(fMapBufferFlags).c_str());
281 this->onDumpJSON(writer);
283 writer->appendName("shaderCaps");
284 this->shaderCaps()->dumpJSON(writer);
286 writer->endObject();
289 void GrCaps::dumpJSON(SkJSONWriter* writer) const { }