Home
last modified time | relevance | path

Searched refs:rws (Results 1 – 22 of 22) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/
Dr300_screen.c466 struct radeon_winsys *rws = radeon_winsys(pscreen); in r300_destroy_screen() local
468 if (rws) in r300_destroy_screen()
469 rws->destroy(rws); in r300_destroy_screen()
485 struct radeon_winsys *rws = r300_screen(screen)->rws; in r300_fence_signalled() local
488 return !rws->buffer_is_busy(rfence, RADEON_USAGE_READWRITE); in r300_fence_signalled()
495 struct radeon_winsys *rws = r300_screen(screen)->rws; in r300_fence_finish() local
505 while (rws->buffer_is_busy(rfence, RADEON_USAGE_READWRITE)) { in r300_fence_finish()
514 rws->buffer_wait(rfence, RADEON_USAGE_READWRITE); in r300_fence_finish()
518 struct pipe_screen* r300_screen_create(struct radeon_winsys *rws) in r300_screen_create() argument
527 rws->query_info(rws, &r300screen->info); in r300_screen_create()
[all …]
Dr300_flush.c47 r300->rws->cs_flush(r300->cs, flags); in r300_flush_and_cleanup()
82 *rfence = r300->rws->buffer_create(r300->rws, 1, 1, in r300_flush()
86 r300->rws->cs_add_reloc(r300->cs, in r300_flush()
87 r300->rws->buffer_get_cs_handle(*rfence), in r300_flush()
99 r300->rws->cs_flush(r300->cs, flags); in r300_flush()
103 r300->rws->cs_flush(r300->cs, flags); in r300_flush()
128 r300->rws->cs_request_feature(r300->cs, RADEON_FID_R300_HYPERZ_ACCESS, in r300_flush()
Dr300_query.c60 q->buf = r300->rws->buffer_create(r300->rws, 4096, 4096, in r300_create_query()
66 q->cs_buf = r300->rws->buffer_get_cs_handle(q->buf); in r300_create_query()
147 r300->rws->buffer_wait(q->buf, RADEON_USAGE_READWRITE); in r300_get_query_result()
150 vresult->b = !r300->rws->buffer_is_busy(q->buf, RADEON_USAGE_READWRITE); in r300_get_query_result()
155 map = r300->rws->buffer_map(q->cs_buf, r300->cs, in r300_get_query_result()
169 r300->rws->buffer_unmap(q->cs_buf); in r300_get_query_result()
Dr300_transfer.c93 r300->rws->cs_is_buffer_referenced(r300->cs, tex->cs_buf, RADEON_USAGE_READWRITE); in r300_texture_get_transfer()
98 r300->rws->buffer_is_busy(tex->buf, RADEON_USAGE_READWRITE); in r300_texture_get_transfer()
238 return r300->rws->buffer_map(r300transfer->linear_texture->cs_buf, in r300_texture_transfer_map()
242 map = r300->rws->buffer_map(tex->cs_buf, r300->cs, transfer->usage); in r300_texture_transfer_map()
257 struct radeon_winsys *rws = r300_context(ctx)->rws; in r300_texture_transfer_unmap() local
262 rws->buffer_unmap(r300transfer->linear_texture->cs_buf); in r300_texture_transfer_unmap()
264 rws->buffer_unmap(tex->cs_buf); in r300_texture_transfer_unmap()
Dr300_screen_buffer.c105 struct radeon_winsys *rws = r300screen->rws; in r300_buffer_transfer_map() local
120 map = rws->buffer_map(rbuf->cs_buf, r300->cs, usage); in r300_buffer_transfer_map()
172 r300screen->rws->buffer_create(r300screen->rws, in r300_buffer_create()
181 r300screen->rws->buffer_get_cs_handle(rbuf->buf); in r300_buffer_create()
Dr300_texture.c925 struct radeon_winsys *rws = r300_screen(screen)->rws; in r300_resource_get_handle() local
932 return rws->buffer_get_handle(tex->buf, in r300_resource_get_handle()
957 struct radeon_winsys *rws = rscreen->rws; in r300_texture_create_object() local
986 tex->buf = rws->buffer_create(rws, tex->tex.size_in_bytes, 2048, in r300_texture_create_object()
995 tex->cs_buf = rws->buffer_get_cs_handle(tex->buf); in r300_texture_create_object()
997 rws->buffer_set_tiling(tex->buf, NULL, in r300_texture_create_object()
1032 struct radeon_winsys *rws = rscreen->rws; in r300_texture_from_handle() local
1045 buffer = rws->buffer_from_handle(rws, whandle, &stride); in r300_texture_from_handle()
1049 rws->buffer_get_tiling(buffer, &microtile, &macrotile, NULL, NULL, NULL, NULL, NULL); in r300_texture_from_handle()
Dr300_context.c75 r300->rws->cs_request_feature(r300->cs, RADEON_FID_R300_HYPERZ_ACCESS, FALSE); in r300_destroy_context()
90 r300->rws->cs_destroy(r300->cs); in r300_destroy_context()
356 struct radeon_winsys *rws = r300screen->rws; local
361 r300->rws = rws;
373 r300->cs = rws->cs_create(rws);
416 rws->cs_set_flush_callback(r300->cs, r300_flush_callback, r300);
Dr300_screen.h37 struct radeon_winsys *rws; member
55 return r300_screen(screen)->rws; in radeon_winsys()
Dr300_public.h7 struct pipe_screen* r300_screen_create(struct radeon_winsys *rws);
Dr300_emit.c1192 r300->rws->cs_add_reloc(r300->cs, tex->cs_buf, in r300_emit_buffer_validate()
1200 r300->rws->cs_add_reloc(r300->cs, tex->cs_buf, in r300_emit_buffer_validate()
1213 r300->rws->cs_add_reloc(r300->cs, tex->cs_buf, RADEON_USAGE_READ, in r300_emit_buffer_validate()
1219 r300->rws->cs_add_reloc(r300->cs, r300->query_current->cs_buf, in r300_emit_buffer_validate()
1223 r300->rws->cs_add_reloc(r300->cs, r300_resource(r300->vbo)->cs_buf, in r300_emit_buffer_validate()
1238 r300->rws->cs_add_reloc(r300->cs, r300_resource(buf)->cs_buf, in r300_emit_buffer_validate()
1245 r300->rws->cs_add_reloc(r300->cs, r300_resource(index_buffer)->cs_buf, in r300_emit_buffer_validate()
1250 if (!r300->rws->cs_validate(r300->cs)) { in r300_emit_buffer_validate()
Dr300_cs.h43 struct radeon_winsys *cs_winsys = (context)->rws; \
Dr300_render.c375 map[vbi] = (uint32_t*)r300->rws->buffer_map( in r300_draw_arrays_immediate()
404 r300->rws->buffer_unmap(r300_resource(r300->vertex_buffer[vbi].buffer)->cs_buf); in r300_draw_arrays_immediate()
619 uint16_t *ptr = r300->rws->buffer_map(r300_resource(orgIndexBuffer)->cs_buf, in r300_draw_elements()
633 r300->rws->buffer_unmap(r300_resource(orgIndexBuffer)->cs_buf); in r300_draw_elements()
Dr300_context.h454 struct radeon_winsys *rws; member
Dr300_blit.c248 r300->rws->cs_request_feature(r300->cs, in r300_clear()
Dr300_state.c766 r300->rws->buffer_set_tiling(tex->buf, r300->cs, in r300_tex_set_tiling_flags()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.c114 struct radeon_drm_winsys *rws; member
169 while (drmCommandWriteRead(bo->rws->fd, DRM_RADEON_GEM_WAIT_IDLE, in radeon_bo_wait()
194 return drmCommandWriteRead(bo->rws->fd, DRM_RADEON_GEM_BUSY, in radeon_bo_is_busy()
384 drmIoctl(bo->rws->fd, DRM_IOCTL_GEM_CLOSE, &args); in radeon_bo_destroy()
478 if (drmCommandWriteRead(bo->rws->fd, in radeon_bo_map()
489 bo->rws->fd, args.addr_ptr); in radeon_bo_map()
541 struct radeon_drm_winsys *rws = mgr->rws; in radeon_bomgr_create_bo() local
557 if (drmCommandWriteRead(rws->fd, DRM_RADEON_GEM_CREATE, in radeon_bomgr_create_bo()
576 bo->rws = mgr->rws; in radeon_bomgr_create_bo()
594 r = drmCommandWriteRead(rws->fd, DRM_RADEON_GEM_VA, &va, sizeof(va)); in radeon_bomgr_create_bo()
[all …]
Dradeon_drm_winsys.c320 static void radeon_winsys_destroy(struct radeon_winsys *rws) in radeon_winsys_destroy() argument
322 struct radeon_drm_winsys *ws = (struct radeon_drm_winsys*)rws; in radeon_winsys_destroy()
332 FREE(rws); in radeon_winsys_destroy()
335 static void radeon_query_info(struct radeon_winsys *rws, in radeon_query_info() argument
338 *info = ((struct radeon_drm_winsys *)rws)->info; in radeon_query_info()
369 static int radeon_drm_winsys_surface_init(struct radeon_winsys *rws, in radeon_drm_winsys_surface_init() argument
372 struct radeon_drm_winsys *ws = (struct radeon_drm_winsys*)rws; in radeon_drm_winsys_surface_init()
377 static int radeon_drm_winsys_surface_best(struct radeon_winsys *rws, in radeon_drm_winsys_surface_best() argument
380 struct radeon_drm_winsys *ws = (struct radeon_drm_winsys*)rws; in radeon_drm_winsys_surface_best()
385 static uint64_t radeon_query_timestamp(struct radeon_winsys *rws) in radeon_query_timestamp() argument
[all …]
Dradeon_drm_bo.h51 struct radeon_drm_winsys *rws; member
72 struct pb_manager *radeon_bomgr_create(struct radeon_drm_winsys *rws);
Dradeon_drm_cs.h95 return num_refs == bo->rws->num_cs || in radeon_bo_is_referenced_by_cs()
Dradeon_drm_cs.c162 static struct radeon_winsys_cs *radeon_drm_cs_create(struct radeon_winsys *rws) in radeon_drm_cs_create() argument
164 struct radeon_drm_winsys *ws = radeon_drm_winsys(rws); in radeon_drm_cs_create()
/external/openfst/
DAUTHORS16 Richard Sproat <rws@cslu.ogi.edu>
/external/libgdx/gdx/jni/gdx2d/
Dstb_image.h3179 __m128i rws = _mm_add_epi16(cr0, yws); in stbi__YCbCr_to_RGB_simd() local
3185 __m128i rw = _mm_srai_epi16(rws, 4); in stbi__YCbCr_to_RGB_simd()
3235 int16x8_t rws = vaddq_s16(yws, cr0); in stbi__YCbCr_to_RGB_simd() local
3241 o.val[0] = vqrshrun_n_s16(rws, 4); in stbi__YCbCr_to_RGB_simd()