Home
last modified time | relevance | path

Searched refs:batch (Results 1 – 25 of 216) sorted by relevance

123456789

/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_batchbuffer.c43 struct cached_batch_item *item = intel->batch.cached_items; in clear_cache()
51 intel->batch.cached_items = NULL; in clear_cache()
64 intel->batch.workaround_bo = drm_intel_bo_alloc(intel->bufmgr, in intel_batchbuffer_init()
73 if (intel->batch.last_bo != NULL) { in intel_batchbuffer_reset()
74 drm_intel_bo_unreference(intel->batch.last_bo); in intel_batchbuffer_reset()
75 intel->batch.last_bo = NULL; in intel_batchbuffer_reset()
77 intel->batch.last_bo = intel->batch.bo; in intel_batchbuffer_reset()
81 intel->batch.bo = drm_intel_bo_alloc(intel->bufmgr, "batchbuffer", in intel_batchbuffer_reset()
84 intel->batch.reserved_space = BATCH_RESERVED; in intel_batchbuffer_reset()
85 intel->batch.state_batch_offset = intel->batch.bo->size; in intel_batchbuffer_reset()
[all …]
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_batchbuffer.c43 struct cached_batch_item *item = intel->batch.cached_items; in clear_cache()
51 intel->batch.cached_items = NULL; in clear_cache()
64 intel->batch.workaround_bo = drm_intel_bo_alloc(intel->bufmgr, in intel_batchbuffer_init()
73 if (intel->batch.last_bo != NULL) { in intel_batchbuffer_reset()
74 drm_intel_bo_unreference(intel->batch.last_bo); in intel_batchbuffer_reset()
75 intel->batch.last_bo = NULL; in intel_batchbuffer_reset()
77 intel->batch.last_bo = intel->batch.bo; in intel_batchbuffer_reset()
81 intel->batch.bo = drm_intel_bo_alloc(intel->bufmgr, "batchbuffer", in intel_batchbuffer_reset()
84 intel->batch.reserved_space = BATCH_RESERVED; in intel_batchbuffer_reset()
85 intel->batch.state_batch_offset = intel->batch.bo->size; in intel_batchbuffer_reset()
[all …]
Dintel_batchbuffer.h83 return (intel->batch.state_batch_offset - intel->batch.reserved_space) in intel_batchbuffer_space()
84 - intel->batch.used*4; in intel_batchbuffer_space()
94 intel->batch.map[intel->batch.used++] = dword; in intel_batchbuffer_emit_dword()
109 intel->batch.is_blit != is_blit && intel->batch.used) { in intel_batchbuffer_require_space()
113 intel->batch.is_blit = is_blit; in intel_batchbuffer_require_space()
116 assert(sz < sizeof(intel->batch.map) - BATCH_RESERVED); in intel_batchbuffer_require_space()
127 intel->batch.emit = intel->batch.used; in intel_batchbuffer_begin()
129 intel->batch.total = n; in intel_batchbuffer_begin()
137 struct intel_batchbuffer *batch = &intel->batch; in intel_batchbuffer_advance() local
138 unsigned int _n = batch->used - batch->emit; in intel_batchbuffer_advance()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_batchbuffer.c43 struct cached_batch_item *item = intel->batch.cached_items; in clear_cache()
51 intel->batch.cached_items = NULL; in clear_cache()
64 intel->batch.workaround_bo = drm_intel_bo_alloc(intel->bufmgr, in intel_batchbuffer_init()
73 if (intel->batch.last_bo != NULL) { in intel_batchbuffer_reset()
74 drm_intel_bo_unreference(intel->batch.last_bo); in intel_batchbuffer_reset()
75 intel->batch.last_bo = NULL; in intel_batchbuffer_reset()
77 intel->batch.last_bo = intel->batch.bo; in intel_batchbuffer_reset()
81 intel->batch.bo = drm_intel_bo_alloc(intel->bufmgr, "batchbuffer", in intel_batchbuffer_reset()
84 intel->batch.reserved_space = BATCH_RESERVED; in intel_batchbuffer_reset()
85 intel->batch.state_batch_offset = intel->batch.bo->size; in intel_batchbuffer_reset()
[all …]
Dbrw_state_batch.c43 struct intel_batchbuffer *batch = &brw->intel.batch; in brw_track_state_batch() local
50 batch->bo->size / 32); in brw_track_state_batch()
90 4*intel->batch.used); in brw_annotate_aub()
101 drm_intel_bufmgr_gem_set_aub_annotations(intel->batch.bo, annotations, in brw_annotate_aub()
126 struct intel_batchbuffer *batch = &brw->intel.batch; in brw_state_batch() local
129 assert(size < batch->bo->size); in brw_state_batch()
130 offset = ROUND_DOWN_TO(batch->state_batch_offset - size, alignment); in brw_state_batch()
136 if (batch->state_batch_offset < size || in brw_state_batch()
137 offset < 4*batch->used + batch->reserved_space) { in brw_state_batch()
139 offset = ROUND_DOWN_TO(batch->state_batch_offset - size, alignment); in brw_state_batch()
[all …]
Dbrw_state_dump.c43 uint32_t *data = intel->batch.bo->virtual + offset; in batch_out()
84 struct brw_vs_unit_state *vs = intel->batch.bo->virtual + offset; in dump_vs_state()
100 struct brw_gs_unit_state *gs = intel->batch.bo->virtual + offset; in dump_gs_state()
116 struct brw_clip_unit_state *clip = intel->batch.bo->virtual + offset; in dump_clip_state()
136 struct brw_sf_unit_state *sf = intel->batch.bo->virtual + offset; in dump_sf_state()
153 struct brw_wm_unit_state *wm = intel->batch.bo->virtual + offset; in dump_wm_state()
180 uint32_t *surf = brw->intel.batch.bo->virtual + offset; in dump_surface_state()
204 struct gen7_surface_state *surf = brw->intel.batch.bo->virtual + offset; in dump_gen7_surface_state()
227 struct gen5_sampler_default_color *sdc = (intel->batch.bo->virtual + in dump_sdc()
242 struct brw_sampler_default_color *sdc = (intel->batch.bo->virtual + in dump_sdc()
[all …]
/external/mesa3d/src/gallium/winsys/i915/drm/
Di915_drm_batchbuffer.c30 i915_drm_batchbuffer(struct i915_winsys_batchbuffer *batch) in i915_drm_batchbuffer() argument
32 return (struct i915_drm_batchbuffer *)batch; in i915_drm_batchbuffer()
36 i915_drm_batchbuffer_reset(struct i915_drm_batchbuffer *batch) in i915_drm_batchbuffer_reset() argument
38 struct i915_drm_winsys *idws = i915_drm_winsys(batch->base.iws); in i915_drm_batchbuffer_reset()
40 if (batch->bo) in i915_drm_batchbuffer_reset()
41 drm_intel_bo_unreference(batch->bo); in i915_drm_batchbuffer_reset()
42 batch->bo = drm_intel_bo_alloc(idws->gem_manager, in i915_drm_batchbuffer_reset()
44 batch->actual_size, in i915_drm_batchbuffer_reset()
47 memset(batch->base.map, 0, batch->actual_size); in i915_drm_batchbuffer_reset()
48 batch->base.ptr = batch->base.map; in i915_drm_batchbuffer_reset()
[all …]
/external/mesa3d/src/gallium/winsys/i915/sw/
Di915_sw_batchbuffer.c25 i915_sw_batchbuffer(struct i915_winsys_batchbuffer *batch) in i915_sw_batchbuffer() argument
27 return (struct i915_sw_batchbuffer *)batch; in i915_sw_batchbuffer()
31 i915_sw_batchbuffer_reset(struct i915_sw_batchbuffer *batch) in i915_sw_batchbuffer_reset() argument
33 memset(batch->base.map, 0, batch->actual_size); in i915_sw_batchbuffer_reset()
34 batch->base.ptr = batch->base.map; in i915_sw_batchbuffer_reset()
35 batch->base.size = batch->actual_size - BATCH_RESERVED; in i915_sw_batchbuffer_reset()
36 batch->base.relocs = 0; in i915_sw_batchbuffer_reset()
43 struct i915_sw_batchbuffer *batch = CALLOC_STRUCT(i915_sw_batchbuffer); in i915_sw_batchbuffer_create() local
45 batch->actual_size = isws->max_batch_size; in i915_sw_batchbuffer_create()
47 batch->base.map = MALLOC(batch->actual_size); in i915_sw_batchbuffer_create()
[all …]
/external/mesa3d/src/gallium/drivers/i915/
Di915_batchbuffer.h37 i915_winsys_batchbuffer_space(struct i915_winsys_batchbuffer *batch) in i915_winsys_batchbuffer_space() argument
39 return batch->size - (batch->ptr - batch->map); in i915_winsys_batchbuffer_space()
43 i915_winsys_batchbuffer_check(struct i915_winsys_batchbuffer *batch, in i915_winsys_batchbuffer_check() argument
46 return dwords * 4 <= i915_winsys_batchbuffer_space(batch); in i915_winsys_batchbuffer_check()
50 i915_winsys_batchbuffer_dword_unchecked(struct i915_winsys_batchbuffer *batch, in i915_winsys_batchbuffer_dword_unchecked() argument
53 *(unsigned *)batch->ptr = dword; in i915_winsys_batchbuffer_dword_unchecked()
54 batch->ptr += 4; in i915_winsys_batchbuffer_dword_unchecked()
58 i915_winsys_batchbuffer_float(struct i915_winsys_batchbuffer *batch, in i915_winsys_batchbuffer_float() argument
63 assert (i915_winsys_batchbuffer_space(batch) >= 4); in i915_winsys_batchbuffer_float()
64 i915_winsys_batchbuffer_dword_unchecked(batch, uif.ui); in i915_winsys_batchbuffer_float()
[all …]
Di915_flush.c49 if (!fence && i915->batch && (i915->batch->map == i915->batch->ptr)) { in i915_flush_pipe()
71 struct i915_winsys_batchbuffer *batch = i915->batch; in i915_flush() local
73 batch->iws->batchbuffer_flush(batch, fence); in i915_flush()
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)
/external/skia/src/gpu/
DGrDrawTarget.cpp224 void GrDrawTarget::drawBatch(const GrPipelineBuilder& pipelineBuilder, GrDrawBatch* batch) { in drawBatch() argument
228 if (!fClipMaskManager->setupClipping(pipelineBuilder, &ars, &batch->bounds(), &clip)) { in drawBatch()
238 if (!this->installPipelineInDrawBatch(&pipelineBuilder, &clip.scissorState(), batch)) { in drawBatch()
244 batch->pipeline()->addDependenciesTo(fRenderTarget); in drawBatch()
247 this->recordBatch(batch); in drawBatch()
312 GrBatch* batch = GrStencilPathBatch::Create(viewMatrix, in stencilPath() local
317 this->recordBatch(batch); in stencilPath()
318 batch->unref(); in stencilPath()
322 GrDrawPathBatchBase* batch) { in drawPathBatch() argument
331 if (!fClipMaskManager->setupClipping(pipelineBuilder, &ars, &batch->bounds(), &clip)) { in drawPathBatch()
[all …]
DGrDrawContext.cpp231 SkAutoTUnref<GrDrawBatch> batch( in drawPaint() local
234 this->getDrawTarget()->drawBatch(pipelineBuilder, batch); in drawPaint()
305 SkAutoTUnref<GrDrawBatch> batch; in drawRect() local
310 batch.reset(GrRectBatchFactory::CreateAAStroke(color, viewMatrix, rect, in drawRect()
318 batch.reset(GrRectBatchFactory::CreateAAFill(color, viewMatrix, rect, in drawRect()
322 if (!batch) { in drawRect()
333 batch.reset(GrRectBatchFactory::CreateNonAAStroke(color, viewMatrix, rect, width, in drawRect()
343 batch.reset(GrRectBatchFactory::CreateNonAAFill(color, viewMatrix, rect, nullptr, nullptr)); in drawRect()
345 this->getDrawTarget()->drawBatch(pipelineBuilder, batch); in drawRect()
361 SkAutoTUnref<GrDrawBatch> batch; in fillRectToRect() local
[all …]
/external/libdrm/intel/
DMakefile.am52 tests/gen4-3d.batch \
53 tests/gm45-3d.batch \
54 tests/gen5-3d.batch \
55 tests/gen6-3d.batch \
56 tests/gen7-2d-copy.batch \
57 tests/gen7-3d.batch
60 $(BATCHES:.batch=.batch.sh) \
65 $(BATCHES:.batch=.batch.sh) \
66 $(BATCHES:.batch=.batch-ref.txt) \
67 $(BATCHES:.batch=.batch-ref.txt) \
[all …]
/external/skia/src/gpu/batches/
DGrAtlasTextBatch.h36 GrAtlasTextBatch* batch = new GrAtlasTextBatch; in CreateBitmap() local
38 batch->fFontCache = fontCache; in CreateBitmap()
41 batch->fMaskType = kGrayscaleCoverageMask_MaskType; in CreateBitmap()
44 batch->fMaskType = kLCDCoverageMask_MaskType; in CreateBitmap()
47 batch->fMaskType = kColorBitmapMask_MaskType; in CreateBitmap()
50 batch->fBatch.fNumGlyphs = glyphCount; in CreateBitmap()
51 batch->fGeoCount = 1; in CreateBitmap()
52 batch->fFilteredColor = 0; in CreateBitmap()
53 batch->fFontCache = fontCache; in CreateBitmap()
54 batch->fUseBGR = false; in CreateBitmap()
[all …]
DGrNonAAFillRectBatch.cpp216 inline static void append_to_batch(NonAAFillRectBatchSimple* batch, GrColor color, in append_to_batch() argument
220 NonAAFillRectBatchSimple::Geometry& geo = batch->geoData()->push_back(); in append_to_batch()
237 inline static void append_to_batch(NonAAFillRectBatchPerspective* batch, GrColor color, in append_to_batch() argument
241 NonAAFillRectBatchPerspective::Geometry& geo = batch->geoData()->push_back(); in append_to_batch()
264 NonAAFillRectBatchSimple* batch = NonAAFillRectBatchSimple::Create(); in Create() local
265 append_to_batch(batch, color, viewMatrix, rect, localRect, localMatrix); in Create()
266 batch->init(); in Create()
267 return batch; in Create()
275 NonAAFillRectBatchPerspective* batch = NonAAFillRectBatchPerspective::Create(); in CreateWithPerspective() local
276 append_to_batch(batch, color, viewMatrix, rect, localRect, localMatrix); in CreateWithPerspective()
[all …]
DGrAAFillRectBatch.cpp309 inline static void append_to_batch(AAFillRectBatchNoLocalMatrix* batch, GrColor color, in append_to_batch() argument
312 AAFillRectBatchNoLocalMatrix::Geometry& geo = batch->geoData()->push_back(); in append_to_batch()
319 inline static void append_to_batch(AAFillRectBatchLocalMatrix* batch, GrColor color, in append_to_batch() argument
322 AAFillRectBatchLocalMatrix::Geometry& geo = batch->geoData()->push_back(); in append_to_batch()
336 AAFillRectBatchNoLocalMatrix* batch = AAFillRectBatchNoLocalMatrix::Create(); in Create() local
337 append_to_batch(batch, color, viewMatrix, rect, devRect); in Create()
338 batch->init(); in Create()
339 return batch; in Create()
347 AAFillRectBatchLocalMatrix* batch = AAFillRectBatchLocalMatrix::Create(); in Create() local
348 append_to_batch(batch, color, viewMatrix, localMatrix, rect, devRect); in Create()
[all …]
/external/jsoncpp/src/lib_json/
Djson_batchallocator.h44 for (BatchInfo* batch = batches_; batch;) { in ~BatchAllocator() local
45 BatchInfo* nextBatch = batch->next_; in ~BatchAllocator()
46 free(batch); in ~BatchAllocator()
47 batch = nextBatch; in ~BatchAllocator()
103 BatchInfo* batch = static_cast<BatchInfo*>(malloc(mallocSize)); in allocateBatch() local
104 batch->next_ = 0; in allocateBatch()
105 batch->used_ = batch->buffer_; in allocateBatch()
106 batch->end_ = batch->buffer_ + objectsPerPage; in allocateBatch()
107 return batch; in allocateBatch()
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
Dbatch_test.py10 from apitools.base.py import batch
90 batch_api_request = batch.BatchApiRequest(batch_url=desired_url,
140 batch_api_request = batch.BatchApiRequest(batch_url=desired_url)
188 batch_api_request = batch.BatchApiRequest(batch_url=desired_url)
250 batch_api_request = batch.BatchApiRequest(batch_url=desired_url)
263 batch_request = batch.BatchHttpRequest('https://www.example.com')
275 batch_request = batch.BatchHttpRequest('https://www.example.com')
286 batch_request = batch.BatchHttpRequest('https://www.example.com')
309 batch_request = batch.BatchHttpRequest('https://www.example.com')
322 batch_request = batch.BatchHttpRequest('https://www.example.com')
[all …]
/external/autotest/client/site_tests/security_ptraceRestrictions/src/
Dptrace-restrictions.sh39 OUT=$(gdb -ex run -ex quit --batch ./sleeper </dev/null 2>&1)
50 OUT=$(gdb -ex "attach $pid" -ex "quit" --batch </dev/null 2>&1)
67 OUT=$(gdb -ex "attach 1" -ex "quit" --batch </dev/null 2>&1)
89 OUT=$(gdb -ex "attach $pid" -ex "quit" --batch </dev/null 2>&1)
101 OUT=$(gdb -ex "attach $pid" -ex "quit" --batch </dev/null 2>&1)
113 OUT=$(gdb -ex "attach $pid" -ex "quit" --batch </dev/null 2>&1)
125 OUT=$(gdb -ex "attach $pid" -ex "quit" --batch </dev/null 2>&1)
/external/javasqlite/src/main/java/SQLite/JDBC2z/
DJDBCStatement.java12 private ArrayList<String> batch; field in JDBCStatement
18 this.batch = null; in JDBCStatement()
177 if (batch == null) { in addBatch()
178 batch = new ArrayList<String>(1); in addBatch()
180 batch.add(sql); in addBatch()
184 if (batch == null) { in executeBatch()
187 int[] ret = new int[batch.size()]; in executeBatch()
194 execute((String) batch.get(i)); in executeBatch()
207 if (batch != null) { in clearBatch()
208 batch.clear(); in clearBatch()
[all …]
/external/wpa_supplicant_8/hs20/server/ca/
Dsetup.sh105 …$OPENSSL req -config openssl.cnf.tmp -batch -new -newkey rsa:4096 -keyout rootCA/private/cakey.pem…
107 …ssl.cnf.tmp -md sha256 -create_serial -out rootCA/cacert.pem -days 10957 -batch -keyfile rootCA/pr…
126 …$OPENSSL req -config openssl.cnf.tmp -batch -new -newkey rsa:2048 -keyout demoCA/private/cakey.pem…
128 …nssl.cnf.tmp -md sha256 -create_serial -out demoCA/cacert.pem -days 3652 -batch -keyfile rootCA/pr…
143 $OPENSSL req -config $PWD/openssl.cnf.tmp -batch -new -newkey rsa:2048 -nodes -out ocsp.csr -keyout…
144 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -keyfile demoCA/private/cakey.pem -passi…
151 $OPENSSL req -config $PWD/openssl.cnf.tmp -batch -new -newkey rsa:2048 -nodes -out server-revoked.c…
152 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -in server-revoked.csr -out server-revok…
161 $OPENSSL req -config $PWD/openssl.cnf.tmp -batch -new -newkey rsa:2048 -nodes -out server-client.cs…
162 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -in server-client.csr -out server-client…
[all …]
/external/drm_gralloc/
Dgralloc_drm_intel.c63 uint32_t *batch, *cur; member
77 info->cur = info->batch; in batch_next()
91 return info->cur - info->batch; in batch_count()
105 uint32_t offset = (info->cur - info->batch) * sizeof(info->batch[0]); in batch_reloc()
128 size *= sizeof(info->batch[0]); in batch_flush()
129 ret = drm_intel_bo_subdata(info->batch_ibo, 0, size, info->batch); in batch_flush()
144 info->cur = info->batch; in batch_flush()
168 if (info->batch) { in batch_destroy()
169 free(info->batch); in batch_destroy()
170 info->batch = NULL; in batch_destroy()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/dynamodb2/
Dtest_table.py2029 with self.users.batch_write() as batch:
2039 with self.users.batch_write() as batch:
2040 batch.put_item(data={
2044 batch.delete_item(username='johndoe')
2045 batch.put_item(data={
2084 with self.users.batch_write() as batch:
2096 with self.users.batch_write() as batch:
2097 batch.put_item(data={
2102 batch.delete_item(username='johndoe1')
2103 batch.delete_item(username='johndoe2')
[all …]
/external/libdrm/tests/exynos/
Dexynos_fimg2d_perf.c110 unsigned buf_width, unsigned buf_height, unsigned iterations, unsigned batch) in fimg2d_perf_multi() argument
119 images = calloc(batch, sizeof(struct g2d_image)); in fimg2d_perf_multi()
125 for (i = 0; i < batch; ++i) { in fimg2d_perf_multi()
136 printf("starting multi G2D performance test (batch size = %u)\n", batch); in fimg2d_perf_multi()
146 for (j = 0; j < batch; ++j) { in fimg2d_perf_multi()
227 unsigned int iters = 0, batch = 3; in main() local
240 if (sscanf(optarg, "%u", &batch) != 1) in main()
312 ret = fimg2d_perf_multi(bo, ctx, bufw, bufh, iters, batch); in main()

123456789