- 博客(32)
- 资源 (7)
- 收藏
- 关注
原创 Virtualbox WDDM之DxgkDdiSetPointerShape
/*The DxgkDdiSetPointerShape function sets the appearance and location of the mouse pointer.设置鼠标形状颜色等表现形式,位置The DxgkDdiSetPointerShape function is called independently of all of the other display m
2015-10-29 14:30:35 601
原创 Virtualbox WDDM之DxgkDdiSetPointerPosition
/*The DxgkDdiSetPointerPosition function sets the location and visibility state of the mouse pointer.设置指针可见与位置The DxgkDdiSetPointerPosition function is called independently of all of the other dis
2015-10-29 14:27:07 613
原创 Virtualbox WDDM之DxgkDdiCommitVidPn
/*The DxgkDdiCommitVidPn function makes a specified video present network (VidPN) active on a display adapter.提交显卡正在使用的VidPN网络*/NTSTATUSAPIENTRYDxgkDdiCommitVidPn( CONST HANDLE hAdapter,
2015-10-29 11:00:45 880
原创 Virtualbox WDDM之DxgkDdiSetVidPnSourceVisibility
/*The DxgkDdiSetVidPnSourceVisibility function programs the video output codec that is associated with a specified video present source to either start scanning or stop scanning the source's primary
2015-10-29 10:43:05 755
原创 Virtualbox WDDM之DxgkDdiSetVidPnSourceAddress
RemarksDxgkDdiSetVidPnSourceAddress is called only with primaries that fit with the currently committed video present network (VidPN) topology. For example, the D3DDDIFMT_A8R8G8B8 format is dete
2015-10-29 10:08:15 961
原创 Virtualbox WDDM之DxgkDdiSubmitCommand
/*The DxgkDdiSubmitCommand function submits a direct memory access (DMA) buffer to the hardware command execution unit.提交DMA buffer给GPU执行单元virtualbox提交给host,等待host读取并返回结果*/NTSTATUSAPIENTRYDxgk
2015-10-28 15:48:54 1163
原创 Virtualbox WDDM之DxgkDdiPatch
/*The DxgkDdiPatch function assigns physical addresses to the given direct memory access (DMA) buffer before the DMA buffer is submitted to the graphics hardware.在提交DMA buffer前,分配物理地址给DMA buffer*/
2015-10-28 15:47:26 559
原创 Virtualbox WDDM之DxgkDdiPresent
/*The DxgkDdiPresent function copies content from source allocations to a primary surface (and sometimes to off-screen system memory allocations).源 -> 主表面*//** * DxgkDdiPresent */NTSTATUSAPIEN
2015-10-28 15:12:19 940
原创 Virtualbox WDDM之DxgkDdiCreateAllocation
/*The DxgkDdiOpenAllocation function binds non-device-specific allocations that the DxgkDdiCreateAllocation function created to allocations that are specific to the specified graphics context device
2015-10-28 14:57:30 922
原创 Virtualbox WDDM之DxgkDdiDpcRoutine
/*The DxgkCbQueueDpc function queues a deferred procedure call (DPC) for execution at IRQL DISPATCH_LEVEL.Windows Display Driver Model (WDDM) Operation Flowhttps://msdn.microsoft.com/en-us/library
2015-10-28 12:40:41 1030
翻译 Submitting a Command Buffer
The following sequence of operations must be performed to pass a command buffer through the Windows Vista graphics stack:The user-mode display driver initiates a command-buffer submission if t
2015-10-28 11:26:09 758
翻译 Windows Display Driver Model (WDDM) Operation Flow
1.After an application requests to create a rendering device, the display miniport driver receives a DxgkDdiCreateDevice call. The display miniport dri
2015-10-28 10:51:05 1511
原创 Virtualbox WDDM之DxgkDdiInterruptRoutine
/*The DxgkDdiInterruptRoutine function handles interrupts generated by a display adapter.处理来自显卡的中断virtualbox中断来自HGSMI,*/BOOLEAN DxgkDdiInterruptRoutine( IN CONST PVOID MiniportDeviceContext
2015-10-28 10:19:45 870
原创 Virtualbox WDDM之DxgkDdiCreateAllocation
/*The DxgkDdiCreateAllocation function creates allocations of system or video memory.DX调用DxgkDdiGetStandardAllocationDriverData后,接着调用DxgkDdiCreateAllocation实际分配内存*/NTSTATUS APIENTRY DxgkDdiCreate
2015-10-27 14:55:25 784
原创 Virtualbox WDDM之DxgkDdiGetStandardAllocationDriverData
/*The DxgkDdiGetStandardAllocationDriverData function returns a description of a standard allocation type.1)DxgkDdiGetStandardAllocationDriverData, The DirectX graphics kernel subsystem calls the D
2015-10-27 14:44:46 646
翻译 Initializing Use of Memory Segments
Memory segments, in the context of the display driver model for Windows Vista and later (WDDM), describe the graphics processing unit's (GPU) address space to the video memory manager. Memory segments
2015-10-27 12:41:32 933
原创 Virtualbox WDDM之DxgkDdiQueryAdapterInfo
/*The DxgkDdiQueryAdapterInfo function retrieves configuration information from the graphics adapter.用户层驱动获取CAPS,DXGKQAITYPE_UMDRIVERPRIVATE DX驱动获取CAPS, DXGKQAITYPE_DRIVERCAPS DX驱动获取内存段,
2015-10-27 11:31:10 1174
原创 Virtualbox WDDM之DxgkDdiEnumVidPnCofuncModality
/*枚举VidPN连接网络The DxgkDdiEnumVidPnCofuncModality function makes the source and target modes sets of a VidPN cofunctional with the VidPN's topology and the modes that have already been pinned.https:
2015-10-27 10:16:47 911
原创 Virtualbox WDDM之DxgkDdiIsSupportedVidPn
The DxgkDdiIsSupportedVidPn function determines whether a specified VidPN is supported on a display adapter.https://msdn.microsoft.com/en-us/library/windows/hardware/ff559684(v=vs.85).aspx
2015-10-26 17:17:29 766 2
翻译 VidPN Objects and Interfaces
The video present network (VidPN) manager uses a VidPN object to maintain information about associations between video present sources, video present targets, and display modes. For more information,
2015-10-26 15:59:38 996
翻译 Introduction to Video Present Networks(VidPN)
https://msdn.microsoft.com/en-us/library/windows/hardware/ff567756(v=vs.85).aspx显卡(Video card,Graphics card)全称显示接口卡,又称显示适配器The video present network (VidPN) manager, which is a component o
2015-10-26 15:25:07 1456
原创 Virtualbox WDDM之DxgkDdiRecommendFunctionalVidPn
The DxgkDdiRecommendFunctionalVidPn function creates a functional VidPN that can be implemented on a specified display adapter.https://msdn.microsoft.com/en-us/library/windows/hardware/ff559775(v=
2015-10-26 13:51:11 773
原创 Virtualbox WDDM之DxgkDdiQueryDeviceDescriptor
获取显示器的EDIDThe DxgkDdiQueryDeviceDescriptor function returns a descriptor for a child device of a display adapter or for an external device (typically a monitor) connected to a child device of a di
2015-10-26 12:37:09 898
原创 Virtualbox WDDM之DxgkDdiQueryChildStatus
1. 查询子显示器的连接状态,2. 查询子显示器的旋转角度NTSTATUS DxgkDdiQueryChildStatus( IN CONST PVOID MiniportDeviceContext, IN PDXGK_CHILD_STATUS ChildStatus, IN BOOLEAN NonDestructiveOnly ){
2015-10-26 11:41:22 639
原创 Virtualbox WDDM之DxgkDdiQueryChildRelations
枚举多个显示器,The DxgkDdiQueryChildRelations function enumerates the child devices of a display adapter.https://msdn.microsoft.com/en-us/library/windows/hardware/ff559750(v=vs.85).aspxTy
2015-10-26 11:27:06 752
原创 Virtualbox WDDM之DxgkDdiStartDevice
1. 参数校验,2. DxgkCbGetDeviceInformationhttps://msdn.microsoft.com/en-us/library/windows/hardware/ff559511(v=vs.85).aspxThe DxgkCbGetDeviceInformation function gets information, including the r
2015-10-26 10:57:10 1087
原创 Virtualbox WDDM之DriverEntry
NTSTATUSDriverEntry( IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath ){ dprintf(("VBoxVideoWddm::DriverEntry. Built %s %s\n", __DATE__, __TIME__)); DRIVER_INITIA
2015-10-26 10:08:34 1373
原创 GIT@OSC源码分析之发现界面(2)
发现界面基于FragmentAdapter实现,这个没搞过,下面先做一个小Demo,基于sdk\samples\android-20\ui\SlidingTabsColors-----------------------------------------------------------------------------------源码:https:/
2015-10-12 22:54:17 326
原创 GIT@OSC源码分析之AppManager(1)
AppManager这个类负责管理Activity,包括增加、删除Activity,在退出时结束所有Activitypackage net.oschina.gitapp;import java.util.Stack;import android.app.Activity;import android.content.Context;/** * 应用程序Activity管理类:用
2015-10-10 22:42:11 368
原创 AsyncTask下载并更新ProgressBar
1)DownloadManager下载更新进度条。/* * Copyright (C) 2015 Android Trainning * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the
2015-10-07 20:02:26 597
原创 Android 调用继承application的类
AndroidMainfest.xml , <applicationandroid:name="com.ckelsel.android.oschina.AppContext"/>packagecom.ckelsel.android.oschina;publicclassAppContextextendsApplication{}
2015-10-02 23:24:27 1269
原创 android studio 中文乱码
Settings->File Encodings->IDE Encodeing->UTF-8Settings->File Encodings->Project Encodeing->UTF-8Settings->File Encodings->Default encoding for properties files->UTF-8参考:Android Studio编译时
2015-10-02 15:00:56 468
android-training-course-in-chinese v0.9.2 本地HTML
2015-10-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人