Home
last modified time | relevance | path

Searched refs:Driver (Results 1 - 25 of 60) sorted by relevance

123

/third_party/mesa3d/src/tool/pps/
H A Dpps_driver.h22 /// @brief Abstract Driver class
23 class Driver class
27 static const std::unordered_map<std::string, std::unique_ptr<Driver>> &get_supported_drivers();
33 static Driver *get_driver(DrmDevice &&drm_device);
41 Driver() = default;
42 virtual ~Driver() = default;
45 Driver(const Driver &) = delete;
46 Driver &operator=(const Driver
[all...]
H A Dpps_driver.cc33 std::unordered_map<std::string, std::unique_ptr<Driver>> create_supported_drivers() in create_supported_drivers()
35 std::unordered_map<std::string, std::unique_ptr<Driver>> map; in create_supported_drivers()
52 const std::unordered_map<std::string, std::unique_ptr<Driver>> &Driver::get_supported_drivers() in get_supported_drivers()
58 const std::vector<std::string> Driver::supported_device_names() in supported_device_names()
69 Driver *Driver::get_driver(DrmDevice &&drm_device) in get_driver()
77 Driver *driver = it->second.get(); in get_driver()
82 std::string Driver::default_driver_name() in default_driver_name()
84 auto supported_devices = Driver in default_driver_name()
[all...]
H A Dpps_counter.h30 class Driver;
47 /// @param d Driver used to sample performance counters
49 using Getter = Value(const Counter &c, const Driver &d);
64 /// @brief d Driver used to sample performance counters
66 Value get_value(const Driver &d) const;
97 /// @brief d Driver used to sample performance counters
99 inline Counter::Value Counter::get_value(const Driver &d) const in get_value()
H A Dpps_producer.cc24 (argc > 1) ? Driver::find_driver_name(argv[1]) : Driver::default_driver_name(); in main()
H A Dpps_config.cc149 auto driver = Driver::get_driver(std::move(device)); in main()
157 if (auto driver = Driver::get_driver(std::move(device.value()))) { in main()
197 if (auto driver = Driver::get_driver(std::move(device.value()))) { in main()
211 if (auto driver = Driver::get_driver(std::move(device.value()))) { in main()
H A Dpps_datasource.h25 class Driver;
61 Driver *driver = nullptr;
H A Dpps_datasource.cc45 if (auto driver = Driver::get_driver(std::move(drm_device))) { in OnSetup()
179 Driver &driver) in add_descriptors()
217 void add_samples(perfetto::protos::pbzero::GpuCounterEvent &event, const Driver &driver) in add_samples()
239 void add_timestamp(perfetto::protos::pbzero::ClockSnapshot *event, const Driver *driver) in add_timestamp()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/
H A DDriver.hpp17 // Driver is used to load a Vulkan graphics driver and expose its functions.
20 class Driver class
23 Driver();
24 ~Driver();
61 Driver(const Driver &) = delete;
62 Driver(Driver &&) = delete;
63 Driver &operator=(const Driver
[all...]
H A DDriver.cpp15 #include "Driver.hpp"
36 Driver::Driver() in Driver() function in Driver
48 Driver::~Driver() in ~Driver()
53 bool Driver::loadSwiftShader() in loadSwiftShader()
99 bool Driver::loadSystem() in loadSystem()
108 bool Driver::load(const char *path) in load()
143 void Driver::unload() in unload()
167 bool Driver
[all...]
H A DDevice.hpp20 class Driver;
38 Driver const *driver, VkInstance instance, std::unique_ptr<Device> &out);
140 Driver const *driver, VkInstance instance,
144 Driver const *driver, VkPhysicalDevice device);
147 Device(Driver const *driver, VkDevice device, VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex);
151 Driver const *driver, VkPhysicalDevice device);
153 Driver const *driver;
H A DDevice.cpp16 #include "Driver.hpp"
26 Driver const *driver, VkDevice device, VkPhysicalDevice physicalDevice, in Device()
49 Driver const *driver, VkInstance instance, std::unique_ptr<Device> &out) in CreateComputeDevice()
108 Driver const *driver, VkPhysicalDevice device) in GetComputeQueueFamilyIndex()
123 Driver const *driver, VkPhysicalDevice device) in GetPhysicalDeviceQueueFamilyProperties()
134 const Driver *driver, VkInstance instance, in GetPhysicalDevices()
H A DBasicTests.cpp19 #include "Driver.hpp"
27 static Driver driver;
40 Driver BasicTest::driver;
/third_party/mesa3d/src/gallium/targets/d3dadapter9/
H A Ddescription.c252 strncpy(drvid->Driver, "igdumd32.dll", sizeof(drvid->Driver)); in d3d_fill_driver_version()
257 strncpy(drvid->Driver, "vm3dum.dll", sizeof(drvid->Driver)); in d3d_fill_driver_version()
262 strncpy(drvid->Driver, "atiumdag.dll", sizeof(drvid->Driver)); in d3d_fill_driver_version()
267 strncpy(drvid->Driver, "nvd3dum.dll", sizeof(drvid->Driver)); in d3d_fill_driver_version()
/third_party/mesa3d/src/panfrost/ds/
H A Dpan_pps_driver.h22 class PanfrostDriver : public Driver
25 static inline PanfrostDriver &into(Driver &dri);
26 static inline const PanfrostDriver &into(const Driver &dri);
53 PanfrostDriver &PanfrostDriver::into(Driver &dri) in into()
58 const PanfrostDriver &PanfrostDriver::into(const Driver &dri) in into()
/third_party/mesa3d/src/egl/main/
H A Deglapi.c650 disp->Driver = &_eglDriver; in eglInitialize()
705 disp->Driver->Terminate(disp); in eglTerminate()
706 /* do not reset disp->Driver */ in eglTerminate()
830 context = disp->Driver->CreateContext(disp, conf, share, attrib_list); in eglCreateContext()
848 ret = disp->Driver->DestroyContext(disp, context); in eglDestroyContext()
875 if (!disp->Driver) in eglMakeCurrent()
912 ret = disp->Driver->MakeCurrent(disp, draw_surf, read_surf, context); in eglMakeCurrent()
999 surf = disp->Driver->CreateWindowSurface(disp, conf, native_window, attrib_list); in _eglCreateWindowSurfaceCommon()
1142 surf = disp->Driver->CreatePixmapSurface(disp, conf, native_pixmap, attrib_list); in _eglCreatePixmapSurfaceCommon()
1213 surf = disp->Driver in eglCreatePbufferSurface()
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dcontext.h138 return ctx->Driver.CurrentExecPrimitive != PRIM_OUTSIDE_BEGIN_END; in _mesa_inside_begin_end()
148 return ctx->Driver.CurrentSavePrimitive <= PRIM_MAX; in _mesa_inside_dlist_begin_end()
173 if (ctx->Driver.NeedFlush & FLUSH_STORED_VERTICES) \
193 if (ctx->Driver.NeedFlush & FLUSH_UPDATE_CURRENT) \
210 if (ctx->Driver.NeedFlush) { \
212 if (ctx->Driver.NeedFlush & FLUSH_UPDATE_CURRENT) \
215 vbo_exec_FlushVertices(ctx, ctx->Driver.NeedFlush); \
H A Drobustness.c135 if (ctx->Driver.GetGraphicsResetStatus) { in _mesa_GetGraphicsResetStatusARB()
138 status = ctx->Driver.GetGraphicsResetStatus(ctx); in _mesa_GetGraphicsResetStatusARB()
161 if (!ctx->Driver.GetGraphicsResetStatus && (MESA_VERBOSE & VERBOSE_API)) in _mesa_GetGraphicsResetStatusARB()
/third_party/mesa3d/src/mesa/vbo/
H A Dvbo_save_draw.c124 ctx->Driver.CurrentExecPrimitive = PRIM_OUTSIDE_BEGIN_END; in playback_copy_to_current()
126 ctx->Driver.CurrentExecPrimitive = prim->mode; in playback_copy_to_current()
195 if (!ctx->Driver.DrawGalliumVertexState || ctx->RenderMode != GL_RENDER) in vbo_save_playback_vertex_list_gallium()
276 ctx->Driver.DrawGalliumVertexState(ctx, state, info, in vbo_save_playback_vertex_list_gallium()
282 ctx->Driver.DrawGalliumVertexState(ctx, state, info, in vbo_save_playback_vertex_list_gallium()
335 ctx->Driver.DrawGalliumMultiMode(ctx, info, in vbo_save_playback_vertex_list()
340 ctx->Driver.DrawGallium(ctx, info, 0, &node->start_count, 1); in vbo_save_playback_vertex_list()
342 ctx->Driver.DrawGallium(ctx, info, 0, node->start_counts, in vbo_save_playback_vertex_list()
H A Dvbo_exec.c117 ctx->Driver.NeedFlush = 0; in vbo_exec_init()
118 ctx->Driver.CurrentExecPrimitive = PRIM_OUTSIDE_BEGIN_END; in vbo_exec_init()
H A Dvbo_exec_api.c114 exec->vtx.mode[0] = ctx->Driver.CurrentExecPrimitive; in vbo_exec_wrap_buffers()
506 ctx->Driver.NeedFlush |= FLUSH_UPDATE_CURRENT; \
694 ctx->Driver.NeedFlush = 0; in vbo_exec_FlushVertices_internal()
704 ctx->Driver.NeedFlush = ~FLUSH_UPDATE_CURRENT; in vbo_exec_FlushVertices_internal()
849 ctx->Driver.CurrentExecPrimitive = mode; in _mesa_Begin()
942 ctx->Driver.NeedFlush |= FLUSH_STORED_VERTICES; in _mesa_End()
973 ctx->Driver.CurrentExecPrimitive = PRIM_OUTSIDE_BEGIN_END; in _mesa_End()
993 curPrim = ctx->Driver.CurrentExecPrimitive; in _mesa_PrimitiveRestartNV()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-kern.hh38 template <typename Driver>
41 hb_kern_machine_t (const Driver &driver_, in hb_kern_machine_t()
130 const Driver &driver;
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_cb_feedback.c291 st_init_draw_functions(st->screen, &ctx->Driver); in st_RenderMode()
295 st_init_hw_select_draw_functions(st->screen, &ctx->Driver); in st_RenderMode()
301 ctx->Driver.DrawGallium = _mesa_draw_gallium_fallback; in st_RenderMode()
302 ctx->Driver.DrawGalliumMultiMode = _mesa_draw_gallium_multimode_fallback; in st_RenderMode()
312 ctx->Driver.DrawGallium = _mesa_draw_gallium_fallback; in st_RenderMode()
313 ctx->Driver.DrawGalliumMultiMode = _mesa_draw_gallium_multimode_fallback; in st_RenderMode()
/third_party/python/Lib/lib2to3/tests/
H A Dsupport.py20 driver = pgen2_driver.Driver(grammar, convert=pytree.convert)
21 driver_no_print_statement = pgen2_driver.Driver(
/third_party/mesa3d/src/compiler/glsl/
H A Dshader_cache.cpp107 if (ctx->Driver.ShaderCacheSerializeDriverBlob) { in shader_cache_write_program_metadata()
111 ctx->Driver.ShaderCacheSerializeDriverBlob(ctx, sh->Program); in shader_cache_write_program_metadata()
/third_party/mbedtls/scripts/
H A Dgenerate_driver_wrappers.py23 # The Driver is an Object, but practically it's indexable and can called a dictionary to
25 Driver = NewType('Driver', dict) variable
35 def __init__(self, message="Driver Reader Failed"):
69 def validate_json(driverjson_data: Driver, driverschema_list: dict) -> None:
71 Validate the Driver JSON against an appropriate schema
83 print("Unknown Driver type " + driver_type +
85 print("Unknown Driver type " + driver_type +

Completed in 13 milliseconds

123