Searched refs:batch (Results 1 - 25 of 119) sorted by relevance

12345

/external/mesa3d/src/gallium/drivers/i915/
H A Di915_batchbuffer.h37 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...]
H A Di915_batch.h36 (i915_winsys_batchbuffer_check(i915->batch, dwords))
39 i915_winsys_batchbuffer_dword(i915->batch, dword)
42 i915_winsys_batchbuffer_float(i915->batch, f)
45 i915_winsys_batchbuffer_reloc(i915->batch, buf, usage, offset, false)
48 i915_winsys_batchbuffer_reloc(i915->batch, buf, usage, offset, true)
H A Di915_flush.c49 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 Di915_winsys.h100 * @batch
104 boolean (*validate_buffers)(struct i915_winsys_batchbuffer *batch,
112 * @batch
119 int (*batchbuffer_reloc)(struct i915_winsys_batchbuffer *batch,
127 void (*batchbuffer_flush)(struct i915_winsys_batchbuffer *batch,
133 void (*batchbuffer_destroy)(struct i915_winsys_batchbuffer *batch);
H A Di915_blit.c52 if(!i915_winsys_validate_buffers(i915->batch, &dst_buffer, 1)) {
54 assert(i915_winsys_validate_buffers(i915->batch, &dst_buffer, 1));
113 if(!i915_winsys_validate_buffers(i915->batch, buffers, 2)) {
115 assert(i915_winsys_validate_buffers(i915->batch, buffers, 2));
/external/mesa3d/src/gallium/winsys/i915/sw/
H A Di915_sw_batchbuffer.c25 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/mesa3d/src/gallium/winsys/i915/drm/
H A Di915_drm_batchbuffer.c30 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/i915/
H A Dintel_batchbuffer.c43 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/mesa3d/src/mesa/drivers/dri/i965/
H A Dintel_batchbuffer.c43 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...]
H A Dbrw_state_batch.c43 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...]
/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_batchbuffer.c43 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...]
H A Dintel_batchbuffer.h15 * 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...]
/external/jsoncpp/src/lib_json/
H A Djson_batchallocator.h18 * 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/jmonkeyengine/engine/src/core/com/jme3/scene/
H A DSimpleBatchNode.java43 for (Batch batch : batches.values()) {
44 batch.geometry.setTransformRefresh();
53 public void batch() { method in class:SimpleBatchNode
H A DBatchNode.java57 * 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...]
/external/skia/src/core/
H A DSkTaskGroup.h33 // 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 DSkTaskGroup.cpp45 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:__anon13925::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/skia/src/gpu/
H A DGrProcOptInfo.cpp15 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 DGrReorderCommandBuilder.cpp17 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,
/external/jmonkeyengine/engine/src/test/jme3test/batching/
H A DTestBatchNode.java33 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/javasqlite/src/main/java/SQLite/JDBC2z/
H A DJDBCStatement.java12 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/drm_gralloc/
H A Dgralloc_drm_intel.c63 uint32_t *batch, *cur; member in struct:intel_info
77 info->cur = info->batch;
91 return info->cur - info->batch;
105 uint32_t offset = (info->cur - info->batch) * sizeof(info->batch[0]);
128 size *= sizeof(info->batch[0]);
129 ret = drm_intel_bo_subdata(info->batch_ibo, 0, size, info->batch);
131 ALOGE("failed to subdata batch");
137 ALOGE("failed to exec batch");
144 info->cur = info->batch;
[all...]
/external/wpa_supplicant_8/hs20/server/ca/
H A Dsetup.sh105 $OPENSSL req -config openssl.cnf.tmp -batch -new -newkey rsa:4096 -keyout rootCA/private/cakey.pem -out rootCA/careq.pem || fail "Failed to generate Root CA private key"
107 $OPENSSL ca -config openssl.cnf.tmp -md sha256 -create_serial -out rootCA/cacert.pem -days 10957 -batch -keyfile rootCA/private/cakey.pem -passin pass:$PASS -selfsign -extensions v3_ca -outdir rootCA/newcerts -infiles rootCA/careq.pem || fail "Failed to sign Root CA certificate"
126 $OPENSSL req -config openssl.cnf.tmp -batch -new -newkey rsa:2048 -keyout demoCA/private/cakey.pem -out demoCA/careq.pem || fail "Failed to generate Intermediate CA private key"
128 $OPENSSL ca -config openssl.cnf.tmp -md sha256 -create_serial -out demoCA/cacert.pem -days 3652 -batch -keyfile rootCA/private/cakey.pem -cert rootCA/cacert.pem -passin pass:$PASS -extensions v3_ca -infiles demoCA/careq.pem || fail "Failed to sign Intermediate CA certificate"
143 $OPENSSL req -config $PWD/openssl.cnf.tmp -batch -new -newkey rsa:2048 -nodes -out ocsp.csr -keyout ocsp.key -extensions v3_OCSP
144 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -keyfile demoCA/private/cakey.pem -passin pass:$PASS -in ocsp.csr -out ocsp.pem -days 730 -extensions v3_OCSP || fail "Could not generate ocsp.pem"
151 $OPENSSL req -config $PWD/openssl.cnf.tmp -batch -new -newkey rsa:2048 -nodes -out server-revoked.csr -keyout server-revoked.key
152 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -in server-revoked.csr -out server-revoked.pem -key $PASS -days 730 -extensions ext_server
161 $OPENSSL req -config $PWD/openssl.cnf.tmp -batch -new -newkey rsa:2048 -nodes -out server-client.csr -keyout server-client.key || fail "Could not create server-client.key"
162 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_quarantine.h33 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/compiler-rt/lib/tsan/rtl/
H A Dtsan_dense_alloc.h107 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;

Completed in 636 milliseconds

12345