/external/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_flush.c | 49 if (!fence && i915->batch && (i915->batch->map == i915->batch->ptr)) { 71 struct i915_winsys_batchbuffer *batch = i915->batch; local 73 batch->iws->batchbuffer_flush(batch, fence);
|
H A D | i915_batchbuffer.h | 37 i915_winsys_batchbuffer_space(struct i915_winsys_batchbuffer *batch) argument 39 return batch->size - (batch->ptr - batch->map); 43 i915_winsys_batchbuffer_check(struct i915_winsys_batchbuffer *batch, argument 46 return dwords * 4 <= i915_winsys_batchbuffer_space(batch); 50 i915_winsys_batchbuffer_dword_unchecked(struct i915_winsys_batchbuffer *batch, argument 53 *(unsigned *)batch->ptr = dword; 54 batch->ptr += 4; 58 i915_winsys_batchbuffer_float(struct i915_winsys_batchbuffer *batch, argument 68 i915_winsys_batchbuffer_dword(struct i915_winsys_batchbuffer *batch, unsigned dword) argument 76 i915_winsys_batchbuffer_write(struct i915_winsys_batchbuffer *batch, void *data, size_t size) argument 87 i915_winsys_validate_buffers(struct i915_winsys_batchbuffer *batch, struct i915_winsys_buffer **buffers, int num_of_buffers) argument 95 i915_winsys_batchbuffer_reloc(struct i915_winsys_batchbuffer *batch, struct i915_winsys_buffer *buffer, enum i915_winsys_buffer_usage usage, size_t offset, boolean fenced) argument [all...] |
/external/skia/src/gpu/ |
H A D | GrReorderCommandBuilder.cpp | 17 GrTargetCommands::Cmd* GrReorderCommandBuilder::recordDrawBatch(State* state, GrBatch* batch) { argument 18 // Check if there is a Batch Draw we can batch with by linearly searching back until we either 30 previous->fBatch->combineIfPossible(batch)) { 34 if (intersect(previous->fBatch->bounds(), batch->bounds())) { 44 return GrNEW_APPEND_TO_RECORDER(*this->cmdBuffer(), DrawBatch, (state, batch,
|
H A D | GrProcOptInfo.cpp | 15 void GrProcOptInfo::calcColorWithBatch(const GrBatch* batch, argument 19 batch->getInvariantOutputColor(&out); 21 this->internalCalc(stages, stageCount, batch->willReadFragmentPosition()); 24 void GrProcOptInfo::calcCoverageWithBatch(const GrBatch* batch, argument 28 batch->getInvariantOutputCoverage(&out); 30 this->internalCalc(stages, stageCount, batch->willReadFragmentPosition());
|
H A D | GrInOrderCommandBuilder.cpp | 28 GrTargetCommands::Cmd* GrInOrderCommandBuilder::recordDrawBatch(State* state, GrBatch* batch) { argument 29 // Check if there is a Batch Draw we can batch with 33 if (previous->fState == state && previous->fBatch->combineIfPossible(batch)) { 38 return GrNEW_APPEND_TO_RECORDER(*this->cmdBuffer(), DrawBatch, (state, batch,
|
/external/javasqlite/src/main/java/SQLite/JDBC2z/ |
H A D | JDBCPreparedStatement.java | 27 private ArrayList<BatchArg> batch; field in class:JDBCPreparedStatement 35 this.batch = null; 386 if (batch == null) { 387 batch = new ArrayList<BatchArg>(args.length); 390 batch.add(new BatchArg(args[i], blobs[i])); 395 if (batch == null) { 398 int[] ret = new int[batch.size() / args.length]; 406 BatchArg b = (BatchArg) batch.get(index++); 418 throw new BatchUpdateException("batch failed", ret); 424 if (batch ! [all...] |
H A D | JDBCStatement.java | 12 private ArrayList<String> batch; field in class:JDBCStatement 18 this.batch = null; 177 if (batch == null) { 178 batch = new ArrayList<String>(1); 180 batch.add(sql); 184 if (batch == null) { 187 int[] ret = new int[batch.size()]; 194 execute((String) batch.get(i)); 201 throw new BatchUpdateException("batch failed", ret); 207 if (batch ! [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
H A D | SimpleBatchNode.java | 43 for (Batch batch : batches.values()) { 44 batch.geometry.setTransformRefresh(); 53 public void batch() { method in class:SimpleBatchNode
|
H A D | BatchNode.java | 57 * usage is like any other node except you have to call the {@link #batch()} method once all geoms have been attached to the sub scene graph and theire material set 62 * Sub geoms can be added after the batch() method has been called but won't be batched and will be rendered as normal geometries. 63 * To integrate them in the batch you have to call the batch() method again on the batchNode. 66 * TODO more automagic (batch when needed in the updateLigicalState) 120 for (Batch batch : batches.values()) { 121 if (batch.needMeshUpdate) { 122 batch.geometry.getMesh().updateBound(); 123 batch.geometry.updateWorldBound(); 124 batch 174 public void batch() { method in class:BatchNode [all...] |
H A D | Geometry.java | 310 protected void batch(BatchNode node, int startIndex) { method in class:Geometry
|
/external/jmonkeyengine/engine/src/test/jme3test/batching/ |
H A D | TestBatchNode.java | 33 BatchNode batch; field in class:TestBatchNode 38 batch = new BatchNode("theBatchNode"); 65 batch.attachChild(cube); 66 batch.attachChild(cube2); 67 // batch.setMaterial(mat); 68 batch.batch(); 69 rootNode.attachChild(batch); 93 batch.setLocalRotation(new Quaternion().fromAngleAxis(time, Vector3f.UNIT_Z));
|
/external/skia/src/core/ |
H A D | SkTaskGroup.h | 33 // Add a batch of N tasks, all calling fn with different arguments. 36 void batch(void (*fn)(T*), T* args, int N) { this->batch((void_fn)fn, args, N, sizeof(T)); } function in class:SkTaskGroup 46 void batch(void_fn, void* args, int N, size_t stride);
|
H A D | SkTaskGroup.cpp | 45 gGlobal->batch(fn, args, N, stride, pending); 122 void batch(void (*fn)(void*), void* arg, int N, size_t stride, int32_t* pending) { function in class:__anon13930::ThreadPool 126 Work* batch = fWork.append(N); local 129 batch[i] = work; 182 void SkTaskGroup::batch (void (*fn)(void*), void* args, int N, size_t stride) { function in class:SkTaskGroup
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_state_batch.c | 43 struct intel_batchbuffer *batch = &brw->intel.batch; local 50 batch->bo->size / 32); 73 * Generate a set of aub file annotations for the current batch buffer, and 76 * The "used" section of the batch buffer (the portion containing batch 78 * batch buffer (which contains data structures pointed to by batch commands) 90 4*intel->batch.used); 101 drm_intel_bufmgr_gem_set_aub_annotations(intel->batch 126 struct intel_batchbuffer *batch = &brw->intel.batch; local [all...] |
H A D | intel_batchbuffer.c | 43 struct cached_batch_item *item = intel->batch.cached_items; 51 intel->batch.cached_items = NULL; 62 * the buffer, and the kernel doesn't let us write to the batch. 64 intel->batch.workaround_bo = drm_intel_bo_alloc(intel->bufmgr, 73 if (intel->batch.last_bo != NULL) { 74 drm_intel_bo_unreference(intel->batch.last_bo); 75 intel->batch.last_bo = NULL; 77 intel->batch.last_bo = intel->batch.bo; 81 intel->batch 124 struct intel_batchbuffer *batch = &intel->batch; local 165 struct intel_batchbuffer *batch = &intel->batch; local [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_dense_alloc.h | 107 T *batch = (T*)MmapOrDie(kL2Size * sizeof(T), "DenseSlabAllocator"); local 111 new(batch + i) T(); 112 *(IndexT*)(batch + i) = i + 1 + fillpos_ * kL2Size; 114 *(IndexT*)(batch + kL2Size - 1) = 0; 116 map_[fillpos_++] = batch;
|
/external/jsoncpp/src/lib_json/ |
H A D | json_batchallocator.h | 18 * This memory allocator allocates memory for a batch of object (specified by 46 for ( BatchInfo *batch = batches_; batch; ) 48 BatchInfo *nextBatch = batch->next_; 49 free( batch ); 50 batch = nextBatch; 70 if ( !currentBatch_ ) // no free batch found, allocate a new one 108 BatchInfo *batch = static_cast<BatchInfo*>( malloc( mallocSize ) ); local 109 batch->next_ = 0; 110 batch [all...] |
/external/mesa3d/src/gallium/winsys/i915/sw/ |
H A D | i915_sw_batchbuffer.c | 25 i915_sw_batchbuffer(struct i915_winsys_batchbuffer *batch) argument 27 return (struct i915_sw_batchbuffer *)batch; 31 i915_sw_batchbuffer_reset(struct i915_sw_batchbuffer *batch) argument 33 memset(batch->base.map, 0, batch->actual_size); 34 batch->base.ptr = batch->base.map; 35 batch->base.size = batch->actual_size - BATCH_RESERVED; 36 batch 43 struct i915_sw_batchbuffer *batch = CALLOC_STRUCT(i915_sw_batchbuffer); local 61 i915_sw_batchbuffer_validate_buffers(struct i915_winsys_batchbuffer *batch, struct i915_winsys_buffer **buffer, int num_of_buffers) argument 74 struct i915_sw_batchbuffer *batch = i915_sw_batchbuffer(ibatch); local 105 struct i915_sw_batchbuffer *batch = i915_sw_batchbuffer(ibatch); local 145 struct i915_sw_batchbuffer *batch = i915_sw_batchbuffer(ibatch); local [all...] |
/external/iproute2/ip/ |
H A D | ip.c | 45 " ip [ -force ] -batch filename\n" 105 static int batch(const char *name) function 224 } else if (matches(opt, "-batch") == 0) { 257 return batch(batch_file);
|
/external/mesa3d/src/gallium/winsys/i915/drm/ |
H A D | i915_drm_batchbuffer.c | 30 i915_drm_batchbuffer(struct i915_winsys_batchbuffer *batch) argument 32 return (struct i915_drm_batchbuffer *)batch; 36 i915_drm_batchbuffer_reset(struct i915_drm_batchbuffer *batch) argument 38 struct i915_drm_winsys *idws = i915_drm_winsys(batch->base.iws); 40 if (batch->bo) 41 drm_intel_bo_unreference(batch->bo); 42 batch->bo = drm_intel_bo_alloc(idws->gem_manager, 44 batch->actual_size, 47 memset(batch->base.map, 0, batch 57 struct i915_drm_batchbuffer *batch = CALLOC_STRUCT(i915_drm_batchbuffer); local 75 i915_drm_batchbuffer_validate_buffers(struct i915_winsys_batchbuffer *batch, struct i915_winsys_buffer **buffer, int num_of_buffers) argument 100 struct i915_drm_batchbuffer *batch = i915_drm_batchbuffer(ibatch); local 164 struct i915_drm_batchbuffer *batch = i915_drm_batchbuffer(ibatch); local 219 struct i915_drm_batchbuffer *batch = i915_drm_batchbuffer(ibatch); local [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
H A D | intel_batchbuffer.h | 15 * Number of bytes to reserve for commands necessary to complete a batch. 19 * - Optional MI_NOOP for ensuring the batch length is qword aligned (4 bytes) 83 return (intel->batch.state_batch_offset - intel->batch.reserved_space) 84 - intel->batch.used*4; 94 intel->batch.map[intel->batch.used++] = dword; 109 intel->batch.is_blit != is_blit && intel->batch.used) { 113 intel->batch 137 struct intel_batchbuffer *batch = &intel->batch; local [all...] |
H A D | intel_batchbuffer.c | 43 struct cached_batch_item *item = intel->batch.cached_items; 51 intel->batch.cached_items = NULL; 62 * the buffer, and the kernel doesn't let us write to the batch. 64 intel->batch.workaround_bo = drm_intel_bo_alloc(intel->bufmgr, 73 if (intel->batch.last_bo != NULL) { 74 drm_intel_bo_unreference(intel->batch.last_bo); 75 intel->batch.last_bo = NULL; 77 intel->batch.last_bo = intel->batch.bo; 81 intel->batch 124 struct intel_batchbuffer *batch = &intel->batch; local 165 struct intel_batchbuffer *batch = &intel->batch; local [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_quarantine.h | 33 void *batch[kSize]; member in struct:__sanitizer::QuarantineBatch 105 PREFETCH(b->batch[i]); 107 PREFETCH(b->batch[i + kPrefetch]); 108 cb.Recycle((Node*)b->batch[i]); 134 size += sizeof(QuarantineBatch); // Count the batch in Quarantine size. 138 b->batch[b->count++] = ptr;
|
/external/iproute2/tc/ |
H A D | tc.c | 215 " tc [-force] -batch filename\n" 249 static int batch(const char *name) function 325 } else if (matches(argv[1], "-batch") == 0) { 339 return batch(batchfile);
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
H A D | intel_batchbuffer.c | 43 struct cached_batch_item *item = intel->batch.cached_items; 51 intel->batch.cached_items = NULL; 62 * the buffer, and the kernel doesn't let us write to the batch. 64 intel->batch.workaround_bo = drm_intel_bo_alloc(intel->bufmgr, 73 if (intel->batch.last_bo != NULL) { 74 drm_intel_bo_unreference(intel->batch.last_bo); 75 intel->batch.last_bo = NULL; 77 intel->batch.last_bo = intel->batch.bo; 81 intel->batch 124 struct intel_batchbuffer *batch = &intel->batch; local 165 struct intel_batchbuffer *batch = &intel->batch; local [all...] |