aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2015-03-02Revert "misc: Add xglRecordMemoryRange entrypoint and use it in Glave"Jon Ashburn
This reverts commit fea3e5fc1ef2f3c9e4f06ab5a8d682f89b76377e.
2015-03-02misc: Add xglRecordMemoryRange entrypoint and use it in GlaveJon Ashburn
2015-02-18Win: Can now use "static inline" on Windows (i.e. no code mods).Ian Elliott
2015-02-18Win: Build Glave replay on Windows (REQUIRES NEW CMAKE COMMAND).David Pinedo
Starting with this commit, building XGL on Windows requires explicitly stating whether a "Release" or "Debug" build is desired when doing the initial cmake command. This is documented in the "Build.md" file. Linux trace of cube plays to completion on windows! Changes to the null driver: advertise support for both WIN WSI and X11 WSI added support for xglCreateBufferView and added a logging capability (turned off by default) Still have some issues: - x11 support emulation/replacement - Windows null driver creates a bad device queue - Need to copy libraries to dir containing the .exe Glave ext libs are now put in same dir as glvreplay64.exe... This change only affects Windows -- on Linux the libs and the glave replay progs were already in the same dir. Also added a line to BUILD.md regarding the need to have XGL.dll in PATH.
2015-02-18nulldrv: Creation of the nulldrv, for use on Windows.David Pinedo
Since the sample Intel driver hasn't been ported to Windows, this nulldrv is being used to bootstrap Windows support. It can also provide a hint to new IHV's for how to set the magic number.
2015-02-17intel: Add colorAttachmentCountCourtney Goeltzenleuchter
bug #13268 header revision: r29554 Add colorAttachmentCount to CREATE_RENDER_PASS_INFO to aid tracing tools.
2015-02-17intel: Remove unnecessary dualBlendMode enableCourtney Goeltzenleuchter
bug #12925 header version: r29511 Can determine dualBlendModeEnable from blend information provided. Integrate review feedback.
2015-02-17intel: Remove scissor enable and scissor countCourtney Goeltzenleuchter
bug #12925 header version: r29511 Remove separate scissor enable and scissor count. Scissor always enabled and must always provide scissor rect for every viewport.
2015-02-12icd: add loader magic word to verify ICD is compatibleCourtney Goeltzenleuchter
We wanted a more explicit way to determine if the driver ICD being loaded is providing compatible objects. To do that we check for a magic dword value at the beginning of the object. Non-compliant ICDs will assert in the loader or the loader's dispatch functions if an object does not have the correct value. Dispatch checks are debug only.
2015-02-12Win/icd: Move STATIC_INLINE macro, and use for magic funcs.Ian Elliott
The STATIC_INLINE macro is now in "xglPlatform.h". It is also now being used by the *_loader_magic_value() functions. This allows it to be compiled on Windows.
2015-02-06Restore xgl.h comments and original whitespacePiers Daniell
This keeps the real 47.1 changes in tact.
2015-02-06Get xglPlatform.h working with old MSVCGingertoes
This was added to revision SVN 29370 for Khronos bug 13274.
2015-02-04xgl: Final edits for rev47+ alignmentMark Lobodzinski
Took care of the remaining substantive differences. Still many formatting/commenting differences. Version set to 47.1 to indicate some post-47 additions.
2015-02-04Can compile "loader" and "layers" on Windows and Linux ...Ian Elliott
These directories build and are partially turned-on on Windows, using the "tri" demo (follow-on commit) and a "NULL driver" that was created out of the sample/Intel driver. The GetProcAddress() is not yet finding symbols in the NULL driver. For now: - "C:\Windows\System32" is the default XGL driver directory. The getenv() isn't yet working. I suggest creating your own #define in order to point to where a driver is. - In order to recognize a Windows driver, we must look at both its prefix and suffix (i.e. it is named "XGL_*.dll", e.g. "XGL_i965.dll). - We autogenerate Windows ".def" files for the layers. Additional info is: - This is necessary in order for a DLL to export symbols that can be queried using GetProcAddress(). We can't use the normal Windows approach of declaring these functions using "__declspec(dllexport)", because these functions are declared in "xgl.h". - This involves adding and running the new "xgl-win-def-file-generate.py" file. - NOTE: Layers don't have the xglInitAndEnumerateGpus() entrypoint, just the xglGetProcAddr() entrypoint (and now the xglEnumerateLayers() entrypoint). Generating them is pretty simple. NOTE: In order to build on a 64-bit Windows 7/8 system, I did the following: - Install VisualStudio 2013 Professional - Install CMake from: http://www.cmake.org/cmake/resources/software.html - I let it add itself to the system PATH environment variable. - Install Python 3 from: https://www.python.org/downloads - I let it add itself to the system PATH environment variable. - Obtain the Git repository, checkout the "ian-150127-WinBuild" branch. - Using a Cygwin shell: I did the following: - "cd" to the top-level directory (i.e. the one that contains the ".git" directory). - "mkdir _out64" - "cd _out64" - "cmake -G "Visual Studio 12 Win64" .." - At this point, I used WindowsExplorer to open the "XGL.sln" file. I can build. CMake causes the build shortcut to be "Ctrl-Shift-B" instead of the normal "F7". I had to right-click the "ALL_BUILD" project, go to Properties->Debugging and change the debug Command and Working Directory to point to "tri.exe" and where the executable are. At this point, I can debug (using the normal "F5" shortcut).
2015-02-04render_pass: Add CmdBegin{End}RenderPass()Jon Ashburn
This is part of rev 47 but was accidentally skipped.
2015-02-04xgl: Fix typo in memory barriers APIsMark Lobodzinski
Misspelled a parameter name, fixup for header cplusplus definition.
2015-02-04instance: Remove xglInitAndEnumerateGpusJon Ashburn
2015-02-04intel: Instance functions create and destroy objectsJon Ashburn
Also they do the same init and removal as existing InitAndEnumerateGpus.
2015-02-04instance: Added initial {Create|Destroy}Instance() and xglEnumerateGpus().Jon Ashburn
For now, retain the existing InitAndEnumerateGpus and have it create one instance. New APIs aren't fully implemented yet in driver or loader.
2015-02-04xgl: Fix pMemBarriers referencesMark Lobodzinski
Arrays of MemBarrier pointers were incorrectly declared. Reference bug #13273, for xgl header rev #42.
2015-02-04xgl: Remove XGL_* typedef wrappersMark Lobodzinski
Part of moving to xgl.h rev#38, svn rev 29293-29302
2015-02-04xgl: Updated headers for some missed SVN revisionsMark Lobodzinski
Miscellaneous updates for SVN revs 29191, 29205 and 29241. Basically adding MAX_ENUM, copyright notices, and improved type definitions.
2015-02-04intel: Fix DBG_OBJECT_TYPE rangeJon Ashburn
2015-02-04xgl: Add fast clear APIsMark Lobodzinski
Added new APIs for optimized clears of color and depth buffers. Bug# 13172, due to a bug in rev39, this also accounts for the change in rev41.
2015-02-04xgl: Remove extraneous structSizesCourtney Goeltzenleuchter
Alpha header rev: r29437 Bug #13299
2015-02-04xgl: header updates for XGL_RESULTCourtney Goeltzenleuchter
alpha header version: r29593 XGL_RESULT is the XGL return codes. Agreement part of F2F Jan 26, 2015.
2015-02-04xgl: fix constness of pointersChia-I Wu
2015-02-04xgl: Add framebuffer-no-attachment supportMark Lobodzinski
Add default values if no attachments are present, correctly handle override values when attachments are present. Bug# 13212, header revision #36.
2015-02-04Update XGL_FORMAT.Jeremy Hayes
2015-02-04xgl: Add begin/end_range to all enumsMark Lobodzinski
Cosmetic change to xgl header for rev# 37, bug# 13244.
2015-02-04xgl: Rename XGL_WAIT_EVENT enum in headerMark Lobodzinski
For svn rev# 29226, generalized an XGL_WAIT_EVENT enum.
2015-02-04xgl: Bump rev for Command Atomic updateCourtney Goeltzenleuchter
Bug #: 12997 Alpha header revision: r29249
2015-02-04xgl: Remove xglCmdAtomicsCourtney Goeltzenleuchter
Implement changes for alpha header version 0.35. Bug #12998.
2015-02-04xgl: Rename semaphore enumsMark Lobodzinski
Cosmetic xgl header change for xgl.h revision #40.
2015-02-04memory alloc: Remove last heaps from memory alloc and requirementsJon Ashburn
Also reorder memory_alloc_info struct as memPriority added back in as last member in struct. Conflicts: demos/cube.c demos/tri.c icd/intel/buf.c icd/intel/event.c icd/intel/img.c icd/intel/mem.c icd/intel/pipeline.c icd/intel/query.c include/xgl.h tests/image_tests.cpp tests/init.cpp tests/render_tests.cpp tests/xgltestbinding.cpp tests/xgltestbinding.h
2015-02-04memory alloc: Remove alignment from alloc_info structureJon Ashburn
Conflicts: icd/intel/mem.c
2015-02-04memory alloc: Remove MEMORY_ALLOC_FLAGS add MEMORY_TYPEJon Ashburn
2015-02-04memory alloc: Remove memory_heap flags replace with memory_property flagsJon Ashburn
Conflicts: include/xgl.h tests/image_tests.cpp tests/init.cpp tests/xgltestbinding.h
2015-02-04memory alloc: Add IMAGE and BUFFER alloc info structuresJon Ashburn
For images have the tests fill in the IMAGE_ALLOC structures. For buffers this is not yet done. Conflicts: demos/cube.c demos/tri.c include/xgl.h tests/init.cpp tests/xgltestbinding.cpp
2015-02-04memory alloc: Add MEMORY_ALLOCATION_COUNT support and usage in tests.Jon Ashburn
Driver always does one allocation but tests support drivers with N allocations. Conflicts: demos/cube.c demos/tri.c tests/image_tests.cpp tests/render_tests.cpp
2015-02-04memory alloc: Add allocation index to BindObjectMemoryJon Ashburn
For now it is always index 0. Updates, driver, glave, tests, demos, include, and layers.
2015-02-04memory alloc: Remove xglGetMemoryHeapXXX from driver,loader, glave, layersJon Ashburn
2015-02-04xgl: move to new resource binding modelChia-I Wu
All except layout(set=) is supported. The change to pipeline_compiler_interface.{cpp,h} is ugly and fragile. It should be fixed after adding layout(set=) support.
2015-02-04complete fixed-function vertex fetch supportChia-I Wu
Update xgl.h (cosmetic changes only). Add support for new formats. v2: fix blit tests and enhance xglinfo for new formats
2015-02-04xgl: resource transition integrated, update xgl.h versionMike Stroyan
2015-02-04xgl: Resource transition proposal from Bug 12904.Mike Stroyan
Added resource transition proposal from Bug 12904. Updated function prototypes. Added XGL_IMAGE_CREATE_MUTABLE_FORMAT_BIT based on Intel's request. Unless this flag is specified, image views created from the image must match the base format. xgl.py: changes for resource tracking loader: changes for resource tracking icd: changes for resource tracking tests: changes for resource tracking demos: changes for resource tracking
2015-02-04xgl: Dynamic State complete, update header versionCourtney Goeltzenleuchter
2015-02-04driver:implement changes for Dynamic StateTony Barbour
2015-02-04xgl: Buffer Object integrated, update xgl.h versionCourtney Goeltzenleuchter
2015-02-04update for buffer object changesChia-I Wu