/external/libkmsxx/ |
D | Android.bp | 22 "kms++/src/atomicreq.cpp", 23 "kms++/src/card.cpp", 24 "kms++/src/crtc.cpp", 25 "kms++/src/drmpropobject.cpp", 26 "kms++/src/encoder.cpp", 27 "kms++/src/framebuffer.cpp", 28 "kms++/src/modedb_cea.cpp", 29 "kms++/src/modedb_dmt.cpp", 30 "kms++/src/pixelformats.cpp", 31 "kms++/src/property.cpp", [all …]
|
D | README.md | 3 # kms++ - C++ library for kernel mode setting 5 kms++ is a C++11 library for kernel mode setting. 7 Also included are some simple utilities for KMS and python bindings for kms++. 85 You can use the following runtime environmental variables to control the behavior of kms++.
|
D | CMakeLists.txt | 2 project(kms++) 76 add_subdirectory(kms++) 77 add_subdirectory(kms++util)
|
/external/libdrm/libkms/ |
D | intel.c | 48 intel_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in intel_get_prop() argument 61 intel_destroy(struct kms_driver *kms) in intel_destroy() argument 63 free(kms); in intel_destroy() 68 intel_bo_create(struct kms_driver *kms, in intel_bo_create() argument 108 ret = drmCommandWriteRead(kms->fd, DRM_I915_GEM_CREATE, &arg, sizeof(arg)); in intel_bo_create() 112 bo->base.kms = kms; in intel_bo_create() 126 ret = drmCommandWriteRead(kms->fd, DRM_I915_GEM_SET_TILING, &tile, sizeof(tile)); in intel_bo_create() 168 ret = drmCommandWriteRead(bo->base.kms->fd, DRM_I915_GEM_MMAP_GTT, &arg, sizeof(arg)); in intel_bo_map() 172 map = drm_mmap(0, bo->base.size, PROT_READ | PROT_WRITE, MAP_SHARED, bo->base.kms->fd, arg.offset); in intel_bo_map() 207 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_GEM_CLOSE, &arg); in intel_bo_destroy() [all …]
|
D | exynos.c | 48 exynos_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in exynos_get_prop() argument 61 exynos_destroy(struct kms_driver *kms) in exynos_destroy() argument 63 free(kms); in exynos_destroy() 68 exynos_bo_create(struct kms_driver *kms, in exynos_bo_create() argument 108 ret = drmCommandWriteRead(kms->fd, DRM_EXYNOS_GEM_CREATE, &arg, sizeof(arg)); in exynos_bo_create() 112 bo->base.kms = kms; in exynos_bo_create() 152 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_MODE_MAP_DUMB, &arg); in exynos_bo_map() 156 map = drm_mmap(0, bo->base.size, PROT_READ | PROT_WRITE, MAP_SHARED, bo->base.kms->fd, arg.offset); in exynos_bo_map() 191 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_GEM_CLOSE, &arg); in exynos_bo_destroy() 202 struct kms_driver *kms; in exynos_create() local [all …]
|
D | dumb.c | 46 dumb_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in dumb_get_prop() argument 59 dumb_destroy(struct kms_driver *kms) in dumb_destroy() argument 61 free(kms); in dumb_destroy() 66 dumb_bo_create(struct kms_driver *kms, in dumb_bo_create() argument 98 ret = drmIoctl(kms->fd, DRM_IOCTL_MODE_CREATE_DUMB, &arg); in dumb_bo_create() 102 bo->base.kms = kms; in dumb_bo_create() 142 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_MODE_MAP_DUMB, &arg); in dumb_bo_map() 146 map = drm_mmap(0, bo->base.size, PROT_READ | PROT_WRITE, MAP_SHARED, bo->base.kms->fd, arg.offset); in dumb_bo_map() 181 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_MODE_DESTROY_DUMB, &arg); in dumb_bo_destroy() 192 struct kms_driver *kms; in dumb_create() local [all …]
|
D | vmwgfx.c | 46 vmwgfx_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in vmwgfx_get_prop() argument 59 vmwgfx_destroy(struct kms_driver *kms) in vmwgfx_destroy() argument 61 free(kms); in vmwgfx_destroy() 66 vmwgfx_bo_create(struct kms_driver *kms, in vmwgfx_bo_create() argument 98 bo->base.kms = kms; in vmwgfx_bo_create() 101 ret = drmCommandWriteRead(bo->base.kms->fd, in vmwgfx_bo_create() 145 …map = drm_mmap(NULL, bo->base.size, PROT_READ | PROT_WRITE, MAP_SHARED, bo->base.kms->fd, bo->map_… in vmwgfx_bo_map() 178 drmCommandWrite(bo->base.kms->fd, DRM_VMW_UNREF_DMABUF, &arg, sizeof(arg)); in vmwgfx_bo_destroy() 187 struct kms_driver *kms; in vmwgfx_create() local 189 kms = calloc(1, sizeof(*kms)); in vmwgfx_create() [all …]
|
D | radeon.c | 51 radeon_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in radeon_get_prop() argument 64 radeon_destroy(struct kms_driver *kms) in radeon_destroy() argument 66 free(kms); in radeon_destroy() 71 radeon_bo_create(struct kms_driver *kms, in radeon_bo_create() argument 117 ret = drmCommandWriteRead(kms->fd, DRM_RADEON_GEM_CREATE, in radeon_bo_create() 122 bo->base.kms = kms; in radeon_bo_create() 166 ret = drmCommandWriteRead(bo->base.kms->fd, DRM_RADEON_GEM_MMAP, in radeon_bo_map() 172 bo->base.kms->fd, arg.addr_ptr); in radeon_bo_map() 210 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_GEM_CLOSE, &arg); in radeon_bo_destroy() 221 struct kms_driver *kms; in radeon_create() local [all …]
|
D | nouveau.c | 49 nouveau_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in nouveau_get_prop() argument 62 nouveau_destroy(struct kms_driver *kms) in nouveau_destroy() argument 64 free(kms); in nouveau_destroy() 69 nouveau_bo_create(struct kms_driver *kms, in nouveau_bo_create() argument 114 ret = drmCommandWriteRead(kms->fd, DRM_NOUVEAU_GEM_NEW, &arg, sizeof(arg)); in nouveau_bo_create() 118 bo->base.kms = kms; in nouveau_bo_create() 154 …map = drm_mmap(0, bo->base.size, PROT_READ | PROT_WRITE, MAP_SHARED, bo->base.kms->fd, bo->map_han… in nouveau_bo_map() 189 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_GEM_CLOSE, &arg); in nouveau_bo_destroy() 200 struct kms_driver *kms; in nouveau_create() local 202 kms = calloc(1, sizeof(*kms)); in nouveau_create() [all …]
|
D | api.c | 41 int kms_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in kms_get_prop() argument 49 return kms->get_prop(kms, key, out); in kms_get_prop() 52 int kms_destroy(struct kms_driver **kms) in kms_destroy() argument 54 if (!(*kms)) in kms_destroy() 57 free(*kms); in kms_destroy() 58 *kms = NULL; in kms_destroy() 62 int kms_bo_create(struct kms_driver *kms, const unsigned *attr, struct kms_bo **out) in kms_bo_create() argument 97 return kms->bo_create(kms, width, height, type, attr, out); in kms_bo_create() 118 return bo->kms->bo_map(bo, out); in kms_bo_map() 123 return bo->kms->bo_unmap(bo); in kms_bo_unmap() [all …]
|
D | internal.h | 37 int (*get_prop)(struct kms_driver *kms, const unsigned key, 39 int (*destroy)(struct kms_driver *kms); 41 int (*bo_create)(struct kms_driver *kms, 58 struct kms_driver *kms; member
|
D | libkms.h | 69 int kms_get_prop(struct kms_driver *kms, unsigned key, unsigned *out); 70 int kms_destroy(struct kms_driver **kms); 72 int kms_bo_create(struct kms_driver *kms, const unsigned *attr, struct kms_bo **out);
|
/external/libkmsxx/utils/ |
D | CMakeLists.txt | 5 target_link_libraries(kmstest kms++ kms++util ${LIBDRM_LIBRARIES}) 8 target_link_libraries(kmsview kms++ kms++util ${LIBDRM_LIBRARIES}) 11 target_link_libraries(kmsprint kms++ kms++util ${LIBDRM_LIBRARIES}) 14 target_link_libraries(fbtest kms++util) 17 target_link_libraries(kmscapture kms++ kms++util ${LIBDRM_LIBRARIES}) 20 target_link_libraries(kmsblank kms++ kms++util ${LIBDRM_LIBRARIES}) 23 target_link_libraries(wbcap kms++ kms++util ${LIBDRM_LIBRARIES}) 26 target_link_libraries(wbm2m kms++ kms++util ${LIBDRM_LIBRARIES})
|
/external/libkmsxx/kms++util/ |
D | CMakeLists.txt | 2 file(GLOB PUB_HDRS "inc/kms++util/*.h") 3 add_library(kms++util ${SRCS} ${PUB_HDRS}) 5 target_include_directories(kms++util PUBLIC 10 target_link_libraries(kms++util kms++ pthread) 12 set_target_properties(kms++util PROPERTIES 15 install(TARGETS kms++util 18 PUBLIC_HEADER DESTINATION include/kms++util)
|
/external/libkmsxx/kms++/ |
D | CMakeLists.txt | 8 file(GLOB PUB_HDRS "inc/kms++/*.h") 12 file(GLOB OMAP_PUB_HDRS "inc/kms++/omap/*.h") 18 add_library(kms++ ${SRCS} ${PUB_HDRS}) 20 target_include_directories(kms++ PUBLIC 25 target_link_libraries(kms++ ${LIBDRM_LIBRARIES} ${LIBDRM_OMAP_LIBRARIES}) 27 set_target_properties(kms++ PROPERTIES 30 install(TARGETS kms++ 33 PUBLIC_HEADER DESTINATION include/kms++)
|
/external/libkmsxx/kms++util/inc/kms++util/ |
D | videodevice.h | 27 std::vector<std::tuple<uint32_t, uint32_t>> get_discrete_frame_sizes(kms::PixelFormat fmt); 28 VideoFrameSize get_frame_sizes(kms::PixelFormat fmt); 50 std::vector<kms::DumbFramebuffer*> m_capture_fbs; 51 std::vector<kms::DumbFramebuffer*> m_output_fbs; 72 std::vector<kms::PixelFormat> get_formats(); 73 void set_format(kms::PixelFormat fmt, uint32_t width, uint32_t height); 75 void queue(kms::DumbFramebuffer* fb); 76 kms::DumbFramebuffer* dequeue(); 85 std::vector<kms::DumbFramebuffer*> m_fbs;
|
/external/libdrm/tests/kmstest/ |
D | main.c | 42 static int test_bo(struct kms_driver *kms) in test_bo() argument 53 ret = kms_bo_create(kms, attrs, &bo); in test_bo() 72 struct kms_driver *kms; in main() local 94 ret = kms_create(fd, &kms); in main() 97 ret = test_bo(kms); in main() 103 kms_destroy(&kms); in main() 107 kms_destroy(&kms); in main()
|
/external/libdrm/tests/kms/ |
D | Makefile.am | 24 kms-steal-crtc \ 25 kms-universal-planes 28 kms-steal-crtc \ 29 kms-universal-planes 32 kms_steal_crtc_SOURCES = kms-steal-crtc.c 35 kms_universal_planes_SOURCES = kms-universal-planes.c
|
D | meson.build | 23 'kms-test', 34 'kms-steal-crtc', 35 files('kms-steal-crtc.c'), 43 'kms-universal-planes', 44 files('kms-universal-planes.c'),
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | SSLParametersImpl.java | 117 SSLParametersImpl(KeyManager[] kms, TrustManager[] tms, in SSLParametersImpl() argument 125 if (kms == null) { in SSLParametersImpl() 130 x509KeyManager = findFirstX509KeyManager(kms); in SSLParametersImpl() 131 pskKeyManager = findFirstPSKKeyManager(kms); in SSLParametersImpl() 524 KeyManager[] kms = kmf.getKeyManagers(); in createDefaultX509KeyManager() local 525 X509KeyManager result = findFirstX509KeyManager(kms); in createDefaultX509KeyManager() 528 + Arrays.toString(kms)); in createDefaultX509KeyManager() 545 private static X509KeyManager findFirstX509KeyManager(KeyManager[] kms) { in findFirstX509KeyManager() argument 546 for (KeyManager km : kms) { in findFirstX509KeyManager() 560 private static PSKKeyManager findFirstPSKKeyManager(KeyManager[] kms) { in findFirstPSKKeyManager() argument [all …]
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | SSLParametersImpl.java | 119 SSLParametersImpl(KeyManager[] kms, TrustManager[] tms, in SSLParametersImpl() argument 127 if (kms == null) { in SSLParametersImpl() 132 x509KeyManager = findFirstX509KeyManager(kms); in SSLParametersImpl() 133 pskKeyManager = findFirstPSKKeyManager(kms); in SSLParametersImpl() 529 KeyManager[] kms = kmf.getKeyManagers(); in createDefaultX509KeyManager() local 530 X509KeyManager result = findFirstX509KeyManager(kms); in createDefaultX509KeyManager() 533 + Arrays.toString(kms)); in createDefaultX509KeyManager() 550 private static X509KeyManager findFirstX509KeyManager(KeyManager[] kms) { in findFirstX509KeyManager() argument 551 for (KeyManager km : kms) { in findFirstX509KeyManager() 565 private static PSKKeyManager findFirstPSKKeyManager(KeyManager[] kms) { in findFirstPSKKeyManager() argument [all …]
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | README | 6 - application opens kms device (kmscube, weston, ..) 9 For the kms device case we provide a renderonly based driver like 10 imx where all the magic for buffer import and export between kms
|
/external/libdrm/ |
D | .gitignore | 97 tests/kms/kms-steal-crtc 98 tests/kms/kms-universal-planes
|
/external/libdrm/tests/util/ |
D | Makefile.sources | 5 kms.c \ 6 kms.h \
|
/external/libkmsxx/kms++/src/ |
D | atomicreq.cpp | 26 namespace kms namespace 52 void AtomicReq::add(kms::DrmPropObject* ob, const string& prop, uint64_t value) in add() 57 void AtomicReq::add(kms::DrmPropObject* ob, const map<string, uint64_t>& values) in add()
|