if (isSetSkipRender()) { if (!first) sb.append(", "); sb.append("skipRender:");
if (!imageJob.isSetSkipRender()) { throw new RuntimeException("Internal error: skipRender was null, but it should be set.");
@Override public ImageJobResult getImage(ImageJob imageJob) throws ShaderDispatchException, InterruptedException { // For running shaders locally, we write the necessary files to a temp directory, // run the get_image tool, and then collect the results in an ImageJobResult. // Due to strange Thrift behaviour, we set this default value explicitly // otherwise "isSetSkipRender()" is false. if (!imageJob.isSetSkipRender()) { imageJob.setSkipRender(false); } File localTempShaderJobFile = new File( tempDir, (imageJob.getName() != null ? imageJob.getName() + ".json" : "temp.json") ); try { return fileOps.runGetImageOnImageJob(imageJob, localTempShaderJobFile, usingSwiftShader); } catch (IOException exception) { throw new ShaderDispatchException(exception); } }
if (struct.isSetSkipRender()) { oprot.writeFieldBegin(SKIP_RENDER_FIELD_DESC); oprot.writeBool(struct.skipRender);
lastComparison = java.lang.Boolean.valueOf(isSetSkipRender()).compareTo(other.isSetSkipRender()); if (lastComparison != 0) { return lastComparison; if (isSetSkipRender()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.skipRender, other.skipRender); if (lastComparison != 0) {
@Override public ImageJobResult getImage(ImageJob imageJob) throws ShaderDispatchException { LOGGER.info("Get image (via server) job: {}", imageJob.getName()); // Due to strange Thrift behaviour, we set this default value explicitly // otherwise "isSetSkipRender()" is false. if (!imageJob.isSetSkipRender()) { imageJob.setSkipRender(false); } // Optimisation: no need to actually use HTTP if we are on the server. if (fuzzerServiceManager != null) { try { return getImageHelper(imageJob, fuzzerServiceManager); } catch (TException exception) { throw new ShaderDispatchException(exception); } } else { try (CloseableHttpClient httpClient = HttpClients.createDefault()) { return getImageHelper(imageJob, getFuzzerServiceManagerProxy(httpClient)); } catch (IOException | TException exception) { throw new ShaderDispatchException(exception); } } }
hashCode = hashCode * 8191 + textureBinary.hashCode(); hashCode = hashCode * 8191 + ((isSetSkipRender()) ? 131071 : 524287); if (isSetSkipRender()) hashCode = hashCode * 8191 + ((skipRender) ? 131071 : 524287);
return isSetTextureBinary(); case SKIP_RENDER: return isSetSkipRender(); case RESULT: return isSetResult();
boolean this_present_skipRender = true && this.isSetSkipRender(); boolean that_present_skipRender = true && that.isSetSkipRender(); if (this_present_skipRender || that_present_skipRender) { if (!(this_present_skipRender && that_present_skipRender))
optionals.set(8); if (struct.isSetSkipRender()) { optionals.set(9); oprot.writeBinary(struct.textureBinary); if (struct.isSetSkipRender()) { oprot.writeBool(struct.skipRender);